FS#47805 - [linux][patch] 4.4.x asus_laptop module causes a kernel panic.

Attached to Project: Arch Linux
Opened by Mika Norén (SysGhost) - Sunday, 17 January 2016, 17:05 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 20 January 2016, 07:00 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Kernel module "asus_laptop" in kernel 4.4.0-3-ARCH from [testing] repository causes the kernel to go panic when shutting down or suspending.
During initialization an error message (BUG) is briefly shown about this kernel module "asus_laptop"
It affects quite many Asus laptop models on the market, old as well as new ones.

Additional info:
* package version(s)
linux 4.4-3 from [testing]

* config and/or log files etc.
Nothing special. Default configuration.

Link to a forum-thread with relevant logs:
https://bbs.archlinux.org/viewtopic.php?id=207658

Steps to reproduce:
1: Enable [testing] repository
2: Install kernel 4.4.0-3-ARCH from said repo, and update initramfs image accordingly.
3: Reboot to load the new kernel.
4: Error during boot. Panic during shutdown or suspend.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 20 January 2016, 07:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.4-4
Comment by Mika Norén (SysGhost) - Sunday, 17 January 2016, 17:08 GMT
Forgot to add this:
https://bugzilla.kernel.org/show_bug.cgi?id=110751
There's a patch/solution available.
Comment by Mika Norén (SysGhost) - Sunday, 17 January 2016, 17:15 GMT
Also want to snip out and paste a relevant log:

[ 2.776484] asus_laptop: Asus Laptop Support version 0.42
[ 2.777170] asus_laptop: G1S model detected
[ 2.777400] BUG: unable to handle kernel NULL pointer dereference at 0000000000000e20
[ 2.778166] IP: [<ffffffffa0d8b623>] asus_sysfs_is_visible+0x13/0x1d0 [asus_laptop]
[ 2.778880] PGD 0
[ 2.779078] Oops: 0000 [#1] PREEMPT SMP
[ 2.779479] Modules linked in: asus_laptop(+) pcc_cpufreq(-) sparse_keymap acpi_cpufreq led_class tpm_tis rfkill input_polldev tpm processor fjes video battery ac button sch_fq_codel pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) nfs lockd grace sunrpc fscache ip_tables x_tables ext4 crc16 mbcache jbd2 sd_mod atkbd libps2 nvidia(PO) ata_piix ahci libahci libata scsi_mod ehci_pci uhci_hcd ehci_hcd usbcore usb_common i8042 serio drm
[ 2.780219] CPU: 1 PID: 255 Comm: systemd-udevd Tainted: P O 4.4.0-3-ARCH #1
[ 2.780219] Hardware name: ASUSTeK Computer Inc. G1S /G1S , BIOS 300 12/25/2007
[ 2.780219] task: ffff8800ba38a580 ti: ffff88013a7e4000 task.ti: ffff88013a7e4000
[ 2.780219] RIP: 0010:[<ffffffffa0d8b623>] [<ffffffffa0d8b623>] asus_sysfs_is_visible+0x13/0x1d0 [asus_laptop]
[ 2.780219] RSP: 0018:ffff88013a7e7a70 EFLAGS: 00010282
[ 2.780219] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[ 2.780219] RDX: 0000000000000000 RSI: ffffffffa0d8e3c0 RDI: ffff88013a7ea020
[ 2.780219] RBP: ffff88013a7e7a80 R08: 0000000000000000 R09: 0000000000000124
[ 2.780219] R10: ffffea0002eb3cc0 R11: 0000000000000011 R12: ffffffffa0d8c940
[ 2.780219] R13: 0000000000000000 R14: ffff8800bade2f00 R15: ffffffffa0d8e220
[ 2.780219] FS: 00007f27577967c0(0000) GS:ffff88013fd00000(0000) knlGS:0000000000000000
[ 2.780219] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2.780219] CR2: 0000000000000e20 CR3: 0000000139b32000 CR4: 00000000000006e0
[ 2.780219] Stack:
[ 2.780219] 0000000000000000 ffffffffa0d8c940 ffff88013a7e7ac8 ffffffff8125b7bb
[ 2.780219] 0000000000000000 ffff88013a7ea020 ffff8800bac7c000 0000000000000000
[ 2.780219] 0000000000000000 ffff8800bb2341b8 0000000000000001 ffff88013a7e7ad8
[ 2.780219] Call Trace:
[ 2.780219] [<ffffffff8125b7bb>] internal_create_group+0xbb/0x310
[ 2.780219] [<ffffffff8125ba23>] sysfs_create_group+0x13/0x20
[ 2.780219] [<ffffffffa0d8ab0a>] asus_acpi_add+0x3ca/0xed0 [asus_laptop]
[ 2.780219] [<ffffffff8134c214>] acpi_device_probe+0x4f/0xf5
[ 2.780219] [<ffffffff813ec1b2>] driver_probe_device+0x222/0x4a0
[ 2.780219] [<ffffffff813ec4b4>] __driver_attach+0x84/0x90
[ 2.780219] [<ffffffff813ec430>] ? driver_probe_device+0x4a0/0x4a0
[ 2.780219] [<ffffffff813e9dec>] bus_for_each_dev+0x6c/0xc0
[ 2.780219] [<ffffffff813eb96e>] driver_attach+0x1e/0x20
[ 2.780219] [<ffffffff813eb4bb>] bus_add_driver+0x1eb/0x280
[ 2.780219] [<ffffffffa0d91000>] ? 0xffffffffa0d91000
[ 2.780219] [<ffffffff813ecdc0>] driver_register+0x60/0xe0
[ 2.780219] [<ffffffff8134c0e3>] acpi_bus_register_driver+0x3b/0x43
[ 2.780219] [<ffffffffa0d9102a>] asus_laptop_init+0x2a/0x1000 [asus_laptop]
[ 2.780219] [<ffffffff81002123>] do_one_initcall+0xb3/0x200
[ 2.780219] [<ffffffff81162537>] do_init_module+0x5f/0x1e8
[ 2.780219] [<ffffffff810fcb8f>] load_module+0x219f/0x27e0
[ 2.780219] [<ffffffff810f9a80>] ? symbol_put_addr+0x50/0x50
[ 2.780219] [<ffffffff810fd31e>] SyS_init_module+0x14e/0x190
[ 2.780219] [<ffffffff815925ae>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 2.780219] Code: 48 c8 d8 a0 e8 e1 6c 3d e0 eb e5 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 48 89 e5 41 54 53 48 8b 87 90 00 00 00 <4c> 8b a0 20 0e 00 00 0f b6 80 95 0d 00 00 84 c0 74 1a 48 81 fe
[ 2.780219] RIP [<ffffffffa0d8b623>] asus_sysfs_is_visible+0x13/0x1d0 [asus_laptop]
[ 2.780219] RSP <ffff88013a7e7a70>
[ 2.780219] CR2: 0000000000000e20
[ 2.810195] ---[ end trace 4defc51f15c1b03b ]---
Comment by Darek (blablo) - Tuesday, 19 January 2016, 23:53 GMT

Loading...