No use swap partition issue

Hi,
I have a new Window 7 computer with 16 GB memory, 2 GB hard disk. It is
a double boot machine with another new SUSE 12.1 OS installation. I
found that in SUSE, it cannot wake back after sleep. It was found the
swap partition was only 2 GB. I add another swap 32 GB using GPartition.
SUSE still cannot wake up after sleep. Now, I use free command in a
terminal. I find that it use 0 swap space. Please see the following
contents on swap below.

It should use some swap according to web posts. I do not know what is
the reason. Could you help me how to check further? 


Thanks.





........................
jeff@Jeff-PC:~> free
total       used       free     shared    buffers    
cached
Mem:      15939136    1270360   14668776          0      36624    
367144
-/+ buffers/cache:     866592   15072544
Swap:     36000272          0   36000272
jeff@Jeff-PC:~> su
Password: 
Jeff-PC:/home/jeff # swapon -s
Filename                                Type            Size    Used   
Priority
/dev/sda6                               partition       2199548 0      
0
/dev/sda10                              partition       33800724       
0       0
Jeff-PC:/home/jeff # swapon /dev/sda10
swapon: /dev/sda10: swapon failed: Device or resource busy
Jeff-PC:/home/jeff # swapon /dev/sda6
swapon: /dev/sda6: swapon failed: Device or resource busy
Jeff-PC:/home/jeff # swapoff -a
Jeff-PC:/home/jeff # swapon -a
Jeff-PC:/home/jeff # swapon -s
Filename                                Type            Size    Used   
Priority
/dev/sda6                               partition       2199548 0      
-1
/dev/sda10                              partition       33800724       
0       -2
Jeff-PC:/home/jeff # free
total       used       free     shared    buffers    
cached
Mem:      15939136    1315196   14623940          0      43212    
404552
-/+ buffers/cache:     867432   15071704
Swap:     36000272          0   36000272
Jeff-PC:/home/jeff #


-- 
freerjw
------------------------------------------------------------------------



0
freerjw
4/7/2012 3:06:03 AM
opensuse.org.help.applications 21533 articles. 1 followers. Follow

27 Replies
473 Views

Similar Articles

[PageSpeed] 50

Hi,
I just realize that the memory is only used (1/10)th. It is not
necessary for the swap to kick in? For the wake up problem. There is a
message saying: "use no_console_suspend to debug". I do not know how and
where to use that message.

BTW, when the PC wake up, the keyboard is dead, i.e. keyboard LED
cannot change ON or OFF.

Thanks again.


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/7/2012 3:06:03 AM
With that much memory, it might not need to use swap.  I often see 0
swap used.  The "cannot wake up after sleep" is probably a different
problem, perhaps a graphics driver problem.


-- 
-using opensuse 12.1; KDE 4.7.2;-
------------------------------------------------------------------------
nrickert's Profile: http://forums.opensuse.org/member.php?userid=49759
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
nrickert
4/7/2012 3:06:03 AM
Hi,
I find that the /var/pm-suspend.log was mentioned on the past posts. I
publish these contents below the dot line because I do not see any
problem myself.

Thanks.

.............................
/usr/lib/pm-utils/sleep.d/06autofs suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check suspend suspend:

/usr/lib/pm-utils/sleep.d/30s2disk-check suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/45pcmcia suspend suspend:

/usr/lib/pm-utils/sleep.d/45pcmcia suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:

/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork suspend suspend:

/usr/lib/pm-utils/sleep.d/50rcnetwork suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend
suspend:
Having NetworkManager put all interaces to sleep...Failed.

/usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:

/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80acpi-fan suspend suspend:

/usr/lib/pm-utils/sleep.d/80acpi-fan suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/80videobios suspend suspend:

/usr/lib/pm-utils/sleep.d/80videobios suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:

/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:

/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:

/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95packagekit suspend suspend:

/usr/lib/pm-utils/sleep.d/95packagekit suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend
suspend:
Kernel modesetting video driver detected, not using quirks.

/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
success.
Running hook /usr/lib/pm-utils/sleep.d/99Zgrub suspend suspend:

/usr/lib/pm-utils/sleep.d/99Zgrub suspend suspend: success.
Running hook /etc/pm/sleep.d/99at suspend suspend:

/etc/pm/sleep.d/99at suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99info suspend suspend:

/usr/lib/pm-utils/sleep.d/99info suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:

/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Fri Apr  6 22:20:22 EDT 2012: performing suspend
INFO: using built-in quirks database from HAL.
INFO: S2RAM_OPTS from HAL quirks: ' '.


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/7/2012 3:16:02 AM
Suspend-to-Ram (STR) does not use swap, Hibernate does.

Uses code tags when posting file contents and the like - more readible.

This is what a successful STR looks like (the contents of
/var/log/pm-suspend.log)

Code:
--------------------
    Initial commandline parameters: 
  Fri Apr  6 22:40:06 EDT 2012: Running hooks for suspend.
  Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
  suspend initiated: Fri Apr  6 22:40:06 EDT 2012
  
  Linux PVE-LinuxSRV5 3.1.9-1.4-desktop #1 SMP PREEMPT Fri Jan 27 08:55:10 UTC 2012 (efb5ff4) x86_64 x86_64 x86_64 GNU/Linux
  kernel command line: 'root=/dev/disk/by-id/ata-M4-CT064M4SSD2_0000000011210310CCC6-part3 resume=/dev/disk/by-id/ata-M4-CT064M4SSD2_0000000011210310CCC6-part2 splash=silent quiet vga=0x375'
  Module                  Size  Used by
  md5                    12627  0 
  nls_iso8859_1          12713  0 
  nls_cp437              16991  0 
  vfat                   17535  0 
  fat                    65607  1 vfat
  fuse                   87910  3 
  rfcomm                 77995  8 
  bnep                   19817  2 
  nfsd                  338092  9 
  nfs                   387861  6 
  lockd                  94353  2 nfsd,nfs
  fscache                61835  1 nfs
  auth_rpcgss            53421  2 nfsd,nfs
  nfs_acl                12883  2 nfsd,nfs
  sunrpc                261673  32 nfsd,nfs,lockd,auth_rpcgss,nfs_acl
  cpufreq_conservative    13821  0 
  cpufreq_userspace      13162  0 
  cpufreq_powersave      12618  0 
  powernow_k8            29481  0 
  mperf                  12667  1 powernow_k8
  microcode              35758  0 
  sha256_generic         21031  2 
  cbc                    12880  4 
  dm_crypt               27271  1 
  dm_mod                 92333  3 dm_crypt
  fglrx                3231841  233 
  snd_hda_codec_realtek   338195  1 
  eeepc_wmi              12826  0 
  ecb                    12863  1 
  asus_wmi               28507  1 eeepc_wmi
  sparse_keymap          13890  1 asus_wmi
  snd_hda_codec_hdmi     36348  1 
  pci_hotplug            39709  1 asus_wmi
  btusb                  23904  2 
  bluetooth             270903  23 rfcomm,bnep,btusb
  r8169                  61333  0 
  rfkill                 25967  3 asus_wmi,bluetooth
  sg                     36561  0 
  k10temp                13166  0 
  pcspkr                 12702  0 
  sr_mod                 22464  0 
  cdrom                  47994  1 sr_mod
  snd_hda_intel          33441  2 
  snd_hda_codec         119003  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
  snd_hwdep              13613  1 snd_hda_codec
  snd_pcm               109553  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
  i2c_piix4              13828  0 
  snd_timer              34086  1 snd_pcm
  snd                    86602  11 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
  soundcore              15091  1 snd
  snd_page_alloc         18572  2 snd_hda_intel,snd_pcm
  wmi                    19256  1 asus_wmi
  xhci_hcd              137478  0 
  button                 13949  1 fglrx
  autofs4                43290  3 
  fan                    12959  0 
  processor              45192  5 powernow_k8
  ata_generic            12937  0 
  thermal                22961  0 
  thermal_sys            25017  3 fan,processor,thermal
  pata_atiixp            13164  0 
  
  total       used       free     shared    buffers     cached
  Mem:      15942028   14200520    1741508          0     366676   11942052
  -/+ buffers/cache:    1891792   14050236
  Swap:      8385532          0    8385532
  
  
  /usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/02rtcwake suspend suspend:
  rtcwake alarm not enabled in /etc/pm/config.d/rtcwake.config, doing nothing...
  
  /usr/lib/pm-utils/sleep.d/02rtcwake suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/06autofs suspend suspend:
  Shutting down automount ..done
  
  /usr/lib/pm-utils/sleep.d/06autofs suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/30s2disk-check suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/45pcmcia suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/45pcmcia suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/50rcnetwork suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
  Having NetworkManager put all interaces to sleep...Failed.
  
  /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/80acpi-fan suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/80acpi-fan suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/80videobios suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/80videobios suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
  ATI Catalyst driver detected, not using quirks.
  
  /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/99Zgrub suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/99Zgrub suspend suspend: success.
  Running hook /etc/pm/sleep.d/99at suspend suspend:
  
  /etc/pm/sleep.d/99at suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/99info suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/99info suspend suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
  
  /usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
  Fri Apr  6 22:40:08 EDT 2012: performing suspend
  INFO: using built-in quirks database from HAL.
  INFO: S2RAM_OPTS from HAL quirks: ' '.
  switching from vt7 to vt1... succeeded
  fbcon fb0 state 1
  fbcon fb0 state 0
  switching back to vt7... succeeded
  Sat Apr  7 07:20:53 EDT 2012: Awake.
  Sat Apr  7 07:20:53 EDT 2012: Running hooks for resume
  Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:
  
  /usr/lib/pm-utils/sleep.d/99video resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/99info resume suspend:
  
  /usr/lib/pm-utils/sleep.d/99info resume suspend: success.
  Running hook /etc/pm/sleep.d/99at resume suspend:
  
  /etc/pm/sleep.d/99at resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/99Zgrub resume suspend:
  
  /usr/lib/pm-utils/sleep.d/99Zgrub resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:
  
  /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:
  
  /usr/lib/pm-utils/sleep.d/95led resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:
  
  /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:
  
  /usr/lib/pm-utils/sleep.d/90clock resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/80videobios resume suspend:
  
  /usr/lib/pm-utils/sleep.d/80videobios resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/80acpi-fan resume suspend:
  
  /usr/lib/pm-utils/sleep.d/80acpi-fan resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
  Reloaded unloaded modules.
  
  /usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend:
  Having NetworkManager wake interfaces back up...Failed.
  Ignore this - this install does not use NetworkManager
  
  /usr/lib/pm-utils/sleep.d/55NetworkManager resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/50rcnetwork resume suspend:
  
  /usr/lib/pm-utils/sleep.d/50rcnetwork resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:
  
  /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/45pcmcia resume suspend:
  
  /usr/lib/pm-utils/sleep.d/45pcmcia resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/30s2disk-check resume suspend:
  
  /usr/lib/pm-utils/sleep.d/30s2disk-check resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/06autofs resume suspend:
  Starting automount ..done
  
  /usr/lib/pm-utils/sleep.d/06autofs resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/02rtcwake resume suspend:
  
  /usr/lib/pm-utils/sleep.d/02rtcwake resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:
  
  /usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
  Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:
  
  /usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
  Sat Apr  7 07:20:54 EDT 2012: Finished.
--------------------


The part you posted does look OK.
Note in the listing that this PC has 16G of RAM, 8G of swap, 0 bytes
swap used.

STR has worked well for me running ATI-fglrx driver and Nvidia drivers.

With 16GB of RAM, I'll assume this is fairly new hardware.
Laptop? Some modern laptops with dual graphics devices have caused
headaches.

What video and drivers are you using?
While you are at it, KDE or Gnome or ?? desktop?


-- 
cmcgrath5035
------------------------------------------------------------------------
cmcgrath5035's Profile: http://forums.opensuse.org/member.php?userid=539
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
cmcgrath5035
4/7/2012 12:16:03 PM
On 2012-04-07 05:06, freerjw wrote:
> 
> Hi,
> I have a new Window 7 computer with 16 GB memory, 2 GB hard disk. It is
> a double boot machine with another new SUSE 12.1 OS installation. I
> found that in SUSE, it cannot wake back after sleep. It was found the
> swap partition was only 2 GB. I add another swap 32 GB using GPartition.
> SUSE still cannot wake up after sleep. Now, I use free command in a
> terminal. I find that it use 0 swap space. Please see the following
> contents on swap below.
> 
> It should use some swap according to web posts. I do not know what is
> the reason. Could you help me how to check further? 

Mmm.
Next time, use code tags to post computer output - advanced editor, #
button. It makes things readable.

You have ample ram, so swap would normally not be used. YOu would need to
load big applications to see it in use. Multiple video editors in java, for
example ;-)

> Jeff-PC:/home/jeff # swapon -s
> Filename                                Type            Size    Used   
> Priority
> /dev/sda6                               partition       2199548 0      
> 0
> /dev/sda10                              partition       33800724       
> 0       0

You have two swap partitions, but AFAIK only one is used on hybernation.
This is defined as a kernel option which can be seen in the
/boot/grub/menu.lst file.

However, I think that your problem is different: not enough swap would
trigger before that. What video do you have?

Edit "/etc/suspend.conf", and change this:

[CODE]
splash = n
[/CODE]

so that you can see what happens during the process.

Have a look:
[URL="http://en.opensuse.org/SDB:Suspend_to_disk"] here[/URL]
[URL="http://en.opensuse.org/SDB:Pm-utils"] here[/URL]


-- 
Cheers / Saludos,

		Carlos E. R.
		(from 11.4 x86_64 "Celadon" at Telcontar)
0
Carlos
4/7/2012 12:38:06 PM
Hi,
My computer is a desktop, SUSE 12.1 KDE. The CPU and video card info
are:

This processor is called a APU (Accelerated Processing Unit) because it
combines a CPU & GPU in a single device. AMD lists the "AMD Catalyst
11.9 Proprietory Linux X86 Display Driver" for its Integrated Graphics
AMD Radeon HD 6550D

On YaST, Hardware Information, it shows Display only: ATI VGA
compatible controller.

After I login as a supervisor (su), I still cannot find the file:
/etc/suspend.conf.

I remember that SUSE 11.2, there is Power Settings option on suspend to
ram, hibernate etc. On this SUSE 12.1, I cannot find that settings in
YaST any more.

Thanks.


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/7/2012 7:16:02 PM
OK, my system is an AMD A8-3850 APU with Radeon(tm) HD Graphics, so we
are running very similar platforms.

Your AMD reference "AMD lists the "AMD Catalyst 11.9 Proprietory Linux
X86 Display Driver" for its Integrated Graphics
AMD Radeon HD 6550D " seems rather dated, I am not sure where you saw
that.

Did you load the Catalyst (a.k.a. fglrx) driver?

You should see this (console window)
Code:
--------------------
    carl@PVE-LinuxSRV5:~> fglrxinfo
  display: :0  screen: 0
  OpenGL vendor string: Advanced Micro Devices, Inc.
  OpenGL renderer string: AMD Radeon HD 6550D
  OpenGL version string: 4.2.11554 Compatibility Profile Context
  
  carl@PVE-LinuxSRV5:~> lsmod | grep fglrx
  fglrx                3231841  348 
  button                 13949  1 fglrx
  
  
  
--------------------


I highly recommend you use the atiupgrade script from forum member
Please_try_again.
Here is a long thread- http://tinyurl.com/6jr4b9x that is very
informative on potential issues.

I am currently running Catalyst 12.2 (Feb, 2012 release).

The Power Settings your are looking for (I believe) are found under
Personal Settings Icon - Power Management. 

If by chance you are running the default radeon driver rather than
fglrx, I sort of recall issues when I first brought up my APU with
radeon (back in Sept 2011). I moved to fglrx and was up and running, the
radeon driver may/may not work for the APU chipset.

By the way, file /etc/suspend.conf has permissions -rw-r--r--, you
should be able to open it (RO) as a user.
Here is what it looks like. Informative, but I run with all the
defaults and don't really use it.

Code:
--------------------
    #############################################################################
  ##
  ## note:
  ## using pm-utils or powersaved, this file (/etc/suspend.conf) only serves as
  ## a template, image_size and resume_device are filled in dynamically
  ## and the generated /var/lib/s2disk.conf is used to suspend.
  ## _If_ you enter stuff here, it will be copied to that file unchanged,
  ## but this might skip some features and sanity checks.
  ##
  #############################################################################
  ##
  ## your snapshot device. You should not need to change this.
  # snapshot device = /dev/snapshot
  #
  ## enter your swap device here. Read the warning on pm-utils above, please!
  #resume device = <path_to_resume_device_file>
  #
  ## image size will also be filled in by pm-utils
  #image size = 350000000
  #
  #suspend loglevel = 2
  #max loglevel =
  #
  ## compute checksum will slow down suspend and resume.
  ## Debugging option, default n
  #compute checksum = y
  #
  ## compression will often speed up suspend and resume (default y)
  #compress = n
  #
  ## encryption support is rather basic right now - e.g. USB keyboards will not
  ## work to enter the key in the standard initrd, also beware of
  ## non-US keyboard layouts. Only use this if you know what you are doing.
  #encrypt = y
  #
  ## RSA key file that is used for encryption
  #RSA key file = /etc/suspend.key
  #
  ## start writing out the image early, before buffers are full.
  ## will most of the time speed up overall writing time (default y)
  #early writeout = n
  #
  ## use splash picture? (default y)
  #splash = y
  #
  ## shutdown method:
  ## platform - go through ACPI BIOS to power off the machine (default on
  ##            machines that support it)
  ## shutdown - just power off like after a shutdown
  ## reboot   - reboot instead of powering off. For debugging only.
  #shutdown method = platform
  #
  ## resume offset: for use with swapfiles, use "swap-offset" to find out.
  #resume offset = 12345
  #
  ## pause after resume for n seconds, so that the timing information can
  ## actually be read (default 0 => don't pause)
  #resume pause = 2
  #
  ## use threads for suspend? (default n)
  ## this hugely speeds up encryption and also compression on mulitcore machines
  #threads = y
  
  
--------------------


-- 
cmcgrath5035
------------------------------------------------------------------------
cmcgrath5035's Profile: http://forums.opensuse.org/member.php?userid=539
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
cmcgrath5035
4/7/2012 7:46:03 PM
Hi,
Although I did with the link required, atiupgrade refused to run. See
below messages please. What is wrong with me? 

Thanks.

...............
Jeff-PC:/home/jeff # /usr/local/bin/atiupgrade
this script cannot be run in X
Jeff-PC:/home/jeff # cd /usr/local/bin
Jeff-PC:/usr/local/bin # l
total 16
drwxr-xr-x  2 root root 4096 Apr  7 16:30 ./
drwxr-xr-x 12 root root 4096 Nov 26 20:11 ../
-rwxr--r--  1 root root 5041 Apr  7 16:38 atiupgrade*
Jeff-PC:/usr/local/bin # atiupgrade
this script cannot be run in X
Jeff-PC:/usr/local/bin # chmod
chmod: missing operand
Try `chmod --help' for more information.
Jeff-PC:/usr/local/bin # chmod 744 atiupgrade
Jeff-PC:/usr/local/bin # l
total 16
drwxr-xr-x  2 root root 4096 Apr  7 16:30 ./
drwxr-xr-x 12 root root 4096 Nov 26 20:11 ../
-rwxr--r--  1 root root 5041 Apr  7 16:38 atiupgrade*
Jeff-PC:/usr/local/bin #


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/7/2012 8:56:02 PM
Hi,
I do not understand the meaning of the link on ATI driver upgrade. I
feel that the author recommended to run atiupgrade in the terminal. But
the below lines from atiupgrade seems like not run in terminal. Could
you tell me how to make atiupgrade contents take effect?

Thanks.
...........
# don't run in X
[ "$DISPLAY" ] && exec echo "this script cannot be run in X"


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/7/2012 9:06:02 PM
Hi,
I realize that my question is on the following below dots line. What is
level 3? How to logged in as root.

Now my computer does not require log in. I have to set up log in
password?

Thanks.
................
I rebooted to level 3, logged in as root.


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/7/2012 9:26:03 PM
On 2012-04-07 21:16, freerjw wrote:
> After I login as a supervisor (su), I still cannot find the file:
> /etc/suspend.conf.

Is package "suspend" installed?

-- 
Cheers / Saludos,

		Carlos E. R.
		(from 11.4 x86_64 "Celadon" at Telcontar)
0
Carlos
4/7/2012 9:43:06 PM
On 2012-04-07 23:26, freerjw wrote:
> 
> Hi,
> I realize that my question is on the following below dots line. What is
> level 3? 

Text mode.

> How to logged in as root.

Type root, enter, type your password, enter. Easy.


> Now my computer does not require log in. I have to set up log in
> password?

What do you mean?

> ...............
> I rebooted to level 3, logged in as root.

You do not need a reboot. Go to a text console (ctrl-alt-f1), login as
root, run "init 3".

-- 
Cheers / Saludos,

		Carlos E. R.
		(from 11.4 x86_64 "Celadon" at Telcontar)
0
Carlos
4/7/2012 9:48:06 PM
Hi,
I make a little progress in atiupgrade. After I logged in as root, run
atiupgrade. It complains:

directory /usr/src/linux-3.1.0-1.2 not found. Require kernel 3.1.0-1.2
source installed.

I check YaST/Software Management. I find that it has a kernel-source
The Linux Kernel Sources 3.1.9-1.4.1 installed.
Now fglrxinfo is not recognized by OS yet. How can I install
atiupgrade? Thanks.


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/7/2012 9:56:02 PM
On 2012-04-07 23:56, freerjw wrote:
> directory /usr/src/linux-3.1.0-1.2 not found. Require kernel 3.1.0-1.2
> source installed.
> 
> I check YaST/Software Management. I find that it has a kernel-source
> The Linux Kernel Sources 3.1.9-1.4.1 installed.

The kernel sources have to be of the same version as the running kernel.

-- 
Cheers / Saludos,

		Carlos E. R.
		(from 11.4 x86_64 "Celadon" at Telcontar)
0
Carlos
4/7/2012 10:58:06 PM
Hi,
I download kernel-desktop-3.1.0-1.2.1.x86_64.rpm. When I install the
package, it hangs there after I entered my password for the agreement.
The package is wrong? Thanks.


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/7/2012 11:16:03 PM
You are making progress.
It does get confusing, most posters will refer to CLI (command Line
Interface) as meaning a Konsole session running under X.
A "terminal" usually means, as Carlos points out, a session either from
init 3 on boot or ALT-Ctl-F1 then log in, as user or, if required, as
root.
Or, log in as user, then su to root.

ATIupgrade usually needs to compile the ATI driver against your current
kernel, needs the kernel source and all to build tools.
ATIupgrade does all the checking.

> directory /usr/src/linux-3.1.0-1.2 not found. Require kernel 3.1.0-1.2
> source installed.
> 
> I check YaST/Software Management. I find that it has a kernel-source
> The Linux Kernel Sources 3.1.9-1.4.1 installed.

What kernel are you running? 
I am guessing 3.1.0-1.2 because that is what atiupgrade is looking for.
You have the source for 3.1.9-1.4.1 installed; close but not exact.
Welcome to the world of CLI- spelling, upper case and lower case and
absolute precision in things like version numbers is essential.

check your kernel

Code:
--------------------
    carl@PVE-LinuxSRV5:~> uname -a
  Linux PVE-LinuxSRV5 3.1.9-1.4-desktop #1 SMP PREEMPT Fri Jan 27 08:55:10 UTC 2012 (efb5ff4) x86_64 x86_64 x86_64 GNU/Linux
--------------------


Then use YAST to load the correct kernel source.

You want the kernel-source rpm, not kernel-desktop(which you should
already have for the running kernel)

You might as well get kernel-devel and kernel-syms rpms at the same
time, I believe you will need them as well

Make sure they are all for the version you have installed

FYI, SuSE 12.1 started with kernel 3.1.0-1.2, an update installed
3.1.9-1.4. You may not have run that update as yet.


-- 
cmcgrath5035
------------------------------------------------------------------------
cmcgrath5035's Profile: http://forums.opensuse.org/member.php?userid=539
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
cmcgrath5035
4/7/2012 11:26:03 PM
On 2012-04-08 01:16, freerjw wrote:
> 
> Hi,
> I download kernel-desktop-3.1.0-1.2.1.x86_64.rpm. When I install the
> package, it hangs there after I entered my password for the agreement.

Agreement? There is no agreement.  :-O
What are downloading? From where?

-- 
Cheers / Saludos,

		Carlos E. R.
		(from 11.4 x86_64 "Celadon" at Telcontar)
0
Carlos
4/7/2012 11:58:06 PM
Hi,

Thanks a lot. I get the following after entering: uname -a

..............
Linux Jeff-PC 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC
2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux
..........
Under YaST/Software Management, there is: kernel-source----------The
Linux Kernel Sources------------3.1.9-1.4.1-------371.5MiB

It means different version source? Could you tell whether there is
conflict or not?


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/8/2012 12:26:03 AM
A little more information. Under YaST/Software Management, there are:
kernel-desktop-devel----------Development files necessary for building
kernel modules------------3.1.9-1.4.1-------2.7MiB
and several others all are 3.1.9-1.4.1.
The curious thing is kernel-desktop-----------Kernel optimization for
the desktop------------[installed](Available)[3.1.0-1.2.1](3.1.9-1.4.1)

There are two version numbers: 3.1.0-1.2.1: Installed.
3.1.9-1.4.1: Available
I find that under /usr/src/linux-3.1.9-1.4 is source files. 
I have no idea on how to install 3.1.0-1.2.1 source files now.

Thanks.


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/8/2012 12:36:02 AM
> Thanks a lot. I get the following after entering: uname -a
> 
> ..............
> Linux Jeff-PC 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC
> 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux
> ..........
> Under YaST/Software Management, there is: kernel-source----------The
> Linux Kernel Sources------------3.1.9-1.4.1-------371.5MiB
> 
> It means different version source? Could you tell whether there is
> conflict or not?         

I would say YES, conflict.

Open Yast - Software Management
Search for kernel-source.
Click on the Versions Tab.

I believe you will see  3.1.9-1.4.1-noarch installed
Select the radio button for 3.1.0-1.2.1-noarch

While you have YAST open, select View-Patterns
Select the Checkbox for "Base Development" if not already selected.

Select Accept, it should "downgrade" your source to the earlier version
and add any missing packages for Base Development.

This may not be all the dependencies for atiupgrade, I believe is fails
on the first dependency check so you may have to do this a few cycles.


-- 
cmcgrath5035
------------------------------------------------------------------------
cmcgrath5035's Profile: http://forums.opensuse.org/member.php?userid=539
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
cmcgrath5035
4/8/2012 12:46:02 AM
Hi,

After I upgrade destop-3.1.0-1.2.1 to 3.1.9-1.4.1, atiupgrade upgraded
by login as root. The problem is that I do not get the right info from
fglrxinfo enter. YaST hardware info is still the old ATI info. I
remember at the end of atiupgrade, it showed such as "package"
something, but I do not see ati package in YaST. I also try to run
atiupgrade again. It did not exec anything. It looks like it has been
upgraded. How do I check further ATI driver?
Thanks.


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/8/2012 1:36:02 AM
Hi,
Here is the message at the end of atiupgrade:

Created directory fglrx-install.7DITvQ
verifying archive integrity...All good.
Uncompressing  ATI Catalyst (TM) Proprietary Driver-8.783
ATI Technologies Catalyst (TM) Proprietary Driver Installer/Package

Generating package:SuSE/SUSE121-AMD64
Error: Distro Version entered incorrectly or not supported.
use--listpkg to identity valid distro versions
Removing temporary directory: fglrx-install.7DITvQ
Too few arguments.
At least one package name is required.
remove (rm)[options],capability.

........................
From these messages, it means that driver does not support the device
in my computer?
Where to run listpkg? Where is the downloaded ATI package? I want to
check it.

Thanks again.


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/8/2012 1:56:02 AM
Hi,
I just go to AMD website. It seems it does not have downloadable driver
for CPU integrated video display. In my case, 
	AMD Quad-Core A8-3850 Accelerated Processor 
Radeon™ HD 6550D processor-integrated graphics (Dual monitor capable)

Anyone can help me on that video driver for SUSE 12.1? Thanks.


-- 
freerjw
------------------------------------------------------------------------
freerjw's Profile: http://forums.opensuse.org/member.php?userid=50919
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
freerjw
4/8/2012 2:16:02 AM
I am not sure what the issue is with your download - nor do I understand
the statement
> I just go to AMD website. It seems it does not have downloadable driver
> for CPU integrated video display. In my case, 
> AMD Quad-Core A8-3850 Accelerated Processor 
> Radeon™ HD 6550D processor-integrated graphics (Dual monitor capable)
> 

I have downloaded the latest Catalyst driver several times with
atiupgrade for my A8-3850.
Installs and runs fine, so something else is wrong.

Hang in for a bit, I'll suggest P_T_A take a look here and see if he
understands the message you posted above.


-- 
cmcgrath5035
------------------------------------------------------------------------
cmcgrath5035's Profile: http://forums.opensuse.org/member.php?userid=539
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
cmcgrath5035
4/8/2012 3:06:02 AM
freerjw;2454526 Wrote: 
> Hi,
> I make a little progress in atiupgrade. After I logged in as root, run
> atiupgrade. It complains:
> 
> directory /usr/src/linux-3.1.0-1.2 not found. Require kernel 3.1.0-1.2
> source installed.
> 
> I check YaST/Software Management. I find that it has a kernel-source
> The Linux Kernel Sources 3.1.9-1.4.1 installed.
> Now fglrxinfo is not recognized by OS yet. How can I install
> atiupgrade? Thanks.

Hi, This is how you  install atiupgrade: 
Open a terminal and type : 


Code:
--------------------
    su -l 
  zypper ar http://download.opensuse.org/repositories/home:/please_try_again/openSUSE_12.1/   PTA 
  zypper refresh -r PTA 
  zypper in atiupgrade
--------------------


This is how you use it (in the same root terminal): 


Code:
--------------------
    atiupgrade
--------------------


But ... BEFORE running it, you need to upgrade to the latest kernel and
reboot. That's the problem you're having. The kernel sources are OK, but
the kernel is not, as explained in this post:
http://tinyurl.com/bobvxev

I will make the warning more explicite in the next version and offer
the user the possibility to upgrade the kernel first. Users who upgrade
the kernel regularly don't have this problem.


-- 
please_try_again
------------------------------------------------------------------------
please_try_again's Profile: http://forums.opensuse.org/member.php?userid=10877
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
please
4/8/2012 4:06:03 AM
freerjw;2454571 Wrote: 
> Hi,
> 
> After I upgrade destop-3.1.0-1.2.1 to 3.1.9-1.4.1, atiupgrade upgraded
> by login as root. The problem is that I do not get the right info from
> fglrxinfo enter. YaST hardware info is still the old ATI info. I
> remember at the end of atiupgrade, it showed such as "package"
> something, but I do not see ati package in YaST. I also try to run
> atiupgrade again. It did not exec anything. It looks like it has been
> upgraded. How do I check further ATI driver?
> Thanks.

atiupgrade creates a package of the fglrx driver and put it in the
directory  /usr/share/atiupgrade. It then installs this package and
compiles the kernel module (compiling the module is not done by
atiupgrade but by the rpm post-install script.) You can check if the
package is intalled with: 


Code:
--------------------
    $ rpm -qa | grep fglrx
--------------------


You can check if the module is loaded with


Code:
--------------------
    $ lsmod | grep fglrx
--------------------


and look in /var/log/Xorg.0.log or run 


Code:
--------------------
    hwinfo --gfxcard
--------------------


to see which video driver is currently used.


-- 
please_try_again
------------------------------------------------------------------------
please_try_again's Profile: http://forums.opensuse.org/member.php?userid=10877
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
please
4/8/2012 4:16:02 AM
Here's the checksum of Catalyst 12.3 installer downloaded by atiupgrade
(you don't have to download it yourself): 


Code:
--------------------
    # md5sum /usr/share/atiupgrade/amd-driver-installer-12-3-x86.x86_64.run 
  7c7b82f0d87a7ce9ee816b7d77212faa  /usr/share/atiupgrade/amd-driver-installer-12-3-x86.x86_64.run
--------------------


If you run md5sum on this file on your computer, it should output the
same checksum.


-- 
please_try_again
------------------------------------------------------------------------
please_try_again's Profile: http://forums.opensuse.org/member.php?userid=10877
View this thread: http://forums.opensuse.org/showthread.php?t=474180

0
please
4/8/2012 4:26:02 AM
Reply:

Web resources about - No use swap partition issue - opensuse.org.help.applications

Partition and secession in California - Wikipedia, the free encyclopedia
After the California Constitutional Convention of 1849 applied for statehood in the current boundaries, the South reluctantly acceded to a single, ...


[Ermahgerd] Verizon Apps Spotted On The Nexus 6's System Partition After The Android 5.1 Update, Rustled ...
The Internet is in the midst of having a mini hemorrhage over something that, basically, doesn't matter. Shocking, right? It appears that a few ...

MiniTool Partition Wizard Free 9 simplifies OS migration, adds Storage Spaces support
MiniTool has unveiled a major new update to its partition management software for Windows with the release of MiniTool Partition Wizard Free ...

How to partition your drive before installing Windows 10
Want to test Windows 10 on your PC? Create a hard drive partition for a worry-free install.

Paragon Software Releases Partition Manager 15
Partition Manager 15 software comes with file system converters to adapt the most common file systems including NTFS, HFS+, and FAT.

Kim Kardashian Slams Beyonce After Wedding Feud: 'KUWTK' Season 9 Instagram Star Blames 'Partition' Singer ...
It looks like Kim Kardashian is done trying to make Beyonce her new best friend. After putting in a tremendous amount of effort to get on good ...

Iraq: The 'idea of a soft partition came from the US'
Is Iraq headed towards a partition? The rise of the Islamic State group has highlighted the weakness of the central power.Myriam Benraad is a ...

How to partition your Mac to test OS X El Capitan
OS X El Capitan may be in Public Beta now, but that doesn't mean it's 100 percent stable. Here's how to put it somewhere it can't cause problems. ...

Watch: The untold story of the Partition of India
http://www.zeenews.com Facebook: https://www.facebook.com/ZeeNews Twitter: https://twitter.com/ZeeNews Google Plus: https://plus.google.com/+Zeenews ...

Resources last updated: 12/20/2015 11:08:56 PM