Subject: kern/26681: EHCI not working
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <j+nbsd@2004.salmi.ch>
List: netbsd-bugs
Date: 08/16/2004 08:39:05
>Number:         26681
>Category:       kern
>Synopsis:       EHCI not working
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 16 06:40:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jukka Salmi
>Release:        NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD himo.salmi.ch 2.0G NetBSD 2.0G (GENERIC) #0: Thu Aug 12 23:26:18 CEST 2004 build@himo.salmi.ch:/build/nbsd/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
On a -current NetBSD i386 system I'm having problems writing to a
USB CF adapter. When running a GENERIC kernel built using sources
from three days ago, writing to the CF almost always causes the writing
process to hang (ps state D) until I disconnect the device (which
sometimes crashes the kernel). When running a GENERIC kernel with
ehci disabled, writing to the CF succeeds without any problem.

Partial dmesg output from the system in question:

uhci0 at pci0 dev 16 function 0: VIA Technologies VT83C572 USB Controller (rev. 0x80)
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1: VIA Technologies VT83C572 USB Controller (rev. 0x80)
uhci1: interrupting at irq 9
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2: VIA Technologies VT83C572 USB Controller (rev. 0x80)
uhci2: interrupting at irq 9
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3: VIA Technologies VT8237 EHCI USB Controller (rev. 0x82)
ehci0: interrupting at irq 9
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA Technologie EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
[...]
umass0 at uhub3 port 2 configuration 1 interface 0
umass0: SanDisk ImageMate CF, rev 2.00/1.19, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Generic, STORAGE DEVICE, 0119> disk removable
sd0: fabricating a geometry
sd0: 63488 KB, 62 cyl, 64 head, 32 sec, 512 bytes/sect x 126976 sectors

>How-To-Repeat:
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: