I stand corrected - maybe. I wrote a program that allocates, sets, and
moves around more memory than my RAM. I added the zram0 as a swap, with
the bad sector included ('mkswap' without '-c'), and with higher
priority than the disk swap. I ran the program once only, because it
takes half an hour when it starts moving pages around. The program
itself did not crash. I saw several 'Write error on swap device'
messages in /var/log/kern.log. I don't know if anything else (like, a
background program) crashed.So it's possible the kernel now detects bad pages on swap devices and does not crash when it encounters them. I don't know how to test this assertion, though. The /dev/zram0 device still contains a bad 4K block at the end, but maybe it no longer matters. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1215513 Title: System locks up, requires hard reset To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1215513/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
