Subject: kern/31116: USB Memory stick issue at VIA VT8237 EHCI
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: netbsd-bugs
Date: 09/01/2005 14:59:00
>Number: 31116
>Category: kern
>Synopsis: USB Memory stick issue at VIA VT8237 EHCI
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 01 14:59:00 +0000 2005
>Originator: Hauke Fath <hf@spg.tu-darmstadt.de>
>Release: NetBSD 2.0_STABLE
>Organization:
--
/~\ The ASCII Ribbon Campaign Hauke Fath
\ / No HTML/RTF in email Institut für Nachrichtentechnik
X No Word docs in email TU Darmstadt
/ \ Respect for open standards Ruf +49-6151-16-3281
>Environment:
System: NetBSD wintersberg 2.0_STABLE NetBSD 2.0_STABLE (SPG_PIII) #6: Wed Jul 27 19:48:48 CEST 2005 hf@heiligenberg:/var/obj/netbsd-builds/2_0/i386/sys/arch/i386/compile/SPG_PIII i386
Architecture: i386
Machine: i386
>Description:
Attaching a USB memory stick on machines with VIA VT8237 EHCI controller fails:
[...]
uhci0 at pci2 dev 6 function 0: VIA Technologies VT83C572 USB Controller (rev. 0x50)
uhci0: interrupting at irq 5
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 pci2 dev 6 function 1: VIA Technologies VT83C572 USB Controller (rev. 0x50)
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
ehci0 at pci2 dev 6 function 2: VIA Technologies VT8237 EHCI USB Controller (rev. 0x51)
ehci0: interrupting at irq 5
ehci0: EHCI version 0.95
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: VIA Technologie EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
[...]
uhub3 at uhub2 port 4
uhub3: Generic USB Embedded Hub, class 9/0, rev 2.00/0.01, addr 2
uhub3: 1 port with 0 removable, self powered
uhub3: cannot open interrupt pipe
uhub3: at uhub2 port 4 (addr 2) disconnected
uhub3 detached
while on a similar P4 board with Silicon Integrated System 7002 USB
the stick attaches successfully:
ohci0 at pci0 dev 3 function 0: Silicon Integrated System 5597/5598 USB host controller (rev. 0x0f)
ohci0: interrupting at irq 11
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci0 dev 3 function 1: Silicon Integrated System 5597/5598 USB host controller (rev. 0x0f)
ohci1: interrupting at irq 11
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ohci2 at pci0 dev 3 function 2: Silicon Integrated System 5597/5598 USB host controller (rev. 0x0f)
ohci2: interrupting at irq 5
ohci2: OHCI version 1.0, legacy support
usb2 at ohci2: USB revision 1.0
uhub2 at usb2
uhub2: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 3 function 3: Silicon Integrated System 7002 USB 2.0 host controller (rev. 0x00)
ehci0: interrupting at irq 11
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: ohci0 ohci1 ohci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Silicon Integra EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
[...]
uhub4 at uhub2 port 1
uhub4: Generic USB Embedded Hub, class 9/0, rev 2.00/0.01, addr 2
uhub4: 1 port with 0 removable, self powered
umass0 at uhub4 port 1 configuration 1 interface 0
umass0: Generic USB Mass Storage Device, rev 2.00/0.01, addr 3
umass0: using ATAPI over Bulk-Only
atapibus1 at umass0: 2 targets
sd0 at atapibus1 drive 0: <Generic, USB Flash Disk, PROL> disk removable
sd0: fabricating a geometry
sd0: 125 MB, 125 cyl, 64 head, 32 sec, 512 bytes/sect x 256000 sectors
uhub4: at uhub2 port 1 (addr 2) disconnected
umass0: at uhub4 port 1 (addr 3) disconnected
sd0 detached
atapibus1 detached
umass0 detached
uhub4 detached
>How-To-Repeat:
Attach a USB memory stick to a P4 board equipped with VIA
VT8237 EHCI USB Controller.
>Fix:
A workaround is to disable ehci support in the kernel config.
>Unformatted:
netbsd-2 source from end of July