On Mon, Jan 10, 2005 at 10:05:20AM -0800, Dave Hansen wrote: > On Mon, 2005-01-10 at 09:58 -0800, Mark Wong wrote: > > On Mon, Jan 10, 2005 at 09:23:45AM -0800, Dave Hansen wrote: > > > How much memory does the system have? 512MB? > > > > Yes, that's correct and I still have the following boot options that > > were recommended previously: > > > > mem=512m memmap=256m#512m vmalloc=512m > > OK, that makes sense. Somebody is doing __pa(highmem). > > > > Also, can you add some debugging to __ioremap() to see exactly what it's > > > called with when it dies? > > > > Like a printk() for every variable in arch/arm/mm/ioremap.c? > > Can you figure out *which* call (file/line#) to __pa() was causing the > BUG? Also, you're not really running on an ARM proc, right? > Oh, right, i386. In any event, if that didn't just show how often I work with kernel code, is a prink() on every line sufficient to determine where it dies? As for finding what is calling __pa() doesn't look as straightforward to me. Mark