Skip navigation.
Home
Now Shipping Version 7.0

ext3 / reiserFS and suspend to ram


Posts: 2299

An intriguing issue:

A while ago I accidentally installed MEPIS 6 to an ext2 partition on my laptop. I found out when the file system got corrupted twice after a hibernate. That being said, if the FS did not get corrupted, both suspend to disk AND suspend to ram worked properly.

I reinstalled using ext3 and ever since then, suspend to ram no longer worked, i.e. it would suspend, but resume left me with a black display and hangup.

Couple of days ago, I installed 6.04 beta to a reiser partition, just for the fun of it. Surprise, surprise, suspend to ram works. So, ext3 must have some syncing issues that affect a resume from suspend to ram.

I am writing this both as a tip and a question. People who have problems with suspend to ram might try reiser, and for the nitty gritty geeks: can this be explained??

Jon Du Quesne's picture

Intriguing!

Hey there carlops. Interesting find!

I will be trying an install of 6.0-4 to one of my real partitions later (used it successfully in a vm).

So, if what you're saying is right, then I could try a test with both ext2 and reiserfs and should have success in using the suspend. This will be interesting because I have not tried to do this "from scratch".

So now I have a few different tests that I can try.
1) Try my modem
2) Try some different file systems for the root system
3) Try suspend to something

What I should like to check also is this. My "/home" partition has been set up as jfs, since that got good words from different sources, related to "recovery" and "journaling". However, when I do my initial OS loads, I always keep it simple by NOT creating a separate home partition.

I'll let you know what I find out Smiling

Jon

SimplyMEPIS Value CD: $17.95
Amount saved not buying Windows Vista Ultimate: $399
Experience gained learning Mepis and helping others: Priceless

I'm curious

.... mind you, I have a combined root / home partition which is ext3 (and also combined root / home reiser for the beta). I don't know if the jfs partition will interfere, but you could always try unmounting it I suppose.

Newbie or not Newbie, there's always a question

EisBlade's picture

I'm a newbie; just rebuilt

I'm a newbie; just rebuilt my Dell laptop with XP with dual boot (2 days go; that's how fresh) to Mepis. Grub installed to MBR, and it boots perfectly. I also, however, chose the wrong formatting (ext3) and will have to rebuild the Mepis side of things. I read just last night that reiser is the way to go for the best Suspend results.

Cheers!
Eis.

m_pav's picture

I have mixed file systems and suspend works

/ 12Gb is reiserfs version 3.6
/home 81Gb is ext3
/mnt/sda3 20Gb is reiserfs (for vm and partial backups)
swap 1Gb is as one would expect, swap

Suspend to disk has worked perfectly and so far, not a single flaw with SM 6.04 Beta2. One thing that I have found which is probably more of a feature than a fault is after resuming from hibernation, suspend to disk is not immediately available, but after a minute or two of use, it becomes available again.

The only changes I made to the grub boot line for my Toshiba are:
resume=/dev/sda4 and acpi_irq_balance

By the way, last week, I found the reiserfs was a very good candidate for file recovery after I accidentally deleted the last 6 years worth of my data in my /home straight after I had deleted it on the sda3. After writing a small amount of data to the sda3 partition, I stopped, unmounted it and run reiserfsck --rebuild-tree -S -l /recovery.log /dev/sda3 which recovered 87% of my data fully intact, and about 10% as orphaned files, of which I persevered and painstakingly identified and renamed 80% of them to give a total of 96%. I would have got more, but I forgot a hidden folder and deleted it with the rest.

Mike P

--------------------
Life may not be the party we thought, but while we're here, we may as well dance.
Break M$'s shackles from your feet and free yourself with Mepis

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.