Re: [2.6.6 panic] via-rhine and acpi sleep 3

From: Benoit Dejean
Date: Mon Jun 07 2004 - 08:29:16 EST


Pavel Machek a Ãcrit :

Try suspend-to-disk working, first.

i'm working with set top box without disk, so i'm not interesting in STSW. i've been able to save some logs by mounting /var/log with NFS, but i've handwritten the kernel panic message.

so i've tried STSW, but it first failed because i have no swap partitions

Jun 7 14:51:24 cyp kernel: Stopping tasks: ===========================================|
Jun 7 14:51:24 cyp kernel: Freeing memory: ......................|
Jun 7 14:51:24 cyp kernel: /critical section: counting pages to copy.[nosave pfn 0x2ed]........................... (pages needed: 16186+512=16698 free: 41141)
Jun 7 14:51:24 cyp kernel: Suspend Machine: There's not enough swap space available, on 16698 pages short
Jun 7 14:51:24 cyp kernel: Suspend Machine: Suspend failed, trying to recover...
Jun 7 14:51:24 cyp kernel: Fixing swap signatures... ok
Jun 7 14:51:24 cyp kernel: Restarting tasks...<3>bad: scheduling while atomic!
Jun 7 14:51:24 cyp kernel: Call Trace:
Jun 7 14:51:24 cyp kernel: [<c026ddb3>] schedule+0x5c3/0x5d0
Jun 7 14:51:24 cyp kernel: [<c0111e8c>] try_to_wake_up+0x9c/0x150
Jun 7 14:51:24 cyp kernel: [<c012a554>] thaw_processes+0xa4/0xe0
Jun 7 14:51:24 cyp kernel: [<c012b98a>] software_suspend+0x8a/0xc0
Jun 7 14:51:24 cyp kernel: [<c01d520a>] acpi_system_write_sleep+0x6a/0x90
Jun 7 14:51:24 cyp sleepd[402]: 14 sec sleep; resetting timer
Jun 7 14:51:24 cyp kernel: [<c01d51a0>] acpi_system_write_sleep+0x0/0x90
Jun 7 14:51:24 cyp kernel: [<c0147cad>] vfs_write+0x9d/0x100
Jun 7 14:51:24 cyp kernel: [<c0147d8c>] sys_write+0x2c/0x50
Jun 7 14:51:24 cyp kernel: [<c0103e47>] syscall_call+0x7/0xb
Jun 7 14:51:24 cyp kernel:
Jun 7 14:51:24 cyp kernel: done
Jun 7 14:51:24 cyp kernel: bad: scheduling while atomic!
Jun 7 14:51:24 cyp kernel: Call Trace:
Jun 7 14:51:24 cyp kernel: [<c026ddb3>] schedule+0x5c3/0x5d0
Jun 7 14:51:24 cyp kernel: [<c0147cc1>] vfs_write+0xb1/0x100
Jun 7 14:51:24 cyp kernel: [<c0147d8c>] sys_write+0x2c/0x50
Jun 7 14:51:24 cyp kernel: [<c0103e7a>] work_resched+0x5/0x16
Jun 7 14:51:24 cyp kernel:
Jun 7 14:51:24 cyp kernel: bad: scheduling while atomic!
Jun 7 14:51:24 cyp kernel: Call Trace:
Jun 7 14:51:24 cyp kernel: [<c026ddb3>] schedule+0x5c3/0x5d0
Jun 7 14:51:24 cyp kernel: [<c0115ff7>] release_console_sem+0xc7/0xd0
Jun 7 14:51:24 cyp kernel: [<c0115e6d>] printk+0x10d/0x180
Jun 7 14:51:24 cyp kernel: [<c0113207>] sys_sched_yield+0x87/0xd0
Jun 7 14:51:24 cyp kernel: [<c01524db>] coredump_wait+0x2b/0x90
Jun 7 14:51:24 cyp kernel: [<c0152633>] do_coredump+0xf3/0x1b1
Jun 7 14:51:24 cyp kernel: [<c0129b01>] kallsyms_lookup+0x1b1/0x1c0
Jun 7 14:51:24 cyp kernel: [<c011d64b>] __dequeue_signal+0xeb/0x170
Jun 7 14:51:24 cyp kernel: [<c011d635>] __dequeue_signal+0xd5/0x170
Jun 7 14:51:24 cyp kernel: [<c011d6e5>] dequeue_signal+0x15/0x70
Jun 7 14:51:24 cyp kernel: [<c011eefe>] get_signal_to_deliver+0x25e/0x350
Jun 7 14:51:24 cyp kernel: [<c0103bb4>] do_signal+0x54/0xe0
Jun 7 14:51:24 cyp kernel: [<c0115e6d>] printk+0x10d/0x180
Jun 7 14:51:24 cyp kernel: [<c0111c77>] recalc_task_prio+0xb7/0x230
Jun 7 14:51:24 cyp kernel: [<c0104316>] show_trace+0x66/0xc0
Jun 7 14:51:24 cyp kernel: [<c026db13>] schedule+0x323/0x5d0
Jun 7 14:51:24 cyp kernel: [<c0110db0>] do_page_fault+0x0/0x4dc
Jun 7 14:51:24 cyp kernel: [<c0103c77>] do_notify_resume+0x37/0x40
Jun 7 14:51:24 cyp kernel: [<c0103e9e>] work_notifysig+0x13/0x15

after adding a swap file, i've tried again
saving did well, but when trying to wake up my box rebooted it. nothing in the log.

i'm very willing to make tests but my boss he's not :/ so i have no time to spend on testing Suspend To Disk.

thank you
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/