Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755658AbYA3FE4 (ORCPT ); Wed, 30 Jan 2008 00:04:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753799AbYA3FEk (ORCPT ); Wed, 30 Jan 2008 00:04:40 -0500 Received: from hu-out-0506.google.com ([72.14.214.231]:39233 "EHLO hu-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753443AbYA3FEi (ORCPT ); Wed, 30 Jan 2008 00:04:38 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:to:cc:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:content-transfer-encoding:in-reply-to:user-agent:from; b=iVcEvZgstkKgjgxJlaPyKp/6wW9Y6fgmSuM8XuAK1R72IUWJrFkDjnNsRTVszcdoe1D2wM+xpDpEf7apfgEJBE0O6H3/ewj49DZs4xF0iKMNIWU5jR5JxkUx/3jgaxjk0mYIlLp+vft4fPNXNX0RYJ8RCtcx6qhDXCKfBeau1nY= Date: Wed, 30 Jan 2008 06:03:47 +0100 To: Bartlomiej Zolnierkiewicz Cc: Kiyoshi Ueda , rdreier@cisco.com, nai.xia@gmail.com, flo@rfc822.org, linux-kernel@vger.kernel.org, jens.axboe@oracle.com, j-nomura@ce.jp.nec.com, Borislav Petkov Subject: Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089 Message-ID: <20080130050347.GC10609@gollum.tnic> Reply-To: petkovbb@gmail.com Mail-Followup-To: petkovbb@gmail.com, Bartlomiej Zolnierkiewicz , Kiyoshi Ueda , rdreier@cisco.com, nai.xia@gmail.com, flo@rfc822.org, linux-kernel@vger.kernel.org, jens.axboe@oracle.com, j-nomura@ce.jp.nec.com, Borislav Petkov References: <200801292201.45718.nai.xia@gmail.com> <20080129.182356.70224412.k-ueda@ct.jp.nec.com> <200801300058.33284.bzolnier@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200801300058.33284.bzolnier@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) From: Borislav Petkov Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2939 Lines: 65 On Wed, Jan 30, 2008 at 12:58:33AM +0100, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Wednesday 30 January 2008, Kiyoshi Ueda wrote: > > Hi Bart, > > > > On Tue, 29 Jan 2008 14:22:53 -0800, Roland Dreier wrote: > > > Hi, I saw the same BUG from ide-cd on one of my systems. I applied > > > the debugging patch to replace the BUG with blk_dump_rq_flags(), and I > > > got the output below (full boot log and .config attached to this > > > email). > > > > > > Please let me know if there's anything else that would help debug the > > > problem. > > > > Thank you for the information, Roland. > > > > > > > [ 4.072271] Uniform CD-ROM driver Revision: 3.20 > > > [ 4.098236] ide-cd: rq still having bio: dev hda: type=2, flags=114c8 > > > [ 4.100269] > > > [ 4.100269] sector 1949759, nr/cnr 0/0 > > > [ 4.100269] bio ffff8102418cc600, biotail ffff8102418cc600, buffer 0000000000000000, d8 > > > [ 4.100269] cdb: 12 00 00 00 fe 00 00 00 00 00 00 00 00 00 00 00 > > > [ 4.101005] ide-cd: rq still having bio: dev hda: type=2, flags=114c8 > > > [ 4.104269] > > > [ 4.104269] sector 1949759, nr/cnr 0/0 > > > [ 4.104269] bio ffff8102418cc600, biotail ffff8102418cc600, buffer 0000000000000000, d2 > > > [ 4.104269] cdb: 12 00 00 00 fe 00 00 00 00 00 00 00 00 00 00 00 > > > [ 4.109203] ide-cd: rq still having bio: dev hda: type=2, flags=114c8 > > > [ 4.112270] > > > [ 4.112270] sector 1949759, nr/cnr 0/0 > > > [ 4.112270] bio ffff8102418cc600, biotail ffff8102418cc600, buffer 0000000000000000, d8 > > > [ 4.112270] cdb: 12 01 00 00 fe 00 00 00 00 00 00 00 00 00 00 00 > > > [ 4.112945] ide-cd: rq still having bio: dev hda: type=2, flags=114c8 > > > [ 4.116270] > > > [ 4.116270] sector 1949759, nr/cnr 0/0 > > > [ 4.116270] bio ffff8102418cc600, biotail ffff8102418cc600, buffer 0000000000000000, d2 > > > [ 4.116270] cdb: 12 01 00 00 fe 00 00 00 00 00 00 00 00 00 00 00 > > > > Bart, > > This means that the rq still has a bio even after DRQ_STAT is cleared. > > The original ide-cd code was calling only end_that_request_last() there. > > So I thought that the rq should have no bio when DRQ_STAT is cleared, > > otherwise the bio leaks. > > > > Was my understanding wrong and is that correct behavior in ide-cd? > > Added Borislav to cc:. > > PS I'm extremely busy with "real-life" (unfortunately IDE hacking is not > my paid job) and the friday is the earliest date on which I would be able > to look in detail into this problem and other outstanding IDE stuff, sorry. Same here, will be able to look into it tomorrow. In the meantime, can someone direct me the full BUG() output? -- Regards/Gru?, Boris. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/