|
From: Li, S. <sha...@in...> - 2005-12-16 02:13:02
|
Hi, > >am a little stuck with suspend/resume on my ubuntu breezy system with a >vanilla 2.6.14.3 kernel built according to >http://www.columbia.edu/~ariel/acpi/acpi_howto.html > >Can't get it to suspend cleanly in normal runlevels, but when I boot to >single user mode without vesafb, fbcon etc. and if I stop next to >everything (NetworkManager, pcmcia, alsa etc.) and then unload all sorts >of modules I can get the system to suspend ... though it seems to hang >with a line "Shutdown: hda" till I hit Enter. > >Now, when I resume, I get: > >Thawing cpus ... >Booting processor 1/1 eip 3000 >Initializing CPU#1 >Stuck ?? >Inquiring remote API #1... >... APIC #1 ID: failed >... APIC #1 VERSION: failed >... APIC #1 SPIV: failed >Error taking cpu 1 up: -22 >Kernel panic - not synching: Not enough cpus > >While I tend to agree that I could use some more CPUs I don't panic about >it ;) > >Anyway, from what I see on this list the code that actually gives this >output seems to be in some of the required patches mentioned here. Is it >safe to assume that 2.6.14.3 includes the patches needed for >suspend/resume on a P4 with SMP/HT/PREEMPT in the kernel? I think it's yes. Could you please try the CPU offline and online in the system? just do offline: echo 0 > /sys/devices/system/cpu/cpu1/online online: echo 1 > /sys/devices/system/cpu/cpu1/online please check if the CPU1 is correctly online after that. Thanks, Shaohua |
|
From: Li, S. <sha...@in...> - 2005-12-20 02:57:14
|
Hi, > >I do have hotplug_cpu configured into my kernel and disabling/enabling >CPUs works just as well in the situation where I did my suspend, s. >below. > >Could it be the setting idle=3Dhalt is causing problems? I need that = (or >max_cstate=3D1 to keep my CPU up to speed) Might be an issue fixed in latest kernel. Please try. Thanks, Shaohua |
|
From: Karl H. B. <kar...@gm...> - 2005-12-16 20:16:23
|
Am Freitag, den 16.12.2005, 10:12 +0800 schrieb Li, Shaohua: > [...] I think it's yes. > Could you please try the CPU offline and online in the system? > just do > offline: > echo 0 > /sys/devices/system/cpu/cpu1/online > online: > echo 1 > /sys/devices/system/cpu/cpu1/online > please check if the CPU1 is correctly online after that. > > Thanks, > Shaohua > Sure, Script wurde gestartet: Fr 16 Dez 2005 11:57:11 CE root@ubuntu:~# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 9 cpu MHz : 3057.209 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 6119.86 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 9 cpu MHz : 3057.209 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 6113.80 root@ubuntu:~# echo 0 > /sys/devices/system/cpu/cpu1/online root@ubuntu:~# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 9 cpu MHz : 3057.209 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 6119.86 root@ubuntu:~# echo 1 > /sys/devices/system/cpu/cpu1/online root@ubuntu:~# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 9 cpu MHz : 3057.209 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 6119.86 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 9 cpu MHz : 3057.209 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 6113.86 Seems to work, will try once more in single-user mode with all services stopped and modules unloaded like when I suspended and keep you posted. Karl. |
|
From: Christoph G. <li...@ch...> - 2005-12-17 00:29:42
|
Hi, On 12/16/2005 09:17 PM, Karl H. Beckers wrote: >> Am Freitag, den 16.12.2005, 10:12 +0800 schrieb Li, Shaohua: >> Seems to work, >> >> will try once more in single-user mode with all services stopped and >> modules unloaded like when I suspended and keep you posted. I don't know if it solves your problem, but i had to activate "Support for hot-pluggable CPUs (Experimental)" (CONFIG_HOTPLUG_CPU=y) in kernel to get suspend to disk working with my Pentium 4 HT. Maybe it helps. Christoph |
|
From: Karl H. B. <kar...@gm...> - 2005-12-19 20:19:16
Attachments:
typescript
|
Hi Christoph, Shaohua, I do have hotplug_cpu configured into my kernel and disabling/enabling CPUs works just as well in the situation where I did my suspend, s. below. Could it be the setting idle=halt is causing problems? I need that (or max_cstate=1 to keep my CPU up to speed) ... otherwise I get boottimes of an hour) found a patch that didn't help me, so I sticked to the boot param. Haven't gotten round to testing without the param because it would take a matter of hours to boot and suspend :S Probable cause here? Thanks, Karl. |
|
From: Karl H. B. <kar...@gm...> - 2005-12-19 20:35:09
Attachments:
typescript
|
Hi Christoph, Shaohua, I do have hotplug_cpu enabled and disabling/enabling cpus works in the same situation as the suspend after which the resume does not. Could my setting of idle=halt be a problem? I need it to work around a boot up problem. Thanks, Karl. |
|
From: Karl H. B. <kar...@gm...> - 2005-12-19 19:56:30
|
Am Freitag, den 16.12.2005, 10:12 +0800 schrieb Li, Shaohua: > [...] I think it's yes. > Could you please try the CPU offline and online in the system? > just do > offline: > echo 0 > /sys/devices/system/cpu/cpu1/online > online: > echo 1 > /sys/devices/system/cpu/cpu1/online > please check if the CPU1 is correctly online after that. > > Thanks, > Shaohua > Sure, Script wurde gestartet: Fr 16 Dez 2005 11:57:11 CE root@ubuntu:~# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 9 cpu MHz : 3057.209 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 6119.86 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 9 cpu MHz : 3057.209 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 6113.80 root@ubuntu:~# echo 0 > /sys/devices/system/cpu/cpu1/online root@ubuntu:~# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 9 cpu MHz : 3057.209 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 6119.86 root@ubuntu:~# echo 1 > /sys/devices/system/cpu/cpu1/online root@ubuntu:~# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 9 cpu MHz : 3057.209 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 6119.86 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 9 cpu MHz : 3057.209 cache size : 512 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr bogomips : 6113.86 Seems to work, will try once more in single-user mode with all services stopped and modules unloaded like when I suspended and keep you posted. Karl. |