Subject: Re: PATA via USB buggy
To: None <netbsd@sopwith.solgatos.com>
From: Lennart Augustsson <lennart@augustsson.net>
List: netbsd-help
Date: 06/13/2005 11:28:44
But you did not try in current, right?  (Only in netbsd-2 and
netbsd-3.)  I'd like to verify that the bug is present in
netbsd-current before looking for it.

	-- Lennart

Dieter wrote:
>>Do you have the possibility to test this with a current kernel?
>>Some EHCI bugs have been fixed recently and may not have been
>>pulled up to your NetBSD version.
> 
> 
> I tried 3:
> 
> netbsd-2 netbsd-GENERIC.gz
> 
> 	unexpected machine check:  (looks like the cmd pata controller problem)
> 
> netbsd-3 netbsd-GENERIC.gz
> 
> 	hangs (same as custom below)
> 
> built custom kernel same as what I'm normally running, but without the osf fix
> for netscape.  It has ehci configured.   current: kernel sources, config and genassym;
> 2.0.2: everything else (e.g. gcc)
> 
> 	hangs:
> 
> fwohci0 at pci1 dev 8 function 0: NEC uPD72871 IEEE 1394 Host Controller (rev. 0x01)
> fwohci0: interrupting at eb164 irq 0
> fwohci0: OHCI 1.0, 00:00:4c:01:00:00:00:00, 400Mb/s, 1024 max_rec, 4 ir_ctx, 4 it_ctx
> ohci0 at pci1 dev 9 function 0: NEC USB Host Controller (rev. 0x41)
> ohci0: interrupting at eb164 irq 7
> ohci0: OHCI version 1.0
> usb0 at ohci0: USB revision 1.0
> uhub0 at usb0
> uhub0: vendor 0x1033 product 0x0000, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 3 ports with 3 removable, self powered
> ohci1 at pci1 dev 9 function 1: NEC USB Host Controller (rev. 0x41)
> ohci1: interrupting at eb164 irq 11
> ohci1: OHCI version 1.0
> usb1 at ohci1: USB revision 1.0
> uhub1 at usb1
> uhub1: vendor 0x1033 product 0x0000, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> ehci0 at pci1 dev 9 function 2: NEC USB Host Controller (rev. 0x02)
> ehci0: interrupting at eb164 irq 15
> ehci0: EHCI version 0.95
> ehci0: companion controllers, 3 ports each: ohci0 ohci1
> *** keyboard not plugged in...					<--- HAD TO PRESS RESET
> ff.fe.fd.fc.fb.fa.f9.f8.f7.f6.f5.f3.f2.f1.f0.
> 
> Booted normal kernel, ran "scsictl sd16 identify" to verify that
> the USB-PATA stuff was working, then tried custom current kernel
> again, got the same hang.
> 
> So now, (back running normal 2.0.2 kernel) dmesg output is
> mangled.  Some old USB output is mixed in:
> 
> umass0: BBB bulk-in stall clear failed, TIMEOUT
> umass0, s/n 
> 8192 byte page size, 1 processor.
> total memory = 256 MB
> (ed, TIMEOUT
> umass0: BBB bulk-out clear stall failed, TIMEOUT
> ehc 246 MB
> mainbus0 (root)
> cpu0 at mainbus0: ID 0 (primary), 21164A-2
> cpu0: VAX FP support, IEEE FP support, Primary Eligible
> cpu0:ailed, TIMEOUT
> umass0: BBB bulk-in clear stall failed, TIMEOUT
> u Core Logic Chipset (Pyxis), pass 1
> cia0: extended capabilities: 1<BWEN>
> 
> [ it goes on but you get the idea ]
> 
> The system has been rebooted at least 6 times with 4 different
> kernels since those USB messages came out.  This only appears in
> dmesg, the console output was fine.
>