From: Thomas Schenk <[EMAIL PROTECTED]>
  Date: Thu, 21 Jan 1999 16:23:39 -0600

  On Thu, 21 Jan 1999, you wrote:
  >btw, what PAGE_OFFSET setting do you use? (the default?)
  >

  As a followup, I downloaded the 2.2.0-pre9 kernel, ran the same tests as 
  before and had the same results, including the panics.  The panics were
  again in the same function:

  701ccd98 t BusLogic_ScanIncomingMailboxes

  Any ideas or things that I should try?

I'm fairly certain that it is the virtual to physical mapping macros that are
producing incorrect results.  Please try changing linux/include/asm-i386/io.h
from:

#define __io_virt(x)            ((void *)(PAGE_OFFSET | (unsigned long)(x)))
#define __io_phys(x)            ((unsigned long)(x) & ~PAGE_OFFSET)

to:

#define __io_virt(x)            ((void *)((unsigned long)(x) + PAGE_OFFSET))
#define __io_phys(x)            ((unsigned long)(x) - PAGE_OFFSET)

and see if that helps.

                Leonard
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to