Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34070 - System crashes when plugging in a USB2 card reader
Summary: System crashes when plugging in a USB2 card reader
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-21 16:38 UTC by Aimak Rokalno
Modified: 2004-04-09 07:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My actual kernel settings (config-2.4.20-gentoo-r8,25.18 KB, text/plain)
2003-11-24 09:57 UTC, Aimak Rokalno
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aimak Rokalno 2003-11-21 16:38:01 UTC
The problem is given by an external 6in1 flash car reader USB2 certified.

I have a custom copiled kernel 2.4.20-gentoo-r8 for AthlonXP.
 
I have a motherboard MSI KT3 with chipset VIA KT333.
 
The system crashes if the device is plugged in, but sometimes it is
recognised. If I try to mount a CompactFlash card, the system crases too. It also crashes if I mount it using: mount -t msdos /dev/sda1 /mnt/removable

Below there is extra information. Please, let me know if you need more data.

Thank you.

--
The file /proc/scsi/usb-storage-0/0 has:
Host scsi0: usb-storage
Vendor: Genesys
Product: USB2.0 Card Reader
Serial Number: 1
Protocol: Transparent SCSI
Transport: Bulk
GUID: 05e307600000000000000001
Attached: Yes
 
The file /proc/bus/usb/devices has:
cat /proc/bus/usb/devices
T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc= 99/900 us (11%), #Int=  1, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=c800
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c024 Rev=98.02
S:  Manufacturer=B16_b_02
S:  Product=USB-PS/2 Optical Mouse
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=hid
E:  Ad=81(I) Atr=03(Int.) MxPS=   5 Ivl=10ms
T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=cc00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 0.00
S:  Product=USB UHCI-alt Root Hub
S:  SerialNumber=d000
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS= 8 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.04
S:  Manufacturer=Linux 2.4.20-gentoo-r8 ehci-hcd
S:  Product=VIA Technologies, Inc. USB 2.0
S:  SerialNumber=00:10.3
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=05e3 ProdID=0760 Rev= 1.19
S:  Manufacturer=Genesys
S:  Product=USB2.0 Card Reader
S:  SerialNumber=1
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2003-11-23 15:32:18 UTC
Can we have a bit more information about the actual problem please? Does the system lock up, OOPS, ... ?
Comment 2 Aimak Rokalno 2003-11-23 15:55:57 UTC
Soorry, I am new Gentoo user, so I dont now what information to provide. Could you point me to what log files or anything else to report?

<quote>Can we have a bit more information about the actual problem please? Does the system lock up, OOPS, ... ?</quote>

Yes, the system locks up, so the _only_ way I know is pressing the reset button. Most of the times the system stops responding after some seconds since the device (without card) is plugged in (perhaps 30 to 60 seconds). I give up waiting when the keyboard leds stop working. For instance, if "capslock" key doesnt lit up the led then it is the time to press the reset button.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-11-24 09:25:09 UTC
I don't think you would find much in the logs, as the system probably doesn't have enough time to commit anything to those. Can you please attach your kernel configuration to this bug?

Can I suggest toggling the "Preemptive Kernel" option? Can you enable it if it is off and disable it if it is on and see if that yields results?
Comment 4 Aimak Rokalno 2003-11-24 09:57:34 UTC
Created attachment 21212 [details]
My actual kernel settings
Comment 5 Aimak Rokalno 2003-11-24 10:05:10 UTC
I have used 'genkernel --config' to configure the kernel.

I will recompile with only disabling the 'preemptive' option.
Comment 6 Jason Cox (RETIRED) gentoo-dev 2004-04-01 22:12:02 UTC
may I also recommend passing "pci=noacpi" on your kernel line in grub/lilo conf file
Comment 7 Jason Cox (RETIRED) gentoo-dev 2004-04-08 20:48:04 UTC
Any more news on this? Does the problem still exist? Perhaps a kernel upgrade might help.
Comment 8 Jason Cox (RETIRED) gentoo-dev 2004-04-09 07:59:17 UTC
No more news. He's not coming back. Closed.