Re: kernel BUG at drivers/block/virtio_blk.c:172!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 11, 2014 at 7:31 AM, Jens Axboe <axboe@xxxxxxxxx> wrote:
> On 2014-11-10 02:59, Rusty Russell wrote:
>>
>> Jeff Layton <jlayton@xxxxxxxxxxxxxxx> writes:
>>
>>> In the latest Fedora rawhide kernel in the repos, I'm seeing the
>>> following oops when mounting xfs. rc2-ish kernels seem to be fine:
>>>
>>> [   64.669633] ------------[ cut here ]------------
>>> [   64.670008] kernel BUG at drivers/block/virtio_blk.c:172!
>>
>>
>> Hmm, that's:
>>
>>         BUG_ON(req->nr_phys_segments + 2 > vblk->sg_elems);
>>
>> But during our probe routine we said:
>>
>>         /* We can handle whatever the host told us to handle. */
>>         blk_queue_max_segments(q, vblk->sg_elems-2);
>>
>> Jens?
>
>
> Known, I'm afraid, Ming is looking into it.

There is one obvious bug which should have been fixed by below
patch(0001-block-blk-merge-fix-blk_recount_segments.patch"):

http://marc.info/?l=linux-virtualization&m=141562191719405&q=p3

And there might be another one, I appreciate someone can post
log which is printed by patch("blk-seg.patch") in below link if the
bug still can be triggered even with above fix:

http://marc.info/?l=linux-virtualization&m=141473040618467&q=p3


Thanks,
-- 
Ming Lei

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs




[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux