Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hey all, I have a problem I'm struggling to figure out. I have an Acer Aspire One "netbook" that has 2 SD slots. If I insert and try to mount an SD card post bootup it can't detect the card (not listed in fdisk -l, and no messages generated to dmesg). Almost as if the slot isn't functioning.
The weird thing is, if I boot the computer up with the SD card IN the slot, it picks it up no problem, shown in fdisk as /dev/mmcblk0p1, and I am able to mount it no problem. I am also able to unmount and remove the card and the SD slot continues to function normally. Although I can boot up the computer with the SD card in the slot with no issues, I'd like to be able to have that "slot" active on boot even if I don't have a card in it.
A few more details, Im running slackware 13 with fluxbox wm. Any help is appreciated. Thanks!
pciehp module still missing. All USB ports are hot-pluggable, RH SD works if card is present on boot. LH SD slot has been reported to be hot-pluggable but on some AaO's it is not. As workaround add "pciehp.pciehp_force=1" to defoptions in /boot/grub/menu.lst or to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub if you are already using grub2.
You can try adding the above workaround to your lilo.conf append line and see if it works. If your not sure how to accomplish this, post your /etc/lilo.conf here and I'll walk you through it. You can also try manually loading pciehp after you boot up and see if an sd card is then picked up by running as root:
hrm, I tried manually running modprobe pciehp post boot (without SD card inserted during boot) and fdisk -l doesn't show the SD card. I also tried putting "pciehp.pciehp_force=1" into the append= line in lilo.conf (and reran lilo, saving the changes) and the same results. Looks like that's not solving the problem. Thanks though, any other suggestions?
See what modules are loading with the card inserted at boot time by running:
$ lspci > lspci.txt
That creates the text file lspci.txt in your home directory and dumps the output of the lspci command to lspci.txt. The lscpi command lists all loaded modules. Then boot without a card inserted and see what modules are loaded by running:
$ lspci
Compare the output with your text file you previously created. It looks like another module is binding to the card reader device(sdhci-pci?) when you boot without the card inserted and it interferes with pciehp when it is later loaded after boot.
Seems like a common problem with that jmicron card reader.
I still think something is interfering with the pciehp module when a card is not present at boot time. Let's test the theory by running lsmod. With the card present, boot up and run as root:
# lsmod > lsmod.txt
and reboot without a card and run:
# lsmod
Compare the output and see what modules are different in the two cases. My guess is that with card present, you will see the pciehp module loaded and without the card you will see sdhci-pci loaded. The sdhci-pci module is a driver for certain card readers but from everything I see your jmicron reader should use the pciehp module. If I'm right, you may be able to work around the problem by blacklisting sdhci-pci and forcing the pciehp module to load instead.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.