FS#35237 - [linux] linux-3.9.2-1-ARCH Failed to poweroff/halt
Attached to Project:
Arch Linux
Opened by Iru Dog (mytbk) - Monday, 13 May 2013, 03:54 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 17 September 2013, 09:56 GMT
Opened by Iru Dog (mytbk) - Monday, 13 May 2013, 03:54 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 17 September 2013, 09:56 GMT
|
Details
Description:
I installed linux-3.9.2 just now and found out that system cannot poweroff/halt after filesystems unmounted. But I don't know how to find a log during poweroff. Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Tuesday, 17 September 2013, 09:56 GMT
Reason for closing: Fixed
Additional comments about closing: Please open new entry about your issue.
Tuesday, 17 September 2013, 09:56 GMT
Reason for closing: Fixed
Additional comments about closing: Please open new entry about your issue.
The message displayed is:
All filesystems unmounted.
Deactivating swaps.
All swaps deactivated.
Detaching loop devices.
All loop devices detached.
Detaching DM devices.
All DM devices detached.
Storage is finalized.
Then nothing happens. I can switch the ttys, and can type letters after these messages are showed.
Experiment #1. Can you build from ABS and switch the tick rate to 1k and see if your laptop still hangs?
Instructions to enable alternative tick rate:
1. Add an nconfig option to the PKGBUILD
2. Processor type and features --->
3. Timer frequency (300 HZ) --->
4. Select 1000 Hz
5. Save, compile, and install
1. http://s19.postimg.org/riaulcbcj/freeze.jpg
1. I slimed the kernel with my old config files, it still hangs
2. I used the config in step 1, and changed timer frequency to 1000Hz, it still hangs
I first found out this problem when I started to use the linux-ice kernel, but it seems that 3.9-rc didn't have this problem.
I suspect that CONFIG_HP_WMI(originally it was 'm') caused the problem, so I unset CONFIG_STAGING and X86_PLATFORM_DEVICES and rebuilt linux-ck, and it can poweroff now.
1) What made you suspect CONFIG_HP_WMI?
2) If you build the stock Arch kernel from ABS making the change to only CONFIG_HP_WMI=y and #CONFIG_STAGING and #X86_PLATFORM_DEVICES, does it work?
a. I'm using a HP laptop
b. a kernel bug at net/rfkill/core.c:244 emitted during boot, and hp_wmi is in the debug trace
2) I changed CONFIG_HP_WMI to y, but I got a boot failure with 2 kernel bugs(the other is about drm). So I'll try later.
https://bugzilla.kernel.org/show_bug.cgi?id=58401
https://bugzilla.kernel.org/show_bug.cgi?id=58401#c6
Supporting data: See http://ck-hack.blogspot.com/2013/05/bfs-0430-ck1-for-linux-39x.html?showComment=1368430208911#c4581408753333969311 and the comment after it.
-- snip ---
[ 26.244144] kernel BUG at net/rfkill/core.c:244!
--- snip --
[ 26.247083] Call Trace:
[ 26.247124] [<f878522f>] hp_wmi_bios_setup+0x22f/0x34d [hp_wmi]
--- snip ---
Setting CONFIG_HP_WMI=n will resolve the issue, but of course the real fix is to patch the errors in hp-wmi.c as shown here:
http://permalink.gmane.org/gmane.linux.drivers.platform.x86.devel/4493
All of the above confirmed on a Hewlett-Packard HP Compaq 2510p Notebook PC/30C9 ... now just waiting for upstream to patch. :)
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/platform/x86/hp-wmi.c?id=af1d486c18bad7820b0ca52b413458914231102c
http://trichytalkies.blogspot.in/2013/05/anna-university-trichy-results-2013.html
Long time I used sysv (and grub-legacy, the kernel ..init=..systemd) and recently installed systemd-sysvcompat (and removed "init=" in grub). As soon as I received the same error - the last entry "storage is finalized." (sometimes even "EXT4-fs (sda3): ext4_da_writepages: jbd2_start: 8192 pages, ino 662018; err -30"). My last kernels: 3.10.7, 3.10.9).
My computer is not HP, I have no entry "hp_wmi" in everything.log
My pacman.log/lspci:
[2013-08-23 17:54] [PACMAN] Running 'pacman -Syu'
[2013-08-23 17:54] [PACMAN] synchronizing package lists
[2013-08-23 17:54] [PACMAN] starting full system upgrade
[2013-08-23 17:58] [PACMAN] upgraded chromium (28.0.1500.95-1 -> 29.0.1547.57-1)
[2013-08-23 17:58] [PACMAN] upgraded gendesk (0.5.2-1 -> 0.5.3-1)
[2013-08-23 17:58] [PACMAN] upgraded gnupg (2.0.20-2 -> 2.0.21-1)
[2013-08-23 17:58] [PACMAN] upgraded iagno (3.8.1-1 -> 3.8.2-1)
[2013-08-23 17:58] [PACMAN] upgraded isl (0.12-1 -> 0.12.1-1)
[2013-08-23 17:58] [PACMAN] upgraded kdepim-libkdepim (4.11.0-1 -> 4.11.0-2)
[2013-08-23 17:58] [PACMAN] upgraded kdepim-knode (4.11.0-1 -> 4.11.0-2)
[2013-08-23 17:58] [PACMAN] upgraded libgexiv2 (0.6.1-1 -> 0.6.1-2)
[2013-08-23 17:59] [PACMAN] upgraded libtiff (4.0.3-2 -> 4.0.3-3)
[2013-08-23 17:59] [PACMAN] upgraded libwbclient (4.0.8-1 -> 4.0.9-1)
[2013-08-23 17:59] [PACMAN] upgraded pyqt4-common (4.10.2-2 -> 4.10.3-1)
[2013-08-23 17:59] [PACMAN] upgraded sip (4.14.7-1 -> 4.15-1)
[2013-08-23 17:59] [PACMAN] upgraded python-sip (4.14.7-1 -> 4.15-1)
[2013-08-23 17:59] [PACMAN] upgraded python-pyqt4 (4.10.2-2 -> 4.10.3-1)
[2013-08-23 17:59] [PACMAN] upgraded python2-sip (4.14.7-1 -> 4.15-1)
[2013-08-23 17:59] [PACMAN] upgraded python2-pyqt4 (4.10.2-2 -> 4.10.3-1)
[2013-08-23 17:59] [PACMAN] upgraded smbclient (4.0.8-1 -> 4.0.9-1)
[2013-08-27 11:10] [PACMAN] Running 'pacman -S systemd-sysvcompat'
[2013-08-27 11:11] [PACMAN] Running 'pacman -R sysvinit sysvinit-scripts'
[2013-08-27 11:11] [PACMAN] removed sysvinit-scripts (20130606-1)
[2013-08-27 11:11] [PACMAN] removed sysvinit (2.88-11)
[2013-08-27 11:11] [PACMAN] Running 'pacman -S systemd-sysvcompat'
[2013-08-27 11:11] [PACMAN] installed systemd-sysvcompat (204-3)
[2013-08-28 19:12] [PACMAN] Running 'pacman -Syu'
[2013-08-28 19:12] [PACMAN] synchronizing package lists
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 03)
04:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 630] (rev a1)
04:00.1 Audio device: NVIDIA Corporation GF108 High Definition Audio Controller (rev a1)