> i have compiled freeBSD 3.4 SMP. but when i try to boot it the kernel
> shows "Testing APIC 8254" and then it hangs. earlier i had run mptable
> and it showed:I/O APICs:
> ----------------------
> {Lots of stuff}....
>
> APIC ID Version State Address
> 2 0x20 usable 0xfec00000
> 3 0x20 usable 0xfd8df000
You seem to have two IO APICs. You need
options NAPIC=2 # number of IO APICs
in the kernel config, *and* the following patch to sys/i386/i386/pmap.c
(this patch is in 3.4-STABLE, but not in 3.4-RELEASE).
Steinar Haug, Nethelp consulting, [EMAIL PROTECTED]
----------------------------------------------------------------------
*** pmap.c.orig Sat Apr 1 23:58:17 2000
--- pmap.c Tue Apr 25 23:59:29 2000
***************
*** 434,441 ****
for (j = 0; j < 16; j++) {
/* same page frame as a previous IO apic? */
if (((vm_offset_t)SMP_prvpt[j + 16] & PG_FRAME) ==
! (io_apic_address[0] & PG_FRAME)) {
! ioapic[i] = (ioapic_t *)&SMP_ioapic[j * PAGE_SIZE];
break;
}
/* use this slot if available */
--- 434,442 ----
for (j = 0; j < 16; j++) {
/* same page frame as a previous IO apic? */
if (((vm_offset_t)SMP_prvpt[j + 16] & PG_FRAME) ==
! (io_apic_address[i] & PG_FRAME)) {
! ioapic[i] = (ioapic_t *)&SMP_ioapic[j * PAGE_SIZE
! + (io_apic_address[i] & PAGE_MASK)];
break;
}
/* use this slot if available */
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message