Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24390 - [kernel26] crash after inserting SD card on 2.6.38

Attached to Project: Arch Linux
Opened by Mariusz Kujawski (marines) - Sunday, 22 May 2011, 20:10 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 16 February 2012, 17:56 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

System totally crashes after inserting SD card into card reader.

After inserting any SD card into card reader builtin into my Lenovo notebook whole system almost suddenly crashes so hard that kernel doesn't respond even to SysRq. The only thing I could do was taking photo of screen with call trace. You can find it in attachment. I don't know what does it all mean but I guess you do. :] Card reader works well on Windows and also worked on previous versions of kernel. I haven't use this card reader for quite a time and I don't remember if I used it on 2.6.38 with success. Using 2.6.39 after inserting card nothing happens. Dmesg shows that new SD card found but nothing else happens (also there is no new device in /dev).

Linux version 2.6.38-ARCH (tobias@T-POWA-LX) (gcc version 4.6.0 20110429 (prerelease) (GCC) ) #1 SMP PREEMPT Fri May 13 09:24:47 CEST 2011

[7.1] ver_linux: http://pastebin.com/wbm25Qae
[7.2] cpuinfo: http://pastebin.com/iq4MKdVu
[7.3] modules: http://pastebin.com/1jHTPXeK
[7.4] ioports: http://pastebin.com/BNGEn15H
iomem: http://pastebin.com/KKBzFQXG
[7.5] lspci: http://pastebin.com/qfMP05Q7
[7.6] scsi: http://pastebin.com/eRcAwKHS
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 16 February 2012, 17:56 GMT
Reason for closing:  Upstream
Comment by Jelle van der Waa (jelly) - Tuesday, 24 May 2011, 09:25 GMT
did you check the upstream bug tracker?
Comment by Mariusz Kujawski (marines) - Tuesday, 24 May 2011, 17:11 GMT
I dunno how to use that bug tracker. :/
Comment by Mariusz Kujawski (marines) - Tuesday, 24 May 2011, 20:05 GMT
I dunno how to use that bug tracker. :/
Comment by Marco (toro89) - Friday, 27 May 2011, 19:59 GMT
It happens also with my Lenovo Thinkpad W500
Kernel 2.6.38 x86_64, the card reader is different (in lspci) but the driver is the same:
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 21)
Subsystem: Lenovo Device 20c8
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 32, Cache Line Size: 64 bytes
Interrupt: pin C routed to IRQ 18
Region 0: Memory at f4801800 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci
Comment by Mariusz Kujawski (marines) - Friday, 27 May 2011, 20:09 GMT
It started to work well after recent new release of kernel26.
Comment by mangust (mangust) - Saturday, 28 May 2011, 07:03 GMT
confirm, with kernel 2.6.38.7-1 there's no kernel panic. So, updating to this version solves the problem.
Comment by Mariusz Kujawski (marines) - Saturday, 28 May 2011, 09:01 GMT
Yes.
Comment by Enjolras (enjolras) - Monday, 30 May 2011, 14:04 GMT
Btw it could be duplicate of  FS#23778 
Comment by Mariusz Kujawski (marines) - Monday, 30 May 2011, 16:30 GMT
I don't think so.
Comment by Daniel Campbell (xelados) - Monday, 30 May 2011, 17:38 GMT
I tried using the 2.6.39 kernel (from [testing]) and experienced the same panic when I plugged in a USB SD card reader. The crash looks a lot like the one originally posted. I'd upload mine but I might crash when I try to mount it!

AMD Phenom II x6 1090T
8 GB RAM

running kernel 2.6.39 x86_64
udev 171-1
Comment by halfie (halfie) - Wednesday, 01 June 2011, 04:31 GMT
xelados: I too have similar crashes on AMD Phenom X3 720, AMD 790X chipset. 65-bit 2.6.39-ARCH1, udevd 171.
Comment by Jelle van der Waa (jelly) - Saturday, 18 June 2011, 08:55 GMT
Again... please report it upstream also know as the official linux bug tracker. We aren't kernel devs.

Loading...