Re: [PATCH 2.6.24-rc1] fix sg_phys to use dma_addr_t

2007-10-25 Thread Jens Axboe
On Thu, Oct 25 2007, Rolf Eike Beer wrote: > Jens Axboe wrote: > > On Thu, Oct 25 2007, Rolf Eike Beer wrote: > > > Jens Axboe wrote: > > > > On Thu, Oct 25 2007, Rolf Eike Beer wrote: > > > > > Am Donnerstag, 25. Oktober 2007 schrieb Arjan van de Ven: > > > > > > > Signed-off-by: Hugh Dickins <[EM

Re: [PATCH 2.6.24-rc1] fix sg_phys to use dma_addr_t

2007-10-25 Thread Rolf Eike Beer
Jens Axboe wrote: > On Thu, Oct 25 2007, Rolf Eike Beer wrote: > > Jens Axboe wrote: > > > On Thu, Oct 25 2007, Rolf Eike Beer wrote: > > > > Am Donnerstag, 25. Oktober 2007 schrieb Arjan van de Ven: > > > > > > Signed-off-by: Hugh Dickins <[EMAIL PROTECTED]> > > > > > > --- > > > > > > Whether thi

Re: [PATCH 2.6.24-rc1] fix sg_phys to use dma_addr_t

2007-10-25 Thread Jens Axboe
On Thu, Oct 25 2007, Rolf Eike Beer wrote: > Jens Axboe wrote: > > On Thu, Oct 25 2007, Rolf Eike Beer wrote: > > > Am Donnerstag, 25. Oktober 2007 schrieb Arjan van de Ven: > > > > > Signed-off-by: Hugh Dickins <[EMAIL PROTECTED]> > > > > > --- > > > > > Whether this is a complete patch, suitable

Re: [PATCH 2.6.24-rc1] fix sg_phys to use dma_addr_t

2007-10-25 Thread Rolf Eike Beer
Jens Axboe wrote: > On Thu, Oct 25 2007, Rolf Eike Beer wrote: > > Am Donnerstag, 25. Oktober 2007 schrieb Arjan van de Ven: > > > > Signed-off-by: Hugh Dickins <[EMAIL PROTECTED]> > > > > --- > > > > Whether this is a complete patch, suitable for all architectures, > > > > I'm not sure: it builds,

Re: [PATCH 2.6.24-rc1] fix sg_phys to use dma_addr_t

2007-10-25 Thread Jens Axboe
On Thu, Oct 25 2007, Rolf Eike Beer wrote: > Am Donnerstag, 25. Oktober 2007 schrieb Arjan van de Ven: > > > Signed-off-by: Hugh Dickins <[EMAIL PROTECTED]> > > > --- > > > Whether this is a complete patch, suitable for all architectures, > > > I'm not sure: it builds, boots and runs correctly on t

Re: [PATCH 2.6.24-rc1] fix sg_phys to use dma_addr_t

2007-10-25 Thread Rolf Eike Beer
Am Donnerstag, 25. Oktober 2007 schrieb Arjan van de Ven: > > Signed-off-by: Hugh Dickins <[EMAIL PROTECTED]> > > --- > > Whether this is a complete patch, suitable for all architectures, > > I'm not sure: it builds, boots and runs correctly on the x86_32 box > > in question, but you'll be a lot wi

Re: [PATCH 2.6.24-rc1] fix sg_phys to use dma_addr_t

2007-10-25 Thread Jens Axboe
On Thu, Oct 25 2007, Hugh Dickins wrote: > On Wed, 24 Oct 2007, Arjan van de Ven wrote: > > > Signed-off-by: Hugh Dickins <[EMAIL PROTECTED]> > > > --- > > > Whether this is a complete patch, suitable for all architectures, > > > I'm not sure: it builds, boots and runs correctly on the x86_32 box >

Re: [PATCH 2.6.24-rc1] fix sg_phys to use dma_addr_t

2007-10-24 Thread Hugh Dickins
On Wed, 24 Oct 2007, Arjan van de Ven wrote: > > Signed-off-by: Hugh Dickins <[EMAIL PROTECTED]> > > --- > > Whether this is a complete patch, suitable for all architectures, > > I'm not sure: it builds, boots and runs correctly on the x86_32 box > > in question, but you'll be a lot wiser than me a

Re: [PATCH 2.6.24-rc1] fix sg_phys to use dma_addr_t

2007-10-24 Thread Arjan van de Ven
> Signed-off-by: Hugh Dickins <[EMAIL PROTECTED]> > --- > Whether this is a complete patch, suitable for all architectures, > I'm not sure: it builds, boots and runs correctly on the x86_32 box > in question, but you'll be a lot wiser than me about using dma_addr_t > for everyone. (Seems a bit of

[PATCH 2.6.24-rc1] fix sg_phys to use dma_addr_t

2007-10-24 Thread Hugh Dickins
x86_32 CONFIG_HIGHMEM64G with 5GB RAM hung when booting, after issuing some "request_module: runaway loop modprobe binfmt-" messages in trying to exec /sbin/init. The binprm buf doesn't see the right ".ELF" header because sg_phys() is providing the wrong physical addresses for high pages: a 32