Subject: Re: -current on PowerBook G3/400
To: Andreas Wrede <andreas@planix.com>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-macppc
Date: 09/21/1999 18:22:36
On Tue, 21 Sep 1999, Andreas Wrede wrote:

> 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):

I'm having a few of the same problems with today's kernel on my Blue G3.

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

Not this one.. Do you have anything on the usb bus? It could be OF only
powers it up if there's something there.

> 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. 

But I do get this one!

I think it's partly due to the fact that the keyboard's grabbed by the
display. See below..

> 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?

No idea...

> 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
                                                            ^^^^^^

That's where the keyboard went, I think..

What I don't know is what to do about it. Do we need a new X server??

Also, on the subject of wscons stuff, I have the problem that I can't add
extra screens (which I thought the wscons x server wanted)... ?? I think
the problem's that I'm in a 1152 by somethign big video mode, which is a
lot of pixels. Assuming I understand what it's doing...

> 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):