| To: | Jens Axboe <axboe@xxxxxxxxx> |
|---|---|
| Subject: | Re: kernel BUG at drivers/block/virtio_blk.c:172! |
| From: | Ming Lei <tom.leiming@xxxxxxxxx> |
| Date: | Tue, 11 Nov 2014 08:56:27 +0800 |
| Cc: | Rusty Russell <rusty@xxxxxxxxxxxxxxx>, Jeff Layton <jlayton@xxxxxxxxxxxxxxx>, "Michael S. Tsirkin" <mst@xxxxxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>, Linux Virtualization <virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mUDGGyUm066zXqZbQM7Ec5Z46aEHZeusoUxKeUtK3Uk=; b=S/wuTmVzgO3RL1oQKhuEUiGTItgygSgLppP4LYOed4l4HSeqgllkizc73xgKrVVvLy HWk+phBCpc5PFFkYZx/TpF/+qcdXKroHgTzR8BUMM73Op/6qwXRZRhTrqVg55M3Igdg5 9HaiLfOw+huPlVzrRsszfTqIGOyzVMI816vn66DLCtepxjKlirfslYdmuNpZdFcaTsSu dyyGtKe2L+2mSHcdWtFY5mr5jdHW/SChXfqXzCKCvJIPI/r2P4TU5sZt9yE9Nlrq+H9a 8VWNSFEBaoNJP1xJ1CX+ub/d+4tmwar4rIbPi27euJKwNcjI4I/POZ7uSXVIRVuxMsW+ g2dg== |
| In-reply-to: | <54614AE7.2080204@xxxxxxxxx> |
| References: | <20141107080416.0837a88c@xxxxxxxxxxxxxxxxxxxxxxx> <87bnofnzop.fsf@xxxxxxxxxxxxxxx> <54614AE7.2080204@xxxxxxxxx> |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] xfs_copy: fix ASSERT failure on 4k devices..., Eric Sandeen |
|---|---|
| Next by Date: | Re: Enforcing quota for root user, Stan Hoeppner |
| Previous by Thread: | Re: kernel BUG at drivers/block/virtio_blk.c:172!, Jens Axboe |
| Next by Thread: | Re: kernel BUG at drivers/block/virtio_blk.c:172!, Dongsu Park |
| Indexes: | [Date] [Thread] [Top] [All Lists] |