Hello, On Sat, 30 Jun 2012, Carlos E. R. wrote:
On Saturday, 2012-06-30 at 02:04 +0200, Carlos E. R. wrote:
I'm now compiling a kernel based on the desktop variant with some printk messages in power/user.c.
I installed that kernel.
It uses 1.7 gigabytes in /lib/modules, and the sources expanded to 7 GiB. I don't know why is that. Debug info? (see below).
Probably. A normal -default kernel (3.1.10) uses 139M in /lib/modules. Check it with e.g.: file $(/sbin/modinfo -F filename cdrom) (works as user too). If the output contains the words 'not stripped', then debug stuff is still in there. Weird. My cdrom.ko and btrfs.ko are also not stripped. Have you checked with du -hs /lib/modules/$(uname -r) as your's seems one order of magnitude too large? A built kernel-tree does take up a _LOT_ of space, but not that much ;)
I rebooted that kernel, and tried one hibernation, sucessfull. I saw a lot of messages going by that I had never seen - those could be captured with a serial port, I suppose.
On thawing I see some of those, I'm not sure. I do see some of my new printk statements (I was here: x.y)
Great :)
These are the messagges in the log - they are saved to file recovered after thawing, except those printed by s2disk which are lost. I don't know the exact point where thawing starts in the log:
I'm guessing ...[1] [..] [ 110.397128] CPU 3 is now offline [2] ... or here. [ 110.397129] SMP alternatives: switching to UP code [ 110.401909] PM: Creating hibernation image: [ 110.402011] PM: Need to copy 290653 pages [ 110.402011] PM: Normal pages needed: 290653 + 1024, available pages: 1806127 [1] HERE ...[2] [ 110.402011] microcode: CPU0 updated to revision 0xa0b, date = 2010-09-28 [ 110.402011] Enabling non-boot CPUs ... [ 110.403029] SMP alternatives: switching to SMP code [ 110.407496] Booting Node 0 Processor 1 APIC 0x1 [ 110.510229] NMI watchdog enabled, takes one hw-pmu counter. [ 110.511260] microcode: CPU1 updated to revision 0xa0b, date = 2010-09-28 [ 110.517024] CPU1 is up [ 110.517203] Booting Node 0 Processor 2 APIC 0x2 [ 110.620330] NMI watchdog enabled, takes one hw-pmu counter. [ 110.621521] microcode: CPU2 updated to revision 0xa0b, date = 2010-09-28 [ 110.626044] CPU2 is up [ 110.626200] Booting Node 0 Processor 3 APIC 0x3 [ 110.729428] NMI watchdog enabled, takes one hw-pmu counter. [ 110.730586] microcode: CPU3 updated to revision 0xa0b, date = 2010-09-28 [ 110.735021] CPU3 is up [ 110.737442] ata_piix 0000:00:1f.2: restoring config space at offset 0x1 (was 0x2b00003, writing 0x2b00007) I'd have to look where that "switching to UP code" is ;) Waiting what you get when it gets stuck. BTW: have you had a look at the 'smartctl -A' output for the device(s) where your swap is on? -dnh -- "Where's the kaboom? There was supposed to be an Earth-shattering kaboom!" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org