Skip to content

Instantly share code, notes, and snippets.

@tracernz
Created March 8, 2019 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tracernz/93ea5d5f17c4d8d58174933855f393d6 to your computer and use it in GitHub Desktop.
Save tracernz/93ea5d5f17c4d8d58174933855f393d6 to your computer and use it in GitHub Desktop.
kernel crash (5.0.0-arch1) while doing `pvcreate /dev/sdd2`
[31511.907428] ------------[ cut here ]------------
[31511.907429] no blkg associated for bio on block-device: sdg
[31511.907439] WARNING: CPU: 3 PID: 1916 at include/linux/blk-cgroup.h:785 generic_make_request_checks+0x69b/0x6c0
[31511.907439] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c vhost_net tun vhost macvtap macvlan tap devlink rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc fscache fuse nct6775 hwmon_vid nls_iso8859_1 nls_cp437 vfat fat dm_mod 8021q garp mrp raid0 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel arc4 kvm iwldvm mac80211 irqbypass ofpart cmdlinepart iwlwifi intel_spi_platform intel_spi spi_nor iTCO_wdt iTCO_vendor_support mtd crct10dif_pclmul mxm_wmi crc32_pclmul md_mod ghash_clmulni_intel cfg80211 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio aesni_intel snd_hda_intel snd_usb_audio aes_x86_64 crypto_simd cryptd glue_helper intel_cstate snd_hda_codec snd_ctxfi snd_hda_core intel_uncore snd_usbmidi_lib snd_rawmidi intel_rapl_perf snd_hwdep snd_seq_device mei_me i2c_i801 snd_pcm pcspkr lpc_ich rfkill input_leds igb snd_timer snd e1000e cp210x mei soundcore mousedev dca evdev mac_hid wmi
[31511.907470] bridge pcc_cpufreq stp llc loop sg crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto hid_generic usbhid hid sd_mod uas usb_storage ahci libahci libata xhci_pci crc32c_intel scsi_mod xhci_hcd ehci_pci ehci_hcd radeon amdgpu chash amd_iommu_v2 gpu_sched i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm agpgart
[31511.907485] CPU: 3 PID: 1916 Comm: pvcreate Not tainted 5.0.0-arch1-1-ARCH #1
[31511.907485] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z87 Extreme6, BIOS P2.40 07/08/2014
[31511.907487] RIP: 0010:generic_make_request_checks+0x69b/0x6c0
[31511.907488] Code: 00 00 e9 a8 fa ff ff 48 89 df 48 8d 74 24 08 c6 05 f6 16 f7 00 01 e8 d4 4d 01 00 48 c7 c7 60 e7 cc a1 48 89 c6 e8 cf a3 ce ff <0f> 0b e9 af fd ff ff e8 be 65 c6 ff e9 d9 fe ff ff e8 af a0 ce ff
[31511.907489] RSP: 0018:ffff9077cea4f918 EFLAGS: 00010286
[31511.907490] RAX: 0000000000000000 RBX: ffff8943f9ab9918 RCX: 0000000000000000
[31511.907491] RDX: 0000000000000007 RSI: ffffffffa1caa7d8 RDI: 00000000ffffffff
[31511.907492] RBP: ffff8944f2f65050 R08: 0000000000000001 R09: 00000000000006e3
[31511.907492] R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000
[31511.907493] R13: 0000000000000080 R14: 0000000000000000 R15: ffffffffa0cd1250
[31511.907494] FS: 00007f23fbbc6780(0000) GS:ffff8944feac0000(0000) knlGS:0000000000000000
[31511.907495] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[31511.907495] CR2: 0000562e87c8f520 CR3: 00000006faa24001 CR4: 00000000001626e0
[31511.907496] Call Trace:
[31511.907502] ? wait_woken+0x80/0x80
[31511.907503] generic_make_request+0x7e/0x3c0
[31511.907505] ? __bio_associate_blkg+0x14/0xb0
[31511.907506] ? bio_associate_blkg_from_css+0x4e/0x60
[31511.907509] raid0_make_request+0x1a9/0x650 [raid0]
[31511.907511] ? generic_make_request+0xd3/0x3c0
[31511.907512] ? bio_clone_fast+0x2c/0x60
[31511.907514] ? wait_woken+0x80/0x80
[31511.907519] md_handle_request+0x131/0x1a0 [md_mod]
[31511.907525] md_make_request+0x72/0x1a0 [md_mod]
[31511.907527] generic_make_request+0x1b3/0x3c0
[31511.907528] submit_bio+0x45/0x140
[31511.907531] ? set_page_dirty_lock+0x33/0x40
[31511.907532] ? bio_set_pages_dirty+0x34/0x50
[31511.907534] blkdev_direct_IO+0x3ec/0x450
[31511.907536] ? aio_complete+0x2f0/0x2f0
[31511.907539] generic_file_read_iter+0x8a/0x9b0
[31511.907541] aio_read+0xfe/0x190
[31511.907543] ? __check_object_size+0xc1/0x175
[31511.907545] ? kmem_cache_alloc+0x163/0x1b0
[31511.907547] io_submit_one+0x4cb/0x750
[31511.907549] __se_sys_io_submit+0x9d/0x1b0
[31511.907551] ? syscall_trace_enter+0x1d3/0x2d0
[31511.907554] ? __audit_syscall_exit+0x222/0x270
[31511.907556] do_syscall_64+0x5b/0x170
[31511.907558] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[31511.907559] RIP: 0033:0x7f23fbedf4ed
[31511.907560] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 43 79 0c 00 f7 d8 64 89 01 48
[31511.907561] RSP: 002b:00007ffd74879c38 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
[31511.907562] RAX: ffffffffffffffda RBX: 00007f23fbbc66f0 RCX: 00007f23fbedf4ed
[31511.907563] RDX: 00007ffd74879c90 RSI: 0000000000000001 RDI: 00007f23fc14f000
[31511.907563] RBP: 00007f23fc14f000 R08: 0000562e8896e000 R09: 0000562e888c0040
[31511.907564] R10: 0000000000020000 R11: 0000000000000246 R12: 0000000000000001
[31511.907565] R13: 0000000000000000 R14: 00007ffd74879c90 R15: 0000000000000008
[31511.907566] ---[ end trace 7ba0d0cee22aae39 ]---
[31511.907604] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
[31511.907606] #PF error: [normal kernel read fault]
[31511.907607] PGD 0 P4D 0
[31511.907609] Oops: 0000 [#1] PREEMPT SMP PTI
[31511.907611] CPU: 3 PID: 1916 Comm: pvcreate Tainted: G W 5.0.0-arch1-1-ARCH #1
[31511.907612] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z87 Extreme6, BIOS P2.40 07/08/2014
[31511.907615] RIP: 0010:blk_throtl_bio+0x32/0xa20
[31511.907616] Code: 56 41 55 41 54 55 53 48 89 d3 48 83 ec 40 48 85 f6 0f 84 5d 04 00 00 48 63 05 3a ab ee 00 4c 8b bc c6 60 02 00 00 0f b7 43 14 <4d> 8b 6f 28 f6 c4 02 75 1c 8b 73 10 83 e6 01 48 63 ce 89 74 24 38
[31511.907617] RSP: 0018:ffff9077cea4f8a0 EFLAGS: 00010246
[31511.907618] RAX: 0000000000008c82 RBX: ffff8943f9ab9918 RCX: 0000000000000000
[31511.907619] RDX: ffff8943f9ab9918 RSI: 0000000000000000 RDI: ffff8944f2f65050
[31511.907620] RBP: ffff8944f2f65050 R08: 0000000000000001 R09: 00000000000006e3
[31511.907621] R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000
[31511.907622] R13: 0000000000000080 R14: 0000000000000000 R15: 0000000000000000
[31511.907624] FS: 00007f23fbbc6780(0000) GS:ffff8944feac0000(0000) knlGS:0000000000000000
[31511.907625] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[31511.907626] CR2: 0000000000000028 CR3: 00000006faa24001 CR4: 00000000001626e0
[31511.907627] Call Trace:
[31511.907629] ? __bio_associate_blkg+0x14/0xb0
[31511.907631] ? wait_woken+0x80/0x80
[31511.907633] generic_make_request_checks+0x1a7/0x6c0
[31511.907636] ? wait_woken+0x80/0x80
[31511.907637] generic_make_request+0x7e/0x3c0
[31511.907639] ? __bio_associate_blkg+0x14/0xb0
[31511.907640] ? bio_associate_blkg_from_css+0x4e/0x60
[31511.907642] raid0_make_request+0x1a9/0x650 [raid0]
[31511.907646] ? generic_make_request+0xd3/0x3c0
[31511.907647] ? bio_clone_fast+0x2c/0x60
[31511.907649] ? wait_woken+0x80/0x80
[31511.907654] md_handle_request+0x131/0x1a0 [md_mod]
[31511.907659] md_make_request+0x72/0x1a0 [md_mod]
[31511.907661] generic_make_request+0x1b3/0x3c0
[31511.907663] submit_bio+0x45/0x140
[31511.907666] ? set_page_dirty_lock+0x33/0x40
[31511.907667] ? bio_set_pages_dirty+0x34/0x50
[31511.907669] blkdev_direct_IO+0x3ec/0x450
[31511.907670] ? aio_complete+0x2f0/0x2f0
[31511.907673] generic_file_read_iter+0x8a/0x9b0
[31511.907675] aio_read+0xfe/0x190
[31511.907678] ? __check_object_size+0xc1/0x175
[31511.907680] ? kmem_cache_alloc+0x163/0x1b0
[31511.907682] io_submit_one+0x4cb/0x750
[31511.907684] __se_sys_io_submit+0x9d/0x1b0
[31511.907686] ? syscall_trace_enter+0x1d3/0x2d0
[31511.907689] ? __audit_syscall_exit+0x222/0x270
[31511.907691] do_syscall_64+0x5b/0x170
[31511.907693] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[31511.907694] RIP: 0033:0x7f23fbedf4ed
[31511.907695] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 43 79 0c 00 f7 d8 64 89 01 48
[31511.907697] RSP: 002b:00007ffd74879c38 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
[31511.907699] RAX: ffffffffffffffda RBX: 00007f23fbbc66f0 RCX: 00007f23fbedf4ed
[31511.907700] RDX: 00007ffd74879c90 RSI: 0000000000000001 RDI: 00007f23fc14f000
[31511.907702] RBP: 00007f23fc14f000 R08: 0000562e8896e000 R09: 0000562e888c0040
[31511.907703] R10: 0000000000020000 R11: 0000000000000246 R12: 0000000000000001
[31511.907705] R13: 0000000000000000 R14: 00007ffd74879c90 R15: 0000000000000008
[31511.907707] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c vhost_net tun vhost macvtap macvlan tap devlink rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc fscache fuse nct6775 hwmon_vid nls_iso8859_1 nls_cp437 vfat fat dm_mod 8021q garp mrp raid0 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel arc4 kvm iwldvm mac80211 irqbypass ofpart cmdlinepart iwlwifi intel_spi_platform intel_spi spi_nor iTCO_wdt iTCO_vendor_support mtd crct10dif_pclmul mxm_wmi crc32_pclmul md_mod ghash_clmulni_intel cfg80211 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio aesni_intel snd_hda_intel snd_usb_audio aes_x86_64 crypto_simd cryptd glue_helper intel_cstate snd_hda_codec snd_ctxfi snd_hda_core intel_uncore snd_usbmidi_lib snd_rawmidi intel_rapl_perf snd_hwdep snd_seq_device mei_me i2c_i801 snd_pcm pcspkr lpc_ich rfkill input_leds igb snd_timer snd e1000e cp210x mei soundcore mousedev dca evdev mac_hid wmi
[31511.907741] bridge pcc_cpufreq stp llc loop sg crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto hid_generic usbhid hid sd_mod uas usb_storage ahci libahci libata xhci_pci crc32c_intel scsi_mod xhci_hcd ehci_pci ehci_hcd radeon amdgpu chash amd_iommu_v2 gpu_sched i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm agpgart
[31511.907759] CR2: 0000000000000028
[31511.907761] ---[ end trace 7ba0d0cee22aae3a ]---
[31511.907764] RIP: 0010:blk_throtl_bio+0x32/0xa20
[31511.907766] Code: 56 41 55 41 54 55 53 48 89 d3 48 83 ec 40 48 85 f6 0f 84 5d 04 00 00 48 63 05 3a ab ee 00 4c 8b bc c6 60 02 00 00 0f b7 43 14 <4d> 8b 6f 28 f6 c4 02 75 1c 8b 73 10 83 e6 01 48 63 ce 89 74 24 38
[31511.907767] RSP: 0018:ffff9077cea4f8a0 EFLAGS: 00010246
[31511.907769] RAX: 0000000000008c82 RBX: ffff8943f9ab9918 RCX: 0000000000000000
[31511.907770] RDX: ffff8943f9ab9918 RSI: 0000000000000000 RDI: ffff8944f2f65050
[31511.907772] RBP: ffff8944f2f65050 R08: 0000000000000001 R09: 00000000000006e3
[31511.907773] R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000
[31511.907774] R13: 0000000000000080 R14: 0000000000000000 R15: 0000000000000000
[31511.907777] FS: 00007f23fbbc6780(0000) GS:ffff8944feac0000(0000) knlGS:0000000000000000
[31511.907779] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[31511.907780] CR2: 0000000000000028 CR3: 00000006faa24001 CR4: 00000000001626e0
[31511.907797] WARNING: CPU: 3 PID: 1916 at kernel/rcu/tree_plugin.h:337 rcu_note_context_switch+0x81/0x420
[31511.907799] Modules linked in: dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c vhost_net tun vhost macvtap macvlan tap devlink rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc fscache fuse nct6775 hwmon_vid nls_iso8859_1 nls_cp437 vfat fat dm_mod 8021q garp mrp raid0 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel arc4 kvm iwldvm mac80211 irqbypass ofpart cmdlinepart iwlwifi intel_spi_platform intel_spi spi_nor iTCO_wdt iTCO_vendor_support mtd crct10dif_pclmul mxm_wmi crc32_pclmul md_mod ghash_clmulni_intel cfg80211 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi ledtrig_audio aesni_intel snd_hda_intel snd_usb_audio aes_x86_64 crypto_simd cryptd glue_helper intel_cstate snd_hda_codec snd_ctxfi snd_hda_core intel_uncore snd_usbmidi_lib snd_rawmidi intel_rapl_perf snd_hwdep snd_seq_device mei_me i2c_i801 snd_pcm pcspkr lpc_ich rfkill input_leds igb snd_timer snd e1000e cp210x mei soundcore mousedev dca evdev mac_hid wmi
[31511.907822] bridge pcc_cpufreq stp llc loop sg crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto hid_generic usbhid hid sd_mod uas usb_storage ahci libahci libata xhci_pci crc32c_intel scsi_mod xhci_hcd ehci_pci ehci_hcd radeon amdgpu chash amd_iommu_v2 gpu_sched i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm agpgart
[31511.907833] CPU: 3 PID: 1916 Comm: pvcreate Tainted: G D W 5.0.0-arch1-1-ARCH #1
[31511.907834] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z87 Extreme6, BIOS P2.40 07/08/2014
[31511.907836] RIP: 0010:rcu_note_context_switch+0x81/0x420
[31511.907837] Code: e8 04 fd ff ff e8 cf f9 ff ff 80 7d 15 00 0f 85 07 02 00 00 0f 1f 44 00 00 5b 5d 41 5c 41 5d 41 5e c3 85 c0 0f 8e ba 01 00 00 <0f> 0b 41 80 bc 24 94 03 00 00 00 75 c6 48 8b 5d 18 48 89 df e8 f6
[31511.907838] RSP: 0018:ffff9077cea4fcf0 EFLAGS: 00010002
[31511.907839] RAX: 0000000000000001 RBX: ffff8944feae1c40 RCX: 0000000000000000
[31511.907840] RDX: 0000000000000000 RSI: ffffffffa1caa7d8 RDI: ffffffffa1cb2e68
[31511.907841] RBP: ffff8944feae2980 R08: 0000000000000000 R09: ffff9077cea4fde8
[31511.907842] R10: ffffb13517a46c00 R11: ffff9077cea4f550 R12: ffff8943f0063c80
[31511.907843] R13: ffff8943f0063c80 R14: 0000000000000000 R15: 0000000000000002
[31511.907845] FS: 0000000000000000(0000) GS:ffff8944feac0000(0000) knlGS:0000000000000000
[31511.907846] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[31511.907847] CR2: 0000000000000028 CR3: 00000006faa24001 CR4: 00000000001626e0
[31511.907847] Call Trace:
[31511.907850] __schedule+0x98/0x8b0
[31511.907853] schedule+0x32/0x80
[31511.907855] schedule_timeout+0x311/0x4a0
[31511.907858] ? __kfifo_dma_out_prepare_r+0x50/0x50
[31511.907860] wait_for_common+0x15f/0x190
[31511.907862] ? wake_up_q+0x70/0x70
[31511.907864] exit_aio+0xdc/0xf0
[31511.907866] mmput+0x1e/0x100
[31511.907869] do_exit+0x33e/0xb70
[31511.907872] rewind_stack_do_exit+0x17/0x20
[31511.907874] ---[ end trace 7ba0d0cee22aae3b ]---
[31571.914913] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[31571.914925] rcu: Tasks blocked on level-0 rcu_node (CPUs 0-7): P1916
[31571.914930] rcu: (detected by 5, t=18002 jiffies, g=6265969, q=35062)
[31571.914938] pvcreate D 0 1916 1915 0x80000080
[31571.914945] Call Trace:
[31571.914962] ? __schedule+0x30b/0x8b0
[31571.914970] schedule+0x32/0x80
[31571.914978] schedule_timeout+0x311/0x4a0
[31571.914987] ? __kfifo_dma_out_prepare_r+0x50/0x50
[31571.914995] wait_for_common+0x15f/0x190
[31571.915003] ? wake_up_q+0x70/0x70
[31571.915011] exit_aio+0xdc/0xf0
[31571.915019] mmput+0x1e/0x100
[31571.915027] do_exit+0x33e/0xb70
[31571.915036] rewind_stack_do_exit+0x17/0x20
[31571.915046] pvcreate D 0 1916 1915 0x80000080
[31571.915052] Call Trace:
[31571.915060] ? __schedule+0x30b/0x8b0
[31571.915068] schedule+0x32/0x80
[31571.915075] schedule_timeout+0x311/0x4a0
[31571.915082] ? __kfifo_dma_out_prepare_r+0x50/0x50
[31571.915089] wait_for_common+0x15f/0x190
[31571.915095] ? wake_up_q+0x70/0x70
[31571.915102] exit_aio+0xdc/0xf0
[31571.915109] mmput+0x1e/0x100
[31571.915115] do_exit+0x33e/0xb70
[31571.915123] rewind_stack_do_exit+0x17/0x20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment