Subject: Re: ddb and USB keyboards....
To: Bruno Clermont <pooh@gnome.ca>
From: Anton Gunnarsson <antgun@packetfront.com>
List: port-macppc
Date: 09/13/2001 17:37:49
On Thu, Sep 13, 2001 at 11:24:37AM -0400, Bruno Clermont wrote:
> On Thu, 2001-09-13 at 11:08, Anton Gunnarsson wrote:
> > On Thu, Sep 13, 2001 at 10:46:57AM -0400, Bruno Clermont wrote:
> > > it's a know issue, look at
> > > 
> > > http://mail-index.netbsd.org/port-macppc/2001/02/22/0011.html
> > > 
> > > you should remove DDB from your kernel.
> > > 
> > > I wonder why you need -current, i have a G4-533mhz here, working fine,
> > > except the nasty bug with USB when the root USB-hub is disconnected that
> > > crash the kernel.
> > > 
> > > I look at a G4-733 yesterday, and the hardware is the same, except the
> > > CPU += 200mhz.
> > > 
> > 
> > Bruno,
> > 
> > Thanks for your quick answer,
> > 
> > I tried the 1.5.1 iso image, but it crashed (can't remember the reason/message)
> > so i tried the 20010801 snapshot, but it halted with cn_dev == NULL or something,
> > probably failed to probe the console?
> > 
> > but when i compiled a fresh kernel from the CVS it works fine .. 
> > except the gm-driver (for the 10/100/1000) .. it locks on a interrupt during
> > 'high'-traffic (that is betweeen 5 and 10 Mbps ...)
> 
> could you send me the dmesg output of your NetBSD kernel, I wish to
> compare it with my G4-533. Because, when i tried it i didn't run NetBSD,
> only look at MacOSX.
> 
> this is also a know bug :)
> 
> look at
> 
> http://mail-index.netbsd.org/port-macppc/2001/04/21/0002.html
> 

Ah :)

Maybe i should apply that patch then, I'm running on a 10/100 PCI-card right now :)

Cheers

/Anton

... dmesg:

memory = 344 MB
using 2048 buffers containing 19760 KB of memory
mainbus0 (root)
cpu0 at mainbus0: Version 8000 (Revision 200), ID 0 (primary)
cpu0: HID0 8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BHT>
cpu0: unknown size 0 backside cache
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
Apple Computer UniNorth AGP Interface (host bridge) at pci0 dev 11 function 0 no
t configured
ofb0 at pci0 dev 16 function 0: Nvidia Corporation GeForce2 MX [NV11]
ofb0: 640 x 480, 8bpp
wsdisplay0 at ofb0: console (std, vt100 emulation)
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
Apple Computer UniNorth Host-PCI Bridge (host bridge) at pci1 dev 11 function 0 
not configured
rtk0 at pci1 dev 21 function 0: RealTek 8139 10/100BaseTX
rtk0: interrupting at irq 58
rtk0: Ethernet address 00:10:a7:08:a7:14
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
obio0 at pci1 dev 23 function 0: addr 0x80000000
escc at obio0 offset 0x13000 not configured
i2s at obio0 offset 0x10000 not configured
adb0 at obio0 offset 0x16000 irq 47: 0 targets
aed0 at adb0 addr 0: ADB Event device
wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
wd0 at wdc0 channel 0 drive 0: <IBM-DTLA-305040>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 39266 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 80418240 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
ata4 conf = 0x1c9328ca, cyc = 4 (25 ns), act = 14 (100 ns), inact = 6
wd0(wdc0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66) (using 
DMA data transfers)
wdc1 at obio0 offset 0x20000 irq 20: DMA transfer
atapibus0 at wdc1 channel 0: 2 targets
cd0 at atapibus0 drive 0: <SONY    CD-RW  CRX155E, , 1.0c> type 5 cdrom removabl
e
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
conf = 0x11823, cyc = 4 (120 ns), act = 3 (70 ns), inact = 1
cd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wdc2 at obio0 offset 0x21000 irq 21: DMA transfer
ohci0 at pci1 dev 24 function 0: Apple Computer KeyLargo USB Controller (rev. 0x
00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci1 dev 25 function 0: Apple Computer KeyLargo USB Controller (rev. 0x
00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uninorth2 at mainbus0
pci2 at uninorth2 bus 0
pci2: i/o space, memory space enabled
Apple Computer UniNorth Host-PCI Bridge (host bridge) at pci2 dev 11 function 0 
not configured
Lucent Technologies product 0x5811 (Firewire serial bus, interface 0x10) at pci2
 dev 14 function 0 not configured
gm0 at pci2 dev 15 function 0: Ethernet address 00:03:93:3f:41:b8
gm0: interrupting at irq 41
ukphy1 at gm0 phy 0: Generic IEEE 802.3u media interface
ukphy1: BCM5411 1000BASE-T media interface (OUI 0x001018, model 0x0007), rev. 1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX
, auto
uhub2 at uhub1 port 1
uhub2: Mitsumi Electric Hub in Apple Extended USB Keyboard, class 9/0, rev 1.10/
1.22, addr 2
uhub2: 3 ports with 2 removable, bus powered
ukbd0 at uhub2 port 1 configuration 1 interface 0
ukbd0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/1.22, addr 3, icla
ss 3/1
wskbd1 at ukbd0: console keyboard, using wsdisplay0
uhid0 at uhub2 port 1 configuration 1 interface 1
uhid0: Mitsumi Electric Apple Extended USB Keyboard, rev 1.10/1.22, addr 3, icla
ss 3/0
ums0 at uhub2 port 2 configuration 1 interface 0
ums0: Fujitsu Takamisawa Component Apple Optical USB Mouse, rev 1.10/1.06, addr 
4, iclass 3/1
ums0: 1 button
wsmouse1 at ums0
boot device: wd0
root on wd0a dumps on wd0b