LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   cant suspend to disk with nvidia driver loaded (https://www.linuxquestions.org/questions/linux-general-1/cant-suspend-to-disk-with-nvidia-driver-loaded-219449/)

qwijibow 08-18-2004 07:20 PM

cant suspend to disk with nvidia driver loaded
 
when i attempts to suspend to disk with
echo 4 > /proc/acpi/sleep
i get the following message...

Code:

Stopping tasks: =============================================|
Freeing memory: ......|
NVRM: ACPI: unsupported event: 4
Could not suspend device 0000:01:00.0: error -1
hdd: set_drive_speed_status: status=0x51 { DriveReady SeekComplete Error }
hdd: set_drive_speed_status: error=0x04
Restarting tasks... done

and my system is restored without shutdown....

i get hdd errors all the time, this is due to my cd-writer not supporing DMA

when i look up device 0000:01:00.0 is is my AGP port...

if i shutdown X and unload the nvidia driver, suspend works fine,,,

whats wrong ! ?

im usign the latest nvidia drivers, which claim to be acpi compatable.

Oliv' 08-19-2004 09:52 AM

Hi,

I don't know what's the exact problem, but here is another way to suspend disk:
Code:

hdparm -S "number" /dev/hda
see man hdparm about number 'cause it's very specific.

Oliv'

qwijibow 08-19-2004 11:13 AM

i dont just want the disks to spin down,,,

i want to do a complete shutdown, with the ram snapshot stored to swap...
u'know... suspend to disk.

Oliv' 09-14-2004 08:13 AM

Hi,

It seems to be a known issue for NVIDIA:
Quote:

For ACPI, only S3 "Suspend to Ram" is currently supported. This means that
S4 "Suspend to Disk", otherwise known as "Software Suspend" or "swsusp"
does not currently work reliably.
From NVIDIA README provided with the drivers ;)
So have to wait a new release which support it...

Oliv'

Mr.Gosh 01-10-2005 04:19 PM

Oh man, I think that Problem as old enough now, I don`t want to unload my nvidia drivers every time I suspend to disk :-(...

Don`t anybody know a workaround?

qwijibow 01-10-2005 04:26 PM

edit the /etc/X11/xorg.conf file.
find where it says 'Driver "nvidia"' and replace it with 'Driver "nv"'

goodbye Unreal Tournament, Hello fast boots.

This is nolonger an issue for me...
i just build a kick ASS system, AMD-64 3400+. boots lightning fast !

Mr.Gosh 01-10-2005 04:40 PM

thats the problem, i need 3d, for maya and shake...

qwijibow 01-11-2005 12:44 AM

whats Maya ans shake ???

the nv driver along with Mesa still supports OpenGL.
it just wont be as fast, and there is no support for the type of Propriatry texture compression that Ut200X uses.

Mr.Gosh 01-12-2005 01:48 AM

Maya is an 3D Animation Program that needs really high speed 3D Graphics!

Shake is and 2D 3D Compositing Program that also needs real 3D Support...

these are Programms that work with Linux, and I don`t want to buy a Mac or Install Windows...!!!

qwijibow 01-12-2005 04:46 AM

Ahhh i see.
What is your Hardware Like ?

i dont think there is any reason Mesa will not be able to cope with Maya or Shake having skim read the web pages.

however playback may not be great unless you have an extremely powerfull system.

There's no reason to be as drastic as buying a mac., is there a reason why suspending to disk is vital ?

seems you will be stuck with having to boot normally untill nvidia resolvs this driver problem.

Mr.Gosh 01-12-2005 07:15 AM

Yes, I think so too,

I`ve got a Toshiba M30 with a Geforce FX5200 Go and a Pentium M 1500

and booting up & shutting down akes so lang that a was impressed by the speed of suspend to disk...

but I think i can wait.... :mad:

qwijibow 01-12-2005 10:31 AM

whats the specs of the hard disk and rpocessor ?

make sure you are running the minimum services at bootup.
edit your boot scripts.
turn off hoy-plugging, and modprobe the drivers you need in the modules script.

Mr.Gosh 01-12-2005 11:21 AM

HDD: 60GB
4.200 rpm
Enhanced IDE (ATA-5)
cache 2 MB


CPU: Pentium M 1500
lock speed : 1,50 GHz
Front side bus : 400 MHz
2nd level cache : 1 MB


I read an Atikel from IBM about an Linux boot concept where 3 or 4 Consoles are used to speed up the boot process by using some kind of boot priority stack so that some drivers could be louded simultaniously, do you know if any distribution use this feature?

qwijibow 01-12-2005 02:45 PM

nope.

post a list of what services are run direing bootup if you need help deciding what you can remove, and what is needed.


All times are GMT -5. The time now is 03:44 PM.