Re: IDE crash...

2007-10-24 Thread Jens Axboe
On Wed, Oct 24 2007, John Stoffel wrote: > > "Jens" == Jens Axboe <[EMAIL PROTECTED]> writes: > > Jens> On Tue, Oct 23 2007, John Stoffel wrote: > >> > "Jens" == Jens Axboe <[EMAIL PROTECTED]> writes: > >> > Jens> On Tue, Oct 23 2007, David Miller wrote: > >> >> From: Jens Axboe <[EMAIL P

Re: IDE crash...

2007-10-24 Thread John Stoffel
> "Jens" == Jens Axboe <[EMAIL PROTECTED]> writes: Jens> On Tue, Oct 23 2007, John Stoffel wrote: >> > "Jens" == Jens Axboe <[EMAIL PROTECTED]> writes: >> Jens> On Tue, Oct 23 2007, David Miller wrote: >> >> From: Jens Axboe <[EMAIL PROTECTED]> >> >> Date: Tue, 23 Oct 2007 09:23:59 +0200

Re: IDE crash...

2007-10-23 Thread Jens Axboe
On Tue, Oct 23 2007, John Stoffel wrote: > > "Jens" == Jens Axboe <[EMAIL PROTECTED]> writes: > > Jens> On Tue, Oct 23 2007, David Miller wrote: > >> From: Jens Axboe <[EMAIL PROTECTED]> > >> Date: Tue, 23 Oct 2007 09:23:59 +0200 > >> > >> > On Tue, Oct 23 2007, David Miller wrote: > >> > > F

Re: IDE crash...

2007-10-23 Thread Jens Axboe
On Tue, Oct 23 2007, David Miller wrote: > From: Jens Axboe <[EMAIL PROTECTED]> > Date: Tue, 23 Oct 2007 12:57:11 +0200 > > > On Tue, Oct 23 2007, FUJITA Tomonori wrote: > > > BTW, we avoid calling sg_init_table() for every I/O request due to Jens' > > > trick. And Jens will remove the code to cle

Re: IDE crash...

2007-10-23 Thread David Miller
From: Jens Axboe <[EMAIL PROTECTED]> Date: Tue, 23 Oct 2007 12:57:11 +0200 > On Tue, Oct 23 2007, FUJITA Tomonori wrote: > > BTW, we avoid calling sg_init_table() for every I/O request due to Jens' > > trick. And Jens will remove the code to clear sg_dma_len/addr in > > blk_rq_map_sg(). So sparc64

Re: IDE crash...

2007-10-23 Thread John Stoffel
> "Jens" == Jens Axboe <[EMAIL PROTECTED]> writes: Jens> On Tue, Oct 23 2007, David Miller wrote: >> From: Jens Axboe <[EMAIL PROTECTED]> >> Date: Tue, 23 Oct 2007 09:23:59 +0200 >> >> > On Tue, Oct 23 2007, David Miller wrote: >> > > From: Jens Axboe <[EMAIL PROTECTED]> >> > > Date: Tue, 23

Re: IDE crash...

2007-10-23 Thread Jens Axboe
On Tue, Oct 23 2007, FUJITA Tomonori wrote: > On Tue, 23 Oct 2007 12:58:11 +0200 > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > On Tue, Oct 23 2007, Jens Axboe wrote: > > > On Tue, Oct 23 2007, FUJITA Tomonori wrote: > > > > On Tue, 23 Oct 2007 00:43:21 -0700 (PDT) > > > > David Miller <[EMAIL PROT

Re: IDE crash...

2007-10-23 Thread FUJITA Tomonori
On Tue, 23 Oct 2007 12:58:11 +0200 Jens Axboe <[EMAIL PROTECTED]> wrote: > On Tue, Oct 23 2007, Jens Axboe wrote: > > On Tue, Oct 23 2007, FUJITA Tomonori wrote: > > > On Tue, 23 Oct 2007 00:43:21 -0700 (PDT) > > > David Miller <[EMAIL PROTECTED]> wrote: > > > > > > > From: Jens Axboe <[EMAIL PRO

Re: IDE crash...

2007-10-23 Thread Jens Axboe
On Tue, Oct 23 2007, Jens Axboe wrote: > On Tue, Oct 23 2007, FUJITA Tomonori wrote: > > On Tue, 23 Oct 2007 00:43:21 -0700 (PDT) > > David Miller <[EMAIL PROTECTED]> wrote: > > > > > From: Jens Axboe <[EMAIL PROTECTED]> > > > Date: Tue, 23 Oct 2007 09:23:59 +0200 > > > > > > > On Tue, Oct 23 200

Re: IDE crash...

2007-10-23 Thread Jens Axboe
On Tue, Oct 23 2007, FUJITA Tomonori wrote: > On Tue, 23 Oct 2007 00:43:21 -0700 (PDT) > David Miller <[EMAIL PROTECTED]> wrote: > > > From: Jens Axboe <[EMAIL PROTECTED]> > > Date: Tue, 23 Oct 2007 09:23:59 +0200 > > > > > On Tue, Oct 23 2007, David Miller wrote: > > > > From: Jens Axboe <[EMAIL

Re: IDE crash...

2007-10-23 Thread FUJITA Tomonori
On Tue, 23 Oct 2007 00:43:21 -0700 (PDT) David Miller <[EMAIL PROTECTED]> wrote: > From: Jens Axboe <[EMAIL PROTECTED]> > Date: Tue, 23 Oct 2007 09:23:59 +0200 > > > On Tue, Oct 23 2007, David Miller wrote: > > > From: Jens Axboe <[EMAIL PROTECTED]> > > > Date: Tue, 23 Oct 2007 09:09:33 +0200 > >

Re: IDE crash...

2007-10-23 Thread Jens Axboe
On Tue, Oct 23 2007, David Miller wrote: > From: Jens Axboe <[EMAIL PROTECTED]> > Date: Tue, 23 Oct 2007 09:23:59 +0200 > > > On Tue, Oct 23 2007, David Miller wrote: > > > From: Jens Axboe <[EMAIL PROTECTED]> > > > Date: Tue, 23 Oct 2007 09:09:33 +0200 > > > > > > > Eh this wont work, it's the w

Re: IDE crash...

2007-10-23 Thread David Miller
From: Jens Axboe <[EMAIL PROTECTED]> Date: Tue, 23 Oct 2007 09:23:59 +0200 > On Tue, Oct 23 2007, David Miller wrote: > > From: Jens Axboe <[EMAIL PROTECTED]> > > Date: Tue, 23 Oct 2007 09:09:33 +0200 > > > > > Eh this wont work, it's the wrong entry... Here's a temporary > > > work-around. > > >

Re: IDE crash...

2007-10-23 Thread Jens Axboe
On Tue, Oct 23 2007, FUJITA Tomonori wrote: > On Tue, 23 Oct 2007 09:09:33 +0200 > Jens Axboe <[EMAIL PROTECTED]> wrote: > > > On Tue, Oct 23 2007, Jens Axboe wrote: > > > On Mon, Oct 22 2007, David Miller wrote: > > > > > > > > I'm debugging a blk_rq_map_sg() crash that i'm getting on sparc64 as

Re: IDE crash...

2007-10-23 Thread Jens Axboe
On Tue, Oct 23 2007, David Miller wrote: > From: Jens Axboe <[EMAIL PROTECTED]> > Date: Tue, 23 Oct 2007 09:09:33 +0200 > > > Eh this wont work, it's the wrong entry... Here's a temporary > > work-around. > > > > diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c > > index c89f0d3..108202b

Re: IDE crash...

2007-10-23 Thread David Miller
From: Jens Axboe <[EMAIL PROTECTED]> Date: Tue, 23 Oct 2007 09:09:33 +0200 > Eh this wont work, it's the wrong entry... Here's a temporary > work-around. > > diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c > index c89f0d3..108202b 100644 > --- a/drivers/ide/ide-io.c > +++ b/drivers/ide/i

Re: IDE crash...

2007-10-23 Thread FUJITA Tomonori
On Tue, 23 Oct 2007 09:09:33 +0200 Jens Axboe <[EMAIL PROTECTED]> wrote: > On Tue, Oct 23 2007, Jens Axboe wrote: > > On Mon, Oct 22 2007, David Miller wrote: > > > > > > I'm debugging a blk_rq_map_sg() crash that i'm getting on sparc64 as > > > root is mounted over IDE. I think I know what is h

Re: IDE crash...

2007-10-23 Thread Jens Axboe
On Tue, Oct 23 2007, Jens Axboe wrote: > On Mon, Oct 22 2007, David Miller wrote: > > > > I'm debugging a blk_rq_map_sg() crash that i'm getting on sparc64 as > > root is mounted over IDE. I think I know what is happening now. > > > > The IDE sg table is allocated and initialized like this in >

Re: IDE crash...

2007-10-23 Thread Jens Axboe
On Mon, Oct 22 2007, David Miller wrote: > > I'm debugging a blk_rq_map_sg() crash that i'm getting on sparc64 as > root is mounted over IDE. I think I know what is happening now. > > The IDE sg table is allocated and initialized like this in > drivers/ide/ide-probe.c: > > x = kmalloc(siz

IDE crash...

2007-10-22 Thread David Miller
I'm debugging a blk_rq_map_sg() crash that i'm getting on sparc64 as root is mounted over IDE. I think I know what is happening now. The IDE sg table is allocated and initialized like this in drivers/ide/ide-probe.c: x = kmalloc(sizeof(struct scatterlist) * nents, GFP_XXX); sg_i