Re: [lkp] [fs] 2e9d30b4bd: BUG: unable to handle kernel NULL pointer dereference at 0000000000000018

2015-12-14 Thread Paul Gortmaker
[[lkp] [fs] 2e9d30b4bd: BUG: unable to handle kernel NULL pointer dereference 
at 0018] On 14/12/2015 (Mon 13:56) kernel test robot wrote:

> FYI, we noticed the below changes on
> 
> git://internal_merge_and_test_tree 
> revert-8ecb4258a962d2c917ed21e677a7032711c925bb-2e9d30b4bd5f390796313567371b70fbf1966e73
> commit 2e9d30b4bd5f390796313567371b70fbf1966e73 ("fs: make hugetlbfs/inode.c 
> explicitly non-modular")

Thanks for the report; I was able to reproduce it and fix it.  Will send
the fixed version shortly.

BTW, what is this "internal_merge_and_test_tree" based on?  Does it
collect stuff from lkml directly?  As far as I could tell this series
was not merged to any git.kernel.org branch; not even one of my own.

Paul.
--

> 
> 
> ++++
> || cb5bdfcd1a | 2e9d30b4bd |
> ++++
> | boot_successes | 2  | 0  |
> | boot_failures  | 10 | 10 |
> | IP-Config:Auto-configuration_of_network_failed | 10 | 2  |
> | BUG:unable_to_handle_kernel| 0  | 8  |
> | Oops   | 0  | 8  |
> | RIP:__lock_acquire | 0  | 8  |
> | Kernel_panic-not_syncing:Fatal_exception   | 0  | 8  |
> | backtrace:do_mount | 0  | 8  |
> | backtrace:SyS_mount| 0  | 8  |
> ++++
> 
> 
> 
> [9.212200] systemd-sysv-generator[126]: Ignoring K02urandom symlink in 
> rc6.d, not generating urandom.service.
> [9.212226] systemd-sysv-generator[126]: Ignoring K07hwclock.sh symlink in 
> rc6.d, not generating hwclock.service.
> [9.212258] systemd-sysv-generator[126]: Ignoring K01watchdog symlink in 
> rc6.d, not generating watchdog.service.
> [9.597704] BUG: unable to handle kernel NULL pointer dereference at 
> 0018
> [9.599081] IP: [] __lock_acquire+0x160/0x1a3f
> [9.600030] PGD 1b6a7067 PUD 1b711067 PMD 0 
> [9.600942] Oops:  [#1] PREEMPT DEBUG_PAGEALLOC 
> [9.601890] Modules linked in:
> [9.602481] CPU: 0 PID: 139 Comm: mount Not tainted 
> 4.4.0-rc4-9-g2e9d30b #1
> [9.603625] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
> Debian-1.8.2-1 04/01/2014
> [9.604965] task: 88001bcc ti: 88001b72 task.ti: 
> 88001b72
> [9.615944] RIP: 0010:[]  [] 
> __lock_acquire+0x160/0x1a3f
> [9.617290] RSP: 0018:88001b723890  EFLAGS: 00010002
> [9.618092] RAX: 0046 RBX:  RCX: 
> 
> [9.619104] RDX:  RSI:  RDI: 
> 0018
> [9.620116] RBP: 88001b723960 R08: 0001 R09: 
> 0001
> [9.621157] R10: 88001b723980 R11: 1e27 R12: 
> 
> [9.622170] R13: 88001bcc R14: 0018 R15: 
> 0001
> [9.623175] FS:  7f77a46bb840() GS:9322() 
> knlGS:
> [9.624416] CS:  0010 DS:  ES:  CR0: 80050033
> [9.625264] CR2: 0018 CR3: 1b703000 CR4: 
> 06f0
> [9.626268] Stack:
> [9.626673]  0400 0002 88001bcc 
> 0002
> [9.628089]  9297f5b7 0001 8800 
> 
> [9.629496]  88001bcc 8800 928ae160 
> 88001bcc
> [9.630941] Call Trace:
> [9.631404]  [] ? deactivate_slab+0x41c/0x919
> [9.632286]  [] ? mark_held_locks+0x5e/0x74
> [9.633136]  [] ? get_page_from_freelist+0x819/0xd4f
> [9.634082]  [] lock_acquire+0x121/0x1c2
> [9.634904]  [] ? lock_acquire+0x121/0x1c2
> [9.635739]  [] ? deactivate_slab+0x41c/0x919
> [9.636622]  [] _raw_spin_lock+0x32/0x41
> [9.637453]  [] ? deactivate_slab+0x41c/0x919
> [9.638316]  [] deactivate_slab+0x41c/0x919
> [9.639162]  [] ? print_context_stack+0x6a/0xb6
> [9.640040]  [] ? preempt_count_sub+0x34/0x3f
> [9.640945]  [] ? dump_trace+0x28a/0x2a2
> [9.641761]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
> [9.642667]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
> [9.643571]  [] ? save_stack_trace+0x2a/0x45
> [9.61]  [] ? set_track+0x63/0xd9
> [9.645247]  [] ___slab_alloc+0x60b/0x658
> [9.6462

Re: [lkp] [fs] 2e9d30b4bd: BUG: unable to handle kernel NULL pointer dereference at 0000000000000018

2015-12-14 Thread Paul Gortmaker
[[lkp] [fs] 2e9d30b4bd: BUG: unable to handle kernel NULL pointer dereference 
at 0018] On 14/12/2015 (Mon 13:56) kernel test robot wrote:

> FYI, we noticed the below changes on
> 
> git://internal_merge_and_test_tree 
> revert-8ecb4258a962d2c917ed21e677a7032711c925bb-2e9d30b4bd5f390796313567371b70fbf1966e73
> commit 2e9d30b4bd5f390796313567371b70fbf1966e73 ("fs: make hugetlbfs/inode.c 
> explicitly non-modular")

Thanks for the report; I was able to reproduce it and fix it.  Will send
the fixed version shortly.

BTW, what is this "internal_merge_and_test_tree" based on?  Does it
collect stuff from lkml directly?  As far as I could tell this series
was not merged to any git.kernel.org branch; not even one of my own.

Paul.
--

> 
> 
> ++++
> || cb5bdfcd1a | 2e9d30b4bd |
> ++++
> | boot_successes | 2  | 0  |
> | boot_failures  | 10 | 10 |
> | IP-Config:Auto-configuration_of_network_failed | 10 | 2  |
> | BUG:unable_to_handle_kernel| 0  | 8  |
> | Oops   | 0  | 8  |
> | RIP:__lock_acquire | 0  | 8  |
> | Kernel_panic-not_syncing:Fatal_exception   | 0  | 8  |
> | backtrace:do_mount | 0  | 8  |
> | backtrace:SyS_mount| 0  | 8  |
> ++++
> 
> 
> 
> [9.212200] systemd-sysv-generator[126]: Ignoring K02urandom symlink in 
> rc6.d, not generating urandom.service.
> [9.212226] systemd-sysv-generator[126]: Ignoring K07hwclock.sh symlink in 
> rc6.d, not generating hwclock.service.
> [9.212258] systemd-sysv-generator[126]: Ignoring K01watchdog symlink in 
> rc6.d, not generating watchdog.service.
> [9.597704] BUG: unable to handle kernel NULL pointer dereference at 
> 0018
> [9.599081] IP: [] __lock_acquire+0x160/0x1a3f
> [9.600030] PGD 1b6a7067 PUD 1b711067 PMD 0 
> [9.600942] Oops:  [#1] PREEMPT DEBUG_PAGEALLOC 
> [9.601890] Modules linked in:
> [9.602481] CPU: 0 PID: 139 Comm: mount Not tainted 
> 4.4.0-rc4-9-g2e9d30b #1
> [9.603625] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
> Debian-1.8.2-1 04/01/2014
> [9.604965] task: 88001bcc ti: 88001b72 task.ti: 
> 88001b72
> [9.615944] RIP: 0010:[]  [] 
> __lock_acquire+0x160/0x1a3f
> [9.617290] RSP: 0018:88001b723890  EFLAGS: 00010002
> [9.618092] RAX: 0046 RBX:  RCX: 
> 
> [9.619104] RDX:  RSI:  RDI: 
> 0018
> [9.620116] RBP: 88001b723960 R08: 0001 R09: 
> 0001
> [9.621157] R10: 88001b723980 R11: 1e27 R12: 
> 
> [9.622170] R13: 88001bcc R14: 0018 R15: 
> 0001
> [9.623175] FS:  7f77a46bb840() GS:9322() 
> knlGS:
> [9.624416] CS:  0010 DS:  ES:  CR0: 80050033
> [9.625264] CR2: 0018 CR3: 1b703000 CR4: 
> 06f0
> [9.626268] Stack:
> [9.626673]  0400 0002 88001bcc 
> 0002
> [9.628089]  9297f5b7 0001 8800 
> 
> [9.629496]  88001bcc 8800 928ae160 
> 88001bcc
> [9.630941] Call Trace:
> [9.631404]  [] ? deactivate_slab+0x41c/0x919
> [9.632286]  [] ? mark_held_locks+0x5e/0x74
> [9.633136]  [] ? get_page_from_freelist+0x819/0xd4f
> [9.634082]  [] lock_acquire+0x121/0x1c2
> [9.634904]  [] ? lock_acquire+0x121/0x1c2
> [9.635739]  [] ? deactivate_slab+0x41c/0x919
> [9.636622]  [] _raw_spin_lock+0x32/0x41
> [9.637453]  [] ? deactivate_slab+0x41c/0x919
> [9.638316]  [] deactivate_slab+0x41c/0x919
> [9.639162]  [] ? print_context_stack+0x6a/0xb6
> [9.640040]  [] ? preempt_count_sub+0x34/0x3f
> [9.640945]  [] ? dump_trace+0x28a/0x2a2
> [9.641761]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
> [9.642667]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
> [9.643571]  [] ? save_stack_trace+0x2a/0x45
> [9.61]  [] ? set_track+0x63/0xd9
> [9.645247]  [] ___slab_alloc+0x60b/0x658
> [9.6462

[lkp] [fs] 2e9d30b4bd: BUG: unable to handle kernel NULL pointer dereference at 0000000000000018

2015-12-13 Thread kernel test robot
FYI, we noticed the below changes on

git://internal_merge_and_test_tree 
revert-8ecb4258a962d2c917ed21e677a7032711c925bb-2e9d30b4bd5f390796313567371b70fbf1966e73
commit 2e9d30b4bd5f390796313567371b70fbf1966e73 ("fs: make hugetlbfs/inode.c 
explicitly non-modular")


++++
|| cb5bdfcd1a | 2e9d30b4bd |
++++
| boot_successes | 2  | 0  |
| boot_failures  | 10 | 10 |
| IP-Config:Auto-configuration_of_network_failed | 10 | 2  |
| BUG:unable_to_handle_kernel| 0  | 8  |
| Oops   | 0  | 8  |
| RIP:__lock_acquire | 0  | 8  |
| Kernel_panic-not_syncing:Fatal_exception   | 0  | 8  |
| backtrace:do_mount | 0  | 8  |
| backtrace:SyS_mount| 0  | 8  |
++++



[9.212200] systemd-sysv-generator[126]: Ignoring K02urandom symlink in 
rc6.d, not generating urandom.service.
[9.212226] systemd-sysv-generator[126]: Ignoring K07hwclock.sh symlink in 
rc6.d, not generating hwclock.service.
[9.212258] systemd-sysv-generator[126]: Ignoring K01watchdog symlink in 
rc6.d, not generating watchdog.service.
[9.597704] BUG: unable to handle kernel NULL pointer dereference at 
0018
[9.599081] IP: [] __lock_acquire+0x160/0x1a3f
[9.600030] PGD 1b6a7067 PUD 1b711067 PMD 0 
[9.600942] Oops:  [#1] PREEMPT DEBUG_PAGEALLOC 
[9.601890] Modules linked in:
[9.602481] CPU: 0 PID: 139 Comm: mount Not tainted 4.4.0-rc4-9-g2e9d30b 
#1
[9.603625] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Debian-1.8.2-1 04/01/2014
[9.604965] task: 88001bcc ti: 88001b72 task.ti: 
88001b72
[9.615944] RIP: 0010:[]  [] 
__lock_acquire+0x160/0x1a3f
[9.617290] RSP: 0018:88001b723890  EFLAGS: 00010002
[9.618092] RAX: 0046 RBX:  RCX: 
[9.619104] RDX:  RSI:  RDI: 0018
[9.620116] RBP: 88001b723960 R08: 0001 R09: 0001
[9.621157] R10: 88001b723980 R11: 1e27 R12: 
[9.622170] R13: 88001bcc R14: 0018 R15: 0001
[9.623175] FS:  7f77a46bb840() GS:9322() 
knlGS:
[9.624416] CS:  0010 DS:  ES:  CR0: 80050033
[9.625264] CR2: 0018 CR3: 1b703000 CR4: 06f0
[9.626268] Stack:
[9.626673]  0400 0002 88001bcc 
0002
[9.628089]  9297f5b7 0001 8800 

[9.629496]  88001bcc 8800 928ae160 
88001bcc
[9.630941] Call Trace:
[9.631404]  [] ? deactivate_slab+0x41c/0x919
[9.632286]  [] ? mark_held_locks+0x5e/0x74
[9.633136]  [] ? get_page_from_freelist+0x819/0xd4f
[9.634082]  [] lock_acquire+0x121/0x1c2
[9.634904]  [] ? lock_acquire+0x121/0x1c2
[9.635739]  [] ? deactivate_slab+0x41c/0x919
[9.636622]  [] _raw_spin_lock+0x32/0x41
[9.637453]  [] ? deactivate_slab+0x41c/0x919
[9.638316]  [] deactivate_slab+0x41c/0x919
[9.639162]  [] ? print_context_stack+0x6a/0xb6
[9.640040]  [] ? preempt_count_sub+0x34/0x3f
[9.640945]  [] ? dump_trace+0x28a/0x2a2
[9.641761]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
[9.642667]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
[9.643571]  [] ? save_stack_trace+0x2a/0x45
[9.61]  [] ? set_track+0x63/0xd9
[9.645247]  [] ___slab_alloc+0x60b/0x658
[9.646226]  [] ? deactivate_slab+0x5/0x919
[9.647112]  [] ? ___slab_alloc+0x60b/0x658
[9.648123]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
[9.649058]  [] ? __lock_is_held+0x3b/0x56
[9.649917]  [] __slab_alloc+0x44/0x78
[9.650955]  [] ? ___slab_alloc+0x5/0x658
[9.651942]  [] ? __slab_alloc+0x44/0x78
[9.653128]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
[9.654030]  [] kmem_cache_alloc+0xb0/0x2e5
[9.654864]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
[9.655749]  [] ? hugetlbfs_parse_options+0x2ae/0x2ae
[9.656911]  [] hugetlbfs_alloc_inode+0x99/0xcc
[9.657785]  [] ? hugetlbfs_parse_options+0x2ae/0x2ae
[9.658963]  [] alloc_inode+0x1d/0x94
[9.659745]  [] new_inode_pseudo+0x11/0x58
[9.660580]  [] new_inode+0x16/0x2d
[9.661396]  [] hugetlbfs_fill_super+0x168/0x237
[9.662310]  [] mount_nodev+0x64/0xa1
[9.663106]  [] hugetlbfs_mount+0x18/0x1a
[9.663943]  [] 

[lkp] [fs] 2e9d30b4bd: BUG: unable to handle kernel NULL pointer dereference at 0000000000000018

2015-12-13 Thread kernel test robot
FYI, we noticed the below changes on

git://internal_merge_and_test_tree 
revert-8ecb4258a962d2c917ed21e677a7032711c925bb-2e9d30b4bd5f390796313567371b70fbf1966e73
commit 2e9d30b4bd5f390796313567371b70fbf1966e73 ("fs: make hugetlbfs/inode.c 
explicitly non-modular")


++++
|| cb5bdfcd1a | 2e9d30b4bd |
++++
| boot_successes | 2  | 0  |
| boot_failures  | 10 | 10 |
| IP-Config:Auto-configuration_of_network_failed | 10 | 2  |
| BUG:unable_to_handle_kernel| 0  | 8  |
| Oops   | 0  | 8  |
| RIP:__lock_acquire | 0  | 8  |
| Kernel_panic-not_syncing:Fatal_exception   | 0  | 8  |
| backtrace:do_mount | 0  | 8  |
| backtrace:SyS_mount| 0  | 8  |
++++



[9.212200] systemd-sysv-generator[126]: Ignoring K02urandom symlink in 
rc6.d, not generating urandom.service.
[9.212226] systemd-sysv-generator[126]: Ignoring K07hwclock.sh symlink in 
rc6.d, not generating hwclock.service.
[9.212258] systemd-sysv-generator[126]: Ignoring K01watchdog symlink in 
rc6.d, not generating watchdog.service.
[9.597704] BUG: unable to handle kernel NULL pointer dereference at 
0018
[9.599081] IP: [] __lock_acquire+0x160/0x1a3f
[9.600030] PGD 1b6a7067 PUD 1b711067 PMD 0 
[9.600942] Oops:  [#1] PREEMPT DEBUG_PAGEALLOC 
[9.601890] Modules linked in:
[9.602481] CPU: 0 PID: 139 Comm: mount Not tainted 4.4.0-rc4-9-g2e9d30b 
#1
[9.603625] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
Debian-1.8.2-1 04/01/2014
[9.604965] task: 88001bcc ti: 88001b72 task.ti: 
88001b72
[9.615944] RIP: 0010:[]  [] 
__lock_acquire+0x160/0x1a3f
[9.617290] RSP: 0018:88001b723890  EFLAGS: 00010002
[9.618092] RAX: 0046 RBX:  RCX: 
[9.619104] RDX:  RSI:  RDI: 0018
[9.620116] RBP: 88001b723960 R08: 0001 R09: 0001
[9.621157] R10: 88001b723980 R11: 1e27 R12: 
[9.622170] R13: 88001bcc R14: 0018 R15: 0001
[9.623175] FS:  7f77a46bb840() GS:9322() 
knlGS:
[9.624416] CS:  0010 DS:  ES:  CR0: 80050033
[9.625264] CR2: 0018 CR3: 1b703000 CR4: 06f0
[9.626268] Stack:
[9.626673]  0400 0002 88001bcc 
0002
[9.628089]  9297f5b7 0001 8800 

[9.629496]  88001bcc 8800 928ae160 
88001bcc
[9.630941] Call Trace:
[9.631404]  [] ? deactivate_slab+0x41c/0x919
[9.632286]  [] ? mark_held_locks+0x5e/0x74
[9.633136]  [] ? get_page_from_freelist+0x819/0xd4f
[9.634082]  [] lock_acquire+0x121/0x1c2
[9.634904]  [] ? lock_acquire+0x121/0x1c2
[9.635739]  [] ? deactivate_slab+0x41c/0x919
[9.636622]  [] _raw_spin_lock+0x32/0x41
[9.637453]  [] ? deactivate_slab+0x41c/0x919
[9.638316]  [] deactivate_slab+0x41c/0x919
[9.639162]  [] ? print_context_stack+0x6a/0xb6
[9.640040]  [] ? preempt_count_sub+0x34/0x3f
[9.640945]  [] ? dump_trace+0x28a/0x2a2
[9.641761]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
[9.642667]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
[9.643571]  [] ? save_stack_trace+0x2a/0x45
[9.61]  [] ? set_track+0x63/0xd9
[9.645247]  [] ___slab_alloc+0x60b/0x658
[9.646226]  [] ? deactivate_slab+0x5/0x919
[9.647112]  [] ? ___slab_alloc+0x60b/0x658
[9.648123]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
[9.649058]  [] ? __lock_is_held+0x3b/0x56
[9.649917]  [] __slab_alloc+0x44/0x78
[9.650955]  [] ? ___slab_alloc+0x5/0x658
[9.651942]  [] ? __slab_alloc+0x44/0x78
[9.653128]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
[9.654030]  [] kmem_cache_alloc+0xb0/0x2e5
[9.654864]  [] ? hugetlbfs_alloc_inode+0x99/0xcc
[9.655749]  [] ? hugetlbfs_parse_options+0x2ae/0x2ae
[9.656911]  [] hugetlbfs_alloc_inode+0x99/0xcc
[9.657785]  [] ? hugetlbfs_parse_options+0x2ae/0x2ae
[9.658963]  [] alloc_inode+0x1d/0x94
[9.659745]  [] new_inode_pseudo+0x11/0x58
[9.660580]  [] new_inode+0x16/0x2d
[9.661396]  [] hugetlbfs_fill_super+0x168/0x237
[9.662310]  [] mount_nodev+0x64/0xa1
[9.663106]  [] hugetlbfs_mount+0x18/0x1a
[9.663943]  []