Bug 11456 - USB freeze with SB600 chipset
Summary: USB freeze with SB600 chipset
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-30 00:37 UTC by Hadmut Danisch
Modified: 2009-07-28 16:51 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.27 (ubuntu 2.6.27-2-generic)
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg output from boot (40.21 KB, application/octet-stream)
2008-08-30 00:39 UTC, Hadmut Danisch
Details
lspci -vvnn (18.83 KB, application/octet-stream)
2008-08-30 00:39 UTC, Hadmut Danisch
Details

Description Hadmut Danisch 2008-08-30 00:37:17 UTC
Latest working kernel version: none
Earliest failing kernel version:
Distribution: Ubuntu

Hi, I recently bought a small Acer Desktop PC with AMD x2 CPU and SB600 Southbridge. Hardware seems to be OK, it came with Windows Vista and worked properly. 

I then installed Ubuntu 8.04 with a 2.6.24 kernel and ran into severe problems with the USB port: I could mount USB sticks but they became unavailable as soon as I wanted to access data. Mouse and Keyboard that were connected through USB hubs freezed within about 2 Minutes after system boot. 

I then tried the 2.6.26 and 2.6.27 kernels from the upcoming Ubuntu 8.10 release and the problems with the USB storage seem to be gone, I could read data from a USB stick without problems. 

However, I still can't use mouse and keyboard when connected through a USB hub for more than a few seconds, and in general the USB part does not seem to be stable. 

Unfortunately, there's no error message in dmesg or kernel logs. 

regards
Hadmut
Comment 1 Hadmut Danisch 2008-08-30 00:39:15 UTC
Created attachment 17538 [details]
dmesg output from boot
Comment 2 Hadmut Danisch 2008-08-30 00:39:39 UTC
Created attachment 17539 [details]
lspci -vvnn
Comment 3 Anonymous Emailer 2008-08-30 00:56:46 UTC
Reply-To: akpm@linux-foundation.org


(switched to email.  Please respond via emailed reply-to-all, not via the
bugzilla web interface).

On Sat, 30 Aug 2008 00:37:18 -0700 (PDT) bugme-daemon@bugzilla.kernel.org wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=11456
> 
>            Summary: USB freeze with SB600 chipset
>            Product: Drivers
>            Version: 2.5
>      KernelVersion: 2.6.27 (ubuntu 2.6.27-2-generic)
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: USB
>         AssignedTo: greg@kroah.com
>         ReportedBy: hadmut@danisch.de
> 
> 
> Latest working kernel version: none
> Earliest failing kernel version:
> Distribution: Ubuntu
> 
> Hi, I recently bought a small Acer Desktop PC with AMD x2 CPU and SB600
> Southbridge. Hardware seems to be OK, it came with Windows Vista and worked
> properly. 
> 
> I then installed Ubuntu 8.04 with a 2.6.24 kernel and ran into severe
> problems
> with the USB port: I could mount USB sticks but they became unavailable as
> soon
> as I wanted to access data. Mouse and Keyboard that were connected through
> USB
> hubs freezed within about 2 Minutes after system boot. 
> 
> I then tried the 2.6.26 and 2.6.27 kernels from the upcoming Ubuntu 8.10
> release and the problems with the USB storage seem to be gone, I could read
> data from a USB stick without problems. 
> 
> However, I still can't use mouse and keyboard when connected through a USB
> hub
> for more than a few seconds, and in general the USB part does not seem to be
> stable. 
> 
> Unfortunately, there's no error message in dmesg or kernel logs. 
> 
> regards
> Hadmut
Comment 4 Greg Kroah-Hartman 2008-08-30 10:19:53 UTC
On Sat, Aug 30, 2008 at 12:56:31AM -0700, Andrew Morton wrote:
> > Hi, I recently bought a small Acer Desktop PC with AMD x2 CPU and SB600
> > Southbridge. Hardware seems to be OK, it came with Windows Vista and worked
> > properly. 


This southbridge is known to have USB problems, as the hardware has bugs
in it.  There are changes in 2.6.27 that should resolve this issue.

Can you try 2.6.27-rc5 and verify that you still have problems or not?
I should be getting ahold of a machine with this chipset next week so
that I can test this out myself.

thanks,

greg k-h
Comment 5 Hadmut Danisch 2008-08-31 03:33:38 UTC
Hi,

Greg KH schrieb:
> Can you try 2.6.27-rc5 and verify that you still have problems or not?
> I should be getting ahold of a machine with this chipset next week so
> that I can test this out myself.
>
>   

OK, I just compiled a 2.6.27-rc5 (taken directly from kernel.org) with the
config file that came with the ubuntu 2.6.27-2 kernel.

At least for the first some minutes of testing, everything seems fine with
the USB. Machine still works.  :-)

But maybe it's too early to tell whether the problem is gone. Let me work
a day or two with the machine to see whether the problem could still occur
sporadically. I'll let you know as soon as I observe any problems. As
long as
you don't hear anything from me, machine is running well.

In a german computer magazine I read that the SB600 is notorious for being
ridiculously slow with USB.



BTW: When compiling the kernel I got a warning message I am not familiar
with
at the end of the compilation process:

    WARNING: modpost: Found 9 section mismatch(es).
    To see full details build your kernel with:
    'make CONFIG_DEBUG_SECTION_MISMATCH=y'

Whatever this means, it could be caused by the config file taken from
the ubuntu
kernel. I've given up compiling my own kernels one or two years ago and
had no
appropriate and up to date config file.  Furthermore, to be able to
directly compare
it seemed reasonable to use the same config file. Maybe some ubuntu
extensions caused
that warning message.


regards
Hadmut
Comment 6 Greg Kroah-Hartman 2008-08-31 19:57:15 UTC
On Sun, Aug 31, 2008 at 12:33:02PM +0200, Hadmut Danisch wrote:
> Hi,
> 
> Greg KH schrieb:
> > Can you try 2.6.27-rc5 and verify that you still have problems or not?
> > I should be getting ahold of a machine with this chipset next week so
> > that I can test this out myself.
> >
> >   
> 
> OK, I just compiled a 2.6.27-rc5 (taken directly from kernel.org) with the
> config file that came with the ubuntu 2.6.27-2 kernel.
> 
> At least for the first some minutes of testing, everything seems fine with
> the USB. Machine still works.  :-)
> 
> But maybe it's too early to tell whether the problem is gone. Let me work
> a day or two with the machine to see whether the problem could still occur
> sporadically. I'll let you know as soon as I observe any problems. As
> long as
> you don't hear anything from me, machine is running well.
> 
> In a german computer magazine I read that the SB600 is notorious for being
> ridiculously slow with USB.

I really don't know about that, you should be able to test it yourself
:)

> BTW: When compiling the kernel I got a warning message I am not familiar
> with
> at the end of the compilation process:
> 
>     WARNING: modpost: Found 9 section mismatch(es).
>     To see full details build your kernel with:
>     'make CONFIG_DEBUG_SECTION_MISMATCH=y'

You can probably safely ignore this if you are building modules.  You
can rebuild the kernel as it suggests to get the real error messages if
you wish to point them out to the developers so that they can get fixed.

thanks,

greg k-h
Comment 7 Hadmut Danisch 2008-09-08 11:23:31 UTC
Hi,

Greg KH schrieb:
> This southbridge is known to have USB problems, as the hardware has bugs
> in it.  There are changes in 2.6.27 that should resolve this issue.
>
> Can you try 2.6.27-rc5 and verify that you still have problems or not?
> I should be getting ahold of a machine with this chipset next week so
> that I can test this out myself.
>
> thanks,
>
> greg k-h
>   
Bad news: The problem just occured again with a 2.6.27-rc5.

However, it is significantly better. While I could work with
the USB mouse and keyboard on a USB hub just for seconds or a few
minutes with kernels before 2.6.27-rc5, I was working several hours
on several days with that machine before the problem occured under
2.6.27-rc5
for the first time. 

regards
Hadmut
Comment 8 Greg Kroah-Hartman 2008-09-09 22:16:46 UTC
On Mon, Sep 08, 2008 at 08:23:24PM +0200, Hadmut Danisch wrote:
> Bad news: The problem just occured again with a 2.6.27-rc5.

Ick :(

> However, it is significantly better. While I could work with
> the USB mouse and keyboard on a USB hub just for seconds or a few
> minutes with kernels before 2.6.27-rc5, I was working several hours
> on several days with that machine before the problem occured under
> 2.6.27-rc5 for the first time.

Ok, thanks for letting me know.  I'll be back and have access to the
machine that has this chipset after next week, so I'll work on this
then.

thanks,

greg k-h
Comment 9 Per 2008-11-15 19:21:22 UTC
I'm seeing a similar problem with Fedora 9, 64 bit, latest kernel.  If I "modprobe -r ehci_hcd" things work fine with USB storage, but with ehci_hcd loaded, I get stuff like this:

usb 1-4.3: new high speed USB device using ehci_hcd and address 7
usb 1-4.3: configuration #1 chosen from 1 choice
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
usb 1-4.3: New USB device found, idVendor=0951, idProduct=1603
usb 1-4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4.3: Product: DataTraveler 2.00000000251
usb 1-4.3: Manufacturer: Kingston
usb 1-4.3: SerialNumber: 0000000251
usb-storage: device scan complete
usb 1-2: new high speed USB device using ehci_hcd and address 8
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110

About my system:

# uname -r
2.6.27.5-37.fc9.x86_64

# lspci | grep USB
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
Comment 10 Greg Kroah-Hartman 2009-07-28 16:51:02 UTC
Should be fixed in 2.6.30.  If not, please let the developers at linux-usb@vger.kernel.org know about it.

Note You need to log in before you can comment on or make changes to this bug.