On Thu, 21 Jan 1999, you wrote:
>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.
>
I rebuilt the 2.2.0-pre9 kernel with this patch and haven't been able to
reproduce the problem yet. The first sign that things looked better was
that the amount of memory reported in /proc/meminfo was close to the whole
2 Gigs instead of 1.5 Gigs as it had been previously. I will continue
beating on the machine to see if I can repeat the problem, but I don't
think that I will be able.
This is so cool. Thanks.
Tom
--
+-----------------------+-------------------------+------------------------+
| Tom Schenk | Use Linux! | All opinions expressed |
| [EMAIL PROTECTED] | Friends don't let | are mine and not those |
| [EMAIL PROTECTED] | friends do Windows! | of my employer. |
+-----------------------+-------------------------+------------------------+
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]