Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-02-01 Thread Bartlomiej Zolnierkiewicz
On Thursday 31 January 2008, Jens Axboe wrote: > On Thu, Jan 31 2008, Florian Lohoff wrote: > > On Thu, Jan 31, 2008 at 02:05:58PM +0100, Jens Axboe wrote: > > > The below fix should be enough. It's perfectly legal to have leftover > > > byte counts when the drive signals completion, happens all th

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-02-01 Thread Kiyoshi Ueda
Hi Boris, On Fri, 1 Feb 2008 19:29:09 +0100, Borislav Petkov wrote: > > > > end_that_request_last() is not called when __blk_end_reuqest() > > > > returns 1. Then, the issuer isn't waken up. > > > > So I think the BUG() or error messages should be there. > > > > > > you mean, end_that_request_la

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-02-01 Thread Borislav Petkov
On Fri, Feb 01, 2008 at 12:39:27PM -0500, Kiyoshi Ueda wrote: > > > end_that_request_last() is not called when __blk_end_reuqest() > > > returns 1. Then, the issuer isn't waken up. > > > So I think the BUG() or error messages should be there. > > > > you mean, end_that_request_last() isn't cal

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-02-01 Thread Kiyoshi Ueda
Hi Boris, On Fri, 1 Feb 2008 08:51:17 +0100, Borislav Petkov wrote: > > > > The below fix should be enough. It's perfectly legal to have leftover > > > > byte counts when the drive signals completion, happens all the time for > > > > eg user issued commands where you don't know an exact byte count

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-31 Thread Borislav Petkov
On Thu, Jan 31, 2008 at 05:35:56PM -0500, Kiyoshi Ueda wrote: > Hi Boris, > > Thank you for the confirmation of original behavior. > > On Thu, 31 Jan 2008 22:37:40 +0100, Borislav Petkov wrote: > > On Thu, Jan 31, 2008 at 02:05:58PM +0100, Jens Axboe wrote: > > > On Thu, Jan 31 2008, Nai Xia wrot

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-31 Thread Kiyoshi Ueda
Hi Boris, Thank you for the confirmation of original behavior. On Thu, 31 Jan 2008 22:37:40 +0100, Borislav Petkov wrote: > On Thu, Jan 31, 2008 at 02:05:58PM +0100, Jens Axboe wrote: > > On Thu, Jan 31 2008, Nai Xia wrote: > > > My dmesg relevant info is quite similar: > > > > > > [6.875041

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-31 Thread Borislav Petkov
On Thu, Jan 31, 2008 at 02:05:58PM +0100, Jens Axboe wrote: > On Thu, Jan 31 2008, Nai Xia wrote: > > My dmesg relevant info is quite similar: > > > > [6.875041] Freeing unused kernel memory: 320k freed > > [8.143120] ide-cd: rq still having bio: dev hdc: type=2, flags=114c8 > > [8.144

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-31 Thread Kiyoshi Ueda
Hi Jens, On Thu, 31 Jan 2008 19:16:54 +0100, Jens Axboe wrote: > On 31/01/2008, at 18.04, Kiyoshi Ueda <[EMAIL PROTECTED]> wrote: > > On Thu, 31 Jan 2008 14:05:58 +0100, Jens Axboe wrote: > >> On Thu, Jan 31 2008, Nai Xia wrote: > >>> My dmesg relevant info is quite similar: > >>> > >>> [6.875

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-31 Thread Jens Axboe
On 31/01/2008, at 18.04, Kiyoshi Ueda <[EMAIL PROTECTED]> wrote: Hi Jens, On Thu, 31 Jan 2008 14:05:58 +0100, Jens Axboe wrote: On Thu, Jan 31 2008, Nai Xia wrote: My dmesg relevant info is quite similar: [6.875041] Freeing unused kernel memory: 320k freed [8.143120] ide-cd: rq sti

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-31 Thread Kiyoshi Ueda
Hi Jens, On Thu, 31 Jan 2008 14:05:58 +0100, Jens Axboe wrote: > On Thu, Jan 31 2008, Nai Xia wrote: > > My dmesg relevant info is quite similar: > > > > [6.875041] Freeing unused kernel memory: 320k freed > > [8.143120] ide-cd: rq still having bio: dev hdc: type=2, flags=114c8 > > [8

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-31 Thread Jens Axboe
On Thu, Jan 31 2008, Florian Lohoff wrote: > On Thu, Jan 31, 2008 at 02:05:58PM +0100, Jens Axboe wrote: > > The below fix should be enough. It's perfectly legal to have leftover > > byte counts when the drive signals completion, happens all the time for > > eg user issued commands where you don't

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-31 Thread Florian Lohoff
On Thu, Jan 31, 2008 at 02:05:58PM +0100, Jens Axboe wrote: > The below fix should be enough. It's perfectly legal to have leftover > byte counts when the drive signals completion, happens all the time for > eg user issued commands where you don't know an exact byte count. > > diff --git a/drivers

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-31 Thread Jens Axboe
On Thu, Jan 31 2008, Nai Xia wrote: > My dmesg relevant info is quite similar: > > [6.875041] Freeing unused kernel memory: 320k freed > [8.143120] ide-cd: rq still having bio: dev hdc: type=2, flags=114c8 > [8.144439] > [8.144439] sector 10824201199534213, nr/cnr 0/0 > [8.1444

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-30 Thread Nai Xia
My dmesg relevant info is quite similar: [6.875041] Freeing unused kernel memory: 320k freed [8.143120] ide-cd: rq still having bio: dev hdc: type=2, flags=114c8 [8.144439] [8.144439] sector 10824201199534213, nr/cnr 0/0 [8.144439] bio cf029280, biotail cf029280, buffer 000

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-30 Thread Roland Dreier
> Could you try the patch below and give me all boot messages again? Sure, no problem, see below for full log (I updated to the latest git, which seems to have some other unrelated problems with things timing out earlier in the boot, but it does get to the ide-cd init); here's the relevant lookin

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-30 Thread Kiyoshi Ueda
Hi Roland, Borislav, Bart, Added linux-ide ML, since we may be able to get helps from other ide experts. This thread started from: http://lkml.org/lkml/2008/1/29/140 On Tue, 29 Jan 2008 18:23:56 -0500 (EST), Kiyoshi Ueda wrote: > Hi Bart, > > On Tue, 29 Jan 2008 14:22:53 -0800, Roland Drei

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-29 Thread Borislav Petkov
On Wed, Jan 30, 2008 at 06:03:47AM +0100, Borislav Petkov wrote: > 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:

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-29 Thread Borislav Petkov
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 > > >

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-29 Thread Bartlomiej Zolnierkiewicz
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 bel

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-29 Thread Kiyoshi Ueda
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

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-29 Thread Kiyoshi Ueda
Hi, Sorry for the inconvenience. I can't reproduce this bug on my test environment. So please give me more information below to find what's wrong. On Tue, 29 Jan 2008 22:01:45 +0800, Nai Xia wrote: > Hi, > > Build environment: debian sid, gcc-4.2.3, i386. > > The bug is in lately git-pull from

Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-29 Thread Florian Lohoff
On Tue, Jan 29, 2008 at 10:01:45PM +0800, Nai Xia wrote: > > Build environment: debian sid, gcc-4.2.3, i386. > > The bug is in lately git-pull from > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git > > And it can be reproduced very easily on a machine with normal cdroms.

kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-29 Thread Nai Xia
Hi, Build environment: debian sid, gcc-4.2.3, i386. The bug is in lately git-pull from git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git And it can be reproduced very easily on a machine with normal cdroms. It halts booting and I grabbed the bug output with an serial console