From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934613AbdLRUTi (ORCPT ); Mon, 18 Dec 2017 15:19:38 -0500 Received: from smtp-km-1.mail.tiscali.it ([213.205.35.81]:49214 "EHLO smtp-km-1.mail.tiscali.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934466AbdLRUTe (ORCPT ); Mon, 18 Dec 2017 15:19:34 -0500 x-auth-user: barra_cuda@katamail.com Date: Mon, 18 Dec 2017 21:19:31 +0100 From: Michele Ballabio To: Ming Lei Cc: Jens Axboe , Linux Kernel Mailing List , Christoph Hellwig , linux-block Subject: Re: block: oopses on 4.13.*, 4.14.* and 4.15-rc2 (bisected) Message-ID: <20171218211931.1a447a9f@darkstar.example.org> In-Reply-To: References: <20171208163851.0f3823b6@darkstar.example.org> <20171209002721.537a5290@darkstar.example.org> X-Mailer: Claws Mail 3.15.1-dirty (GTK+ 2.24.31; i486-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 18 Dec 2017 15:46:36 +0800 Ming Lei wrote: > On Sat, Dec 9, 2017 at 7:27 AM, Michele Ballabio > wrote: > > On Fri, 8 Dec 2017 13:08:37 -0700 > > Jens Axboe wrote: > > > >> On 12/08/2017 08:38 AM, Michele Ballabio wrote: > >> > Hi, > >> > kernels 4.13.*, 4.14.* 4.15-rc2 crash on occasion, > >> > especially on x86-32 systems. To trigger the problem, run as > >> > root: > >> > > >> > while true > >> > do > >> > /sbin/udevadm trigger --type=subsystems --action=change > >> > /sbin/udevadm trigger --type=devices --action=change > >> > /sbin/udevadm settle --timeout=120 > >> > done > >> > > >> > (Thanks to Patrick Volkerding for the reproducer). > >> > > >> > Sometimes the kernel oopses immediately, sometimes a bit later > >> > (less than five minutes). > >> > > >> > The bisection pointed to commit > >> > caa4b02476e31fc7933d2138062f7f355d3cd8f7 (blk-map: call > >> > blk_queue_bounce from blk_rq_append_bio). A revert fixes the > >> > problem (tested on 4.13 and master). > >> > >> Thanks for your report - can you try the below patch? Totally > >> untested... > > > > I applied the patch on master > > (968edbd93c0cbb40ab48aca972392d377713a0c3), I tried two times to > > boot the system but couldn't get to the shell. I found this in the > > log: > > Hi Michele, > > Please test the patches I sent out and see if it fixes your issue. In > my environment > the two just works fine. > > https://marc.info/?l=linux-block&m=151358285916762&w=2 > I can confirm these fixes the issue on my system (tested on top of 4.15-rc3), thanks! Tested-by: Michele Ballabio