LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 03-27-2009, 09:02 PM   #1
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 13 Maya
Posts: 268

Rep: Reputation: 31
Problem with waking up from suspend


Laptop: Dell Precision M6400
Debian: Lenny stable AMD64

I installed latest NVIDIA driver (it compiled a kernel)

It suspends to RAM fine, but when waking up, I get a screen with a blinking cursor for about 1min, then X starts.

How can I fix this ?

BTW, before I installed the NVIDIA driver, the screen would not get powered on at all after waking up; I had to do hard shutdowns. CTRL+ALT+DEL did not seem to do anything.

Last edited by wearetheborg; 03-31-2009 at 11:14 PM.
 
Old 03-29-2009, 01:30 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
http://www.linlap.com/wiki/dell+precision+m6400
... read the discussions.

this is you too?

You can check to see if there is any logged behavior happening while waiting for wakeup. I can see how it is annoying - you may as well power off at that speed. Scanning suspend problems associated with this laptop, I see there are a raft of problems associated with the network adapter.

I'd check the bios for special power functions that it manages and switch them off.
Do you also get a slow boot?
 
Old 03-31-2009, 11:06 PM   #3
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 13 Maya
Posts: 268

Original Poster
Rep: Reputation: 31
Thanks, yes that is me

I discovered that after I get to the blinkin cursor, I can go to a text console
immediately by CTRL+ALT+F2. But then if I do a CTRL+ALT+F7 I get a blank screen (powered on), and then it stays blank for 50 s or so. Doing CTRL+ALT+F2 after that does not take me to a text console.

My boot is not too fast, not too slow (27s from grub to login menu), though there also I'd like X to start faster, see:
http://www.linuxquestions.org/questi...faster-715395/

Last edited by wearetheborg; 03-31-2009 at 11:08 PM.
 
Old 03-31-2009, 11:23 PM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
30secs or so from grub to login is not atypical.
Note - in that time, most (almost all) of the OS has loaded.
In other OSes, the OS is still loading when the login screen is displayed and you'll see that a desktop gets drawn before it becomes useable. This is to give the illusion that things are happening faster than they are.

Have you read through the discussions?
Curiously, your laptop comes with gnu/linux pre-installed as well:
http://www.emperorlinux.com/mfgr/del...details&id=519
... all users report suspend to ram as working.

try

dmesg | grep acpi
dmesg | grep error

for clues.
Also look in the X logs.

Also check bios for special power settings and switch them off.
 
Old 04-01-2009, 01:35 AM   #5
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 13 Maya
Posts: 268

Original Poster
Rep: Reputation: 31
Yes, I read through the discussion; I could not see anything relevant.

Here is the dmesg output:
Code:
$ dmesg |grep acpi
[    0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
[    0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[    0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[    0.248015] ACPI: Please send DMI info above to linux-acpi@vger.kernel.org
[    0.248015] ACPI: If "acpi_osi=Linux" works better, please notify linux-acpi@vger.kernel.org
$ dmesg |grep error
[  122.315059] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[  212.866300] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x4)
The X log file was long, but did not seem to have any errors. Bios also does not have any special power settings that have been set.

I forgot, when I was installing debian (from netinst CD). I was getting lots of warning messages, the text screen would keep repeating "buffer i/o error on device sr0 xxxx" for a couple of minutes, and then suddenly the install would progress. After a while the same thing.

After the install, I checked the CD in another laptop for md5 errors, and it was fine.
 
Old 04-01-2009, 03:37 AM   #6
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
[ 0.248015] ACPI: Please send DMI info above to linux-acpi@vger.kernel.org
[ 0.248015] ACPI: If "acpi_osi=Linux" works better, please notify linux-acpi@vger.k

add acpi_osi=linux in the kernel line - see if things work better.
Sometimes you need noapic nolapic on the kernel line too. acpi=force may help.

look for the dmi info above these messages - copy it to an email to acer-acpi.
(Its usually also got a ACPI: bit at the start so it's odd you don't see it there. If there is no dmi info, then it may be an idea to report that you get this message but nothing to send.)

Have you updated your BIOS?
Have you updated Debian?

Apart from that - nothing really sticks out.

In the discussions there were many mentions of suspend to ram working - compare what they did with what you did. Most of the discussions involved different distros to yours.

We are rapidly getting to the point where I really need to be in front of your machine. You may be facing a reinstall - JIC something went subtly funny first time.

Note:
The DMI (some say SMBIOS ) table contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware. While this is a good point in terms of report speed and safeness, this also makes the presented information possibly unreliable.

The DMI table doesn't only describe what the system is currently made of, it also can report the possible evolutions (such as the fastest supported CPU or the maximal amount of memory supported).

SMBIOS stands for System Management BIOS , while DMI stands for Desktop Management Interface. Both standards are tightly related and developed by the DMTF (Desktop Management Task Force).
 
Old 04-06-2009, 03:01 AM   #7
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 13 Maya
Posts: 268

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Simon Bridge View Post
[ 0.248015] ACPI: Please send DMI info above to linux-acpi@vger.kernel.org
[ 0.248015] ACPI: If "acpi_osi=Linux" works better, please notify linux-acpi@vger.k

add acpi_osi=linux in the kernel line - see if things work better.
Sometimes you need noapic nolapic on the kernel line too. acpi=force may help.
Sorry for the delay in update, I got busy, then this weekend I installed debian on another laptop

I just tried adding acpi_osi=linux to kernel line - it did not amke any difference.
I then added
Code:
acpi_osi=linux noapic nolapic
to kernel line, then iin boot I got the message :
Code:
IO APIC resources could not be allocated
Loading, please wait
Then system hung.

I then tried
Code:
acpi_osi=linux noapic nolapic acpi=force
Same hang.

What do the above options do ?



Quote:
look for the dmi info above these messages - copy it to an email to acer-acpi.
(Its usually also got a ACPI: bit at the start so it's odd you don't see it there. If there is no dmi info, then it may be an idea to report that you get this message but nothing to send.)
Er, what is acer-acpi ?

Quote:
Have you updated your BIOS?
Have you updated Debian?
bios is latest (New laptop)
Yes, (new debian install, also did an update).

Quote:
Apart from that - nothing really sticks out.

In the discussions there were many mentions of suspend to ram working - compare what they did with what you did. Most of the discussions involved different distros to yours.

We are rapidly getting to the point where I really need to be in front of your machine. You may be facing a reinstall - JIC something went subtly funny first time.

Note:
The DMI (some say SMBIOS ) table contains a description of the system's hardware components, as well as other useful pieces of information such as serial numbers and BIOS revision. Thanks to this table, you can retrieve this information without having to probe for the actual hardware. While this is a good point in terms of report speed and safeness, this also makes the presented information possibly unreliable.

The DMI table doesn't only describe what the system is currently made of, it also can report the possible evolutions (such as the fastest supported CPU or the maximal amount of memory supported).

SMBIOS stands for System Management BIOS , while DMI stands for Desktop Management Interface. Both standards are tightly related and developed by the DMTF (Desktop Management Task Force).
In the laptop discussions, only one guy mentions that suspend works (for mandriva); he does not mention any special work to get suspend working.

Thanks for the help, and the detailed explantions

BTW, in the other debian install (on a different older laptop model, 32 bit), suspend works flawlessly.

Last edited by wearetheborg; 04-06-2009 at 03:04 AM.
 
Old 04-06-2009, 03:25 AM   #8
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Quote:
Originally Posted by wearetheborg View Post
Code:
IO APIC resources could not be allocated
Loading, please wait
Then system hung.

I then tried
Code:
acpi_osi=linux noapic nolapic acpi=force
Same hang.
Try again without the "noapic".
Quote:
What do the above options do ?
noapic tells the kernel not te use the Advanced Programmable Interrupt Controller.

nolapic tells the kernel not to use the Local Advanced Programmable Interrupt Controller. These have tended to be buggy on laptops, so this option has became something of a first-guess for laptop troubles.

osi usually means open systems interconnection - a layer model for networks. I don't actually know what it means for acpi.

Quote:
Er, what is acer-acpi ?
Go back and reread the dmesg output you posted - acer-acpi is the group that the message wanted you to email. (It's the group working on getting acpi working yor acer computers.)

Quote:
bios is latest (New laptop)
New laptop does not imply new bios.
Quote:
Yes, (new debian install, also did an update).
Good - latest kernel?
Quote:
In the laptop discussions, only one guy mentions that suspend works (for mandriva); he does not mention any special work to get suspend working.
And if it was this hard, he'd have mentioned it right?

It would also seem to ruse out DSDT problems - as does your dmesg.


Quote:
BTW, in the other debian install (on a different older laptop model, 32 bit), suspend works flawlessly.
Naturally - it has different acpi stuff in its firmware.

This is why you disable fancy power settings available in the bios.
 
Old 04-06-2009, 04:01 AM   #9
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 13 Maya
Posts: 268

Original Poster
Rep: Reputation: 31
I think you meant linux-acpi; not acer-acpi for the email
PS: My laptop is a dell, not an acer

I tried
Code:
acpi_osi=linux  nolapic acpi=force
Again system hung during boot with that message.

Oh, and its the latest bios version (I checked); also the latest kernel (for debian stable)

Last edited by wearetheborg; 04-06-2009 at 04:02 AM.
 
Old 04-06-2009, 05:35 AM   #10
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
I think you meant linux-acpi; not acer-acpi for the email

That would be correct ... I've spent too long with acer

Some people have suggested to me that the wake from sleep may be related to the video card driver.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with suspend/waking up - pm-utils and acpid lumak Slackware 1 03-09-2009 12:59 PM
waking up laptop from suspend mode at a specified time adityavpratap Ubuntu 1 07-08-2008 03:28 PM
Waking up after suspend shuts down pc dive Linux - Kernel 1 05-27-2008 07:33 PM
No terminal access after waking from Suspend in FC5 saravkrish Fedora 0 02-25-2007 07:31 PM
Not waking from second suspend ritme909 Linux - Laptop and Netbook 0 01-29-2005 07:19 AM


All times are GMT -5. The time now is 01:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration