Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: No use swap partition issue

  1. #1

    Default 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 #

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,740
    Blog Entries
    3

    Default Re: No use swap partition issue

    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.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  3. #3

    Default Re: No use swap partition issue

    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.

  4. #4

    Default Re: No use swap partition issue

    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: ' '.

  5. #5
    Join Date
    Jun 2008
    Location
    Florida, USA
    Posts
    974

    Default Re: No use swap partition issue

    Suspend-to-Ram (STR) does not use swap, Hibernate does.

    Use 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?

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: No use swap partition issue

    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
    so that you can see what happens during the process.

    Have a look:
    here
    here


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  7. #7

    Default Re: No use swap partition issue

    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.

  8. #8
    Join Date
    Jun 2008
    Location
    Florida, USA
    Posts
    974

    Default Re: No use swap partition issue

    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://forums.opensuse.org/english/o...tiupgrade.html that is very informative on potential issues.

    Here is another quick reference http://forums.opensuse.org/english/g...y-so-easy.html

    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

  9. #9

    Default Re: No use swap partition issue

    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 #

  10. #10

    Default Re: No use swap partition issue

    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"

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •