hp dv8000t dead on resume from RAM
Quoting "Rafael J. Wysocki" <[email protected]>:
Quoted 75 lines · Brannon Klopfer
Quoted 6 lines
Quoted 5 lines · Rafael J. Wysocki
Quoted 3 lines · Brannon Barrett Klopfer
Howdy,
My hp dv8000t (core duo) is completely dead on resume from RAM (no
caps
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lock, sysrq, netconsole,
nothing). I've tried a recent (2.6.18-rc4) kernel running almostentirely
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
naked, so to speak (~990K) -- no support for:
SMP
preempt
modules
networking (+ enet drivers, unless running netconsole) USB and SATA (not at same time; rootfs is either usb drive or SATA[ext2/3])
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
FireWire
cpufreq
framebuffer (vga=0)
audio
PCMCIA
IDE (for cdrom)I've tried both native SATA (ahci) and legacy (
ata_piix), but sameresult
Quoted 1 line
Quoted 1 line
Quoted 1 line
w/both -- completely dead on resume from RAM. Blindly entering
commands
Quoted 1 line
Quoted 1 line
Quoted 1 line
does nothing, and running "$suspend ; $shutdown" does nothing
either. I've
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
also tried with and without noapic, and a number of other kernel paramaters, but nothing seems to work.
Be more than happy to try out patches, etc. to get this thing
working.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Additionally, if someone could point me to that "beep on resume"
patch,
Quoted 10 lines
Quoted 10 lines
Quoted 2 lines
that'd be great.
First, please apply the appended patch and try the following:
(1)
# echo testproc > /sys/power/disk # echo disk > /sys/power/stateThis should turn off the non-boot CPU, freeze all processes, wait for
5
Quoted 4 lines
Quoted 2 lines
seconds and then thaw the processes and the CPU.
Works fine. FWIW, after applying the patchs (so as to have 2.6.18-rc3-mm2), my internal keyboard didn't work, so I used a USB one.
That is specific to 2.6.18-rc3-mm2 and has nothing to do with the suspend.
There should be a patch for that in hot-fixes.Quoted 1 line
It could be my simple .config'ing error, didn't spend much time with
it,
Quoted 1 line
but know that I did use a USB keyboard, hence USB support in the
kernel.
Quoted 6 lines
Quoted 6 lines
(2)
# echo test > /sys/power/disk # echo disk > /sys/power/stateThis should turn off the non-boot CPU, freeze all processes, shrink memory, suspend all devices, wait for 5 seconds, resume the devices
etc.
Quoted 1 line
Quoted 1 line
IOW it does everything that's needed for a suspend except for
actually
Quoted 3 lines
Quoted 2 lines
suspending.
With *legacy*
ata_piix, it works fine, as does a "real"
Quoted 8 lines
suspend-to-disk.
Quoted 2 lines
It still *will not* resume properly from suspend-to-RAM, with and without noapic.
I think I know what the problem is, but unfortunately I have no patch for that. Please look at
http://www.ussg.iu.edu/hypermail/linux/kernel/0607.3/1566.html
but the fix discussed there is for AMD/NVidia only.
Hmmm...I did try a kernel with *no* SATA or IDE support, and used a pen drive for my root; would that rule out that sort of problem, or does the hardware freak out regardless of whether or not there's a driver for it?
Quoted 9 lines
Quoted 4 lines
Using native ahci and the "test" suspend-to-disk, the system hangs. I did this from init=/bin/bash with vga=794 (so I could see all output), however, at least the last few lines match w/vga=0 (i.e., fb didn't affect problem). The hand-copied (pardon any typos) output is:
Some additional patches are needed for the AHCI suspend, AFAIK. I thought they were on the way to the mainline, but it looks like I was wrong. See:
http://www.ussg.iu.edu/hypermail/linux/kernel/0607.2/0885.html
I tried to patch the kernel with the "test/testproc" suspend to disk trick, but it didn't apply cleanly; I applied it cleanly to 2.6.18-rc4 and then copied drivers/scsi/ahci.c to the "test/testproc" kernel, but it didn't seem to make a difference.
Thanks,
Brannon
Quoted 81 lines · Brannon Barrett Klopfer
Quoting "Rafael J. Wysocki" <[email protected]>:
Quoted 79 lines · Brannon Klopfer
Quoted 6 lines
Quoted 5 lines · Rafael J. Wysocki
Quoted 3 lines · Brannon Barrett Klopfer
Howdy,
My hp dv8000t (core duo) is completely dead on resume from RAM (no
caps
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
lock, sysrq, netconsole,
nothing). I've tried a recent (2.6.18-rc4) kernel running almostentirely
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
naked, so to speak (~990K) -- no support for:
SMP
preempt
modules
networking (+ enet drivers, unless running netconsole) USB and SATA (not at same time; rootfs is either usb drive or SATA[ext2/3])
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
FireWire
cpufreq
framebuffer (vga=0)
audio
PCMCIA
IDE (for cdrom)I've tried both native SATA (ahci) and legacy (
ata_piix), but sameresult
Quoted 1 line
Quoted 1 line
Quoted 1 line
w/both -- completely dead on resume from RAM. Blindly entering
commands
Quoted 1 line
Quoted 1 line
Quoted 1 line
does nothing, and running "$suspend ; $shutdown" does nothing
either. I've
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
also tried with and without noapic, and a number of other kernel paramaters, but nothing seems to work.
Be more than happy to try out patches, etc. to get this thing
working.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Additionally, if someone could point me to that "beep on resume"
patch,
Quoted 10 lines
Quoted 10 lines
Quoted 2 lines
that'd be great.
First, please apply the appended patch and try the following:
(1)
# echo testproc > /sys/power/disk # echo disk > /sys/power/stateThis should turn off the non-boot CPU, freeze all processes, wait for
5
Quoted 4 lines
Quoted 2 lines
seconds and then thaw the processes and the CPU.
Works fine. FWIW, after applying the patchs (so as to have 2.6.18-rc3-mm2), my internal keyboard didn't work, so I used a USB one.
That is specific to 2.6.18-rc3-mm2 and has nothing to do with the suspend.
There should be a patch for that in hot-fixes.Quoted 1 line
It could be my simple .config'ing error, didn't spend much time with
it,
Quoted 1 line
but know that I did use a USB keyboard, hence USB support in the
kernel.
Quoted 6 lines
Quoted 6 lines
(2)
# echo test > /sys/power/disk # echo disk > /sys/power/stateThis should turn off the non-boot CPU, freeze all processes, shrink memory, suspend all devices, wait for 5 seconds, resume the devices
etc.
Quoted 1 line
Quoted 1 line
IOW it does everything that's needed for a suspend except for
actually
Quoted 3 lines
Quoted 2 lines
suspending.
With *legacy*
ata_piix, it works fine, as does a "real"suspend-to-disk.
Quoted 2 lines
It still *will not* resume properly from suspend-to-RAM, with and without noapic.
Quoted 8 lines
Quoted 4 lines
I think I know what the problem is, but unfortunately I have no patch for that. Please look at
http://www.ussg.iu.edu/hypermail/linux/kernel/0607.3/1566.html
but the fix discussed there is for AMD/NVidia only.Hmmm...I did try a kernel with *no* SATA or IDE support, and used a pen drive for my root; would that rule out that sort of problem, or does the hardware freak out regardless of whether or not there's a driver for it?
It may or may not, I can't tell really.
Please wait for the next -mm kernel to appear and try it (there should be some generic IDE fixes in there).
Quoted 10 lines
Quoted 9 lines
Quoted 4 lines
Using native ahci and the "test" suspend-to-disk, the system hangs. I did this from init=/bin/bash with vga=794 (so I could see all output), however, at least the last few lines match w/vga=0 (i.e., fb didn't affect problem). The hand-copied (pardon any typos) output is:
Some additional patches are needed for the AHCI suspend, AFAIK. I thought they were on the way to the mainline, but it looks like I was wrong. See:
http://www.ussg.iu.edu/hypermail/linux/kernel/0607.2/0885.html
Quoted 4 lines
I tried to patch the kernel with the "test/testproc" suspend to disk trick, but it didn't apply cleanly; I applied it cleanly to 2.6.18-rc4 and then copied
drivers/scsi/ahci.cto the "test/testproc" kernel, but it didn't seem to make a difference.
For now, I have no other ideas.
Please create a bugzilla entry for your problem and describe what's wrong and what you've done already to debug it. Please also put some hardware and configuration details in there (please add the address [email protected] to the entry's Cc list).
Greetings,
Rafael