On Sun, April 22, 2018 7:25 pm, Brian Deery wrote:
> ok, I added
>
> blacklist=mmc_block
>
> to the end of my /etc/default/grub file then ran "sudo grub2-mkconfig -o
> /boot/grub2/grub.cfg"
>
>
> on rebooting I examined the grub commands and it showed the kernel was
> being booted with the blacklist option.  This blacklist did not fix the
> problem.  The card still is unrecognized after suspend.  I removed the
> kernel option.
>
> I also tried adding "blacklist=mmc_block blacklist=mmc_core
> blacklist=rtsx_pci_sdmmc"  to grub when booting with no effect. modinfo
> shows mmc_block and rtsx_pci_sdmmc both depend on mmc_core
>
>
> before suspend, as root, these commands attach and detach the SD card
> successfully:
> echo -n mmc0:aaaa > /sys/bus/mmc/drivers/mmcblk/bind echo -n mmc0:aaaa >
> /sys/bus/mmc/drivers/mmcblk/unbind
>
>
> After suspend, the above commands give the error "bash: echo: write
> error:
> No such device"
>
>
> before the first suspend: "sudo modprobe -r mmc_block" doesn't have much
> effect when the SD card is removed. This command resets the machine if the
> SD card is inserted and attached.
>
>
> after the first suspend: sudo modprobe -r mmc_block and sudo modprobe
> mmc_block don't seem to have any effect.
>
>
>
>
> On Sun, Apr 22, 2018 at 8:49 AM, awokd <[email protected]> wrote:
>
>
>> On Sat, April 21, 2018 9:44 pm, Brian Deery wrote:
>>
>>
>>> One quirk that might have an easy fix is my SD card.
>>>
>>
>>>
>>> according to the logs, it looks like mmc_block, as well as several
>>> other modules have trouble with suspending.  Is there a module to
>>> blacklist or some other easy fix for this?
>>
>> Check out https://www.qubes-os.org/doc/wireless-troubleshooting/. It
>> might apply to your SD card too. I looked at your logs but couldn't
>> really tell which module you'd want to try to blacklist- it would be the
>> equivalent of iwlwifi for SD cards. Maybe "mmc0"?

I used the word "blacklist" but meant it only in context of suspends. Did
you see the link? Check the bottom of that page. Instead of blacklisting
the modules outright, try to rmmod then modprobe them (also per that page)
and see if any get your SD working again. If so, add them to
suspend-module-blacklist. Try these one at a time: mmc_block mmc_core
rtsx_pci_sdmmc".

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/2733afd5fe0a8a73813cf7a439280ba8.squirrel%40tt3j2x4k5ycaa5zt.onion.
For more options, visit https://groups.google.com/d/optout.

Reply via email to