I have openSUSE 13.2/KDE running quite ok on a Toshiba Satellite CL10-B-100, which has a 32GB eMMC device for internal storage.
Something is wrong with that eMMC thing, and I can’t put my finger on it. From time to time it freezes, and it has buggered up two filesystem already (albeit possibly in combination with me doing other stupid things). It also throws funny errors in dmesg, even while everything seems to be working.
If this were a spinning hard-disc, I’d be checking the SMART status with smartmontools, running extended self-tests and so on, maybe checking for bad blocks. Things is: I have no idea how to troubleshoot an eMMC device.
Symptoms:
- 99% of the time, everything is working absolutely fine.
- From time to time, even when under no load, the laptop grinds almost to a halt on all processes requiring storage I/O (other processes work fine, i.e., anything that does not need to talk to the eMMC storage). Left to itself, the problem goes away after some minutes / hours.
- Funny messages in dmesg.
Any ideas on how to troubleshoot/fix this?
# dmesg | grep mmc
2.235696] mmc0: no vqmmc regulator found
2.235702] mmc0: no vmmc regulator found
2.241565] mmc0: SDHCI controller on ACPI [80860F14:01] using ADMA
2.373161] mmc0: BKOPS_EN bit is not set
2.377040] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
2.388097] mmc0: switch to bus width 2 failed
2.388402] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
2.397629] mmc0: Got command interrupt 0x00010000 even though no command operation was in progress.
2.399161] mmc0: new HS200 MMC card at address 0001
2.416860] mmcblk0: mmc0:0001 032GE4 29.1 GiB
2.416976] mmcblk0boot0: mmc0:0001 032GE4 partition 1 4.00 MiB
2.417044] mmcblk0boot1: mmc0:0001 032GE4 partition 2 4.00 MiB
2.417107] mmcblk0rpmb: mmc0:0001 032GE4 partition 3 4.00 MiB
2.420115] mmcblk0: p1 p2 p3
2.422313] mmcblk0boot1: unknown partition table
2.423278] mmcblk0boot0: unknown partition table
12.583891] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: acl,user_xattr
12.672471] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
147.807022] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
147.817571] mmc0: switch to bus width 2 failed
147.818838] mmc0: unexpected status 0x800800 after switch
147.822876] mmc0: switch to bus width 1 failed
147.822878] mmc0: error -22 during resume (card was removed?)
159.994532] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
203.820333] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
285.121058] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
285.131595] mmc0: switch to bus width 2 failed
285.132864] mmc0: unexpected status 0x800800 after switch
285.136903] mmc0: switch to bus width 1 failed
285.136905] mmc0: error -22 during resume (card was removed?)
292.727496] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
332.184889] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
332.195430] mmc0: switch to bus width 2 failed
332.196705] mmc0: unexpected status 0x800800 after switch
332.200745] mmc0: switch to bus width 1 failed
332.200748] mmc0: error -22 during resume (card was removed?)
405.024371] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
721.373582] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
731.372962] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
736.655591] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
792.838216] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
886.781710] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
892.651466] mmc0: Got command interrupt 0x00000001 even though no command operation was in progress.
(Note: I fscked /dev/mmcblk0p1, which is /boot/efi, and this is fine now.)