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

Jens Axboe axboe at kernel.dk
Mon Nov 10 17:31:51 CST 2014


On 2014-11-10 02:59, Rusty Russell wrote:
> Jeff Layton <jlayton at poochiereds.net> 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.

-- 
Jens Axboe



More information about the xfs mailing list