Subject: OHCI0 not initializing with 1.6Z on 333MHz iMac
To: NetBSD (MacPPC) <port-macppc@netbsd.org>
From: Ryan La Riviere <larz@cbis.ece.drexel.edu>
List: port-macppc
Date: 10/11/2003 22:27:28
I think the title says it all.

I had finally gotten 1.6.anything to install and be able to boot on the
333MHz iMac.  I had to do it by only having a root partition and a swap
partition.  Anyway, I had initially put the 1.6Z snapshot on the iMac.  It
booted fine until it got to loading the OHCI0 interface (USB).  It spit out
some nonsense and then a couple lines later brought up the message about
needing to configure /etc/rc.conf (since this was an initial install).  I
then went and re-installed the sets but this time from the 1.6.1 release.
It booted just as it did from CD, just fine.

Bottom line, I think something got broken with the 1.6Z snapshot at least
with regard to USB and iMacs.

The only thing I have hooked via USB is the green Apple keyboard that came
with the machine and a Kensington trackball for when I was playing with OS X
and Mac OS 9 on the machine.

I don't have a log of when it was messing up but this is what it is supposed
to look like:

Oct 12 01:54:54  /netbsd: ohci0 at pci0 dev 20 function 0: vendor 0x11c1
product 0x5801 (rev. 0x12)

Oct 12 01:54:54  /netbsd: ohci0: interrupting at irq 28  <-- where it messed
up with 1.6Z

Oct 12 01:54:54  /netbsd: ohci0: OHCI version 1.0
Oct 12 01:54:54  /netbsd: usb0 at ohci0: USB revision 1.0
Oct 12 01:54:54  /netbsd: uhub0 at usb0
Oct 12 01:54:54  /netbsd: uhub0: vendor 0x11c1 OHCI root hub, class 9/0, rev
1.00/1.00, addr 1
Oct 12 01:54:54  /netbsd: uhub0: 2 ports with 2 removable, self powered
Oct 12 01:54:54  /netbsd: scsibus0: waiting 2 seconds for devices to
settle...
Oct 12 01:54:54  /netbsd: md0: internal 2048 KB image area
Oct 12 01:54:54  /netbsd: uhub1 at uhub0 port 2
Oct 12 01:54:54  /netbsd: uhub1: Alps Electric Hub in Apple USB Keyboard,
class 9/0, rev 1.10/2.10, addr 2
Oct 12 01:54:54  /netbsd: uhub1: 3 ports with 2 removable, bus powered
Oct 12 01:54:54  /netbsd: uhidev0 at uhub1 port 1 configuration 1 interface
0
Oct 12 01:54:54  /netbsd: uhidev0: Alps Electric Apple USB Keyboard, rev
1.10/1.02, addr 3, iclass 3/1
Oct 12 01:54:54  /netbsd: ukbd0 at uhidev0
Oct 12 01:54:54  /netbsd: wskbd1 at ukbd0 (mux ignored): console keyboard,
using wsdisplay0
Oct 12 01:54:54  /netbsd: uhidev1 at uhub1 port 2 configuration 1 interface
0
Oct 12 01:54:54  /netbsd: uhidev1: Kensington Kensington USB/PS2 Trackball,
rev 1.10/1.10, addr 4, iclass 3/1
Oct 12 01:54:54  /netbsd: uhid at uhidev1 not configured
Oct 12 01:54:54  /netbsd: uhub1: at uhub0 port 2 (addr 2) disconnected
Oct 12 01:54:54  /netbsd: uhidev0: at uhub1 port 1 (addr 3) disconnected
Oct 12 01:54:54  /netbsd: ukbd0: was console keyboard
Oct 12 01:54:54  /netbsd: wskbd1 detached
Oct 12 01:54:54  /netbsd: ukbd0 detached
Oct 12 01:54:54  /netbsd: uhidev0 detached
Oct 12 01:54:54  /netbsd: uhidev1: at uhub1 port 2 (addr 4) disconnected
Oct 12 01:54:54  /netbsd: uhidev1 detached
Oct 12 01:54:54  /netbsd: uhub1 detached
Oct 12 01:54:54  /netbsd: uhub1 at uhub0 port 2
Oct 12 01:54:54  /netbsd: uhub1: Alps Electric Hub in Apple USB Keyboard,
class 9/0, rev 1.10/2.10, addr 2
Oct 12 01:54:54  /netbsd: uhub1: 3 ports with 2 removable, bus powered
Oct 12 01:54:54  /netbsd: uhidev0 at uhub1 port 1 configuration 1 interface
0
Oct 12 01:54:54  /netbsd: uhidev0: Alps Electric Apple USB Keyboard, rev
1.10/1.02, addr 3, iclass 3/1
Oct 12 01:54:54  /netbsd: ukbd0 at uhidev0
Oct 12 01:54:54  /netbsd: wskbd1 at ukbd0 (mux ignored): console keyboard,
using wsdisplay0
Oct 12 01:54:54  /netbsd: uhidev1 at uhub1 port 2 configuration 1 interface
0
Oct 12 01:54:54  /netbsd: uhidev1: Kensington Kensington USB/PS2 Trackball,
rev 1.10/1.10, addr 4, iclass 3/1
Oct 12 01:54:54  /netbsd: uhid at uhidev1 not configured


-Ryan

-- 

Ryan La Riviere
http://staff.tdec.drexel.edu/~edljedi