Subject: -current on PowerBook G3/400
To: None <port-macppc@netbsd.org>
From: Andreas Wrede <andreas@planix.com>
List: port-macppc
Date: 09/21/1999 17:59:59
I am successfully running 1.4.1 via netboot, but I am running into the
following porblems when I try to run 1.4K (current as of yesterday):

1. USB 
I get 'port x did not power up' for both USB ports. See boot messages
below for details.

2. X
Under 1.4.1 the X server runs fine, but with 1.4K I get the messages

OsVendorInit
X: open kbd/mouse: No such file or directory

ktrace reveals that the open of /dev/wskbd0 returns errno 16 (busy).
According to fstat, there is no process that has /dev/wdkbd0 open, ie
no getty or login session is running on the consoile. Again, the same
X server can open the kbd when running a 1.4.1 kernel. 

3. trap type 300 
Whenever I netboot via the 'n' key and hold it down to long, I'll get
a 'trap 300 at 27e704' right after 'adb0 at obhio offset....'. This
happens in both 1.4.1 and -current at the same point. I guess this is
some race condition in configuring the Apple desktop bus?

4. wd0
Under some conditions, the kernel fails to find the wd0 drive. I have
not found a pattern yet, it happens about one out of ten boots. Is
anyone else seeing this or should I look into possible hardware
problems?


Boot messages for 1.4.1 are after the -current messages:


NetBSD 1.4K (GENERIC) #0: Tue Sep 21 13:45:19 EDT 1999
    root@walker:/usr/src/sys/arch/macppc/compile/GENERIC
CPU: 750 (Revision 8202)
total memory = 65536 KB
avail memory = 55380 KB
using 844 buffers containing 3376 KB of memory
mainbus0 (root)
cpu0 at mainbus0: 1MB backside cache enabled
pci0 at mainbus0 bus 0
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Motorola MPC106 Host-PCI Bridge (grackle) (rev. 0x40)
ohci0 at pci0 dev 14 function 0: AT&T Microelectronics USB Host
Controller (rev. 0x12)
ohci0: interrupting at irq 28
ohci0: OHCI version 1.0
usb0 at ohci0
uhub0 at usb0
uhub0: AT&T Microelect OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: port 1 did not power up
uhub0: port 2 did not power up
C-Cube Microsystems Cinemaster C 3.0 DVD Decoder (miscellaneous
multimedia, revision 0x02) at pci0 dev 15 function 0 not configured
obio0 at pci0 dev 16 function 0: addr 0x80800000
interrupt-controller at obio0 offset 0x10 not configured
escc-legacy at obio0 offset 0x12000 not configured
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
davbus at obio0 offset 0x14000 not configured
power-mgt at obio0 offset 0x0 not configured
adb0 at obio0 offset 0x16000 irq 18: 3 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: mapped device (195)
wskbd0 at akbd0: console keyboard
ams0 at adb0 addr 3: Logitech MouseMan (non-EMP) mouse
wsmouse0 at ams0 mux 0
adb0 addr 7: misc. device (remote control?) (31) unsupported
wdc0 at obio0 offset 0x20000 irq 13
wd0 at wdc0 channel 0 drive 0: <TOSHIBA MK6411MAT>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 6194MB, 13424 cyl, 15 head, 63 sec, 512 bytes/sect x 12685680
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
mediabay0 at obio0 offset 0x34 irq 29
fdc at mediabay0 offset 0x15000 not configured
wdc1 at mediabay0 offset 0x21000 irq 14
atapibus0 at wdc1 channel 0
cd0 at atapibus0 drive 0: <MATSHITADVD-ROM SR-8171, , 080E> type 5
cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
scsi at obio0 offset 0x10000 not configured
bm0 at obio0 offset 0x11000 irq 42,33: address 00:50:e4:50:9e:5e
ofb0 at pci0 dev 17 function 0: ATI Technologies Mach64 LI
ofb0: 1024 x 768, 8bpp
wsdisplay0 at ofb0: console (std, vt100 emulation), using wskbd0
Texas Instruments PCI1211 PCI-CardBus Bridge (CardBus bridge) at pci0
dev 19 function 0 not configured
boot device: <unknown>
root device: bm0
dump device: bm0
file system (default generic): 





NetBSD 1.4.1 (GENERIC) #1: Wed Aug 11 18:08:32 JST 1999
    tsubai@mint.iri.co.jp:/usr/src/sys/arch/macppc/compile/GENERIC
CPU: 750 (Revision 8202)
real mem  = 67108864
avail mem = 57368576
using 819 buffers containing 3354624 bytes of memory
mainbus0 (root)
cpu0 at mainbus0
pci0 at mainbus0 bus 0
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Motorola product 0x0002 (rev. 0x40)
ohci0 at pci0 dev 14 function 0: Fujitsu Limited (4th PCI Vendor ID)
product 0x5801 (rev. 0x12)
ohci0: interrupting at irq 28
ohci0: OHCI version 1.0
usb0 at ohci0
uhub0 at usb0
uhub0: Fujitsu Limited  OHCI root hub, class 9/0, rev 1.00/1.00, addr
1
uhub0: 2 ports with 2 removable, self powered
unknown vendor 0x123f product 0x8888 (miscellaneous multimedia,
revision 0x02) at pci0 dev 15 function 0 not configured
obio0 at pci0 dev 16 function 0: addr 0x80800000
interrupt-controller at obio0 offset 0x10 not configured
escc-legacy at obio0 offset 0x12000 not configured
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
davbus at obio0 offset 0x14000 not configured
power-mgt at obio0 offset 0x0 not configured
adb0 at obio0 offset 0x16000 irq 18: 3 targets
aed0 at adb0 addr 0: ADB Event device
akbd0 at adb0 addr 2: mapped device (195)
wskbd0 at akbd0
ams0 at adb0 addr 3: EMP unknown device <tpad> 2-button, 400 dpi
wsmouse0 at ams0
adb0 addr 7: misc. device (remote control?) (31) unsupported
wdc0 at obio0 offset 0x20000 irq 13
wd0 at wdc0 channel 0 drive 0: <TOSHIBA MK6411MAT>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 6194MB, 13424 cyl, 15 head, 63 sec, 512 bytes/sect x 12685680
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
media-bay at obio0 offset 0x34 not configured
scsi at obio0 offset 0x10000 not configured
bm0 at obio0 offset 0x11000 irq 42,33: address 00:50:e4:50:9e:5e
ofb0 at pci0 dev 17 function 0: ATI Technologies product 0x4c49
ofb0: 1024 x 768, 8bpp
wsdisplay0 at ofb0: console (std, vt100 emulation)
Texas Instruments product 0xac1e (CardBus bridge) at pci0 dev 19
function 0 not configured
wscons: wskbd0 glued to wsdisplay0
boot device: <unknown>
root device: bm0
dump device: bm0
file system (default generic): 

-- 

	- aew