Shutdown troubles (probably about nvidia)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Dmitry Nezhevenko
Hi guys. It looks like recent NVIDIA proprietary drivers (and now more often than usually) sometimes don't allow my laptop to shutdown after hibernate.
I've tried both S4 and S5. Just after writing RAM content to disk kernel prints "Power down." message and freezes. Something like old AT cases where power should be turned off by hands. So I need to press power button for 4-5 seconds to shutdown machine. During next boot it resumes correctly.
Quoted 6 lines
Currently I configured xorg to use "nv" driver. Looks like it works correctly. Maybe anybody have some idea and/or workaround?
PS. Kernel 2.6.28, latest TuxOnIce, downloaded as patch, nvidia driver v180.18.
I've spent a bit more with debugging this issue. Currently I know followed:
1. Same happens without ToI using mainline hibernation
2. I've reproduced it once without nvidia proprietary module (using nv), however it happens too rarely.
3. It hangs in infinite loop at drivers/acpi/hardware/hwsleep.c:
do {
status = acpi_get_register(ACPI_BITREG_WAKE_STATUS, &in_value);
if (ACPI_FAILURE(status)) {
return_ACPI_STATUS(status);
}
} while (!in_value);(verified by adding printk())
This looks like hardware/bios bug, however there was no such problem in times of 2.6.25 kernel (with and without nvidia proprietary module)
Hardware is MSI M673 laptop. Any ideas? Maybe some workaround? Bisecting is too difficult and almost impossible.
Signature · 1 line
WBR, Dmitry
Quoted 10 lines · Dmitry Nezhevenko
Hi guys. It looks like recent NVIDIA proprietary drivers (and now more often than usually) sometimes don't allow my laptop to shutdown after hibernate.
I've tried both S4 and S5. Just after writing RAM content to disk kernel prints "Power down." message and freezes. Something like old AT cases where power should be turned off by hands. So I need to press power button for 4-5 seconds to shutdown machine. During next boot it resumes correctly.
Quoted 6 lines
Currently I configured xorg to use "nv" driver. Looks like it works correctly. Maybe anybody have some idea and/or workaround?
PS. Kernel 2.6.28, latest TuxOnIce, downloaded as patch, nvidia driver v180.18.
I've spent a bit more with debugging this issue. Currently I know followed:
1. Same happens without ToI using mainline hibernation
2. I've reproduced it once without nvidia proprietary module (using nv), however it happens too rarely.
3. It hangs in infinite loop at drivers/acpi/hardware/hwsleep.c:
do {
status = acpi_get_register(ACPI_BITREG_WAKE_STATUS, &in_value);
if (ACPI_FAILURE(status)) {
return_ACPI_STATUS(status);
}
} while (!in_value);(verified by adding printk())
This looks like hardware/bios bug, however there was no such problem in times of 2.6.25 kernel (with and without nvidia proprietary module)
Hardware is MSI M673 laptop. Any ideas? Maybe some workaround? Bisecting is too difficult and almost impossible.
Signature · 1 line
WBR, Dmitry
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 35 lines · Dmitry Nezhevenko
Quoted 10 lines · Dmitry Nezhevenko
Hi guys. It looks like recent NVIDIA proprietary drivers (and now more often than usually) sometimes don't allow my laptop to shutdown after hibernate.
I've tried both S4 and S5. Just after writing RAM content to disk kernel prints "Power down." message and freezes. Something like old AT cases where power should be turned off by hands. So I need to press power button for 4-5 seconds to shutdown machine. During next boot it resumes correctly.
Quoted 6 lines
Currently I configured xorg to use "nv" driver. Looks like it works correctly. Maybe anybody have some idea and/or workaround?
PS. Kernel 2.6.28, latest TuxOnIce, downloaded as patch, nvidia driver v180.18.
I've spent a bit more with debugging this issue. Currently I know followed:
1. Same happens without ToI using mainline hibernation
2. I've reproduced it once without nvidia proprietary module (using nv), however it happens too rarely.
3. It hangs in infinite loop at
drivers/acpi/hardware/hwsleep.c:do { status = acpi_get_register(ACPI_BITREG_WAKE_STATUS, &in_value); if (ACPI_FAILURE(status)) { return_ACPI_STATUS(status); } } while (!in_value);
Quoted 4 lines
(verified by adding
printk())This looks like hardware/bios bug, however there was no such problem in times of 2.6.25 kernel (with and without nvidia proprietary module)
Yes, that looks bad.
If it is hard to reproduce w/o nvidia, maybe it is present in 2.6.25 but hard to reproduce...?
Look for updated bios, and maybe ask nvidia for help...
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Pavel Machek
If it is hard to reproduce w/o nvidia, maybe it is present in 2.6.25 but hard to reproduce...?
Look for updated bios, and maybe ask nvidia for help...
This was a bit incorrect. I've successfully reproduced it without NVIDIA blob. Probably bug was caused by updated BIOS. I can't currently revert it.
I've just filled bugreport against mainline kernel:
http://bugzilla.kernel.org/show_bug.cgi?id=12348
Signature · 1 line
WBR, Dmitry