hp-wmi: hangs system on boot
Subsystems (2)
When I first booted .29-rc2 my HP 2510p notebook hung while loading hp-wmi, which I have listed in /etc/modules. Hard poweroff was needed.
The last line on the console was:
input: HP WMI hotkeys as /class/input/input11
After commenting out hp-wmi in /etc/modules the system booted correctly.
After the successful boot I tried loading the module manually using modprobe, which resulted in:
input: HP WMI hotkeys as /class/input/input11
iwlagn: Radio Frequency Kill Switch is On:
Kill switch must be turned off for wireless networking to work.
wlan0: No ProbeResp from current AP 00:14:c1:38:e5:15 - assume out of range
iwlagn: Error sending REPLY_ADD_STA: enqueue_hcmd failed: -5
mac80211-phy0: failed to remove key (0, 00:14:c1:38:e5:15) from hardware (-5)
iwlagn: Error sending REPLY_ADD_STA: enqueue_hcmd failed: -5
mac80211-phy0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
I also noticed that /sys/bus/platform/devices/hp-wmi/dock is missing. And I lost my wireless connection.
Difference between loading hp-wmi from /etc/modules and manually could be that normally wlan is started _after_ /etc/modules is processed. So with the hang wlan was not yet active, while for the manual modprobe wlan was active.
With 2.6.28 hp-wmi works perfectly.
System is running x84_64, Debian Lenny.
Cheers,
FJP
Quoted 2 lines · Frans Pop
When I first booted .29-rc2 my HP 2510p notebook hung while loading hp-wmi, which I have listed in
/etc/modules. Hard poweroff was needed.
Reverting the following commit fixes the problems:
commit fe8e4e039dc3680681bf51af097af391f87038f8
Author: Larry Finger <[email protected]> Date: Fri Jan 9 16:40:54 2009 -0800
hp-wmi: handle rfkill_register() failure
Quoted 11 lines · Frans Pop
Quoted 2 lines · Frans Pop
When I first booted .29-rc2 my HP 2510p notebook hung while loading hp-wmi, which I have listed in
/etc/modules. Hard poweroff was needed.Reverting the following commit fixes the problems:
commit
fe8e4e039dc3680681bf51af097af391f87038f8Author: Larry Finger <[email protected]> Date: Fri Jan 9 16:40:54 2009 -0800hp-wmi: handle
rfkill_register()failure
Ooops. There was a missing if statement. This one should fix it.
drivers/platform/x86/hp-wmi.c +1 -0
@@ -441,6 +441,7 @@ static int __init hp_wmi_bios_setup(stru bluetooth_rfkill->toggle_radio = hp_wmi_bluetooth_set; bluetooth_rfkill->user_claim_unsupported =1 ; err =rfkill_register (bluetooth_rfkill); +if (err) goto register_bluetooth_error; }
-------
PATCH 1/1 hp-wmi: fix regressions caused by missing if statement
In reply to Frans PopFrom: Frans Pop <[email protected]>
hp-wmi: fix regressions caused by missing if statement
Error was introduced in commit fe8e4e039dc3.
---
Quoted 4 lines · Frans Pop
Quoted 3 lines
When I first booted .29-rc2 my HP 2510p notebook hung while loading hp-wmi, which I have listed in
/etc/modules. Hard poweroff was needed.
And this obvious patch fixes the regression (tested).
Andrew: I've added you as the broken patch also went via you.
drivers/platform/x86/hp-wmi.c +0 -0
@@ -441,6 +441,7 @@ static int __init hp_wmi_bios_setup(struct
platform_device *device)
bluetooth_rfkill->toggle_radio = hp_wmi_bluetooth_set; bluetooth_rfkill->user_claim_unsupported = 1; err = rfkill_register(bluetooth_rfkill);
+ if (err)
goto register_bluetooth_error;
}
Re: [PATCH] hp-wmi: fix regressions caused by missing if statement
Quoted 8 lines · Frans Pop
From: Frans Pop <[email protected]>
hp-wmi: fix regressions caused by missing if statement
Error was introduced in commit
fe8e4e039dc3.Signed-off-by Frans Pop <[email protected]>---
Quoted 9 lines
Quoted 4 lines · Frans Pop
Quoted 3 lines
When I first booted .29-rc2 my HP 2510p notebook hung while loading hp-wmi, which I have listed in
/etc/modules. Hard poweroff was needed.And this obvious patch fixes the regression (tested).
Andrew: I've added you as the broken patch also went via you.
Re: [PATCH] hp-wmi: fix regressions caused by missing if statement
In reply to Frans PopQuoted 7 lines · Frans Pop
From: Frans Pop <[email protected]>
hp-wmi: fix regressions caused by missing if statement
Error was introduced in commit
fe8e4e039dc3.Signed-off-by Frans Pop <[email protected]>
Signature · 1 line
Matthew Garrett | [email protected]