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 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, 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 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