* swsusp problem @ 2006-09-10 0:13 curious 2006-09-10 9:33 ` Rafael J. Wysocki 2006-09-10 9:40 ` swsusp problem Pavel Machek 0 siblings, 2 replies; 17+ messages in thread From: curious @ 2006-09-10 0:13 UTC (permalink / raw) To: linux-kernel; +Cc: pavel hello. i write because swsuspend don't work for me. i try to echo disk > /sys/power/state and just nothing happens, i have blinking cursor and machine freezes. when i enabled debug i got : stopping tasks: ========| Shrinking memory... done (2684 pages freed) swsusp: Need to copy 1454 pages swsusp: critical section/: done (1454 pages copied) .... and machine just sits there , doing nothing. after reboot it boots like usual. machine is Ts30M Viglen Dossier 486 SM kernel is 2.6.18-rc5 here is config : http://zjeby.dyndns.org:8242/viglen.config -- ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: swsusp problem 2006-09-10 0:13 swsusp problem curious @ 2006-09-10 9:33 ` Rafael J. Wysocki 2006-09-10 19:24 ` curious 2006-09-10 9:40 ` swsusp problem Pavel Machek 1 sibling, 1 reply; 17+ messages in thread From: Rafael J. Wysocki @ 2006-09-10 9:33 UTC (permalink / raw) To: curious; +Cc: linux-kernel, pavel Hi, On Sunday, 10 September 2006 02:13, curious wrote: > hello. > i write because swsuspend don't work for me. > i try to echo disk > /sys/power/state > and just nothing happens, i have blinking cursor and machine freezes. > > when i enabled debug i got : > stopping tasks: ========| > Shrinking memory... done (2684 pages freed) > swsusp: Need to copy 1454 pages > swsusp: critical section/: done (1454 pages copied) > > .... and machine just sits there , doing nothing. > after reboot it boots like usual. > > machine is Ts30M Viglen Dossier 486 SM > kernel is 2.6.18-rc5 > here is config : http://zjeby.dyndns.org:8242/viglen.config Could you boot the kernel with the init=/bin/bash command line argument and do the following: # mount /proc # mount /sys # echo 8 > /proc/sys/kernel/printk # swapon -a # echo disk > /sys/power/state and see what happens? Rafael -- You never change things by fighting the existing reality. R. Buckminster Fuller ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: swsusp problem 2006-09-10 9:33 ` Rafael J. Wysocki @ 2006-09-10 19:24 ` curious 2006-09-10 19:27 ` Pavel Machek 0 siblings, 1 reply; 17+ messages in thread From: curious @ 2006-09-10 19:24 UTC (permalink / raw) To: Rafael J. Wysocki; +Cc: linux-kernel, pavel On Sun, 10 Sep 2006, Rafael J. Wysocki wrote: > Hi, > > On Sunday, 10 September 2006 02:13, curious wrote: >> hello. >> i write because swsuspend don't work for me. >> i try to echo disk > /sys/power/state >> and just nothing happens, i have blinking cursor and machine freezes. >> >> when i enabled debug i got : >> stopping tasks: ========| >> Shrinking memory... done (2684 pages freed) >> swsusp: Need to copy 1454 pages >> swsusp: critical section/: done (1454 pages copied) >> >> .... and machine just sits there , doing nothing. >> after reboot it boots like usual. >> >> machine is Ts30M Viglen Dossier 486 SM >> kernel is 2.6.18-rc5 >> here is config : http://zjeby.dyndns.org:8242/viglen.config > > Could you boot the kernel with the init=/bin/bash command line argument > and do the following: > > # mount /proc > # mount /sys > # echo 8 > /proc/sys/kernel/printk > # swapon -a > # echo disk > /sys/power/state > > and see what happens? same thing , except page count is different ofcourse. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: swsusp problem 2006-09-10 19:24 ` curious @ 2006-09-10 19:27 ` Pavel Machek 2006-09-10 19:39 ` Piotr Gluszenia Slawinski 0 siblings, 1 reply; 17+ messages in thread From: Pavel Machek @ 2006-09-10 19:27 UTC (permalink / raw) To: curious; +Cc: Rafael J. Wysocki, linux-kernel On Sun 2006-09-10 21:24:15, curious wrote: > > On Sun, 10 Sep 2006, Rafael J. Wysocki wrote: > > >Hi, > > > >On Sunday, 10 September 2006 02:13, curious wrote: > >>hello. > >>i write because swsuspend don't work for me. > >>i try to echo disk > /sys/power/state > >>and just nothing happens, i have blinking cursor and machine freezes. > >> > >>when i enabled debug i got : > >>stopping tasks: ========| > >>Shrinking memory... done (2684 pages freed) > >>swsusp: Need to copy 1454 pages > >>swsusp: critical section/: done (1454 pages copied) > >> > >>.... and machine just sits there , doing nothing. > >>after reboot it boots like usual. > >> > >>machine is Ts30M Viglen Dossier 486 SM > >>kernel is 2.6.18-rc5 > >>here is config : http://zjeby.dyndns.org:8242/viglen.config > > > >Could you boot the kernel with the init=/bin/bash command line argument > >and do the following: > > > ># mount /proc > ># mount /sys > ># echo 8 > /proc/sys/kernel/printk > ># swapon -a > ># echo disk > /sys/power/state > > > >and see what happens? > > same thing , except page count is different ofcourse. What kind of machine is that? What cpu? Really 486? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: swsusp problem 2006-09-10 19:27 ` Pavel Machek @ 2006-09-10 19:39 ` Piotr Gluszenia Slawinski 2006-09-10 19:49 ` Pavel Machek 0 siblings, 1 reply; 17+ messages in thread From: Piotr Gluszenia Slawinski @ 2006-09-10 19:39 UTC (permalink / raw) To: Pavel Machek; +Cc: Rafael J. Wysocki, linux-kernel > What kind of machine is that? What cpu? Really 486? yes, it's viglen dossier 486 based laptop . cpuinfo detects it as 'GenuineIntel' cpu family : 4 model : 3 model name : 486 DX/2 stepping : 6 cache_size : 0k fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme pse bogomips : 31.55 ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: swsusp problem 2006-09-10 19:39 ` Piotr Gluszenia Slawinski @ 2006-09-10 19:49 ` Pavel Machek 2006-09-10 19:59 ` Piotr Gluszenia Slawinski 2006-09-11 0:54 ` Dmitry Torokhov 0 siblings, 2 replies; 17+ messages in thread From: Pavel Machek @ 2006-09-10 19:49 UTC (permalink / raw) To: Piotr Gluszenia Slawinski; +Cc: Rafael J. Wysocki, linux-kernel Hi! > >What kind of machine is that? What cpu? Really 486? > > yes, it's viglen dossier 486 based laptop . Forget it, this thing does not support 4MB pages, and swsusp currently needs them. (We'll need to fix that, but not now -- fix is port of page-table handling code from x86-64). It should die with if (!cpu_has_pse) { printk(KERN_ERR "PSE is required for swsusp.\n"); return -EPERM; } ...can you investigate why it does not? Pavel > cpuinfo detects it as 'GenuineIntel' > cpu family : 4 > model : 3 > model name : 486 DX/2 > stepping : 6 > cache_size : 0k > fdiv_bug : no > hlt_bug : no > f00f_bug : no > coma_bug : no > fpu : yes > fpu_exception : yes > cpuid level : 1 > wp : yes > flags : fpu vme pse > bogomips : 31.55 -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: swsusp problem 2006-09-10 19:49 ` Pavel Machek @ 2006-09-10 19:59 ` Piotr Gluszenia Slawinski 2006-09-11 0:54 ` Dmitry Torokhov 1 sibling, 0 replies; 17+ messages in thread From: Piotr Gluszenia Slawinski @ 2006-09-10 19:59 UTC (permalink / raw) To: Pavel Machek; +Cc: Rafael J. Wysocki, linux-kernel > It should die with 5B> > if (!cpu_has_pse) { > printk(KERN_ERR "PSE is required for swsusp.\n"); > return -EPERM; > } > > ...can you investigate why it does not? obviously because i disabled BUG() support :o thanx for help -- ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: swsusp problem 2006-09-10 19:49 ` Pavel Machek 2006-09-10 19:59 ` Piotr Gluszenia Slawinski @ 2006-09-11 0:54 ` Dmitry Torokhov 2006-09-11 8:04 ` Pavel Machek 2006-09-12 0:12 ` thinkpad 360Cs keyboard problem Piotr Gluszenia Slawinski 1 sibling, 2 replies; 17+ messages in thread From: Dmitry Torokhov @ 2006-09-11 0:54 UTC (permalink / raw) To: Pavel Machek; +Cc: Piotr Gluszenia Slawinski, Rafael J. Wysocki, linux-kernel On Sunday 10 September 2006 15:49, Pavel Machek wrote: > Hi! > > > >What kind of machine is that? What cpu? Really 486? > > > > yes, it's viglen dossier 486 based laptop . > > Forget it, this thing does not support 4MB pages, and swsusp currently > needs them. (We'll need to fix that, but not now -- fix is port of > page-table handling code from x86-64). > > It should die with > > if (!cpu_has_pse) { > printk(KERN_ERR "PSE is required for swsusp.\n"); > return -EPERM; > } > > ...can you investigate why it does not? > Probably because of this: > > flags : fpu vme pse ^^^ > > bogomips : 31.55 > -- Dmitry ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: swsusp problem 2006-09-11 0:54 ` Dmitry Torokhov @ 2006-09-11 8:04 ` Pavel Machek 2006-09-12 0:12 ` thinkpad 360Cs keyboard problem Piotr Gluszenia Slawinski 1 sibling, 0 replies; 17+ messages in thread From: Pavel Machek @ 2006-09-11 8:04 UTC (permalink / raw) To: Dmitry Torokhov Cc: Piotr Gluszenia Slawinski, Rafael J. Wysocki, linux-kernel Hi! > > > >What kind of machine is that? What cpu? Really 486? > > > > > > yes, it's viglen dossier 486 based laptop . > > > > Forget it, this thing does not support 4MB pages, and swsusp currently > > needs them. (We'll need to fix that, but not now -- fix is port of > > page-table handling code from x86-64). > > > > It should die with > > > > if (!cpu_has_pse) { > > printk(KERN_ERR "PSE is required for swsusp.\n"); > > return -EPERM; > > } > > > > ...can you investigate why it does not? > > > > Probably because of this: Oops, aha, really? I thought only pentium+ supported 4MB tables? Does it also support cr4? Anyway, someone interested in history needs to play with this one ;-). > > > flags : fpu vme pse > ^^^ Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 17+ messages in thread
* thinkpad 360Cs keyboard problem 2006-09-11 0:54 ` Dmitry Torokhov 2006-09-11 8:04 ` Pavel Machek @ 2006-09-12 0:12 ` Piotr Gluszenia Slawinski 2006-09-12 14:05 ` Dmitry Torokhov 1 sibling, 1 reply; 17+ messages in thread From: Piotr Gluszenia Slawinski @ 2006-09-12 0:12 UTC (permalink / raw) To: linux-kernel well, certainly 2.6.18 issue... kernel boots up fine, but keyboard is totally messed up, and locks up after some tries of use. on 2.4.20 kernel keyboard works just fine -- ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: thinkpad 360Cs keyboard problem 2006-09-12 0:12 ` thinkpad 360Cs keyboard problem Piotr Gluszenia Slawinski @ 2006-09-12 14:05 ` Dmitry Torokhov 2006-09-12 14:24 ` Piotr Gluszenia Slawinski 0 siblings, 1 reply; 17+ messages in thread From: Dmitry Torokhov @ 2006-09-12 14:05 UTC (permalink / raw) To: Piotr Gluszenia Slawinski; +Cc: linux-kernel On 9/11/06, Piotr Gluszenia Slawinski <curious@zjeby.dyndns.org> wrote: > well, certainly 2.6.18 issue... Are you saying that it works on 2.6.17 and is broken on 2.6.18? > kernel boots up fine, but keyboard is totally messed up, > and locks up after some tries of use. Could you try describing the exact issues with the keyboard? Missing keypresses, wrong keys reported, etc? Thanks. -- Dmitry ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: thinkpad 360Cs keyboard problem 2006-09-12 14:05 ` Dmitry Torokhov @ 2006-09-12 14:24 ` Piotr Gluszenia Slawinski 2006-09-12 17:12 ` Dmitry Torokhov 0 siblings, 1 reply; 17+ messages in thread From: Piotr Gluszenia Slawinski @ 2006-09-12 14:24 UTC (permalink / raw) To: Dmitry Torokhov; +Cc: linux-kernel On Tue, 12 Sep 2006, Dmitry Torokhov wrote: > On 9/11/06, Piotr Gluszenia Slawinski <curious@zjeby.dyndns.org> wrote: >> well, certainly 2.6.18 issue... > > Are you saying that it works on 2.6.17 and is broken on 2.6.18? no, it works on 2.4.20. i didn't tried yet with other 2.6.x versions. btw. now i compiled 2.4.33.3 using gcc 3.4.6 , and even though i used 486 in cpu type resulting binary requires TSC+ from cpu :o (now recompiling with gcc-2.95.3 , and config_notsc and it seems to boot up) however weird behaviour aswell, because stops just after init... no matter wheter i use init=/bin/bash or regular init. it reports mounting root fs (ext2), then freeing unused kernel mem (52k) and stops . when i press keys i see output like it should be , so at least keyboard work :) with 2.6.18-rc5 it boots just fine, but ofcourse keyboard is broken. >> kernel boots up fine, but keyboard is totally messed up, >> and locks up after some tries of use. > > Could you try describing the exact issues with the keyboard? Missing > keypresses, wrong keys reported, etc? with prink enabled it prints series of 'unknown scancode' and keys are randomly messed up, and it changes, so like pressing b results with n, then space, then nothing at all. after some tries keyboard locks up completely. so wrong keys reported ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: thinkpad 360Cs keyboard problem 2006-09-12 14:24 ` Piotr Gluszenia Slawinski @ 2006-09-12 17:12 ` Dmitry Torokhov 2006-09-12 21:21 ` Piotr Gluszenia Slawinski 0 siblings, 1 reply; 17+ messages in thread From: Dmitry Torokhov @ 2006-09-12 17:12 UTC (permalink / raw) To: Piotr Gluszenia Slawinski; +Cc: linux-kernel On 9/12/06, Piotr Gluszenia Slawinski <curious@zjeby.dyndns.org> wrote: > On Tue, 12 Sep 2006, Dmitry Torokhov wrote: > > > On 9/11/06, Piotr Gluszenia Slawinski <curious@zjeby.dyndns.org> wrote: > > >> kernel boots up fine, but keyboard is totally messed up, > >> and locks up after some tries of use. > > > > Could you try describing the exact issues with the keyboard? Missing > > keypresses, wrong keys reported, etc? > > with prink enabled it prints series of 'unknown scancode' > and keys are randomly messed up, and it changes, so like pressing b > results with n, then space, then nothing at all. > after some tries keyboard locks up completely. > Are you loading a custom keymap by any chance? Could I please see dmesg with "i8042.debug log_buf_len=131072"? -- Dmitry ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: thinkpad 360Cs keyboard problem 2006-09-12 17:12 ` Dmitry Torokhov @ 2006-09-12 21:21 ` Piotr Gluszenia Slawinski 2006-09-13 1:43 ` Dmitry Torokhov 0 siblings, 1 reply; 17+ messages in thread From: Piotr Gluszenia Slawinski @ 2006-09-12 21:21 UTC (permalink / raw) To: Dmitry Torokhov; +Cc: linux-kernel On Tue, 12 Sep 2006, Dmitry Torokhov wrote: > On 9/12/06, Piotr Gluszenia Slawinski <curious@zjeby.dyndns.org> wrote: >> On Tue, 12 Sep 2006, Dmitry Torokhov wrote: >> >> > On 9/11/06, Piotr Gluszenia Slawinski <curious@zjeby.dyndns.org> wrote: >> >> > > kernel boots up fine, but keyboard is totally messed up, >> > > and locks up after some tries of use. >> > >> > Could you try describing the exact issues with the keyboard? Missing >> > keypresses, wrong keys reported, etc? >> >> with prink enabled it prints series of 'unknown scancode' >> and keys are randomly messed up, and it changes, so like pressing b >> results with n, then space, then nothing at all. >> after some tries keyboard locks up completely. >> > > Are you loading a custom keymap by any chance? Could I please see > dmesg with "i8042.debug log_buf_len=131072"? no custom keymaps . init=/bin/bash :d uhm, i don't get what you mean by this dmesg syntax :o i should probably attach serial conole and send you whole output, as now (as keyboard is unuseable) i can't scroll screen. btw. serio: i8042 KBD port at 0x60,0x64 irq 1 is found. also input: AT Raw Set 2 keyboard as /class/input/input1 is reported ah, i use gcc-4.1.1 to compile kernel . -------------------- stuff below might be result of my ignorance i just checked 2.2.27 kernel. it behaves quite identical to 2.4.33.3, just after 'freeing unused kernel memory' it touches disk , and just sits there. kepresses are echoed, and keyboard output is ok. i can reboot it by ctrl-alt-delete too . when i boot it with 'fosh' shell commandline appears, but trying to use any tool like bash, ls , etc results with signal 11. tools are statically compiled against glibc-2.4 (compiled for 486 cpu on gentoo) busybox works fine. on 2.4.33.3 kernel Xvesa (from kdrive package) complains 'set_thread_area failed when setting up thread-local storage' cardmgr works fine aswell...(though was linked against different glibc) i guess there is some problem with math emulation and glibc, as on 2.6.18 everything works just fine. i recall few years ago i tried to make 386SX work on 2.4.20 , and there were problems with math emulation (some apps worked, some not) ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: thinkpad 360Cs keyboard problem 2006-09-12 21:21 ` Piotr Gluszenia Slawinski @ 2006-09-13 1:43 ` Dmitry Torokhov 0 siblings, 0 replies; 17+ messages in thread From: Dmitry Torokhov @ 2006-09-13 1:43 UTC (permalink / raw) To: Piotr Gluszenia Slawinski; +Cc: linux-kernel On Tuesday 12 September 2006 17:21, Piotr Gluszenia Slawinski wrote: > On Tue, 12 Sep 2006, Dmitry Torokhov wrote: > > > On 9/12/06, Piotr Gluszenia Slawinski <curious@zjeby.dyndns.org> wrote: > >> On Tue, 12 Sep 2006, Dmitry Torokhov wrote: > >> > >> > On 9/11/06, Piotr Gluszenia Slawinski <curious@zjeby.dyndns.org> wrote: > >> > >> > > kernel boots up fine, but keyboard is totally messed up, > >> > > and locks up after some tries of use. > >> > > >> > Could you try describing the exact issues with the keyboard? Missing > >> > keypresses, wrong keys reported, etc? > >> > >> with prink enabled it prints series of 'unknown scancode' > >> and keys are randomly messed up, and it changes, so like pressing b > >> results with n, then space, then nothing at all. > >> after some tries keyboard locks up completely. > >> > > > > Are you loading a custom keymap by any chance? Could I please see > > dmesg with "i8042.debug log_buf_len=131072"? > > no custom keymaps . init=/bin/bash :d > uhm, i don't get what you mean by this dmesg syntax :o These were kernel boot options. If you let the system boot normally so that syslog is running I'd expect debug messages end somewhere (like in /var/log/messages) so you could reboot and send me that file. > i should probably attach serial conole and send you whole output, > as now (as keyboard is unuseable) i can't scroll screen. > > btw. serio: i8042 KBD port at 0x60,0x64 irq 1 > is found. > also > input: AT Raw Set 2 keyboard as /class/input/input1 > is reported > It could be that it lies about being in raw mode and actually is in translated mode. -- Dmitry ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: swsusp problem 2006-09-10 0:13 swsusp problem curious 2006-09-10 9:33 ` Rafael J. Wysocki @ 2006-09-10 9:40 ` Pavel Machek 2006-09-10 19:36 ` Piotr Gluszenia Slawinski 1 sibling, 1 reply; 17+ messages in thread From: Pavel Machek @ 2006-09-10 9:40 UTC (permalink / raw) To: curious; +Cc: linux-kernel On Sun 10-09-06 02:13:13, curious wrote: Can we get some real name? I guess my spam filters ate this... > i write because swsuspend don't work for me. > i try to echo disk > /sys/power/state > and just nothing happens, i have blinking cursor and > machine freezes. > > when i enabled debug i got : > stopping tasks: ========| > Shrinking memory... done (2684 pages freed) > swsusp: Need to copy 1454 pages > swsusp: critical section/: done (1454 pages copied) > > .... and machine just sits there , doing nothing. > after reboot it boots like usual. > > machine is Ts30M Viglen Dossier 486 SM intel 486 cpu? Can you try with minimal config? Pavel -- Thanks for all the (sleeping) penguins. ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: swsusp problem 2006-09-10 9:40 ` swsusp problem Pavel Machek @ 2006-09-10 19:36 ` Piotr Gluszenia Slawinski 0 siblings, 0 replies; 17+ messages in thread From: Piotr Gluszenia Slawinski @ 2006-09-10 19:36 UTC (permalink / raw) To: Pavel Machek; +Cc: linux-kernel > Can we get some real name? I guess my spam filters ate this... yes, excuse me (fixed) > intel 486 cpu? uhm. yes. i see cpudetection fail... but as i checked just on this 486 and pentium 133 - on both 'cache_size' field in cpuinfo shows 0k . on pentium2 machines (pentium II deschutes) cache is detected ok . > Can you try with minimal config? what do you mean by minimal config ? -- ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2006-09-13 1:43 UTC | newest] Thread overview: 17+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-09-10 0:13 swsusp problem curious 2006-09-10 9:33 ` Rafael J. Wysocki 2006-09-10 19:24 ` curious 2006-09-10 19:27 ` Pavel Machek 2006-09-10 19:39 ` Piotr Gluszenia Slawinski 2006-09-10 19:49 ` Pavel Machek 2006-09-10 19:59 ` Piotr Gluszenia Slawinski 2006-09-11 0:54 ` Dmitry Torokhov 2006-09-11 8:04 ` Pavel Machek 2006-09-12 0:12 ` thinkpad 360Cs keyboard problem Piotr Gluszenia Slawinski 2006-09-12 14:05 ` Dmitry Torokhov 2006-09-12 14:24 ` Piotr Gluszenia Slawinski 2006-09-12 17:12 ` Dmitry Torokhov 2006-09-12 21:21 ` Piotr Gluszenia Slawinski 2006-09-13 1:43 ` Dmitry Torokhov 2006-09-10 9:40 ` swsusp problem Pavel Machek 2006-09-10 19:36 ` Piotr Gluszenia Slawinski
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.