NigelCunningham / tuxonice-kernel-old

Old TuxOnIce kernel tree - Now on Gitlab
http://tuxonice.nigelcunningham.com.au
Other
58 stars 21 forks source link

Corruption of swap partition #26

Open ysalmon opened 7 years ago

ysalmon commented 7 years ago

Hibernating caused a corruption of my swap partition.This has happened in the past with the regular kernel too but never occurred with TuxOnIce to day.

Hibernating seemingly operated normally. When booting up, systemd complained about failing to mount the swap partition (lagged for 1 min 30 then timed out). Gparted showed the partition as unknown ; I had to reformat it, activate swap and update /etc/fstab to change the UUID there.

Before this, I dded the first MB of the partition (of course I do not know if they were written by TuxOnIce or where already in this state before ; but given that I have 16GB of RAM I seldom make use of swap except for hibernation). It contains only zeros until offset 0x63a000 where it contains bytes that code for ASCII

I:16166596
E:ID_VENDOR_FROM_DATABASE=Interphase Corporation

then zeros up to offset 0x63b000 with

I:16166938
E:ID_VENDOR_FROM_DATABASE=Interphase Corporation

then zeroes until 0x63c000

I:16167980
E:ID_VENDOR_FROM_DATABASE=Impression Products Incorporated

similar things at 0x63d000, 0x63e000, 0x63f000, 0x640000, and so on.

At 0x645000 :

# This is private data. Do not parse
PRIORITY=30
LEVEL_PREFIX=1
FORWARD_TO_SYSLOG=0
FORWARD_TO_KMSG=0
FORWARD_TO_CONSOLE=0
IDENTIFIER=systemd-timesyncd
UNIT=systemd-timesyncd.service

At 0x646000 are bytes 6C 6F 0A