Hi,
I recently hit a bug whilst calling mkfs.ext4 on a newly created logical
volume.
Block layering is:
LVM on
bcache0
bcache0 is
cache device: AHCI SATA SSD
backing device: md raid 5 on 3x AHCI SATA HDD
During the BUG, there were a couple of VMs running (light I/O load), and
I was also running a dd to copy a block device image from the network to
a local logical volume:
nocache ionice -c 3 dd of=/dev/vm-group/vm1-lvm bs=65536
I can try to reproduce out of hours (and/or with other kernels etc.) if
that's useful?
[706278.305830] kernel BUG at
/build/linux-6WgLIg/linux-4.9.88/block/bio.c:1804!
[706278.348556] invalid opcode: 0000 [#1] SMP
[706278.373069] Modules linked in: vhost_net vhost macvtap macvlan tun
ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter
iTCO_wdt iTCO_vendor_support bridge stp llc mgag200 intel_powerclamp
coretemp kvm_intel ttm kvm irqbypass intel_cstate drm_kms_helper
intel_uncore pcspkr drm i7core_edac lpc_ich joydev edac_core evdev sg
mfd_core shpchp ipmi_si ipmi_msghandler button acpi_cpufreq ip_tables
x_tables autofs4 ext4 crc16 jbd2 fscrypto ecb glue_helper lrw gf128mul
ablk_helper cryptd aes_x86_64 mbcache uas usb_storage raid10 raid1 raid0
multipath linear dm_mod hid_generic usbhid hid raid456 async_raid6_recov
async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c
crc32c_generic md_mod bcache sd_mod ahci libahci crc32c_intel libata
ehci_pci ehci_hcd i2c_i801 scsi_mod i2c_smbus e1000e
[706278.801669] usbcore usb_common igb i2c_algo_bit dca ptp pps_core
[706278.830818] CPU: 5 PID: 25801 Comm: mkfs.ext4 Not tainted
4.9.0-6-amd64 #1 Debian 4.9.88-1+deb9u1
[706278.884476] Hardware name: Intel Corporation S3420GP/S3420GP
[706278.946460] task: ffff9730efafb1c0 task.stack: ffffb8f745abc000
[706278.982430] RIP: 0010:[<ffffffff924fb5f4>] [<ffffffff924fb5f4>]
bio_split+0x84/0x90
[706279.029391] RSP: 0018:ffffb8f745abfb80 EFLAGS: 00010246
[706279.061732] RAX: 00021ecfffffffff RBX: 0000000000000000 RCX:
ffff97334796db00
[706279.104973] RDX: 0000000002400000 RSI: 0000000000000000 RDI:
ffff97308ec4ef20
[706279.148224] RBP: 0000000000000000 R08: 00000000000000a8 R09:
ffff97308ec4ef20
[706279.191464] R10: ffffb8f745abfbf0 R11: 0000000000000000 R12:
00000000000d0000
[706279.234732] R13: 0000000000000000 R14: 0000000000000000 R15:
ffff973347b1e900
[706279.277989] FS: 00007fe778c64bc0(0000) GS:ffff97335fd40000(0000)
knlGS:0000000000000000
[706279.326953] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[706279.361879] CR2: 0000555dac819298 CR3: 0000000204faa000 CR4:
0000000000002670
[706279.405136] Stack:
[706279.417688] 0000000000000000 ffffb8f745abfc30 00000000000d0000
ffffffff9250826d
[706279.462733] ffff9730f16129b0 ffff9730f1612ae8 ffff97334796db00
00021ed000000000
[706279.507776] ffffb8f745abfc40 000000a800000001 ffff97308ec4ef20
0000000000000000
[706279.552821] Call Trace:
[706279.567978] [<ffffffff9250826d>] ? blk_queue_split+0x18d/0x640
[706279.603937] [<ffffffff92503b3c>] ? blk_queue_bio+0x4c/0x3d0
[706279.638338] [<ffffffff92502005>] ? generic_make_request+0x115/0x2d0
[706279.676933] [<ffffffff92502236>] ? submit_bio+0x76/0x140
[706279.709775] [<ffffffff9250a328>] ? next_bio+0x18/0x40
[706279.741067] [<ffffffff9250a4ce>] ? __blkdev_issue_discard+0x17e/0x1e0
[706279.780670] [<ffffffff924f89a4>] ? submit_bio_wait+0x54/0x80
[706279.815601] [<ffffffff9250a70a>] ? blkdev_issue_discard+0x7a/0xd0
[706279.853126] [<ffffffff9238a1f6>] ? __alloc_pages_nodemask+0xf6/0x260
[706279.892219] [<ffffffff925104db>] ? blk_ioctl_discard+0x8b/0xc0
[706279.928188] [<ffffffff92510f44>] ? blkdev_ioctl+0x644/0x970
[706279.963437] [<ffffffff923b811e>] ? handle_mm_fault+0xe7e/0x1280
[706280.001042] [<ffffffff92442f79>] ? block_ioctl+0x39/0x40
[706280.034999] [<ffffffff9241b392>] ? do_vfs_ioctl+0xa2/0x620
[706280.069679] [<ffffffff9241b984>] ? SyS_ioctl+0x74/0x80
[706280.102402] [<ffffffff92203b7d>] ? do_syscall_64+0x8d/0xf0
[706280.137030] [<ffffffff9281244e>] ?
entry_SYSCALL_64_after_swapgs+0x58/0xc6
[706280.180079] Code: 31 f6 89 ea 4c 89 e7 e8 4b 22 03 00 41 8b 74 24 28
48 89 df e8 ee d3 ff ff 4c 89 e0 5b 5d 41 5c c3 e8 21 fc ff ff 49 89 c4
eb b6 <0f> 0b 0f 0b 0f 1f 84 00 00 00 00 00 66 66 66 66 90 48 8b 07 48
[706280.299507] RIP [<ffffffff924fb5f4>] bio_split+0x84/0x90
[706280.333384] RSP <ffffb8f745abfb80>
[706280.360011] ---[ end trace 82ccf8a8aa5cf4a8 ]---
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html