* swsusp: FATAL: cannot find swap device, try swapon -a!
@ 2005-03-24 0:09 Ferenc Szalma
2005-03-24 0:26 ` Carl-Daniel Hailfinger
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Ferenc Szalma @ 2005-03-24 0:09 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi,
Swsusp comes back with the following error message on my Toshiba m200
laptop:
Stopping tasks:
==========================================================================|
Freeing memory... done (35896 pages freed)
BUG: using smp_processor_id() in preemptible [00000001] code:
acpitool/8191
caller is disable_nonboot_cpus+0x10/0xdb
[<c025c6bf>] smp_processor_id+0xa3/0xb4
[<c013a2c5>] disable_nonboot_cpus+0x10/0xdb
[<c013a2c5>] disable_nonboot_cpus+0x10/0xdb
[<c013a4c7>] free_some_memory+0x5e/0x64
[<c013a53b>] prepare+0x2f/0xaf
[<c013a5c4>] pm_suspend_disk+0x9/0x73
[<c0138cac>] enter_state+0x8e/0x92
[<c0138dd4>] state_store+0xa4/0xb7
[<c0197015>] subsys_attr_store+0x34/0x3d
[<c0197299>] flush_write_buffer+0x3e/0x4a
[<c01972fd>] sysfs_write_file+0x58/0x80
[<c015da98>] vfs_write+0x148/0x14d
[<c015db6e>] sys_write+0x51/0x80
[<c010319f>] syscall_call+0x7/0xb
Freezing CPUs (at 0)...ok
eth1: Going into suspend...
NVRM: RmPowerManagement: 3
swsusp: FATAL: cannot find swap device, try swapon -a!
PCI: Setting latency timer of device 0000:00:1d.0 to 64
PCI: Setting latency timer of device 0000:00:1d.1 to 64
PCI: Setting latency timer of device 0000:00:1d.2 to 64
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 restarted, EHCI 1.00, driver 10 Dec 2004
ACPI: PCI Interrupt 0000:00:1f.1[A] -> Link [LNKC] -> GSI 11 (level, low)
-> IRQ 11
ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 11 (level, low)
-> IRQ 11
PCI: Setting latency timer of device 0000:00:1f.5 to 64
NVRM: RmPowerManagement: 4
eth1: Coming out of suspend...
PCI: Enabling device 0000:02:05.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:02:05.0[A] -> Link [LNKC] -> GSI 11 (level, low)
-> IRQ 11
Restarting CPUs...ok
Restarting tasks... done
usb 2-2: USB disconnect, address 2
usb 2-2.1: USB disconnect, address 3
usb 2-2.3: USB disconnect, address 4
usb 2-2: new full speed USB device using uhci_hcd and address 5
hub 2-2:1.0: USB hub found
hub 2-2:1.0: 3 ports detected
ALPS Touchpad (Glidepoint) detected
Disabling hardware tapping
input: AlpsPS/2 ALPS TouchPad on isa0060/serio1
usb 2-2.1: new full speed USB device using uhci_hcd and address 6
input: USB HID v1.10 Keyboard [Dell Dell USB Keyboard Hub] on
usb-0000:00:1d.0-2.1
input: USB HID v1.10 Device [Dell Dell USB Keyboard Hub] on
usb-0000:00:1d.0-2.1
usb 2-2.3: new low speed USB device using uhci_hcd and address 7
input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on
usb-0000:00:1d.0-2.3
I use gentoo linux with kernel-2.6.11.4 kernel (not gentoo-kernel!)
patched with acpi-20050309-2.6.11.diff.gz and boot with
resume=swap:/dev/hda3 where hda3 is my swap patition. I have searched the
web and I see that I am not the 1st one getting the same error message;
the question is if anybody has come up with a remedy to this problem.
Thanks,
Ferenc
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: swsusp: FATAL: cannot find swap device, try swapon -a!
2005-03-24 0:09 swsusp: FATAL: cannot find swap device, try swapon -a! Ferenc Szalma
@ 2005-03-24 0:26 ` Carl-Daniel Hailfinger
[not found] ` <4242093F.2080203-hi6Y0CQ0nG0@public.gmane.org>
2005-03-24 1:14 ` Nigel Cunningham
2005-03-25 8:20 ` Pavel Machek
2 siblings, 1 reply; 8+ messages in thread
From: Carl-Daniel Hailfinger @ 2005-03-24 0:26 UTC (permalink / raw)
To: Ferenc Szalma; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Ferenc Szalma schrieb:
> Hi,
>
> Swsusp comes back with the following error message on my Toshiba m200
> laptop:
>
>
> Stopping tasks:
> ==========================================================================|
> Freeing memory... done (35896 pages freed)
> BUG: using smp_processor_id() in preemptible [00000001] code: acpitool/8191
> caller is disable_nonboot_cpus+0x10/0xdb
> [<c025c6bf>] smp_processor_id+0xa3/0xb4
> [<c013a2c5>] disable_nonboot_cpus+0x10/0xdb
> [<c013a2c5>] disable_nonboot_cpus+0x10/0xdb
> [<c013a4c7>] free_some_memory+0x5e/0x64
> [<c013a53b>] prepare+0x2f/0xaf
> [<c013a5c4>] pm_suspend_disk+0x9/0x73
> [<c0138cac>] enter_state+0x8e/0x92
> [<c0138dd4>] state_store+0xa4/0xb7
> [<c0197015>] subsys_attr_store+0x34/0x3d
> [<c0197299>] flush_write_buffer+0x3e/0x4a
> [<c01972fd>] sysfs_write_file+0x58/0x80
> [<c015da98>] vfs_write+0x148/0x14d
> [<c015db6e>] sys_write+0x51/0x80
> [<c010319f>] syscall_call+0x7/0xb
That's another bug. It doesn't correspond to your problems.
> Freezing CPUs (at 0)...ok
> eth1: Going into suspend...
> NVRM: RmPowerManagement: 3
> swsusp: FATAL: cannot find swap device, try swapon -a!
That's the real reason for the failure. Do you have IDE built as modules?
Basically, the kernel checks whether it can access the device at boot
time before mounting anything. For 2.6.11.4 this is not possible with
swap devices which depend on any modules loaded. Compile in every driver
needed to access your swap device.
> I use gentoo linux with kernel-2.6.11.4 kernel (not gentoo-kernel!)
> patched with acpi-20050309-2.6.11.diff.gz and boot with
> resume=swap:/dev/hda3 where hda3 is my swap patition. I have searched
> the web and I see that I am not the 1st one getting the same error
> message; the question is if anybody has come up with a remedy to this
> problem.
Yes, see above.
HTH,
Carl-Daniel
--
http://www.hailfinger.org/
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: swsusp: FATAL: cannot find swap device, try swapon -a!
2005-03-24 0:09 swsusp: FATAL: cannot find swap device, try swapon -a! Ferenc Szalma
2005-03-24 0:26 ` Carl-Daniel Hailfinger
@ 2005-03-24 1:14 ` Nigel Cunningham
[not found] ` <1111626849.14853.324.camel-r49W/1Cwd2ff0s6lnCXPX/uOuaPYTxhvJwvTLr3MMZM@public.gmane.org>
2005-03-25 8:20 ` Pavel Machek
2 siblings, 1 reply; 8+ messages in thread
From: Nigel Cunningham @ 2005-03-24 1:14 UTC (permalink / raw)
To: Ferenc Szalma; +Cc: ACPI List
Hi.
On Thu, 2005-03-24 at 11:09, Ferenc Szalma wrote:
> I use gentoo linux with kernel-2.6.11.4 kernel (not gentoo-kernel!)
> patched with acpi-20050309-2.6.11.diff.gz and boot with
> resume=swap:/dev/hda3 where hda3 is my swap patition. I have searched the
> web and I see that I am not the 1st one getting the same error message;
Your problem is that you have mixed up the syntax for Suspend2 and
Pavel's implementation:
Pavel's: resume=/dev/hda3
Suspend2: resume2=swap:/dev/hda3 (or just resume2=/dev/hda3 if swap is
the only writer)
If you remove the "swap:", you should be a bit closer to being in
business.
Regards,
Nigel
--
Nigel Cunningham
Software Engineer, Canberra, Australia
http://www.cyclades.com
Bus: +61 (2) 6291 9554; Hme: +61 (2) 6292 8028; Mob: +61 (417) 100 574
Maintainer of Suspend2 Kernel Patches http://suspend2.net
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: swsusp: FATAL: cannot find swap device, try swapon -a!
2005-03-24 0:09 swsusp: FATAL: cannot find swap device, try swapon -a! Ferenc Szalma
2005-03-24 0:26 ` Carl-Daniel Hailfinger
2005-03-24 1:14 ` Nigel Cunningham
@ 2005-03-25 8:20 ` Pavel Machek
2 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2005-03-25 8:20 UTC (permalink / raw)
To: Ferenc Szalma; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> I use gentoo linux with kernel-2.6.11.4 kernel (not gentoo-kernel!)
> patched with acpi-20050309-2.6.11.diff.gz and boot with
> resume=swap:/dev/hda3 where hda3 is my swap patition. I have
> searched the
I don't know who told you to put "swap:" there, but it is *not* a good
idea.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-03-25 8:20 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-24 0:09 swsusp: FATAL: cannot find swap device, try swapon -a! Ferenc Szalma
2005-03-24 0:26 ` Carl-Daniel Hailfinger
[not found] ` <4242093F.2080203-hi6Y0CQ0nG0@public.gmane.org>
2005-03-24 0:48 ` Ferenc Szalma
2005-03-24 1:16 ` Carl-Daniel Hailfinger
2005-03-24 1:14 ` Nigel Cunningham
[not found] ` <1111626849.14853.324.camel-r49W/1Cwd2ff0s6lnCXPX/uOuaPYTxhvJwvTLr3MMZM@public.gmane.org>
2005-03-24 2:12 ` Ferenc Szalma
2005-03-24 2:23 ` Nigel Cunningham
2005-03-25 8:20 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox