Bug 6645

Summary: SMP + USB2.0 EHCI crash. If both SMP and EHCI are used this bug happens. Either disabling SMP or EHCI and bug doesnt appear. Reproduced on 2 different ASUS P5AD2-E Premium boards with intel 925X chipset.
Product: Platform Specific/Hardware Reporter: Davor Emard (davoremard)
Component: i386Assignee: platform_i386
Status: REJECTED UNREPRODUCIBLE    
Severity: blocking CC: mchehab, protasnb
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.16.19 Subsystem:
Regression: --- Bisected commit-id:
Attachments: Crash captured with serial cable. Crashes randomly. Now it is in dvb demux part but sometimes it also randomly crashes in ehci and smp code.

Description Davor Emard 2006-06-04 23:48:38 UTC
Most recent kernel where this bug did not occur: 2.6.16.19
Distribution: Debian (testing, latest sync)
Hardware Environment: Intel 3.2GHz 32bit 1-core HyperThreading and ASUS P5AD2-E 
premium with usb2.0 scanner, dvb receiver, and usb 2.0 hub
Software Environment: Debian testing, gcc (GCC) 4.0.4 20060507 (prerelease) 
(Debian 4.0.3-3) - i tried gcc 3.4 and the same problem
 
Problem Description: After max 1 day it freezes (kernel hang)

Steps to reproduce: Enable SMP and EHCI, connect usb 2.0 device and
 generate enough traffic for this to happen
Comment 1 Davor Emard 2006-06-04 23:56:00 UTC
Created attachment 8249 [details]
Crash captured with serial cable. Crashes randomly. Now it is in dvb demux part but sometimes it also randomly crashes in ehci and smp code. 

This crash happens if
enough specific traffic over usb 2.0
is generated with hyperthreading cpu SMP
support and EHCI (usb 2.0 driver) toghether
are compiled in. Disable either SMP or
EHCI and this crash will never happen.

Just by chance in this attachment crash log
captured by serial cable it crashed in dvb
demux part but I know this part is quite 
stable as I contributed myself to the demux
core part which is running unchanged for
over 2 years.

By removing the suspect modules one by one
(dvb, firewire, ethernet, preempt, smp, ehci)
and watching the stability of the machine
I found out the combination which triggers
the bug

Emard
Comment 2 Andrew Morton 2006-06-04 23:57:09 UTC
You say "Most recent kernel where this bug did not occur: 2.6.16.19",
whcih can't be correct.  Please clarify.
Comment 3 Andrew Morton 2006-06-04 23:59:35 UTC
Mauro, this is DVB-related.
Comment 4 Franck Charpentier 2006-11-10 07:50:14 UTC
Hello,

I think this bug affect my system. I'm on Ubuntu and I have recently switched
from Ubuntu 6.06 (kernel 2.6.15-27) to Ubuntu 6.10 (kernel 2.6.17-10). Since
I've switched, my system freeze randomly (about 1 times a day and more) and I
have no other choice than push the reset button.

Yesterday i've seen that freezes arrives more frequently when i use my USB
scanner on Xsane. After lots of tests and crash, i've decided to boot my kernel
with -noapic -nolapic options. This disable hyperthreading and my PIV is seen on
Ubuntu as one only CPU. But it don't freeze anymore. After a lot a search i've
find this bug report and i come here.

My configuration is: PIV HT 3,2 Ghz (S378) on Abit IS-7. USB Scanner Agfa
Snapscan 1212U and USB Printer HP 970Cxi on a hub and only a joypad are my USB
p
Comment 5 Mauro Carvalho Chehab 2006-11-14 07:00:08 UTC
It seems to be a hardware failure. Probably, some troubles on your memories or
overheating. Try to run a memory stress test on it, like memtest.
Comment 6 Anonymous Emailer 2006-11-25 09:21:56 UTC
Reply-To: vordah@gmail.com

> ------- Additional Comments From blackmajor@free.fr  2006-11-10 07:50 -------
> Hello,
> 
> I think this bug affect my system. I'm on Ubuntu and I have recently switched
> from Ubuntu 6.06 (kernel 2.6.15-27) to Ubuntu 6.10 (kernel 2.6.17-10). Since
> I've switched, my system freeze randomly (about 1 times a day and more) and I
> have no other choice than push the reset button.
> 
> Yesterday i've seen that freezes arrives more frequently when i use my USB
> scanner on Xsane. After lots of tests and crash, i've decided to boot my kernel
> with -noapic -nolapic options. This disable hyperthreading and my PIV is seen on
> Ubuntu as one only CPU. But it don't freeze anymore. After a lot a search i've
> find this bug report and i come here.
> 
> My configuration is: PIV HT 3,2 Ghz (S378) on Abit IS-7. USB Scanner Agfa
> Snapscan 1212U and USB Printer HP 970Cxi on a hub and only a joypad are my USB
> p
Comment 7 Natalie Protasevich 2007-06-21 23:46:08 UTC
Emard,
Have you tried latest kernel (2.6.22-rc5)?
You mentioned that your system crashes in random places. Can you provide another traces to illustrate this.
Thanks.
Comment 8 Natalie Protasevich 2008-03-24 13:09:12 UTC
Since no activity on the bug, closing. Please reopen if confirmed with latest kernel.