Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2000 10:56:12 +0900
From:      Osamu MIHARA <mihara@prd.fc.nec.co.jp>
To:        luoqi@watermarkgroup.com
Cc:        smp@csn.net, freebsd-smp@FreeBSD.ORG
Subject:   Re: Multiple APIC support (RE: Issues with Spankin' new Poweredge 4400 w/ dual 866's and 133MHz FSB?)
Message-ID:  <867ldtv8lf.wl@oz.prd.fc.nec.co.jp>
In-Reply-To: In your message of "Wed, 19 Apr 2000 20:23:04 -0400 (EDT)" <200004200023.UAA24083@lor.watermarkgroup.com>
References:  <200004200023.UAA24083@lor.watermarkgroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Luoqi,

At Wed, 19 Apr 2000 20:23:04 -0400 (EDT),
Luoqi Chen <luoqi@watermarkgroup.com> wrote:
> You're right, the code in pmap.c assumes page alignment for IO apics but
> according to MPspec they are only required to be aligned to 1K boundary.
> There is also a typo that would cause problems if you have more than one
> io apics that are on different pages. The following patch should fix these
> problems.

Thank you for the patch, but applying your patch results in panic
while booting, just after showing avail memory.  Here is the boot log.
(Even if second IO-APIC is disabled, the phenomenon is same.)

>> FreeBSD/i386 BOOT
Default: 0:da(0,a)kernel
boot:
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #1: Thu Apr 20 10:42:34 JST 2000
    mihara@swd-poseidon.prd.fc.nec.co.jp:/usr/src/sys/compile/POSEIDON
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (98.00-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping = 5
  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 100663296 (98304K bytes)
avail memory = 94220288 (92012K bytes)


Fatal trap 12: page fault while in kernel mode
mp_lock = 00000008; cpuid = 0; lapic.id = 00000000
fault virtual address   = 0xffc15000
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc02c9d27
stack pointer           = 0x10:0xc039bf44
frame pointer           = 0x10:0xc039bf54
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = Idle
interrupt mask          = net tty bio cam  <- SMP: XXX
trap number             = 12
panic: page fault
mp_lock = 00000008; cpuid = 0; lapic.id = 00000000
Uptime: 0s
-- 
  Osamu MIHARA // NEC Printers Division


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867ldtv8lf.wl>