Re: BUG: Asus laptop, null pointer dereference

2016-01-25 Thread Heinz Diehl
On 25.01.2016, Heinz Diehl wrote: 

> [4.056862] asus_laptop:model detected
> [4.058731] BUG: unable to handle kernel NULL pointer dereference at 
> 0e20
> [4.060018] IP: [] asus_sysfs_is_visible+0x13/0x1d0 
> [asus_laptop]
> [4.061346] PGD 0 
> [4.062629] Oops:  [#1] PREEMPT SMP 
> [4.063960] Modules linked in: wmi asus_laptop(+) input_polldev 
> sparse_keymap rfkill nfsd auth_rpcgss oid_registry nfs_acl lockd grace sunrpc 
> sch_fq_codel tcp_westwood xfs libcrc32c hid_logitech_dj crc32c_intel 
> serio_raw atl1c i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect 
> sysimgblt fb_sys_fops drm i2c_core video
> [4.067026] CPU: 1 PID: 536 Comm: systemd-udevd Not tainted 4.4.0 #1
> [4.068515] Hardware name: ASUSTeK Computer Inc. U45JC/U45JC, BIOS 
> U45JC.208 02/24/2011
[]

Ok, I see, this is already reported here:
https://bugzilla.kernel.org/show_bug.cgi?id=110751

Thanks,
 Heinz
 


BUG: Asus laptop, null pointer dereference

2016-01-25 Thread Heinz Diehl
Hi,

I'm hitting the following bug when starting my Asus U45JC laptop. This
happens with both 4.4.0 and 4.5-rc1. 4.3.x (and any older kernel) is
fine.

[4.056862] asus_laptop:model detected
[4.058731] BUG: unable to handle kernel NULL pointer dereference at 
0e20
[4.060018] IP: [] asus_sysfs_is_visible+0x13/0x1d0 
[asus_laptop]
[4.061346] PGD 0 
[4.062629] Oops:  [#1] PREEMPT SMP 
[4.063960] Modules linked in: wmi asus_laptop(+) input_polldev 
sparse_keymap rfkill nfsd auth_rpcgss oid_registry nfs_acl lockd grace sunrpc 
sch_fq_codel tcp_westwood xfs libcrc32c hid_logitech_dj crc32c_intel serio_raw 
atl1c i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt 
fb_sys_fops drm i2c_core video
[4.067026] CPU: 1 PID: 536 Comm: systemd-udevd Not tainted 4.4.0 #1
[4.068515] Hardware name: ASUSTeK Computer Inc. U45JC/U45JC, BIOS 
U45JC.208 02/24/2011
[4.070023] task: 88003645b680 ti: 8800a4a0c000 task.ti: 
8800a4a0c000
[4.071568] RIP: 0010:[]  [] 
asus_sysfs_is_visible+0x13/0x1d0 [asus_laptop]
[4.073188] RSP: :8800a4a0faf8  EFLAGS: 00010282
[4.074820] RAX:  RBX:  RCX: 
[4.076462] RDX:  RSI: c03d63c0 RDI: 88003675b420
[4.078109] RBP: 8800a4a0fb08 R08: 8801428940c8 R09: 0124
[4.079777] R10: 88014348d100 R11: 0014 R12: c03d4940
[4.081470] R13:  R14: 8801418af000 R15: c03d6220
[4.083156] FS:  7f58ba6dd8c0() GS:880147c4() 
knlGS:
[4.084885] CS:  0010 DS:  ES:  CR0: 80050033
[4.086611] CR2: 0e20 CR3: a49f3000 CR4: 06e0
[4.088351] Stack:
[4.090066]   c03d4940 8800a4a0fb50 
8122d12b
[4.091838]   88003675b420 880141327000 

[4.093606]   880036b42498 0001 
8800a4a0fb60
[4.095386] Call Trace:
[4.097151]  [] internal_create_group+0xbb/0x310
[4.098943]  [] sysfs_create_group+0x13/0x20
[4.100748]  [] asus_acpi_add+0x3bb/0xea0 [asus_laptop]
[4.102583]  [] acpi_device_probe+0x4f/0xf5
[4.104415]  [] driver_probe_device+0x167/0x490
[4.106254]  [] __driver_attach+0x84/0x90
[4.108087]  [] ? driver_probe_device+0x490/0x490
[4.109931]  [] bus_for_each_dev+0x64/0xa0
[4.111724]  [] driver_attach+0x1e/0x20
[4.113509]  [] bus_add_driver+0x1eb/0x280
[4.115273]  [] ? 0xc03da000
[4.117032]  [] driver_register+0x60/0xe0
[4.118818]  [] acpi_bus_register_driver+0x38/0x40
[4.120619]  [] asus_laptop_init+0x2a/0x1000 [asus_laptop]
[4.122433]  [] do_one_initcall+0xab/0x1c0
[4.124276]  [] do_init_module+0x5f/0x1e5
[4.126114]  [] load_module+0x1f3f/0x2530
[4.127943]  [] ? __symbol_put+0x50/0x50
[4.129786]  [] ? copy_module_from_fd.isra.50+0xdb/0x130
[4.131653]  [] SyS_finit_module+0x9a/0xc0
[4.133521]  [] entry_SYSCALL_64_fastpath+0x12/0x6a
[4.135378] Code: c7 80 48 3d c0 e8 11 7e d7 c0 4c 89 f7 e8 66 3c e5 ff e9 
27 ff ff ff 90 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 
[4.139719] RIP  [] asus_sysfs_is_visible+0x13/0x1d0 
[asus_laptop]
[4.141788]  RSP 
[4.143809] CR2: 0e20
[4.145867] ---[ end trace 7d8d7d572a3e9126 ]---


Thanks, Heinz.