Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Clean install of Debian hangs upon inserting SD Card

Need help with peripherals or devices?
Post Reply
Message
Author
Dyntaos
Posts: 6
Joined: 2019-02-18 23:38

Clean install of Debian hangs upon inserting SD Card

#1 Post by Dyntaos »

Hello,

I am a new Debian user (just came over from using Ubuntu for 5 years). I have a clean install of Debian stretch (`uname -a` = "4.9.0-8-amd64 #1 SMP Debian 4.9.144-3 (2019-02-02) x86_64 GNU/Linux").

My laptop (Lenovo Thinkpad T520) has a built in SD card reader and when I insert any SD card, the kernel immediately hangs. The cursor doesn't move, the caps lock light doesn't toggle when I press caps lock. There are no signs of a responsive kernel at all.

The SD card reader worked fine in my previous install of Ubuntu and still works when I boot to an Ubuntu Live flash drive, so I know this is not a hardware issue. The live version of Ubuntu is 18.04LTS (unsure of kernel version at this time). My previous version of Ubuntu was 16.04LTS with kernel 4.15.0-45 (it also worked back on 4.4.0-142).

dmesg didn't seem to yield any useful information, however I have included a dmesg during the time I inserted an SD card and the system locked up.
Below is also my output from: lshw, lsmod and lspci. I have ran these in Ubuntu as well and diff'd them to see if there are any notable differences, which I did not see. I didn't want to post too much output so I have omitted posting the output from Ubuntu of these, but I can if anyone thinks it may help.



Note:
I do have some other issue with my SATA controller that I am also unsure what the cause is. This other issue did happen in Ubuntu so I am fairly certain they are unrelated. If anyone also has any suggestions for the ATA errors, I would be grateful as well, althought pressing issue is the SD card reader.
Info relating to the other issue: The system drive is an SSD. I have checked the smart status and reseated the drive.


dmesg:https://pastebin.com/T5n5QP84
https://pastebin.com/T5n5QP84


lshw (search for "sdhci-pci" to find the SD card reader):
https://pastebin.com/thvAGaC6


lsmod:
https://pastebin.com/X5wcu5Fb


lspci (search for "MMC" to find the SD card reader):
https://pastebin.com/yB5tXTBB



Thanks in advance!

User avatar
kalle123
Posts: 353
Joined: 2015-03-21 11:17
Location: Rhineland - Germany
Has thanked: 4 times
Been thanked: 12 times

Re: Clean install of Debian hangs upon inserting SD Card

#2 Post by kalle123 »

Could be a kernel problem. Try a backport kernel (4.17/4.18) ....

Dyntaos
Posts: 6
Joined: 2019-02-18 23:38

Re: Clean install of Debian hangs upon inserting SD Card

#3 Post by Dyntaos »

Okay, I will give that a shot.

What is the difference between these:

linux-image-4.19.0-0.bpo.1-amd64
linux-image-4.19.0-0.bpo.2-amd64

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Clean install of Debian hangs upon inserting SD Card

#4 Post by Head_on_a_Stick »

The "2" version is newer than the "1" version.

Install the metapackage to ensure your kernel version is kept updated.
deadbang

Dyntaos
Posts: 6
Joined: 2019-02-18 23:38

Re: Clean install of Debian hangs upon inserting SD Card

#5 Post by Dyntaos »

For anyone else who may experience this issue, I updated to stretch-backports:
linux-image-amd64
linux-image-4.19.0-0.bpo.2-amd64

This has resolved my issue. Thanks again for the help!

Post Reply