NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/40056: ATI SB700/SB800 ehci problem with uhub's



>Number:         40056
>Category:       kern
>Synopsis:       ATI SB700/SB800 USB ehci problem with an uhub
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 28 16:30:00 +0000 2008
>Originator:     Markus W Kilbinger
>Release:        NetBSD 5.99.3
>Organization:
>Environment:
        
        
System: NetBSD 5.99.3 (Q) #2: Fri Nov 28 15:50:14 MET 2008  
root@qie:/u/NetBSD/HEAD/src/sys/arch/amd64/compile/Q amd64
Architecture: x86_64
Machine: amd64
>Description:
        Due to my chassis lack of front panel usb connectors I've
        built in a frontside usb hub and connected it to one of the
        maiboards (asus m3a78-t) usb connectors which seems to work
        properly for/with the bios and linux (e. g I can plug in usb
        mem sticks and boot/read/write from/to them).

        With netbsd-current (see above) the frontside usb hub (uhub7)
        seems to be detected correctly:

          $ /sbin/dmesg | grep -E "(ohci|usb|uhub)" | grep -v fwohci
          ohci0 at pci0 dev 18 function 0: ATI Technologies SB700/SB800 USB 
OHCI Controller (rev. 0x00)
          ohci0: interrupting at ioapic0 pin 16
          ohci0: OHCI version 1.0, legacy support
          usb0 at ohci0: USB revision 1.0
          ohci1 at pci0 dev 18 function 1: ATI Technologies SB700/SB800 USB 
OHCI Controller (rev. 0x00)
          ohci1: interrupting at ioapic0 pin 16
          ohci1: OHCI version 1.0, legacy support
          usb1 at ohci1: USB revision 1.0
          ehci0: companion controllers, 3 ports each: ohci0 ohci1
          usb2 at ehci0: USB revision 2.0
          ohci2 at pci0 dev 19 function 0: ATI Technologies SB700/SB800 USB 
OHCI Controller (rev. 0x00)
          ohci2: interrupting at ioapic0 pin 18
          ohci2: OHCI version 1.0, legacy support
          usb3 at ohci2: USB revision 1.0
          ohci3 at pci0 dev 19 function 1: ATI Technologies SB700/SB800 USB 
OHCI Controller (rev. 0x00)
          ohci3: interrupting at ioapic0 pin 18
          ohci3: OHCI version 1.0, legacy support
          usb4 at ohci3: USB revision 1.0
          ehci1: companion controllers, 3 ports each: ohci2 ohci3
          usb5 at ehci1: USB revision 2.0
          ohci4 at pci0 dev 20 function 5: ATI Technologies SB700/SB800 USB 
OHCI Controller (rev. 0x00)
          ohci4: interrupting at ioapic0 pin 18
          ohci4: OHCI version 1.0, legacy support
          usb6 at ohci4: USB revision 1.0
          uhub0 at usb0: ATI Technologie OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
          uhub0: 3 ports with 3 removable, self powered
          uhub1 at usb1: ATI Technologie OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
          uhub1: 3 ports with 3 removable, self powered
          uhub2 at usb2: ATI Technologies EHCI root hub, class 9/0, rev 
2.00/1.00, addr 1
          uhub2: 6 ports with 6 removable, self powered
          uhub3 at usb3: ATI Technologie OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
          uhub3: 3 ports with 3 removable, self powered
          uhub4 at usb4: ATI Technologie OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
          uhub4: 3 ports with 3 removable, self powered
          uhub5 at usb5: ATI Technologies EHCI root hub, class 9/0, rev 
2.00/1.00, addr 1
          uhub5: 6 ports with 6 removable, self powered
          uhub6 at usb6: ATI Technologie OHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
          uhub6: 2 ports with 2 removable, self powered
          uhub7 at uhub5 port 1: Genesys Logic USB2.0 Hub, class 9/0, rev 
2.00/7.02, addr 2
          uhub7: single transaction translator
          uhub7: 4 ports with 4 removable, self powered

        , but nothing happens if I plug in an usb mem stick!?

        If I boot with a plugged in usb mem stick it stays activated
        (lit led via bios) and the mem stick is detected (and usable)
        correctly by the netbsd kernel. Plugging it out does not show
        a detach message though the correspondig usb hub led turns
        off. Re-plugging it in still does not produce any kernel
        message and the mem stick is no longer usable (before a
        reboot).

        With userconf(4) 'disable ehci' the usb hub reacts as
        exspected: Plugging/unplugging with normal kernel messages und
        functionality (and only USB 1.x speed).

        The mainboards rear/direct usb connectors also seem to work
        properly with my usb mem sticks directly connected (w/ USB 2.0
        support/speed).

        With Linux (slackware 12.1) the frontside usb hub works
        flawlessly w/ usb 2.0 support.

        Attached to an additional usb 2.0 pci card the frontside usb
        hub also works properly with netbsd _and_ usb 2.0
        support/speed.

        So, it seems to be a netbsd problem related to the ehci hub
        handling of my mainboards ATI SB700/SB800 usb controllers.
>How-To-Repeat:
        Try to use usb devs on an usb hub attached to an ATI
        SB700/SB800 usb controller.
>Fix:
        Unknown.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index