Bug 971553
Summary: | Creating RAID4 LV raises kernel WARNIN followed by invalid opcode: 0000 [#1] SMP at kernel BUG at drivers/block/virtio_blk.c:368! when creating FS | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Marian Csontos <mcsontos> |
Component: | lvm2 | Assignee: | LVM and device-mapper development team <lvm-team> |
lvm2 sub component: | Default / Unclassified | QA Contact: | cluster-qe <cluster-qe> |
Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
Severity: | unspecified | ||
Priority: | unspecified | CC: | agk, heinzm, jbrassow, lmiksik, mpatocka, msnitzer, prajnoha, prockai, thornber, zkabelac |
Version: | 7.0 | ||
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-14 18:24:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Marian Csontos
2013-06-06 19:39:16 UTC
Jon, if you can not reproduce, what more debugging information you need from me? Kent Overstreet has done most of the changes that are related to this bug. I'd forward the bug to him... ... the bug could be possibly caused by a bio with bi_size that doesn't match the size of the vector. Add a test to generic_make_request that checks that bi_size matches the sum of length of all entries in the vector (exclude bios with (bi_rw & BIO_NO_ADVANCE_ITER_MASK) from this test) and make it crash with BUG if the size doesn't match. Try to reproduce the bug again and you'll find the exact driver in the stack that produced the corrupted bio from the stacktrace. Pretty sure you'll just need this fix: http://git.kernel.dk/?p=linux-block.git;a=commit;h=4997b72ee62930cb841d185398ea547d979789f4 (In reply to Mike Snitzer from comment #4) > Pretty sure you'll just need this fix: > > http://git.kernel.dk/?p=linux-block.git;a=commit; > h=4997b72ee62930cb841d185398ea547d979789f4 BTW, this fix is staged in Jens' 'for-linus' branch for his next 3.10-rcX pull request. Thanks Mike. The patch has fixed the problem. I am eager to see this in RHEL7 tree. I'll keep an eye out for it. Upstream in v3.10-rc6: commit 4997b72ee62930cb841d185398ea547d979789f4 Author: Kent Overstreet <koverstreet> Date: Thu May 30 08:44:39 2013 +0200 raid5: Initialize bi_vcnt The patch that converted raid5 to use bio_reset() forgot to initialize bi_vcnt. Signed-off-by: Kent Overstreet <koverstreet> Cc: NeilBrown <neilb> Cc: linux-raid.org Tested-by: Ilia Mirkin <imirkin.edu> Signed-off-by: Jens Axboe <axboe> Patch is included in RHEL7 nightly build. Works for me. Thanks. Yes, patch is in RHEL7 kernel tree under the same commit ID. |