Storage expansion and suspend

Discussion in 'Linux' started by mh-, Jan 20, 2009.

  1. mh-

    mh-

    Joined:
    Sep 22, 2008
    Messages:
    39
    Likes Received:
    0
    I have /home mounted on a SDHC card in the expansion slot. It works just fine. So does suspending.

    I created the ext2 filesystem on the device (/dev/mmcblk0) rather than a partition. Not quite sure why it prevents things from blowing up (and don't remember why I decided to try it), but it has worked for some time. Neither suspend nor accidentally ejecting the card has killed the filesystem on it.


    Previously I tried compiling a kernel with CONFIG_MMC_UNSAFE_RESUME but that only fixes suspending. Something happens to push against the card (causing it to eject) and the filesystem's gone.

    xfs and reiserfs survived ejects, but for some reason suspend didn't work with either of them. Didn't investigate this further since I got ext2 working ;). May be a possible solution if you need more than one partition on the card tho.
     
    mh-, Jan 20, 2009
    #1
  2. mh-

    Joeb

    Joined:
    Oct 5, 2008
    Messages:
    44
    Likes Received:
    0
    What kernel are you using?
     
    Joeb, Jan 23, 2009
    #2
  3. mh-

    mh-

    Joined:
    Sep 22, 2008
    Messages:
    39
    Likes Received:
    0
    Standard Ubuntu-lpia kernel in 8.10
     
    mh-, Jan 23, 2009
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.