Dell D820 & Suspend to ram on SUSE 10.1, SLED or SLES
Victor_Lowther at Dell.com
Victor_Lowther at Dell.com
Wed Nov 22 09:36:00 CST 2006
> -----Original Message-----
> From: Bj*rn Kelsen [mailto:bk.NLEPO.NLEDOM at nle.dk]
> Sent: Wednesday, November 22, 2006 8:37 AM
> To: Lowther, Victor
> Subject: RE: Dell D820 & Suspend to ram on SUSE 10.1, SLED or SLES
>
> Hi,
>
> Ive got the 3945wireles adapter and the Nvidia GeForce 7400
> and 4GB of RAM (can only use 3GB though) I'm not a Linux Guru
> som I'm unsure how to capture which modules load/unload at
> suspend/resume, any hints ?
Usually the output of dmesg and lsmod will tell you which (if any) modules were unloaded/loaded across suspend/resume -- running a script like this should give you a good idea of what is going on:
#!/bin/sh
echo Logging what happens before and after s2ram > ~/s2ram_log
echo dmesg output before s2ram: >>~/s2ram_log
dmesg >>~/s2ram_log
echo End of dmesg output >>~/s2ram_log
echo Beginning of lsmod output >>~/s2ram_log
lsmod >>~/s2ram_log
echo End of lsmod output >>~/s2ram_log
sync
# if you use a different method to suspend/resume the system,
# enter it here instead of s2ram -f
s2ram -f
sleep 2
echo dmesg output after s2ram: >>~/s2ram_log
dmesg >>~/s2ram_log
echo End of dmesg output >>~/s2ram_log
echo lsmod output after s2ram: >>~/s2ram_log
lsmod >>~/s2ram_log
echo End of lsmod output >>~/s2ram_log
echo End of log >>~/s2ram_log
sleep 2
sync
That script will copy the kernel log messages and the modules that are loaded before and after running s2ram. The dmesg sections will tell us what is happening, and should tell us what modules were loaded and unloaded -- the lsmod sections should correlate with the dmesg sections (lsmod lists modules in most recently loaded first order, so if a modules is loaded and unloaded it will change positions in the list before and after suspend/resume).
Or you can run that script as root and then email me the contents of the s2ram_log file. (it will be in /root/s2ram_log ) :)
> I tried a Hibernate and that gives me a list if "breaking
> affinity for irq 57,58,66 etc"
> when it comes to CPU 1is offline then it freezes - only
> holding the pwoerbutton down get it back up.
Good to know -- sometimes hibernate works where s2ram does not, and vice versa.
> KR Bjørn
Victor Lowther
Data Analyst @ Dell, Linux Enthusiast @ Home
Victor_lowther at dell.com <-- work
Victor.lowther at gmail.com <-- home
More information about the Linux-Desktops
mailing list