You are not logged in.

#1 2011-07-29 09:18:51

henny
Member
Registered: 2011-06-15
Posts: 10

elitebook reboots after shutdown when laptop-mode-tools/powertop used

Hi,

I recently got my new HP elitebook 8640p which will reboot after shutdown if:

1) laptop-mode-tools is enabled
2) when I use powertop and enable some options:
-usb autosuspend
-device power management
-increase VM dirty writeback (echo 1500 > /proc/sys/vm/dirty_writeback_centisecs)
-echo 1 > /sys/module/snd_hda_intel/power_save
-disable NMI watchdog
-power aware CPU scheduler (echo 1 > /sys/devices/system/cpu/sched_mc_power_savings)
-echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
-turn HD audio power management on

I tested halt/shutdown -h/-hP etc still it reboots after shutdown.
When I disable laptop-mode-tools/powertop it shutdowns fine.

So any ideas? kernel bug? Some crappy module?

Offline

#2 2011-08-20 16:52:08

henny
Member
Registered: 2011-06-15
Posts: 10

Re: elitebook reboots after shutdown when laptop-mode-tools/powertop used

Update: the problem still persist with kernel 3.0 and also appears when i suspend to ram with pm-utils and resume. The next shutdown will reboot then.
So any known bugs?

Last edited by henny (2011-08-20 17:06:20)

Offline

#3 2011-09-06 08:42:16

ArchMed
Member
Registered: 2011-08-27
Posts: 20

Re: elitebook reboots after shutdown when laptop-mode-tools/powertop used

The problem is definitely caused by laptop-mode-tools
Look here: https://bbs.archlinux.org/viewtopic.php?id=123792

Offline

#4 2011-09-11 16:47:26

henny
Member
Registered: 2011-06-15
Posts: 10

Re: elitebook reboots after shutdown when laptop-mode-tools/powertop used

ArchMed wrote:

The problem is definitely caused by laptop-mode-tools
Look here: https://bbs.archlinux.org/viewtopic.php?id=123792

Not only, it also happens when i enable power management for PCI devices in powertop2, which seems to do this:

for i in $(ls /sys/bus/{pci,i2c}/devices/*/power/control);do echo auto > $i;done

Looks like a driver issue.

That are my PCI devices:

[root@elite henny]# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 6 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 2 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 3 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 4 (rev b4)
00:1c.7 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 8 (rev b4)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 6 Series Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
23:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host Controller (rev 30)
23:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
23:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
24:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 (rev 34)
25:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)

I will report it upstream when i have time to do so.

Offline

Board footer

Powered by FluxBB