RAM Disks on Mac OS 10.5

I had a hard time finnding info on RAM disks in OS X so I am posting it here for anyone it might help.
Mac OS X has the ability to create a RAM disk built in just like OS 9. Unfortunately, Apple decided to remove this feature from the GUI. Here is how to do it via the command line:
diskutil erasevolume HFS+ "RAM disk" `hdiutil attach -nomount ram://4629672`
This will create a 2.2GB RAM disk, which is the maximum size. If you want to create more than one replace the "RAM disk" with "RAM disk2", "RAM disk3", and so on.
If you don't like dealing with the command line you can use Esperance DV which is freeware. It also has some nice features like restoring at startup and automatically moving the Safari cache to the RAM disk.
Benefits:
Anything that uses a scratch disk will benefit form a RAM disk. Video and image processing times will be greatly improved. Rendering 3D objects will be much faster.
Any program that requires a lot of real-time disk access will benefit from faster seek times.
It reduces power consumption. If you watch a movie on a plane, put it on a RAM disk. It will save your battery life.
Security is improved. Anything on the disk at shutdown is gone forever, no need to wipe the disk.
Increases your hard disk life. The less you use your hard disks the longer they last. The more you use a RAM disk the less you use your hard disk. Hence, the more you use a RAM disk the longer your HD will last.
Risks:
It works like any other drive +so long as the computer is running+. If you lose power or shut down the machine you lose whatever was on the disk forever.
To state the obvious: it uses up some of your RAM.
Finally let me say there are a lot of technical details I left out in describing the benefits, none of which affect the basic points that RAM is faster, more secure, and uses less power than a HD.

Slow down a bit and think this through.
CUPS on linux is nearly identical to CUPS on OS X - but there is no Mac-to-Mac Apple proprietary print sharing. Rather, on linux you are sharing the printer using standard printing protocols. Just like on the Mac (when using the standard protocols like Windows/SMB or IP printing), linux print queues expect postscript input. Try using a generic postscript driver from the mac.
And when you add the printer via Windows Printing or IP > LPD or IPP, you will need to know the queue name for that printer from the linux box. (one computer with one IP address can have multiple printers - so what's the additional address info to print to your desired printer? - queue name.)
HTH

Similar Messages

  • RAM Disk in OS X

    Is it possible to create a RAM disk in OS X like you could make in OS9?

    Hi, SFD. Yes, it is:
    http://www.clarkwoodsoftware.com/rambunctious/ramb2.html
    http://www.donelleschi.com/ramdiskcreator/
    I've never used either utility myself. In OS 9, I always designated a RAM disk (created at each startup with the very useful and convenient AppDisk) as the place for my web browsers to keep their caches. That insured that the caches would be cleared automatically every time I restarted my Mac. In OS X I almost never restart it, so that strategy wouldn't be of any value to me now, and I clear browser caches manually at regular intervals.
    What do you envision using a RAM disk for in OS X? Not that it's any of my business; I'm just curious.

  • Ultra Ram Disk does not load from App Store.

    It is impossible to purchase Ultra Ram Disk from the App Store.  A pop-up window appears saying, "We could not complete your purchase.  The product distribution file could not be verified.  It may be damaged or was not signed."  Could someone in authority fix this please.  Thanks.

    Hi..
    Installing the appropriate combo update may help this issue.
    For Snow Leopard >  Mac OS X 10.6.8 Update Combo v1.1
    For Lion >  OS X Lion Update 10.7.4 (Client Combo)
    Restart your Mac after the combo is installed then try the App Store.
    The combo update helped for the same topic here >   ERROR: The product distribution file could not be verified.

  • DVD-RAM disk/ReadDV!- how to get into imovie

    Hello
    I have a dvd-ram disk with home movies on it, transfered from VHS. I want to get it into imovie to edit. I have DVDxDv. DVDxDV doesn't recognize the disk and the disk will not import into imovie. I read somewhere to get ReadDV! by software architecs. I did and installed corectly and it still isn't doing anything different that what was happening before I bought the software. Mac OSX opens the disk and sees the file, but when I click on the .vro file it asks which application I want to use to open it, and when I click on ReadDV it goes to the install folder with nothing lit up to use as an application. imovie is not lit up as a choice to open it and neither is DVDxDv. Tech Support at Softarc is gone for the day, hasn't answered emails I sent 2 days ago and I'd like to work on this over the weekend. THANK YOU!

    I downloaded MPEG streamclip and it does convert, but you have to buy a download from apple in order for it to finish a conversion. Thought you'd like to know. Here's what the user guide says: MPEG Streamclip supports MPEG-1 video, MPEG layer 1/2 audio, AC3/A52 audio and PCM audio. MPEG-2 video is supported in conversions, but for playback and export you have to buy the MPEG-2 Playback Component ($19.99) from Apple." It's never easy, is it?

  • What is the RAM disk?

    Sorry for the basic question, but:
    I'm following Apple's steps to get my iBook G4 to eject a stuck CD. In the instructions to reset the PRAM, it says:
    Warning: Resetting the Power Manager on any PowerBook or iBook will permanently remove a RAM disk, if present, and all of its contents.
    That doesn't mean it will erase my hard drive, does it? Not sure what a RAM disk is.
    thanks,
    david

    That doesn't mean it will erase my hard drive, does it?
    It won't.
    Not sure what a RAM disk is.
    The RAM disk is a Mac OS 9 feature that enables part of the computer's RAM to be used as if it was an external drive or disk image. Unless you've used third-party software in Mac OS X to create one, you won't have it.
    (33633)

  • RAM Disk

    I have installed 4GB of RAM in a Mac Mini Core 2 Duo - and an iMac Core 2 Duo (and soon a MacBook Pro Core2 Duo) but only 3GB is available to the OS since they are 32bit kernel machines - the Get Info shows 4G installed and Lion installs and runs okay - but I am thinking that maybe I can create a RAM disk in that effectively unused 1GB of space - I am thinking that it would have to be setup during the boot process as anything I do after the OS is loaded is going to be carved out of the space used by the OS - not the unused space. Any ideas?

    Iteresting - I do have 16GB in both my MacBook Pro systems - 8GB currently in the Mac Mini Server.
    For performance, I am considering a Crucial M4 SSD 512GB drive for the primary MackBook, when the price drops a bit more.
    I might use this for the older Mac Mini and iMac - that each have 4GB installed - but the OS can only use 3GB - so I might need to try this to see if the RAM disk is setup using the otherwise unavailable memory or not - that was really the reason here - not speed but just using that additional 1GB of RAM taht is installed.
    Way back when I had a Mac SE with 20MB of RAM installed - and had to use a combination of software that allowed the memory to be used that was a combination of making it a RAM disk then using that disk as RAM (or something along those lines - been a while).

  • RAM disk in OS 7.5?

    I forget how to create a RAM disk in OS 7.x. Does anyone know?

    How much RAM do you have installed in your Mac? Using some of it for a RAM disk may cause your Mac to run slower. Also, you should know that if you have to zap PRAM to "fix" a problem, the RAM disk contents will be erased.
     Cheers, Tom

  • Anyone Using RAM Disk?

    I've used the freeware program "Make RAM Disk 1.0" with Tiger 10.4.11, and it appears that when I use this with an intensive read/write situation (say I'm creating an image of a video file) that the process is accelerated, saving me time. I was wondering a couple of things...
    1) Does anybody else use this program with Tiger, and have you noticed an increase in speed with your read/write times?
    2) Am I just imagining this, or does this process of making a RAM disk really work, in theory, with OSX?
    Thanks!

    Yes, I use one and yes it helps +a lot+ depending on what you use it for. I can't believe how negative people are about them, and why you can never get a straight answer, so here is a straightforward (mostly) complete answer.
    Benefits:
    Anything that uses a scratch disk will benefit form a RAM disk. Video and image processing times will be greatly improved. Rendering 3D objects will be much faster.
    Any program that requires a lot of real-time disk access will benefit from faster seek times.
    It reduces power consumption. If you watch a movie on a plane, put it on a RAM disk. It will save your battery life.
    Security is improved. Anything on the disk at shutdown is gone forever, no need to wipe the disk.
    Increases your hard disk life. The less you use your hard disks the longer they last. The more you use a RAM disk the less you use your hard disk. Hence, the more you use a RAM disk the longer your HD will last.
    Risks:
    It works like any other drive +so long as the computer is running+. If you lose power or shut down the machine you lose whatever was on the disk forever.
    To state the obvious: it uses up some of your RAM.
    Mac OS X has the ability to create a RAM disk built in just like OS 9. Unfortunately, Apple decided to remove this feature from the GUI. Here is how to do it via the command line:
    diskutil erasevolume HFS+ "RAM disk" `hdiutil attach -nomount ram://4629672`
    This will create a 2.2GB RAM disk, which is the maximum size (currently). If you want to create more than one replace the "RAM disk" with "RAM disk2", "RAM disk3", and so on.
    If you don't like dealing with the command line you can use Esperance DV which is freeware. It also has some nice features like restoring at startup and automatically moving the Safari cache to the RAM disk.
    Finally let me say there are a lot of technical details I left out, none of which affect the basic points that RAM is faster, more secure, and uses less power than a HD.

  • Unmount Ram disk drives

    Hello, I had Ram Disk Utility Pro, and made many devices with my iMac.
    ex:  Safari /dev/disk1
             iTunes  /dev/disk2
    It is very helpful for faster my iMac, but when I shut down iMac, it will let iMac run long long time to done.(T ^ T)
    I didn't use write back to HD function, but it still slow down the shut down.
    Can I use Automator to make iMac unmount those Ram Disk devices before shut down?
    What is the AppleScript or ShellScript?~(・・?))
    Sorry I'm a new Mac OS user
    Thank you very much m(_ _)m

    I believe 2.5 gigs is the RAM limit for 32 bit applications which includes Final Cut Pro. Regardless it would not expedite render time since rendering is processor based for most effects minus fxplug effects which are processed through the gfx card.

  • Mixing RAM speeds in Mac Pro 3.1

    I recently bought a used Mac Pro 3.1 early 2008 2xquad core 2.8 gHz.  It came with 6 1 Gig 667 MHz in RAM.  This Mac takes 800 MHz- can I fill one of the risers with 4x4 Gig 800 MHz while temporarily keeping 4 1 Gig in the other riser?  I realize all will (should?) be running at 667 until I switch to all 800 MHz; but can they be mixed as long as they're on their own riser card?  I can't afford to replace all the RAM at once, and am hoping to upgrade in waves.  An extra 4 Gigs isn't much but it would really help for a short time.

    I thought I/we already went through this a day or two ago, not you? then someone else.
    Check it out.
    Same over on MacRumors and links to ebay and Amazon
    Mac Pro 3,1 memory question
    And yes you can mix and match - as long as each paired set and if even one set is 667 then the memory controller will downlclock for all.
    http://www.barefeats.com/harper5.html

  • I am trying to install a new ram into my mac book air and i am having trouble finding it. can anyone help me through this?

    can anyone help walk me through placing a new ram into a mac book air 2010 model

    The RAM in a MacBook Air cannot be upgraded after purchase.
    https://discussions.apple.com/message/12782306#12782306

  • How can i transfer all my data 250 GB from external hard disk to MAC pro

    How can i transfer all my data 250 GB from external hard disk to MAC pro

    The simple answer is just connect the external hard drive and drag the files from there to wherever you want them to go. If you need to do something more specific, you'll have to provide more details.

  • I have Adobe Photoshop Elements 10 and Adobe Premier 10 loaded on a Dell PC. Do I need to uninstall from the Dell before I install on a recently purchased Apple Mac Pro? There are separate disks for Mac and PC in the package.

    I have Adobe Photoshop Elements 10 and Adobe Premier 10 loaded on a Dell PC. Do I need to uninstall from the Dell before I install on a recently purchased Apple Mac Pro? There are separate disks for Mac and PC in the package.

    Generally, it's ok to install on two machines as long as they are both yours and you only use one version at a time.
    BTW, this is the forum for Adobe Contribute.

  • [SOLVED] Suspend to ram / disk not working in newer kernels

    Hi all,
    this puzzles me for a while:
    My desktop system was able to suspend to ram / disk flawlessly in older kernels. It stopped working with 3.3. The suspend seems to work, the machine goes to standby. But when I try to resume, the machines is on but the screen stays black. Neither the console is working nor can I ssh into it. Only hard reset gets me out here
    I did investigate and found many tips and hints which all led to nowhere. I even changed my filesystem back from btrfs to ext4 and my VGA module from proprietary nvidia to nouveau.
    When this all failed I got to the idea to burn several install disks. One of the official 2011.08.19 (kernel 3.0.3) and one of the snapshots 2012.06.05_04-00-01 (kernel 3.3.7) and 2012.07.17_04-00-01 (kernel 3.4.4). I guess these can not be compromised by some hosed installation. I started one by one and issued the follwing command:
    echo mem > /sys/power/state
    which suspends the machine successfully in all three cases. With 2011.08.19 the resume is working but the other two fail. Some more info about the hardware:
    1. lspci output
    harvey@obelix ~ $ lspci
    00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
    00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
    00:05.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 3 (rev 11)
    00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
    00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
    00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
    00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
    00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
    00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
    00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1a.1 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1a.2 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1a.7 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
    00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
    00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
    00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
    00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1d.1 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1d.2 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1d.3 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller (rev 06)
    00:1d.7 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6)
    00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC Interface Controller (rev 06)
    00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA IDE Controller (rev 06)
    00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
    00:1f.5 IDE interface: Intel Corporation 5 Series/3400 Series Chipset 2 port SATA IDE Controller (rev 06)
    01:00.0 VGA compatible controller: NVIDIA Corporation G84 [GeForce 8600 GT] (rev a1)
    02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
    03:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02)
    03:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02)
    04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
    3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
    3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
    3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
    3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
    3f:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
    3f:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
    3f:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
    3f:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
    3f:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
    3f:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
    3f:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
    3f:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
    3f:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
    3f:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
    3f:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)
    2. lsmod output of 2012.07.17_04-00-01:
    harvey@obelix ~ $ lsmod
    Module Size Used by
    fuse 68768 0
    tun 15297 0
    rfcomm 33627 8
    bnep 8793 2
    nfsd 246714 2
    exportfs 3665 1 nfsd
    btusb 11764 0
    joydev 9991 0
    bluetooth 190551 22 bnep,btusb,rfcomm
    rfkill 15604 2 bluetooth
    snd_hda_codec_realtek 60409 1
    snd_hda_intel 24053 3
    snd_hda_codec 94305 2 snd_hda_codec_realtek,snd_hda_intel
    microcode 12185 0
    i7core_edac 17477 0
    snd_hwdep 6300 1 snd_hda_codec
    i2c_i801 8180 0
    iTCO_wdt 12813 0
    snd_pcm 74958 2 snd_hda_codec,snd_hda_intel
    r8169 49386 0
    coretemp 5654 0
    edac_core 36656 3 i7core_edac
    iTCO_vendor_support 1929 1 iTCO_wdt
    serio_raw 4653 0
    pcspkr 1899 0
    snd_page_alloc 7185 2 snd_pcm,snd_hda_intel
    snd_timer 18966 1 snd_pcm
    mii 4123 1 r8169
    snd 58997 12 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
    soundcore 5410 1 snd
    acpi_cpufreq 5933 0
    mperf 1235 1 acpi_cpufreq
    evdev 9754 4
    processor 26567 1 acpi_cpufreq
    vboxnetadp 18387 0
    vboxnetflt 16743 0
    vboxdrv 1791382 2 vboxnetadp,vboxnetflt
    nfs 276056 1
    nfs_acl 2359 2 nfs,nfsd
    lockd 62987 2 nfs,nfsd
    auth_rpcgss 32327 2 nfs,nfsd
    sunrpc 184998 12 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
    fscache 41059 1 nfs
    aes_x86_64 7508 64
    cryptd 8741 0
    aes_generic 26138 1 aes_x86_64
    xts 3101 32
    gf128mul 6050 1 xts
    dm_crypt 16496 4
    dm_mod 70918 9 dm_crypt
    sr_mod 14823 0
    cdrom 35648 1 sr_mod
    hid_logitech 16560 0
    ff_memless 4690 1 hid_logitech
    usbhid 36430 1 hid_logitech
    hid 85285 2 hid_logitech,usbhid
    sd_mod 29239 7
    pata_jmicron 2480 0
    usb_storage 44760 0
    pata_acpi 3408 0
    ata_piix 23160 5
    crc32c_intel 1987 0
    ahci 20549 0
    libahci 20023 1 ahci
    ata_generic 3295 0
    libata 167611 6 ahci,pata_acpi,libahci,ata_generic,ata_piix,pata_jmicron
    scsi_mod 132974 4 usb_storage,libata,sd_mod,sr_mod
    uhci_hcd 23372 0
    xhci_hcd 81440 0
    ehci_hcd 40994 0
    usbcore 147533 8 btusb,uhci_hcd,usb_storage,ehci_hcd,usbhid,xhci_hcd
    usb_common 954 1 usbcore
    floppy 58615 0
    nouveau 784289 3
    button 4502 1 nouveau
    video 11307 1 nouveau
    mxm_wmi 1425 1 nouveau
    wmi 8475 2 mxm_wmi,nouveau
    i2c_algo_bit 5391 1 nouveau
    drm_kms_helper 33051 1 nouveau
    ttm 64288 1 nouveau
    drm 208926 5 ttm,drm_kms_helper,nouveau
    i2c_core 20369 5 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau
    ext4 424175 4
    crc16 1359 2 ext4,bluetooth
    jbd2 73919 1 ext4
    mbcache 5977 1 ext4
    3. /var/log/pm-suspend.log of a not working suspend
    Initial commandline parameters:
    Tue Jul 17 11:21:18 CEST 2012: Running hooks for suspend.
    Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
    Linux obelix 3.4.5-1-ARCH #1 SMP PREEMPT Mon Jul 16 21:35:54 CEST 2012 x86_64 GNU/Linux
    Module Size Used by
    rfcomm 33627 8
    bnep 8793 2
    nfsd 246714 2
    exportfs 3665 1 nfsd
    ext4 424175 3
    jbd2 73919 1 ext4
    mbcache 5977 1 ext4
    btusb 11764 0
    bluetooth 190551 22 bnep,btusb,rfcomm
    crc16 1359 2 ext4,bluetooth
    joydev 9991 0
    rfkill 15604 2 bluetooth
    snd_hda_codec_realtek 60409 1
    microcode 12185 0
    coretemp 5654 0
    serio_raw 4653 0
    snd_hda_intel 24053 5
    snd_hda_codec 94305 2 snd_hda_codec_realtek,snd_hda_intel
    pcspkr 1899 0
    snd_hwdep 6300 1 snd_hda_codec
    snd_pcm 74958 3 snd_hda_codec,snd_hda_intel
    snd_page_alloc 7217 2 snd_pcm,snd_hda_intel
    r8169 49386 0
    i7core_edac 17477 0
    snd_timer 18966 1 snd_pcm
    edac_core 36656 3 i7core_edac
    mii 4123 1 r8169
    snd 58997 15 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
    iTCO_wdt 12813 0
    i2c_i801 8180 0
    soundcore 5410 1 snd
    iTCO_vendor_support 1929 1 iTCO_wdt
    acpi_cpufreq 5933 0
    mperf 1267 1 acpi_cpufreq
    evdev 9754 4
    processor 26567 1 acpi_cpufreq
    vboxnetadp 18387 0
    vboxnetflt 16743 0
    vboxdrv 1791382 2 vboxnetadp,vboxnetflt
    nfs 276056 1
    nfs_acl 2359 2 nfs,nfsd
    lockd 62987 2 nfs,nfsd
    auth_rpcgss 32327 2 nfs,nfsd
    sunrpc 184998 12 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
    fscache 41059 1 nfs
    btrfs 710578 1
    libcrc32c 1002 1 btrfs
    zlib_deflate 20436 1 btrfs
    aes_x86_64 7508 64
    cryptd 8741 0
    aes_generic 26138 1 aes_x86_64
    xts 3101 32
    gf128mul 6050 1 xts
    hid_logitech 16560 0
    ff_memless 4690 1 hid_logitech
    dm_crypt 16496 4
    dm_mod 70918 9 dm_crypt
    sr_mod 14823 0
    cdrom 35648 1 sr_mod
    usbhid 36430 1 hid_logitech
    usb_storage 44760 0
    hid 85285 2 hid_logitech,usbhid
    sd_mod 29239 7
    pata_jmicron 2480 0
    pata_acpi 3408 0
    ata_piix 23160 5
    ata_generic 3295 0
    uhci_hcd 23404 0
    crc32c_intel 1987 1
    ahci 20549 0
    libahci 20023 1 ahci
    libata 167611 6 ahci,pata_acpi,libahci,ata_generic,ata_piix,pata_jmicron
    xhci_hcd 81472 0
    ehci_hcd 41026 0
    scsi_mod 132974 4 usb_storage,libata,sd_mod,sr_mod
    usbcore 147565 8 btusb,uhci_hcd,usb_storage,ehci_hcd,usbhid,xhci_hcd
    usb_common 954 1 usbcore
    floppy 58615 0
    nouveau 784321 3
    button 4502 1 nouveau
    video 11307 1 nouveau
    mxm_wmi 1425 1 nouveau
    wmi 8475 2 mxm_wmi,nouveau
    i2c_algo_bit 5391 1 nouveau
    drm_kms_helper 33051 1 nouveau
    ttm 64320 1 nouveau
    drm 208958 5 ttm,drm_kms_helper,nouveau
    i2c_core 20369 5 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau
    total used free shared buffers cached
    Mem: 8173500 884060 7289440 0 3764 405872
    -/+ buffers/cache: 474424 7699076
    Swap: 8386556 0 8386556
    /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/01grub suspend suspend:
    /usr/lib/pm-utils/sleep.d/01grub 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/75modules suspend suspend:
    /usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
    Running hook /etc/pm/sleep.d/90alsa suspend suspend:
    /etc/pm/sleep.d/90alsa 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:
    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/99video suspend suspend:
    kernel.acpi_video_flags = 0
    /usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
    Tue Jul 17 11:21:18 CEST 2012: performing suspend
    This seems to be a kernel bug. Any input?
    Harvey
    Last edited by Harey (2012-08-06 13:51:49)

    Another life-sign. The issue is still unsolved but I've come a little further. It seems to be a combination of more failures. The first one is USB hardware. I have a usb keyboard-mouse combo from Logitech (comfort cordless desktop). The USB bus does not wake up correctly when resuming from suspend. So my keyboard is unsuable. I put in a file /etc/pm/sleep.d/20_custom-ehci_hcd with the following content:
    BUSES="0000:00:1a.7 0000:00:1d.7"
    case "${1}" in
    hibernate|suspend)
    # Switch USB buses off
    for bus in $BUSES; do
    echo -n $bus | tee /sys/bus/pci/drivers/ehci_hcd/unbind
    done
    resume|thaw)
    # Switch USB buses back on
    for bus in $BUSES; do
    echo -n $bus | tee /sys/bus/pci/drivers/ehci_hcd/bind
    done
    esac
    The bus IDs were taken from /sys/bus/pci/drivers/ehci_hcd
    When I start pm-suspend from a console (no X started) this seems to reanimate my keyboard while the screen stays black (with backlight on). I can type and reboot. Also I can ssh into the machine from my laptop.
    Concerning the blank screen there seems to be a bug in both the proprietary nvidia modules as well as the nouveau driver. The nvidia folks have issued a new beta driver which seems to at least minimize the failures. This all concerns the nv50-family of nvidias cards. I have a GF8600GT which is one of these
    I'll wait for this driver and then restart my testing. Until then - no suspend/hibernate
    EDIT: Today's nvidia 304.32 is solving my issues - I can sleep again
    Harvey
    Last edited by Harey (2012-08-06 13:52:51)

  • Suspend to ram/disk stopped working overnight

    My suspend to ram/disk used to work fine, but overnight, it stopped. It is not an update issue since, I was able to suspend after the last update. I decided to update today hoping that it is going to solve the problem, but the problem persist.
    Here is what happens:
    $ sudo pm-suspend
    or
    $ sudo pm-hibernate
    The computer suspends faster than usual, as if it does not take the time to complete the suspend procedure. When I turn the computer on, it starts to boot instead of resuming from suspend. In the case of hibernate, this is clearly obvious. Normally it is suppose to take 10-30 s. to save the memory data to the swap, but this time the computer shuts fast (1-2s.), and I doubt that all the data is saved to swap.
    Here are the logs for each case (/var/log/pm-suspend.log):
    suspend to ram:
    Initial commandline parameters:
    Sat Aug 25 23:16:03 EDT 2012: Running hooks for suspend.
    Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
    Linux gateway 3.4.9-1-ARCH #1 SMP PREEMPT Wed Aug 15 18:59:31 CEST 2012 x86_64 GNU/Linux
    Module Size Used by
    xt_recent 7901 3
    xt_tcpudp 2471 51
    ip6table_mangle 1684 0
    ipt_MASQUERADE 1738 1
    nf_nat_ftp 1668 0
    iptable_nat 4024 1
    nf_nat 15100 3 nf_nat_ftp,ipt_MASQUERADE,iptable_nat
    nf_conntrack_ipv4 6871 20 nf_nat,iptable_nat
    nf_defrag_ipv4 1339 1 nf_conntrack_ipv4
    xt_TCPMSS 3439 5
    xt_LOG 11943 48
    ipt_REJECT 2281 0
    iptable_mangle 1584 0
    xt_multiport 1758 0
    xt_state 1295 17
    xt_limit 2041 51
    xt_conntrack 3329 0
    nf_conntrack_ftp 6261 1 nf_nat_ftp
    nf_conntrack 61584 8 nf_nat_ftp,ipt_MASQUERADE,nf_nat,xt_state,xt_conntrack,nf_conntrack_ftp,iptable_nat,nf_conntrack_ipv4
    ip6table_filter 1396 1
    ip6_tables 18198 2 ip6table_filter,ip6table_mangle
    iptable_filter 1456 1
    ip_tables 16946 3 iptable_filter,iptable_mangle,iptable_nat
    x_tables 16954 17 ip6table_filter,ip6table_mangle,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_multiport,iptable_filter,xt_TCPMSS,ipt_REJECT,iptable_mangle,ip6_tables,iptable_nat
    adt7475 20329 0
    hwmon_vid 3196 1 adt7475
    arc4 1410 2
    sg 25344 0
    st 35573 0
    uas 8823 0
    rtl8187 52559 0
    mxm_wmi 1425 0
    wmi 8475 1 mxm_wmi
    shpchp 26305 0
    pci_hotplug 23564 1 shpchp
    eeprom_93cx6 2175 1 rtl8187
    serio_raw 4653 0
    i2c_algo_bit 5391 0
    ttm 64320 0
    drm_kms_helper 33051 0
    drm 208958 2 ttm,drm_kms_helper
    tpm_tis 9074 0
    tpm 13765 1 tpm_tis
    tpm_bios 5121 1 tpm
    video 11307 0
    b43 353506 0
    snd_hda_codec_realtek 60726 1
    iTCO_wdt 12813 0
    iTCO_vendor_support 1929 1 iTCO_wdt
    snd_hda_intel 24053 0
    snd_hda_codec 94305 2 snd_hda_codec_realtek,snd_hda_intel
    snd_hwdep 6300 1 snd_hda_codec
    snd_pcm 74958 2 snd_hda_codec,snd_hda_intel
    snd_page_alloc 7217 2 snd_pcm,snd_hda_intel
    snd_timer 18966 1 snd_pcm
    snd 58997 6 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
    soundcore 5410 1 snd
    nvidia 11182217 0
    sky2 49219 0
    microcode 12345 0
    i2c_i801 8180 0
    ssb 48803 1 b43
    pcspkr 1899 0
    evdev 9754 11
    firewire_ohci 31709 0
    intel_agp 10936 0
    firewire_core 51552 1 firewire_ohci
    intel_gtt 14047 1 intel_agp
    crc_itu_t 1363 1 firewire_core
    thermal 7959 0
    fan 2426 0
    button 4502 0
    pcmcia 35785 2 b43,ssb
    bcma 22757 1 b43
    mmc_core 82070 2 b43,ssb
    coretemp 5654 0
    i2c_core 20369 6 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,adt7475,nvidia
    mac80211 395712 2 b43,rtl8187
    cfg80211 170255 3 b43,mac80211,rtl8187
    rfkill 15604 1 cfg80211
    pcmcia_core 12253 1 pcmcia
    vboxnetadp 18387 0
    vboxnetflt 16871 0
    vboxdrv 1792216 2 vboxnetadp,vboxnetflt
    acpi_cpufreq 5933 0
    mperf 1299 1 acpi_cpufreq
    processor 26567 1 acpi_cpufreq
    nfs 276152 0
    nfs_acl 2359 1 nfs
    lockd 62987 1 nfs
    auth_rpcgss 32327 1 nfs
    sunrpc 185190 4 nfs,auth_rpcgss,lockd,nfs_acl
    fscache 41059 1 nfs
    ext4 424871 6
    crc16 1359 1 ext4
    jbd2 73919 1 ext4
    mbcache 5977 1 ext4
    aes_x86_64 7508 40
    cryptd 8741 0
    aes_generic 26138 1 aes_x86_64
    xts 3101 20
    gf128mul 6050 1 xts
    dm_crypt 16496 5
    dm_mod 70918 11 dm_crypt
    sr_mod 14823 0
    cdrom 35648 1 sr_mod
    sd_mod 29239 8
    usbhid 36462 0
    hid 85541 1 usbhid
    usb_storage 44760 0
    pata_jmicron 2480 0
    pata_acpi 3408 0
    ata_piix 23160 7
    ata_generic 3295 0
    uhci_hcd 23436 0
    libata 167611 4 pata_acpi,ata_generic,ata_piix,pata_jmicron
    scsi_mod 132736 7 sg,st,uas,usb_storage,libata,sd_mod,sr_mod
    ehci_hcd 41026 0
    usbcore 147661 7 uas,uhci_hcd,rtl8187,usb_storage,ehci_hcd,usbhid
    usb_common 954 1 usbcore
    floppy 58615 0
    vfat 10119 0
    fat 49739 1 vfat
    nls_cp437 5953 0
    total used free shared buffers cached
    Mem: 4052416 174372 3878044 0 20828 36868
    -/+ buffers/cache: 116676 3935740
    Swap: 5122680 0 5122680
    /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/01grub suspend suspend:
    /usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode suspend suspend:
    /usr/lib/pm-utils/sleep.d/01laptop-mode 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/50netcfg suspend suspend:
    /usr/lib/pm-utils/sleep.d/50netcfg suspend suspend: success.
    Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
    Unloading kernel module rfkill...Done.
    /usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
    Running hook /etc/pm/sleep.d/90alsa suspend suspend:
    /etc/pm/sleep.d/90alsa 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:
    nVidia binary video drive 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/99video suspend suspend:
    kernel.acpi_video_flags = 0
    /usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
    Sat Aug 25 23:16:04 EDT 2012: performing suspend
    hibernate:
    Initial commandline parameters:
    Sat Aug 25 22:13:46 EDT 2012: Running hooks for hibernate.
    Running hook /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate:
    Linux gateway 3.4.9-1-ARCH #1 SMP PREEMPT Wed Aug 15 18:59:31 CEST 2012 x86_64 GNU/Linux
    Module Size Used by
    xt_recent 7901 3
    xt_tcpudp 2471 51
    ip6table_mangle 1684 0
    ipt_MASQUERADE 1738 1
    nf_nat_ftp 1668 0
    iptable_nat 4024 1
    nf_nat 15100 3 nf_nat_ftp,ipt_MASQUERADE,iptable_nat
    nf_conntrack_ipv4 6871 20 nf_nat,iptable_nat
    nf_defrag_ipv4 1339 1 nf_conntrack_ipv4
    xt_TCPMSS 3439 5
    xt_LOG 11943 48
    ipt_REJECT 2281 0
    iptable_mangle 1584 0
    xt_multiport 1758 0
    xt_state 1295 17
    xt_limit 2041 51
    xt_conntrack 3329 0
    nf_conntrack_ftp 6261 1 nf_nat_ftp
    nf_conntrack 61584 8 nf_nat_ftp,ipt_MASQUERADE,nf_nat,xt_state,xt_conntrack,nf_conntrack_ftp,iptable_nat,nf_conntrack_ipv4
    ip6table_filter 1396 1
    ip6_tables 18198 2 ip6table_filter,ip6table_mangle
    iptable_filter 1456 1
    ip_tables 16946 3 iptable_filter,iptable_mangle,iptable_nat
    x_tables 16954 17 ip6table_filter,ip6table_mangle,xt_recent,ip_tables,xt_tcpudp,ipt_MASQUERADE,xt_limit,xt_state,xt_conntrack,xt_LOG,xt_multiport,iptable_filter,xt_TCPMSS,ipt_REJECT,iptable_mangle,ip6_tables,iptable_nat
    adt7475 20329 0
    hwmon_vid 3196 1 adt7475
    sg 25344 0
    st 35573 0
    uas 8823 0
    rtl8187 52559 0
    mxm_wmi 1425 0
    wmi 8475 1 mxm_wmi
    shpchp 26305 0
    pci_hotplug 23564 1 shpchp
    eeprom_93cx6 2175 1 rtl8187
    serio_raw 4653 0
    i2c_algo_bit 5391 0
    ttm 64320 0
    drm_kms_helper 33051 0
    drm 208958 2 ttm,drm_kms_helper
    tpm_tis 9074 0
    tpm 13765 1 tpm_tis
    tpm_bios 5121 1 tpm
    video 11307 0
    nvidia 11182217 0
    arc4 1410 2
    snd_hda_codec_realtek 60726 1
    snd_hda_intel 24053 0
    snd_hda_codec 94305 2 snd_hda_codec_realtek,snd_hda_intel
    b43 353506 0
    ssb 48803 1 b43
    snd_hwdep 6300 1 snd_hda_codec
    snd_pcm 74958 2 snd_hda_codec,snd_hda_intel
    snd_page_alloc 7217 2 snd_pcm,snd_hda_intel
    snd_timer 18966 1 snd_pcm
    snd 58997 6 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec,snd_hda_intel
    soundcore 5410 1 snd
    sky2 49219 0
    pcmcia 35785 2 b43,ssb
    bcma 22757 1 b43
    i2c_i801 8180 0
    iTCO_wdt 12813 0
    iTCO_vendor_support 1929 1 iTCO_wdt
    thermal 7959 0
    fan 2426 0
    button 4502 0
    firewire_ohci 31709 0
    mmc_core 82070 2 b43,ssb
    firewire_core 51552 1 firewire_ohci
    intel_agp 10936 0
    intel_gtt 14047 1 intel_agp
    crc_itu_t 1363 1 firewire_core
    i2c_core 20369 6 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,adt7475,nvidia
    pcspkr 1899 0
    microcode 12345 0
    evdev 9754 11
    coretemp 5654 0
    mac80211 395712 2 b43,rtl8187
    cfg80211 170255 3 b43,mac80211,rtl8187
    rfkill 15604 1 cfg80211
    pcmcia_core 12253 1 pcmcia
    vboxnetadp 18387 0
    vboxnetflt 16871 0
    vboxdrv 1792216 2 vboxnetadp,vboxnetflt
    acpi_cpufreq 5933 0
    mperf 1299 1 acpi_cpufreq
    processor 26567 1 acpi_cpufreq
    nfs 276152 0
    nfs_acl 2359 1 nfs
    lockd 62987 1 nfs
    auth_rpcgss 32327 1 nfs
    sunrpc 185190 4 nfs,auth_rpcgss,lockd,nfs_acl
    fscache 41059 1 nfs
    ext4 424871 6
    crc16 1359 1 ext4
    jbd2 73919 1 ext4
    mbcache 5977 1 ext4
    aes_x86_64 7508 40
    cryptd 8741 0
    aes_generic 26138 1 aes_x86_64
    xts 3101 20
    gf128mul 6050 1 xts
    dm_crypt 16496 5
    dm_mod 70918 11 dm_crypt
    usbhid 36462 0
    sr_mod 14823 0
    hid 85541 1 usbhid
    sd_mod 29239 8
    cdrom 35648 1 sr_mod
    pata_jmicron 2480 0
    usb_storage 44760 0
    pata_acpi 3408 0
    uhci_hcd 23436 0
    ata_piix 23160 7
    ata_generic 3295 0
    libata 167611 4 pata_acpi,ata_generic,ata_piix,pata_jmicron
    scsi_mod 132736 7 sg,st,uas,usb_storage,libata,sd_mod,sr_mod
    ehci_hcd 41026 0
    usbcore 147661 7 uas,uhci_hcd,rtl8187,usb_storage,ehci_hcd,usbhid
    usb_common 954 1 usbcore
    floppy 58615 0
    vfat 10119 0
    fat 49739 1 vfat
    nls_cp437 5953 0
    total used free shared buffers cached
    Mem: 2054092 156900 1897192 0 20680 36788
    -/+ buffers/cache: 99432 1954660
    Swap: 5122680 0 5122680
    /usr/lib/pm-utils/sleep.d/00logging hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate:
    /usr/lib/pm-utils/sleep.d/00powersave hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/01grub hibernate hibernate:
    /usr/lib/pm-utils/sleep.d/01grub hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/01laptop-mode hibernate hibernate:
    /usr/lib/pm-utils/sleep.d/01laptop-mode hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate:
    /usr/lib/pm-utils/sleep.d/49bluetooth hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/50netcfg hibernate hibernate:
    /usr/lib/pm-utils/sleep.d/50netcfg hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate:
    Unloading kernel module rfkill...Done.
    /usr/lib/pm-utils/sleep.d/75modules hibernate hibernate: success.
    Running hook /etc/pm/sleep.d/90alsa hibernate hibernate:
    /etc/pm/sleep.d/90alsa hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate:
    /usr/lib/pm-utils/sleep.d/90clock hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate:
    /usr/lib/pm-utils/sleep.d/94cpufreq hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/95led hibernate hibernate:
    /usr/lib/pm-utils/sleep.d/95led hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate:
    nVidia binary video drive detected, not using quirks.
    /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler hibernate hibernate: success.
    Running hook /usr/lib/pm-utils/sleep.d/99video hibernate hibernate:
    /usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
    Sat Aug 25 22:13:48 EDT 2012: performing hibernate
    This seems to be too few information to pin point the exact cause of the problem.
    What should I do to troubleshoot this problem ?

    My linux installation is actually on a harddrive using SATA on a desktop. I decided to remove this harddrive and put it into an external usb enclosure. I booted this linux installation on my laptop. When doing suspend, it works as it should, which let me think this is probably not a software issue.
    If it is a hardware malfunction, which hardware malfunction can be responsible of an incomplete suspend procedure as described earlier?

Maybe you are looking for