The Thursday 2005-05-26 at 07:09 +0200, Chadley Wilson wrote:
In my system it crashes, even if using text mode only. It suspends ok, I suppose, but when awaking, it doesn't get to the end - another day I can copy the error messages if anybody is interested.
How big is your swap?
Two partitions 1G each. RAM is 0.75G
I did a test laptop today purely as a challenge from this thread. I usually make swap double the ram, I made my swap 256, (yes I know, I was testing 128MB, be weary of me I do crazy things :} )
In Linux, swap can be as big as you need. I have an old machine, 32Mb ram, 1 G swap. The "double the ram size" rule comes from the windows world.
It failed, similar to your error above, so I reloaded with a 1GB swap, and now it works.
The error I get is way more complex than that. I suspend from the command line, using swsusp, or the instructions in "/usr/src/linux-2.6.11.4-20a/Documentation/power/swsusp.txt": echo shutdown > /sys/power/disk; echo disk > /sys/power/state or echo platform > /sys/power/disk; echo disk > /sys/power/state All methods fails. Using the last one, in runlevel 3, I get this errors when waking up - notice that most of the errors belong to the "going to sleep" part (hand copied to paper): hda: task_no_data_intr: status=0x51 {DriveReady SeekComplete Error} hda: task_no_data_intr: error=0x04 {DriveStatus Error} ide: failed opcode was: unknown Those three messages repeat three times except that the last one says instead: ide0: friled opcode was unknown \ \ \ \ \- 'r' or 'a'? \- missing ':' - '0' ide0: reset: sucess The whole group repeated several times in what I can see of the screen, except that the 'friled' typo is only present in the last one. hda: task_no_data (same as above) hda:.... (idem) ide: failed opcode was: unknown PM: snapshotting memory swsusp: Need to copy 22021 pages swsusp: Restoring Highmem hub 2-0:1.0: resubmit --> -108 PM: Image restored sucessfully PCI: Setting latency timer of device 0000:00:1f.2 to 64 PCI: Setting latency timer of device 0000:00:1f.4 to 64 ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 11 (level, low) -> IRQ 11 PCI: Setting latency timer of device 0000:00:1f.5 to 64 eth0: link down bttv: reset, reinitialize bttv: PLL: 286363 => 35468950.. Ok The keyboard works, I can switch console - but as soon as I do, I loose those error message above. Prompt does not reappear. I can press enter, the screen moves up a line, no result. I have to hard reset the PC to reboot. Remember, this is text mode, no nvidia involved (and I use the nv driver, anyhow). -- Cheers, Carlos Robinson