You are not logged in.

#1 2010-07-14 07:27:03

measure
Member
Registered: 2009-07-17
Posts: 62

Suspend fails (kernel panic) while SD card is mounted

EDIT: I feel clumsy for having reported this to the  Kernerl & Hardware section as opposed to the Laptop Issues section.  If this is the incorrect spot, please feel free to move it or delete it...

Well, as the title basically explains, suspend (which has worked quite well for a while now) fails while I have the following mounted

/dev/mmcblk0p1 /media/sd auto user,noauto,noexec 0 0

(note: this is what it is my fstab)

If I umount the card before suspending, it works fine.  I can easily recreate the problem by rebooting, mounting the card 'mount /media/sd' and then closing the lid (which I have set to call 's2ram -f'

My system is up to date with the main repos.  I am using the standard Arch kernel.

Here's the output of 'dmesg | grep mmc'

[ryan@HAL9002 ~]$ dmesg | grep mmc
 sda:sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
Registered led device: mmc0::
mmc0: SDHCI controller on PCI [0000:0d:00.0] using DMA
mmc0: new SD card at address aaaa
mmcblk0: mmc0:aaaa SD02G 1.84 GiB 
 mmcblk0: p1
mmcblk0: retrying using single block read
mmc0: card aaaa removed
mmc0: new SD card at address aaaa
mmc mmc0:aaaa: parent mmc0 should not be sleeping
mmcblk0: mmc0:aaaa SD02G 1.84 GiB 
 mmcblk0: p1
mmcblk0: retrying using single block read
mmc0: card aaaa removed
mmc0: new SD card at address aaaa
mmc mmc0:aaaa: parent mmc0 should not be sleeping
mmcblk0: mmc0:aaaa SD02G 1.84 GiB 
 mmcblk0: p1
mmcblk0: retrying using single block read

/var/log/pm-suspend.log did not seem to contain anything of interest.  Ther kernel panics might be happening before suspend can write to its log files?

I am on a Thinkpad T410 which

0d:00.0 SD Host controller: Ricoh Co Ltd Device e822 (rev 01)

If there's any other helpful information I could include, please let me know.  This isn't a particularly big deal to me, I just wanted to see if this if this is my fault or a bug in the kernel.  As to my knowledge this has never been an issue before, and I certainly haven't changed anything relating to the card reader.

Ok, I'll shut up...

Thanks,
Ryan

Last edited by measure (2010-07-14 07:44:51)

Offline

#2 2010-07-20 18:22:19

korpenkraxar
Member
Registered: 2006-04-02
Posts: 123

Re: Suspend fails (kernel panic) while SD card is mounted

I was having problems with suspend on a fresh install of Arch as well on my Thinkpad W500. Popped out the SD card as per your suggestion and now it works fine. Thanks! Would you please file a bug report on the issue?

Offline

#3 2010-07-24 00:44:20

measure
Member
Registered: 2009-07-17
Posts: 62

Re: Suspend fails (kernel panic) while SD card is mounted

Should it be reported to Arch devs or to the kernel devs?

Shamefully I am not a good Linux citizen!

Offline

Board footer

Powered by FluxBB