Re: Linus GIT - 3.17.0-rc6+ - BUG: unable to handle kernel NULL pointer dereference - IP: [] thermal_get_trip_type+0x17/0x84 [thermal]

2014-09-27 Thread Zhang Rui
On Sun, 2014-09-28 at 01:24 -0400, Miles Lane wrote:
> This occurs during the boot process.  It is not triggered by userspace
> as far as I can tell.  There are other OOPS messages.  I can send the
> full list if it will help.
> 
yes, please do.

is this 100% reproducible for every boot?
what is the latest kernel version you've tried that does not have this
problem?
does the problem still exist if you blacklist the acpi thermal driver,
aka, thermal.ko?
what do you get in dmesg if you blacklist the thermal driver and
modprobe it manually AFTER boot?

thanks,
rui
> 
> [2.364611] BUG: unable to handle kernel NULL pointer dereference
> at 0039
> [2.364615] IP: []
> thermal_get_trip_type+0x17/0x84 [thermal]
> [2.364616] PGD 374d6067 PUD 374d7067 PMD 0
> [2.364618] Oops:  [#1] PREEMPT SMP
> [2.364621] Modules linked in: thermal(+) mmc_core
> [2.364623] CPU: 0 PID: 971 Comm: systemd-udevd Not tainted 3.17.0-rc6+ #6
> [2.364624] Hardware name: Dell Inc. Inspiron 5437/0DM6M9, BIOS A07
> 11/14/2013
> [2.364625] task: 8802155f8cf0 ti: 8800374f4000 task.ti:
> 8800374f4000
> [2.364628] RIP: 0010:[]  []
> thermal_get_trip_type+0x17/0x84 [thermal]
> [2.364629] RSP: 0018:8800374f7b50  EFLAGS: 00010202
> [2.364629] RAX: 0001 RBX: 0001 RCX: 
> 
> [2.364630] RDX: 8800374f7b7c RSI:  RDI: 
> 880216a67800
> [2.364631] RBP: 8800374f7b50 R08:  R09: 
> 0700
> [2.364631] R10: 8802156c7300 R11: 0001 R12: 
> 
> [2.364632] R13:  R14:  R15: 
> 880216a67800
> [2.364633] FS:  7f85e4b55880() GS:88021fa0()
> knlGS:
> [2.364634] CS:  0010 DS:  ES:  CR0: 80050033
> [2.364635] CR2: 0039 CR3: 374d5000 CR4: 
> 001407f0
> [2.364635] Stack:
> [2.364637]  8800374f7ba8 813cd140 
> 880216a67804
> [2.364638]  880216a67818 8800374f7bb8 880216a67000
> 8802168721e0
> [2.364639]  88021630e860 88021630e890 88021630e830
> 8800374f7c10
> [2.364640] Call Trace:
> [2.364645]  [] thermal_zone_device_register+0x479/0x75a
> [2.364649]  [] acpi_thermal_add+0x24d/0x427 [thermal]
> [2.364653]  [] acpi_device_probe+0x4a/0xf0
> [2.364655]  [] driver_probe_device+0xb2/0x1e8
> [2.364657]  [] __driver_attach+0x58/0x7a
> [2.364659]  [] ? __device_attach+0x38/0x38
> [2.364662]  [] bus_for_each_dev+0x68/0x80
> [2.364663]  [] driver_attach+0x19/0x1b
> [2.364664]  [] bus_add_driver+0x103/0x1c2
> [2.364666]  [] driver_register+0x89/0xc5
> [2.364669]  [] acpi_bus_register_driver+0x38/0x3a
> [2.364671]  [] acpi_thermal_init+0x67/0x81 [thermal]
> [2.364673]  [] ? 0xc0159000
> [2.364675]  [] do_one_initcall+0x183/0x198
> [2.364678]  [] ? __vunmap+0xa4/0xac
> [2.364681]  [] load_module+0x16d3/0x1c4e
> [2.364683]  [] SyS_finit_module+0x59/0x66
> [2.364685]  [] ? SyS_finit_module+0x59/0x66
> [2.364688]  [] tracesys+0xdd/0xe2
> [2.364705] Code: 74 10 31 c0 83 ba 48 05 00 00 00 0f 95 c0 89 06
> 31 c0 5d c3 89 f1 55 48 8b 87 e8 02 00 00 c1 e9 1f 48 89 e5 75 6b 48
> 85 c0 74 66  40 38 01 74 0e 85 f6 75 08 c7 02 03 00 00 00 eb 50 ff
> ce f6
> [2.364708] RIP  []
> thermal_get_trip_type+0x17/0x84 [thermal]
> [2.364708]  RSP 
> [2.364709] CR2: 0039
> 
> [2.393720] BUG: unable to handle kernel NULL pointer dereference
> at 0030
> [2.394613] IP: [] add_disk+0x88/0x3ff
> [2.395490] PGD 375b1067 PUD 375b2067 PMD 0
> [2.396371] Oops:  [#2] PREEMPT SMP
> [2.397150] Modules linked in: sr_mod(+) atkbd cdrom mii thermal(+) 
> mmc_core
> [2.397935] CPU: 0 PID: 974 Comm: systemd-udevd Tainted: G  D
>  3.17.0-rc6+ #6
> [2.398738] Hardware name: Dell Inc. Inspiron 5437/0DM6M9, BIOS A07
> 11/14/2013
> [2.399547] task: 8802155fcda0 ti: 88003749 task.ti:
> 88003749
> [2.400336] RIP: 0010:[]  []
> add_disk+0x88/0x3ff
> [2.401142] RSP: 0018:880037493b60  EFLAGS: 00010202
> [2.401987] RAX:  RBX: 8800376ee800 RCX: 
> 0009
> [2.402793] RDX: 000b RSI: 880037493b64 RDI: 
> 8800376ee848
> [2.403591] RBP: 880037493ba8 R08:  R09: 
> 
> [2.40] R10: 880037493b78 R11: 81672240 R12: 
> 8800376ee800
> [2.405248] R13: 8800376ee80c R14:  R15: 
> 88021629237c
> [2.406049] FS:  7f85e4b55880() GS:88021fa0()
> knlGS:
> [2.406909] CS:  0010 DS:  ES:  CR0: 80050033
> [2.407726] CR2: 0030 CR3: 375b CR4: 
> 001407f0
> [2.408558] Stack:
> [2.409458]  

Linus GIT - 3.17.0-rc6+ - BUG: unable to handle kernel NULL pointer dereference - IP: [] thermal_get_trip_type+0x17/0x84 [thermal]

2014-09-27 Thread Miles Lane
This occurs during the boot process.  It is not triggered by userspace
as far as I can tell.  There are other OOPS messages.  I can send the
full list if it will help.


[2.364611] BUG: unable to handle kernel NULL pointer dereference
at 0039
[2.364615] IP: []
thermal_get_trip_type+0x17/0x84 [thermal]
[2.364616] PGD 374d6067 PUD 374d7067 PMD 0
[2.364618] Oops:  [#1] PREEMPT SMP
[2.364621] Modules linked in: thermal(+) mmc_core
[2.364623] CPU: 0 PID: 971 Comm: systemd-udevd Not tainted 3.17.0-rc6+ #6
[2.364624] Hardware name: Dell Inc. Inspiron 5437/0DM6M9, BIOS A07
11/14/2013
[2.364625] task: 8802155f8cf0 ti: 8800374f4000 task.ti:
8800374f4000
[2.364628] RIP: 0010:[]  []
thermal_get_trip_type+0x17/0x84 [thermal]
[2.364629] RSP: 0018:8800374f7b50  EFLAGS: 00010202
[2.364629] RAX: 0001 RBX: 0001 RCX: 
[2.364630] RDX: 8800374f7b7c RSI:  RDI: 880216a67800
[2.364631] RBP: 8800374f7b50 R08:  R09: 0700
[2.364631] R10: 8802156c7300 R11: 0001 R12: 
[2.364632] R13:  R14:  R15: 880216a67800
[2.364633] FS:  7f85e4b55880() GS:88021fa0()
knlGS:
[2.364634] CS:  0010 DS:  ES:  CR0: 80050033
[2.364635] CR2: 0039 CR3: 374d5000 CR4: 001407f0
[2.364635] Stack:
[2.364637]  8800374f7ba8 813cd140 
880216a67804
[2.364638]  880216a67818 8800374f7bb8 880216a67000
8802168721e0
[2.364639]  88021630e860 88021630e890 88021630e830
8800374f7c10
[2.364640] Call Trace:
[2.364645]  [] thermal_zone_device_register+0x479/0x75a
[2.364649]  [] acpi_thermal_add+0x24d/0x427 [thermal]
[2.364653]  [] acpi_device_probe+0x4a/0xf0
[2.364655]  [] driver_probe_device+0xb2/0x1e8
[2.364657]  [] __driver_attach+0x58/0x7a
[2.364659]  [] ? __device_attach+0x38/0x38
[2.364662]  [] bus_for_each_dev+0x68/0x80
[2.364663]  [] driver_attach+0x19/0x1b
[2.364664]  [] bus_add_driver+0x103/0x1c2
[2.364666]  [] driver_register+0x89/0xc5
[2.364669]  [] acpi_bus_register_driver+0x38/0x3a
[2.364671]  [] acpi_thermal_init+0x67/0x81 [thermal]
[2.364673]  [] ? 0xc0159000
[2.364675]  [] do_one_initcall+0x183/0x198
[2.364678]  [] ? __vunmap+0xa4/0xac
[2.364681]  [] load_module+0x16d3/0x1c4e
[2.364683]  [] SyS_finit_module+0x59/0x66
[2.364685]  [] ? SyS_finit_module+0x59/0x66
[2.364688]  [] tracesys+0xdd/0xe2
[2.364705] Code: 74 10 31 c0 83 ba 48 05 00 00 00 0f 95 c0 89 06
31 c0 5d c3 89 f1 55 48 8b 87 e8 02 00 00 c1 e9 1f 48 89 e5 75 6b 48
85 c0 74 66  40 38 01 74 0e 85 f6 75 08 c7 02 03 00 00 00 eb 50 ff
ce f6
[2.364708] RIP  []
thermal_get_trip_type+0x17/0x84 [thermal]
[2.364708]  RSP 
[2.364709] CR2: 0039

[2.393720] BUG: unable to handle kernel NULL pointer dereference
at 0030
[2.394613] IP: [] add_disk+0x88/0x3ff
[2.395490] PGD 375b1067 PUD 375b2067 PMD 0
[2.396371] Oops:  [#2] PREEMPT SMP
[2.397150] Modules linked in: sr_mod(+) atkbd cdrom mii thermal(+) mmc_core
[2.397935] CPU: 0 PID: 974 Comm: systemd-udevd Tainted: G  D
 3.17.0-rc6+ #6
[2.398738] Hardware name: Dell Inc. Inspiron 5437/0DM6M9, BIOS A07
11/14/2013
[2.399547] task: 8802155fcda0 ti: 88003749 task.ti:
88003749
[2.400336] RIP: 0010:[]  []
add_disk+0x88/0x3ff
[2.401142] RSP: 0018:880037493b60  EFLAGS: 00010202
[2.401987] RAX:  RBX: 8800376ee800 RCX: 0009
[2.402793] RDX: 000b RSI: 880037493b64 RDI: 8800376ee848
[2.403591] RBP: 880037493ba8 R08:  R09: 
[2.40] R10: 880037493b78 R11: 81672240 R12: 8800376ee800
[2.405248] R13: 8800376ee80c R14:  R15: 88021629237c
[2.406049] FS:  7f85e4b55880() GS:88021fa0()
knlGS:
[2.406909] CS:  0010 DS:  ES:  CR0: 80050033
[2.407726] CR2: 0030 CR3: 375b CR4: 001407f0
[2.408558] Stack:
[2.409458]  00b0814e22e5 880037493b90 81352deb
88021552
[2.410372]  880216292300 8800376ee800 880216b00968

[2.411297]  88021629237c 880037493c30 c01a1d40
8808200e
[2.412205] Call Trace:
[2.413057]  [] ? __pm_runtime_use_autosuspend+0x5e/0x65
[2.413935]  [] sr_probe+0x480/0x4d2 [sr_mod]
[2.414853]  [] driver_probe_device+0xb2/0x1e8
[2.415732]  [] __driver_attach+0x58/0x7a
[2.416657]  [] ? __device_attach+0x38/0x38
[2.417539]  [] bus_for_each_dev+0x68/0x80
[2.418421]  [] driver_attach+0x19/0x1b
[2.419341]  []