Bug 117531
Summary: | Asus EeePC 1201HA do not power-off after upgrade to 4.5 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Colin Pitrat (colin.pitrat+kernelbug) |
Component: | Platform_x86 | Assignee: | drivers_platform_x86 (drivers_platform_x86) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | colin.pitrat+kernelbug |
Priority: | P1 | ||
Hardware: | Intel | ||
OS: | Linux | ||
Kernel Version: | 4.5 | Subsystem: | |
Regression: | Yes | Bisected commit-id: |
Description
Colin Pitrat
2016-05-02 21:13:49 UTC
Looking more closely at the stack, the issue is not in asus_wmi but in gpio_sch. Reproducing with a manually built kernel gives a more precise stack: [ 15.496397] EIP is at gpiochip_get_data+0xc/0x20 (...) [ 15.496397] [<f83df013>] ? sch_gpio_reg_set+0x13/0x70 [gpio_sch] [ 15.496397] [<f83df2d5>] sch_gpio_probe+0x165/0x1f0 [gpio_sch] [ 15.496397] [<c1391133>] platform_drv_probe+0x43/0xb0 [ 15.496397] [<c138e632>] ? driver_sysfs_add+0x62/0x80 [ 15.496397] [<c138f099>] driver_probe_device+0x1f9/0x450 [ 15.496397] [<c13136c2>] ? acpi_driver_match_device+0x31/0x4b [ 15.496397] [<c13916e0>] ? platform_match+0x20/0xb0 [ 15.496397] [<c138f3c9>] __driver_attach+0xd9/0x100 [ 15.496397] [<c12925e8>] ? kobject_add_internal+0x168/0x350 [ 15.496397] [<c150fe2b>] ? klist_next+0x6b/0x110 [ 15.496397] [<c138f2f0>] ? driver_probe_device+0x450/0x450 [ 15.496397] [<c138cef7>] bus_for_each_dev+0x57/0xa0 [ 15.496397] [<c138e80e>] driver_attach+0x1e/0x20 [ 15.496397] [<c138f2f0>] ? driver_probe_device+0x450/0x450 [ 15.496397] [<c138e31f>] bus_add_driver+0x1ef/0x290 [ 15.496397] [<f811e000>] ? 0xf811e000 [ 15.496397] [<f811e000>] ? 0xf811e000 [ 15.496397] [<c138fd6d>] driver_register+0x5d/0xf0 [ 15.496397] [<c139109f>] __platform_driver_register+0x2f/0x40 [ 15.496397] [<f811e012>] sch_gpio_driver_init+0x12/0x1000 [gpio_sch] [ 15.496397] [<c100048a>] do_one_initcall+0xaa/0x200 [ 15.496397] [<f811e000>] ? 0xf811e000 [ 15.496397] [<c1165be5>] ? kvfree+0x45/0x50 [ 15.496397] [<c119affe>] ? kmem_cache_alloc_trace+0x7e/0x1f0 [ 15.496397] [<c11470a9>] ? do_init_module+0x21/0x1a8 [ 15.496397] [<c11470a9>] ? do_init_module+0x21/0x1a8 [ 15.496397] [<c11470d8>] do_init_module+0x50/0x1a8 [ 15.496397] [<c10e54a4>] load_module+0x2074/0x25d0 [ 15.496397] [<c10e5b2f>] SyS_init_module+0x12f/0x190 [ 15.496397] [<c1001b4d>] do_fast_syscall_32+0x8d/0x140 [ 15.496397] [<c151708e>] sysenter_past_esp+0x47/0x75 It looks like the following commit could be the source of the issue: https://github.com/torvalds/linux/commit/737c8fccf1c5b2aae3c6d9a66dce17e35fc39b71 Fixed in 4.7 |