Advertisement
Guest User

Untitled

a guest
Mar 25th, 2016
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.04 KB | None | 0 0
  1. root@gropius:/home/sroesner# tail /sys/block/md2/queue/discard_*
  2. ==> /sys/block/md2/queue/discard_granularity <==
  3. 4096
  4.  
  5. ==> /sys/block/md2/queue/discard_max_bytes <==
  6. 2147450880
  7.  
  8. ==> /sys/block/md2/queue/discard_max_hw_bytes <==
  9. 2147450880
  10.  
  11. ==> /sys/block/md2/queue/discard_zeroes_data <==
  12. 0
  13. root@gropius:/home/sroesner# echo /dev/md2 > /sys/fs/bcache/register
  14. sroesner@gropius:~$
  15.  
  16. With patches:
  17.  
  18. [ 110.269211] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
  19. [ 110.269297] IP: [<ffffffff811e53b4>] bio_trim+0xf/0x2a
  20. [ 110.269356] PGD 7f668f067 PUD 7f6466067 PMD 0
  21. [ 110.269465] Oops: 0000 [#1] SMP
  22. [ 110.269547] Modules linked in: nf_conntrack_ipv6 nf_defrag_ipv6 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 ip6table_filter ip6_tables ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_limit xt_state xt_nat ip_gre gre xt_recent iptable_mangle xt_DSCP ts_bm xt_string ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_multiport iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_tcpudp iptable_filter ip_tables x_tables sit tunnel4 ip_tunnel dummy bcache ip_vs_ftp ip_vs nf_nat nf_conntrack libcrc32c pmbus pmbus_core i2c_parport i2c_smbus i2c_algo_bit adm1021 hwmon_vid vhost_net tun vhost macvtap macvlan loop dm_crypt kvm_amd kvm irqbypass crct10dif_pclmul ohci_pci ehci_pci ohci_hcd ehci_hcd ghash_clmulni_intel usbcore amd64_edac_mod edac_mce_amd sha256_ssse3 sha256_generic hmac drbg edac_core usb_common shpchp ansi_cprng fam15h_power k10temp sp5100_tco i2c_piix4 i2c_core aesni_intel psmouse pcspkr evdev aes_x86_64 lrw gf128mul glue_helper ablk_helper acpi_cpufreq serio_raw tpm_tis tpm cryptd parport_pc parport wmi asus_atk0110 button processor ext4 crc16 mbcache jbd2 dm_mod raid1 md_mod sg sd_mod ata_generic crc32c_intel pata_atiixp ahci libahci libata scsi_mod r8169 mii e1000e ptp pps_core
  23. [ 110.272929] CPU: 6 PID: 10130 Comm: bash Not tainted 4.5.0-kvmhost #1
  24. [ 110.272961] Hardware name: System manufacturer System Product Name/M5A78L-M/USB3, BIOS 1503 11/14/2012
  25. [ 110.272995] task: ffff8807f9c3ef40 ti: ffff8807f9d24000 task.ti: ffff8807f9d24000
  26. [ 110.273028] RIP: 0010:[<ffffffff811e53b4>] [<ffffffff811e53b4>] bio_trim+0xf/0x2a
  27. [ 110.273089] RSP: 0018:ffff8807f9d27ab8 EFLAGS: 00010246
  28. [ 110.273119] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000033
  29. [ 110.273150] RDX: 0000000000000a00 RSI: 0000000000000000 RDI: 0000000000000000
  30. [ 110.273181] RBP: 0000000000140000 R08: 00000000ffffffff R09: 00000000000027ff
  31. [ 110.273212] R10: 00000000000027ff R11: 00000000000027ff R12: 0000000000000000
  32. [ 110.273243] R13: ffff8807f9d27b78 R14: ffff8807f85e36c0 R15: ffff8807f90c5a00
  33. [ 110.273275] FS: 00007f9b456e2700(0000) GS:ffff88081fd80000(0000) knlGS:0000000000000000
  34. [ 110.273308] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
  35. [ 110.273338] CR2: 0000000000000028 CR3: 00000007f6658000 CR4: 00000000000406e0
  36. [ 110.273369] Stack:
  37. [ 110.273398] ffff8800cf852740 ffff8807f7fe6d00 ffff8800cf852740 ffffffffa00cd3be
  38. [ 110.273537] ffff8807f7fe6d00 ffff8807f9d27bd0 0000000000000000 ffff8807f7d00000
  39. [ 110.273676] 00000000000000d8 0000000000000010 0000000000000000 0000000000000000
  40. [ 110.273814] Call Trace:
  41. [ 110.273847] [<ffffffffa00cd3be>] ? raid1_make_request+0x2e8/0xad7 [raid1]
  42. [ 110.273880] [<ffffffff811f07da>] ? blk_queue_split+0x377/0x3d4
  43. [ 110.273913] [<ffffffffa0059b5f>] ? md_make_request+0xf6/0x1e9 [md_mod]
  44. [ 110.273945] [<ffffffff811eb860>] ? generic_make_request+0xb5/0x155
  45. [ 110.273981] [<ffffffffa03b9c79>] ? prio_io+0x85/0x95 [bcache]
  46. [ 110.274014] [<ffffffffa03bc242>] ? register_cache_set+0x355/0x8d0 [bcache]
  47. [ 110.274048] [<ffffffffa03bd7c3>] ? register_bcache+0x1006/0x1174 [bcache]
  48. [ 110.274080] [<ffffffff81127f90>] ? __kmalloc+0x10e/0x120
  49. [ 110.274112] [<ffffffff81196c73>] ? kernfs_fop_write+0x5d/0x125
  50. [ 110.274143] [<ffffffff81196cef>] ? kernfs_fop_write+0xd9/0x125
  51. [ 110.274175] [<ffffffff8113d631>] ? __vfs_write+0x1e/0xa6
  52. [ 110.274206] [<ffffffff81153a5b>] ? __fd_install+0x18/0xa3
  53. [ 110.274237] [<ffffffff811539c4>] ? __alloc_fd+0xf0/0x148
  54. [ 110.274269] [<ffffffff8107620d>] ? percpu_down_read+0x9/0x3a
  55. [ 110.274300] [<ffffffff8113e9aa>] ? vfs_write+0x82/0xd8
  56. [ 110.274331] [<ffffffff8113eb98>] ? SyS_write+0x51/0x85
  57. [ 110.274363] [<ffffffff81412697>] ? entry_SYSCALL_64_fastpath+0x12/0x6a
  58. [ 110.274394] Code: 7f 68 00 74 05 e8 6d 69 02 00 41 5a 48 8d 73 20 48 89 df 89 ea 5b 5d e9 c5 f6 ff ff 55 53 48 89 fb 55 89 d5 c1 e5 09 85 f6 75 05 <3b> 6f 28 74 12 83 63 10 fd c1 e6 09 48 89 df e8 b0 ff ff ff 89
  59. [ 110.276170] RIP [<ffffffff811e53b4>] bio_trim+0xf/0x2a
  60. [ 110.276229] RSP <ffff8807f9d27ab8>
  61. [ 110.276262] CR2: 0000000000000028
  62. [ 110.276307] ---[ end trace beb3408c7537b2fc ]---
  63.  
  64. With patches and BUG_ON lines:
  65.  
  66. [ 172.660142] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
  67. [ 172.660229] IP: [<ffffffff811e53b4>] bio_trim+0xf/0x2a
  68. [ 172.660289] PGD 7faf3e067 PUD 7f9279067 PMD 0
  69. [ 172.660399] Oops: 0000 [#1] SMP
  70. [ 172.660481] Modules linked in: nf_conntrack_ipv6 nf_defrag_ipv6 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 ip6table_filter ip6_tables ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_limit xt_state xt_nat ip_gre gre xt_recent iptable_mangle xt_DSCP ts_bm xt_string ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_multiport xt_tcpudp iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 iptable_filter ip_tables x_tables sit tunnel4 ip_tunnel dummy bcache ip_vs_ftp ip_vs nf_nat nf_conntrack libcrc32c pmbus pmbus_core i2c_parport i2c_smbus i2c_algo_bit adm1021 hwmon_vid vhost_net tun vhost macvtap macvlan loop dm_crypt kvm_amd kvm irqbypass crct10dif_pclmul ghash_clmulni_intel sha256_ssse3 sha256_generic ehci_pci hmac drbg ansi_cprng acpi_cpufreq aesni_intel aes_x86_64 tpm_tis tpm lrw gf128mul ohci_pci ohci_hcd ehci_hcd glue_helper k10temp parport_pc sp5100_tco i2c_piix4 ablk_helper usbcore parport i2c_core processor shpchp fam15h_power asus_atk0110 cryptd psmouse serio_raw pcspkr amd64_edac_mod edac_mce_amd edac_core usb_common wmi evdev button ext4 crc16 mbcache jbd2 dm_mod raid1 md_mod sg sd_mod ata_generic crc32c_intel pata_atiixp ahci libahci libata scsi_mod r8169 mii e1000e ptp pps_core
  71. [ 172.663890] CPU: 5 PID: 11219 Comm: bash Not tainted 4.5.0-kvmhost #1
  72. [ 172.663922] Hardware name: System manufacturer System Product Name/M5A78L-M/USB3, BIOS 1503 11/14/2012
  73. [ 172.663955] task: ffff8807f8b36240 ti: ffff8807fa454000 task.ti: ffff8807fa454000
  74. [ 172.663989] RIP: 0010:[<ffffffff811e53b4>] [<ffffffff811e53b4>] bio_trim+0xf/0x2a
  75. [ 172.664050] RSP: 0018:ffff8807fa457ab8 EFLAGS: 00010246
  76. [ 172.664080] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000004a
  77. [ 172.664112] RDX: 0000000000000a00 RSI: 0000000000000000 RDI: 0000000000000000
  78. [ 172.664143] RBP: 0000000000140000 R08: 00000000ffffffff R09: 0000000000001e01
  79. [ 172.664174] R10: 0000000000001e01 R11: 0000000000001e01 R12: 0000000000000000
  80. [ 172.664205] R13: ffff8807fa457b78 R14: ffff8807fb76bac0 R15: ffff8807f8085900
  81. [ 172.664237] FS: 00007f9d87e4a700(0000) GS:ffff88081fd40000(0000) knlGS:0000000000000000
  82. [ 172.664269] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
  83. [ 172.664300] CR2: 0000000000000028 CR3: 00000007facb7000 CR4: 00000000000406e0
  84. [ 172.664331] Stack:
  85. [ 172.664361] ffff8807f7d10940 ffff8807f978ce00 ffff8807f7d10940 ffffffffa007f3be
  86. [ 172.664501] ffff8807f978ce00 ffff8807fa457bd0 0000000000000000 ffff8807f83f1000
  87. [ 172.664640] 00000000000000d8 0000000000000010 0000000000000000 0000000000000000
  88. [ 172.664780] Call Trace:
  89. [ 172.664813] [<ffffffffa007f3be>] ? raid1_make_request+0x2e8/0xad7 [raid1]
  90. [ 172.664846] [<ffffffff811f07da>] ? blk_queue_split+0x377/0x3d4
  91. [ 172.664880] [<ffffffffa005fb5f>] ? md_make_request+0xf6/0x1e9 [md_mod]
  92. [ 172.664912] [<ffffffff811eb860>] ? generic_make_request+0xb5/0x155
  93. [ 172.664947] [<ffffffffa0445c89>] ? prio_io+0x85/0x95 [bcache]
  94. [ 172.664981] [<ffffffffa0448252>] ? register_cache_set+0x355/0x8d0 [bcache]
  95. [ 172.665016] [<ffffffffa04497d3>] ? register_bcache+0x1006/0x1174 [bcache]
  96. [ 172.665047] [<ffffffff81127f90>] ? __kmalloc+0x10e/0x120
  97. [ 172.665079] [<ffffffff81196c73>] ? kernfs_fop_write+0x5d/0x125
  98. [ 172.665111] [<ffffffff81196cef>] ? kernfs_fop_write+0xd9/0x125
  99. [ 172.665143] [<ffffffff8113d631>] ? __vfs_write+0x1e/0xa6
  100. [ 172.665174] [<ffffffff81153a5b>] ? __fd_install+0x18/0xa3
  101. [ 172.665205] [<ffffffff811539c4>] ? __alloc_fd+0xf0/0x148
  102. [ 172.665237] [<ffffffff8107620d>] ? percpu_down_read+0x9/0x3a
  103. [ 172.665269] [<ffffffff8113e9aa>] ? vfs_write+0x82/0xd8
  104. [ 172.665300] [<ffffffff8113eb98>] ? SyS_write+0x51/0x85
  105. [ 172.665332] [<ffffffff81412697>] ? entry_SYSCALL_64_fastpath+0x12/0x6a
  106. [ 172.665363] Code: 7f 68 00 74 05 e8 6d 69 02 00 41 5a 48 8d 73 20 48 89 df 89 ea 5b 5d e9 c5 f6 ff ff 55 53 48 89 fb 55 89 d5 c1 e5 09 85 f6 75 05 <3b> 6f 28 74 12 83 63 10 fd c1 e6 09 48 89 df e8 b0 ff ff ff 89
  107. [ 172.667155] RIP [<ffffffff811e53b4>] bio_trim+0xf/0x2a
  108. [ 172.667214] RSP <ffff8807fa457ab8>
  109. [ 172.667246] CR2: 0000000000000028
  110. [ 172.667295] ---[ end trace d7bcdd4c006f7c47 ]---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement