DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So not too often I actually have issues with Debian I can't figure out. However, have one right now.
So have Debian Stretch on my laptop (Latitude E5250, "defiant" in my sig). EVerything works fine except the sd-card reader. I know this, and have known this for a long time. It's pretty easy to fix.
and it works fine. So trying to set up /etc/modprobe.d/sdhci.conf so that it'll load correctly on boot (I leave a sd card in there because it came without the insert).
I've got the file created with
Code:
options sdhci debug_quirks2="0x10000"
yet upon boot, it acts like it's ignoring it, as the sd-card doesn't work. I can rmmod everything and then just modprobe them back, and it DOES work, so the file is correct, but doesn't work on bootup. I'm thinking maybe I'm missing something else that's necessary, but not sure what.
Either that or /etc/default/grub needs to be told to see your .sh file and and then
Code:
sudo update-grub
afterwards.
Code:
harry@biker:~
$ cat /etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=800x600
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
GRUB_INIT_TUNE="480 440 1"
GRUB_DISABLE_OS_PROBER=false
GRUB_BACKGROUND=/home/harry/Wallpaper/cheshire_cat.jpg
harry@biker:~
Like I said. A shot in the dark. Maybe make a .sh file and put in startups?
Just to explain a little better why I posted like I did.
I ran into your problem on a Easy Peasy Ubuntu install way back when. It was on a Acer Aspire One ZG5 SD slot. No boot options in bios for that slot. Acer never gave bios update for fixing that missing feature either. It was a hardware quirk for that netbook series then. SD card required a USB card reader adapter to boot from SD card.
It was not seen by Easy Peasy Kernel also after boot up. So I did a little kernel editing on the legacy grub kernel line in the /boot/grub/ folder. It was so long ago. I can't remember the exact syntax I used.
Long story short. The SD slot was seen by the file manager and mounted fine with that kernel edit.
But that edit. For whatever reason unknown to me. Heated up my internal wifi card till it would drop out of service.
So I admitted defeat. After days of trouble shooting it. Used a external USB wifi adapter. Turned off internal wifi card in bios. Rolled like that in Linux till I gave the Acer to my father-in-law after putting Windows XP back on it < wifes request > .
This may be some of a hack, but you could try creating a small script with those commands and tell systemd to run it at a specific stage of the boot process (more info here).
So, it looks like it might have been a kernel issue. Got the upgrade from 4.9.03-2 to 4.9.03-3 today, and now when I boot the sd-card is read with just the /etc/sdhci.conf file like it should.
Last edited by Timothy Miller; 06-14-2017 at 10:52 PM.
Further update if anyone is searching for this issue, the 4.11 kernel in buster seems to have completely fixed the issue. I commented out the sdhci options to test, and sd-card is working exactly like it should. So looks like this is no longer an issue for Broadcom chipsets with the 4.11 kernel in Debian.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.