linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* unable to handle kernel NULL pointer dereference
@ 2017-11-06  9:37 Benedikt Schindler
  0 siblings, 0 replies; 2+ messages in thread
From: Benedikt Schindler @ 2017-11-06  9:37 UTC (permalink / raw)
  To: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 1966 bytes --]

Hello,

i updated our server from kernel 4.7.4 to 4.13.11 .
We have two connected btrfs devcies:
a) a connected hardware raid5 in the machine (/dev/sdb1) 
b) a IBM Storewize v3700 connected via iSCSI
(/dev/mapper/36005076300808b95c800000000000003-part1)

After restarting the server, the samba services run instable. And in dmesg
Oops messages showed up. (See attachment)
So I downgraded to 4.7.4 again, and the system is running stable again. 

If you can tell me what you need for a good bug report please tell me . I
also could give you a better / complete dmesg output. 
But I used the wrong parameters and the dmesg log was cleared. 

The server is under full use on weekdays. So i could only do tests and new
dmesg etc. on weekends.  

Please let me know if some one has a hint what could be the problem, or what
you need for a full bug report. 

Best regards 
Benedikt



Server data:

btrfs-progs v4.5.3+20160729

Label: 'Data'  uuid: 528c479a-7209-4f64-b862-482475d03a17
        Total devices 1 FS bytes used 2.07TiB
        devid    1 size 10.00TiB used 9.56TiB path /dev/sdb1

Label: 'AuwiOrdner'  uuid: 163cceda-5765-483c-9a48-c183acedac5d
        Total devices 1 FS bytes used 10.26TiB
        devid    1 size 14.00TiB used 10.37TiB path
/dev/mapper/36005076300808b95c800000000000003-part1

/dev/sdb1:
Data, single: total=9.35TiB, used=2.06TiB
System, DUP: total=8.00MiB, used=1.14MiB
System, single: total=4.00MiB, used=0.00B
Metadata, DUP: total=107.88GiB, used=7.51GiB
Metadata, single: total=8.00MiB, used=0.00B
GlobalReserve, single: total=512.00MiB, used=0.00B

/dev/mapper/36005076300808b95c800000000000003-part1:
Data, single: total=10.23TiB, used=10.22TiB
System, DUP: total=8.00MiB, used=1.11MiB
System, single: total=4.00MiB, used=0.00B
Metadata, DUP: total=75.00GiB, used=42.57GiB
Metadata, single: total=8.00MiB, used=0.00B
GlobalReserve, single: total=512.00MiB, used=0.00B






[-- Attachment #2: Kernel Oops BTRFS.txt --]
[-- Type: text/plain, Size: 6992 bytes --]

BUG: unable to handle kernel NULL pointer dereference at 0000000000000124
IP: btrfs_root_node+0x7/0x50
PGD 0
P4D 0

Oops: 0000 [#81] SMP
Modules linked in: dm_service_time iscsi_tcp libiscsi_tcp libiscsi scsi_transpor                                                                                        t_iscsi af_packet 8021q garp stp llc bonding iscsi_ibft iscsi_boot_sysfs coretem                                                                                        p crc32c_intel ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd crypt                                                                                        d iTCO_wdt iTCO_vendor_support glue_helper lpc_ich e1000e mfd_core ptp osst pps_                                                                                        core i2c_i801 ioatdma i7core_edac ipmi_si dca ipmi_devintf button acpi_cpufreq i                                                                                        pmi_msghandler serio_raw pm80xx libsas dm_multipath dm_mod dax scsi_dh_rdac scsi                                                                                        _dh_emc scsi_dh_alua autofs4
CPU: 2 PID: 24528 Comm: smbd Tainted: G      D         4.13.11-gsx #1
Hardware name: Lenovo 10461AG/Tyan Tank GT20-B7002LNV, BIOS 'V2.7  04.07.2011 '                                                                                         04/07/2011
task: ffff88062433e180 task.stack: ffffc9000a1b4000
RIP: 0010:btrfs_root_node+0x7/0x50
RSP: 0018:ffffc9000a1b7830 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff880c24d6b800 RCX: ffff8804e58f1bd0
RDX: 0000000000000100 RSI: ffff880c24d6b800 RDI: ffff880c24d6b800
RBP: ffff880c24d6b800 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff880000000000
R13: ffff880c24d6b800 R14: 6db6db6db6db6db7 R15: 0000160000000000
FS:  00007f52d6362840(0000) GS:ffff88063fc80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000124 CR3: 000000047e7d3000 CR4: 00000000000006e0
Call Trace:
 ? btrfs_read_lock_root_node+0x1f/0x40
 ? btrfs_search_slot+0x56b/0xa10
 ? submit_extent_page.isra.53+0x13f/0x210
 ? btrfs_lookup_ordered_extent+0x4d/0xb0
 ? btrfs_lookup_csum+0x3d/0x130
 ? __btrfs_lookup_bio_sums+0x2f3/0x6a0
 ? btrfs_submit_bio_hook+0xb3/0x180
 ? submit_one_bio+0x56/0x80
 ? extent_readpages+0x122/0x1c0
 ? btrfs_endio_direct_read+0xe0/0xe0
 ? inet6_csk_route_socket+0x100/0x1c0
 ? __alloc_pages_nodemask+0xd0/0x180
 ? __do_page_cache_readahead+0x169/0x220
 ? ondemand_readahead+0x165/0x290
 ? pagecache_get_page+0x21/0x220
 ? generic_file_read_iter+0x70a/0x980
 ? walk_component+0x33/0x230
 ? generic_file_splice_read+0xaa/0x120
 ? splice_direct_to_actor+0xd5/0x1d0
 ? generic_pipe_buf_nosteal+0x10/0x10
 ? do_splice_direct+0x74/0xa0
 ? do_sendfile+0x195/0x370
 ? SyS_sendfile64+0x43/0x90
 ? do_syscall_64+0x56/0x130
 ? entry_SYSCALL64_slow_path+0x25/0x25
Code: 00 00 00 00 48 85 ff 53 48 89 fb 74 15 e8 62 ff ff ff 48 89 de 48 8b 3d 58                                                                                         82 c3 00 5b e9 02 31 f2 ff 5b c3 53 48 89 fb 48 8b 13 <8b> 42 24 85 c0 74 18 8d                                                                                         48 01 48 8d 72 24 f0 0f b1 4a 24 0f 94
RIP: btrfs_root_node+0x7/0x50 RSP: ffffc9000a1b7830
CR2: 0000000000000124
---[ end trace 4ada6453733af411 ]---
BUG: unable to handle kernel NULL pointer dereference at 0000000000000124
IP: btrfs_root_node+0x7/0x50
PGD 0
P4D 0

Oops: 0000 [#82] SMP
Modules linked in: dm_service_time iscsi_tcp libiscsi_tcp libiscsi scsi_transpor                                                                                        t_iscsi af_packet 8021q garp stp llc bonding iscsi_ibft iscsi_boot_sysfs coretem                                                                                        p crc32c_intel ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd crypt                                                                                        d iTCO_wdt iTCO_vendor_support glue_helper lpc_ich e1000e mfd_core ptp osst pps_                                                                                        core i2c_i801 ioatdma i7core_edac ipmi_si dca ipmi_devintf button acpi_cpufreq i                                                                                        pmi_msghandler serio_raw pm80xx libsas dm_multipath dm_mod dax scsi_dh_rdac scsi                                                                                        _dh_emc scsi_dh_alua autofs4
CPU: 2 PID: 24533 Comm: smbd Tainted: G      D         4.13.11-gsx #1
Hardware name: Lenovo 10461AG/Tyan Tank GT20-B7002LNV, BIOS 'V2.7  04.07.2011 '                                                                                         04/07/2011
task: ffff88047a4cadc0 task.stack: ffffc9000a1dc000
RIP: 0010:btrfs_root_node+0x7/0x50
RSP: 0018:ffffc9000a1df830 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff880c24d6b800 RCX: ffff8804e58f1700
RDX: 0000000000000100 RSI: ffff880c24d6b800 RDI: ffff880c24d6b800
RBP: ffff880c24d6b800 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff880000000000
R13: ffff880c24d6b800 R14: 6db6db6db6db6db7 R15: 0000160000000000
FS:  00007f52d6362840(0000) GS:ffff88063fc80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000124 CR3: 000000047755f000 CR4: 00000000000006e0
Call Trace:
 ? btrfs_read_lock_root_node+0x1f/0x40
 ? btrfs_search_slot+0x56b/0xa10
 ? submit_extent_page.isra.53+0x13f/0x210
 ? btrfs_lookup_ordered_extent+0x4d/0xb0
 ? btrfs_lookup_csum+0x3d/0x130
 ? __btrfs_lookup_bio_sums+0x2f3/0x6a0
 ? btrfs_submit_bio_hook+0xb3/0x180
 ? submit_one_bio+0x56/0x80
 ? extent_readpages+0x122/0x1c0
 ? btrfs_endio_direct_read+0xe0/0xe0
 ? __sk_dst_check+0x30/0x80
 ? __alloc_pages_nodemask+0xd0/0x180
 ? __do_page_cache_readahead+0x169/0x220
 ? ondemand_readahead+0x165/0x290
 ? pagecache_get_page+0x21/0x220
 ? generic_file_read_iter+0x70a/0x980
 ? walk_component+0x33/0x230
 ? generic_file_splice_read+0xaa/0x120
 ? splice_direct_to_actor+0xd5/0x1d0
 ? generic_pipe_buf_nosteal+0x10/0x10
 ? do_splice_direct+0x74/0xa0
 ? do_sendfile+0x195/0x370
 ? SyS_sendfile64+0x43/0x90
 ? do_syscall_64+0x56/0x130
 ? entry_SYSCALL64_slow_path+0x25/0x25
Code: 00 00 00 00 48 85 ff 53 48 89 fb 74 15 e8 62 ff ff ff 48 89 de 48 8b 3d 58                                                                                         82 c3 00 5b e9 02 31 f2 ff 5b c3 53 48 89 fb 48 8b 13 <8b> 42 24 85 c0 74 18 8d                                                                                         48 01 48 8d 72 24 f0 0f b1 4a 24 0f 94
RIP: btrfs_root_node+0x7/0x50 RSP: ffffc9000a1df830
CR2: 0000000000000124
---[ end trace 4ada6453733af412 ]---

^ permalink raw reply	[flat|nested] 2+ messages in thread

* unable to handle kernel NULL pointer dereference
@ 2010-08-09 11:44 Smets, Jan (Jan)
  0 siblings, 0 replies; 2+ messages in thread
From: Smets, Jan (Jan) @ 2010-08-09 11:44 UTC (permalink / raw)
  To: linux-btrfs

Hi list

Today I was running bonnie++ on a network ceph volume. The storage backend used is btrfs.

You can find a full dmesg output on http://jan.sin.khk.be/dmesg

If any other action is required from my side, please let me know. I hope this report is of any use.

Thanks.
 - Jan



[ 2400.226987] Call Trace:
[ 2400.226987]  [<ffffffffa04579d4>] ? btrfs_file_aio_write+0x686/0x7da [btrfs]
[ 2400.226987]  [<ffffffff810f926b>] ? __d_lookup+0xc1/0x107
[ 2400.226987]  [<ffffffffa045734e>] ? btrfs_file_aio_write+0x0/0x7da [btrfs]
[ 2400.226987]  [<ffffffff810e8ce0>] ? do_sync_readv_writev+0x9a/0xd5
[ 2400.226987]  [<ffffffff810f4163>] ? do_filp_open+0x510/0x58e
[ 2400.226987]  [<ffffffff810e8a91>] ? copy_from_user+0x18/0x30
[ 2400.226987]  [<ffffffff810e97ff>] ? rw_copy_check_uvector+0x6a/0xe1
[ 2400.226987]  [<ffffffff810e991a>] ? do_readv_writev+0xa4/0x118
[ 2400.226987]  [<ffffffff8103d696>] ? finish_task_switch+0x34/0xb4
[ 2400.226987]  [<ffffffff812ffd81>] ? mutex_lock+0xd/0x33
[ 2400.226987]  [<ffffffff810e9ab3>] ? sys_writev+0x45/0x90
[ 2400.226987]  [<ffffffff810089c2>] ? system_call_fastpath+0x16/0x1b


[ 2400.966380] Call Trace:
[ 2400.966380]  [<ffffffffa04576b8>] ? btrfs_file_aio_write+0x36a/0x7da [btrfs]
[ 2400.966380]  [<ffffffffa04576b8>] ? btrfs_file_aio_write+0x36a/0x7da [btrfs]
[ 2400.966380]  [<ffffffffa04638ab>] ? set_extent_buffer_dirty+0x4d/0x5e [btrfs]
[ 2401.148493]  [<ffffffffa044ccd4>] ? btrfs_run_delayed_iputs+0x35/0x104 [btrfs]
[ 2401.148493]  [<ffffffffa044bb6c>] ? __btrfs_end_transaction+0x19a/0x1a8 [btrfs]
[ 2401.148493]  [<ffffffff810f926b>] ? __d_lookup+0xc1/0x107
[ 2401.148493]  [<ffffffffa045734e>] ? btrfs_file_aio_write+0x0/0x7da [btrfs]
[ 2401.148493]  [<ffffffff810e8ce0>] ? do_sync_readv_writev+0x9a/0xd5
[ 2401.148493]  [<ffffffff810f4163>] ? do_filp_open+0x510/0x58e
[ 2401.148493]  [<ffffffff810e8a91>] ? copy_from_user+0x18/0x30
[ 2401.148493]  [<ffffffff810e97ff>] ? rw_copy_check_uvector+0x6a/0xe1
[ 2401.148493]  [<ffffffff810e991a>] ? do_readv_writev+0xa4/0x118
[ 2401.148493]  [<ffffffff812ffd81>] ? mutex_lock+0xd/0x33
[ 2401.148493]  [<ffffffff810e9ab3>] ? sys_writev+0x45/0x90
[ 2401.148493]  [<ffffffff810089c2>] ? system_call_fastpath+0x16/0x1b

 2404.104503] Call Trace:
[ 2404.104503]  [<ffffffff810bf71c>] ? kstrdup+0x2a/0x40
[ 2404.104503]  [<ffffffff810f19c4>] ? vfs_rename+0xa9/0x3e4
[ 2404.104503]  [<ffffffff810f0d29>] ? __lookup_hash+0xc2/0xe9
[ 2404.104503]  [<ffffffff810f3348>] ? sys_renameat+0x1aa/0x22b
[ 2404.104503]  [<ffffffff8108ef4f>] ? rcu_start_gp+0x1f7/0x218
[ 2404.104503]  [<ffffffff810ea13a>] ? fput+0x18f/0x1c4
[ 2404.104503]  [<ffffffff810fd9ea>] ? mntput_no_expire+0x23/0xde
[ 2404.104503]  [<ffffffff810e7829>] ? filp_close+0x5f/0x6a
[ 2404.104503]  [<ffffffff810089c2>] ? system_call_fastpath+0x16/0x1b
[ 2404.104503] Code: 44 00 00 48 89 44 24 08 fa 66 0f 1f 44 00 00 65 4c 8b 04 25 80 ea 00 00 48 8b 45 00 49 01 c0 49 8b 18 48 85 db 74 0d 48 63 45 18 <48> 8b 04 03 49 89 00 eb 14 4c 89 f9 83 ca ff 44 89 f6 48 89 ef 
[ 2404.104503] RIP  [<ffffffff810e2fef>] __kmalloc_track_caller+0xc7/0x12d


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-06  9:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-06  9:37 unable to handle kernel NULL pointer dereference Benedikt Schindler
  -- strict thread matches above, loose matches on Subject: below --
2010-08-09 11:44 Smets, Jan (Jan)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).