Dave Huang | 3 Mar 2006 02:15
Gravatar

Does uhci work on macppc/big-endian?

I bought a cheap USB 2.0 PCI card (a Kingwin U2PCI-5), hoping to use
it on my Powermac G4 dual proc... however, while it attaches fine,
NetBSD says "device problem, disabling port n" whenever I plug in a
USB device.

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 3.99.15 (GREYFOX) #13: Wed Mar  1 20:40:44 CST 2006
	khym <at> greyfox.azeotrope.org:/usr/obj.macppc/sys/arch/macppc/compile/GREYFOX
[ ... ]
uhci0 at pci2 dev 4 function 0: VIA Technologies VT83C572 USB Controller (rev. 0x61)
uhci0: interrupting at irq 54
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci2 dev 4 function 1: VIA Technologies VT83C572 USB Controller (rev. 0x61)
uhci1: interrupting at irq 54
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci2 dev 4 function 2: VIA Technologies VT8237 EHCI USB Controller (rev. 0x63)
ehci0: interrupting at irq 54
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1
(Continue reading)

Hasan Kacmaz | 3 Mar 2006 15:04
Picon
Picon

Some simple Questions installing NetBSD3 on powerbook 3400c

G'day

I'm trying to install NetBSD 3 on my trusty old Powerbook 3400c and 
during the initial
process I come across few problems that I'm hoping someone be able to 
help me with:
(better if anyone who already done this can send me some tips :-)

I can access my Open Firmware prompt with no problem (which is version 
2.0.1)
However, I'm not certain if :
    -    the installation instructions say *I can* or *can't* boot 
directly from NetBSD ppc 3.0 cd

and if I can boot directly from the NetBSD cd,
    -    is it then possible to use the entire hdd without installing 
any MacOS partitions?

So far, I am unable to boot from the CD, but I can't tell if its due to 
these instructions listed at
http://www.netbsd.org/Ports/macppc/SystemDisk-tutorial/#The Boot device 
entry 
<http://www.netbsd.org/Ports/macppc/SystemDisk-tutorial/#The%20Boot%20device%20entry>

Basically, if I can boot with NetBSD cd, then I can use the pdisk to 
partition the hdd.

Also, the suggested partition structure is as shown below.
        HFS or HFS+   over 100 KB
        A/UX Root       at least 20 MB - not readable from MacOS.
(Continue reading)

Joachim Thiemann | 3 Mar 2006 15:52
Picon

Bad performance of bmac (bm0) interface (Rev.1 b&w G3) with 100baseTX?

Hello,

so I have my old Rev.1 b&w G3 working relatively nicely, thanks to
some tips from people here.  I have now set it up to be a dovecot mail
server, update dyndns, and act as an ftp, netatalk and samba server.

I now noticed some performance issues: from other Macs (PB G4) writing
to the server is absolutely abysmal in speed - using afp, smb, or ftp.
 We're talking in the order of 20kb/s.

While I originally suspected the problem being with the daemon
processes, I played with the bm0 media settings and noted that I get
much better performance when setting the interface down to 10baseT
(using ifconfig bm0 media 10baseT mediaopt full-duplex), in the order
of 200kb/s using ftp.

Has anyone else seen this type of problem?  Is it a buffer overrun
problem in the bmac driver? Any way I can get full performance using
100baseTX?

Thanks,
Joe.

Izumi Tsutsui | 3 Mar 2006 17:08
Picon
Gravatar

Re: Does uhci work on macppc/big-endian?

In article <20060303011528.GM29272 <at> azeotrope.org>
khym <at> azeotrope.org wrote:

> So, does anyone know the status of uhci on big-endian machines? Still
> not quite working yet? Anything I can do to help get it working?

AFAICT, uhci.c has proper byteswap ops where appropriate,
but I have not tested it for long time.

According to PR/11018 umass at uhci on my macppc worked once,
so there was some timing problem, not endianness.
Maybe now I should try it on sgimips and prep, but
I can't find my VIA uhci right now. (sorry)
---
Izumi Tsutsui

Izumi Tsutsui | 3 Mar 2006 19:07
Picon
Gravatar

Re: Does uhci work on macppc/big-endian?

In article <060304010819.M0102074 <at> mirage.ceres.dti.ne.jp>
I wrote:

> Maybe now I should try it on sgimips and prep, but
> I can't find my VIA uhci right now. (sorry)

Okay, now I dig out my uhci with VIA VT83C572
and put it on my O2, then it *sometimes* works
and sometimes doesn't:

---
NetBSD 3.99.16 (AIRTREK) #293: Sat Mar  4 02:14:06 JST 2006
        tsutsui <at> mirage:/usr/src/sys/arch/sgimips/compile/AIRTREK
total memory = 192 MB
(6848 KB reserved for ARCS)
avail memory = 177 MB
mainbus0 (root): SGI-IP32 [SGI, b], 1 processor
 :
uhci0 at pci0 dev 3 function 0: VIA Technologies VT83C572 USB Controller (rev. 0x04)
uhci0: interrupting at crime interrupt 10
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
biomask 07 netmask 07 ttymask 07 clockmask 87
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
uhidev0 at uhub0 port 1 configuration 1 interface 0
uhidev0: Logitech N48, rev 1.00/4.01, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
(Continue reading)

Dave Huang | 3 Mar 2006 19:40
Gravatar

Re: Does uhci work on macppc/big-endian?

On Sat, Mar 04, 2006 at 03:07:01AM +0900, Izumi Tsutsui wrote:
> So, I guess there is no endianness problem, but some other problem.

Thanks for the response... in that case, I wonder what the problem is.
I've attached my kernel messages with uhcidebug=20 to PR kern/11018.

On 16 Jul 2004, someone mentioned that "FreeBSD has recently fixed the
same bug in -current ( http://www.freebsd.org/cgi/query-pr.cgi?pr=63987 )"
However, I looked at the FreeBSD's changes to uhci.c around that time,
and only saw merges from NetBSD.
--

-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym <at> azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 30 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++

Dave Huang | 3 Mar 2006 20:35
Gravatar

Re: Does uhci work on macppc/big-endian?

On Fri, Mar 03, 2006 at 12:40:18PM -0600, Dave Huang wrote:
> I've attached my kernel messages with uhcidebug=20 to PR kern/11018.

Well, I thought I did... has the procedure for adding info to a PR
changed? I sent an email to gnats-bugs <at> netbsd.org with Subject:
kern/11018.

In any case, here's the msgbuf (lost the first few lines since the
buffer wasn't big enough):

0 MHz, no-parity 1MB WB L2 cache (PB SRAM) at 2:1 ratio
cpu1 at mainbus0cpu1: 500.00 MHz
: 7400 (Revision 2.9), ID 1
cpu1: HID0 8094c0a4<EMCP,DOZE,DPM,EIEC,ICE,DCE,SGE,BTIC,BHT>
cpu1: 500.00 MHz, no-parity 1MB WB L2 cache (PB SRAM) at 2:1 ratio
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Interface (rev. 0x00)
ofb0 at pci0 dev 16 function 0: ATI Technologies Radeon 7200
ofb0: 1280 x 1024, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
ppb0 at pci1 dev 13 function 0: Digital Equipment DC21154 PCI-PCI Bridge (rev. 0x05)
(Continue reading)

Eric Berna | 3 Mar 2006 17:20

Re: Some simple Questions installing NetBSD3 on powerbook 3400c

Hi,

Once upon a time I installed NetBSD on a PowerBook 3400c.  I never could get
the PowerBook to boot from the CD, so I installed the floppy drive in the
expansion bay, and booted from floppy.  You'll have to access the install
archives in another way.  I used an external CD ROM drive.

Eric Berna

On 3/3/06 8:04 AM, "Hasan Kacmaz" <hkacmaz <at> iinet.net.au> wrote:

> G'day
> 
> I'm trying to install NetBSD 3 on my trusty old Powerbook 3400c and
> during the initial
> process I come across few problems that I'm hoping someone be able to
> help me with:
> (better if anyone who already done this can send me some tips :-)
> 
> I can access my Open Firmware prompt with no problem (which is version
> 2.0.1)
> However, I'm not certain if :
>     -    the installation instructions say *I can* or *can't* boot
> directly from NetBSD ppc 3.0 cd
> 
> and if I can boot directly from the NetBSD cd,
>     -    is it then possible to use the entire hdd without installing
> any MacOS partitions?
> 
> So far, I am unable to boot from the CD, but I can't tell if its due to
(Continue reading)

edoneel | 7 Mar 2006 09:58
Picon
Favicon

Booting a Powerbook G3 PDQ

Hi,

As of yesterday I was the proud owner of an old Powerbook G3 PDQ.  
This means that as of last night I was trying to install NetBSD
on said machine.

The boot command on the model support page,  boot ide1/ <at> 0:0,\OFWBOOT.XCF,
seems not to boot from the NetBSD 2.0 CD-Rom that I had sitting around.  
It did switch to a solid gray screen with a circle with a cross line
on it (think European no parking sign in gray), but that was it.

I tired a few other choices both from google searches and from
devalias open firmware commands, but, no luck.

Is there something special to boot this or should I just netboot
and install that way.

Thanks in advance!

cheers

bruce

--

-- 
edoneel <at> sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

Cherry G. Mathew | 7 Mar 2006 14:33
Picon

Re: iBook Powermanagement status query

Hi,

On 1/25/06, Michael Lorenz <macallan <at> netbsd.org> wrote:

> Some code to talk to apmd is already there, after all we can (usually)
> report battery status.

Would this glue with powerd(8) ? Should it ?

Also, I'd like to try run the powerhooks on drivers on my G3/800 (as a
start). Where do I start ?

Thanks,
--
~Cherry


Gmane