Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

How to buid a NON ACPI kernel?



Hi,

I need a kernel without any ACPI support, because ACPI is broken for me
on a specific notebook.
It seems that it is no longer possible to build such a kernel.

I need apm and no acpi nor ioapic.

A kernel build with:
  no acpi0 at mainbus0
  no ioapic* at mainbus?
won't link:

cpu.o: In function `mp_cpu_start':
/src/sys/arch/x86/x86/cpu.c:908: undefined reference to `x86_ipi_init'
/src/sys/arch/x86/x86/cpu.c:916: undefined reference to `x86_ipi_startup'
/src/sys/arch/x86/x86/cpu.c:924: undefined reference to `x86_ipi_startup'
cpu.o: In function `cpu_hatch':
/src/sys/arch/x86/x86/cpu.c:715: undefined reference to `lapic_enable'
/src/sys/arch/x86/x86/cpu.c:716: undefined reference to `lapic_set_lvt'
/src/sys/arch/x86/x86/cpu.c:717: undefined reference to `lapic_initclocks'
cpu.o: In function `cpu_set_tss_gates':
/src/sys/arch/x86/x86/cpu.c:848: undefined reference to `Xintrddbipi'
cpu.o: In function `i82489_readreg':
./x86/i82489var.h:50: undefined reference to `local_apic'
./x86/i82489var.h:50: undefined reference to `local_apic'
./x86/i82489var.h:50: undefined reference to `local_apic'
./x86/i82489var.h:50: undefined reference to `local_apic'
cpu.o: In function `i82489_writereg':
./x86/i82489var.h:57: undefined reference to `local_apic'
cpu.o:./x86/i82489var.h:50: more undefined references to `local_apic' follow
cpu.o: In function `cpu_attach':
/src/sys/arch/x86/x86/cpu.c:365: undefined reference to `lapic_enable'
/src/sys/arch/x86/x86/cpu.c:366: undefined reference to `lapic_set_lvt'
/src/sys/arch/x86/x86/cpu.c:367: undefined reference to `lapic_calibrate_timer'
ipi.o: In function `x86_send_ipi':
/src/sys/arch/x86/x86/ipi.c:61: undefined reference to `x86_ipi'
ipi.o: In function `x86_broadcast_ipi':
/src/sys/arch/x86/x86/ipi.c:90: undefined reference to `x86_ipi'
pmap.o: In function `pmap_tlb_shootdown':
/src/sys/arch/x86/x86/pmap.c:4562: undefined reference to `x86_ipi'
/src/sys/arch/x86/x86/pmap.c:4601: undefined reference to `x86_ipi'
mpbios.o: In function `mpbios_pci_attach_hook':
/src/sys/arch/x86/x86/mpbios.c:1181: undefined reference to `intr_add_pcibus'
mpbios.o: In function `i82489_readreg':
./x86/i82489var.h:50: undefined reference to `local_apic'
./x86/i82489var.h:50: undefined reference to `local_apic'
db_interface.o: In function `db_machine_init':
/src/sys/arch/i386/i386/db_interface.c:107: undefined reference to `Xintrddbipi'
db_interface.o: In function `kdb_trap':
/src/sys/arch/i386/i386/db_interface.c:130: undefined reference to `x86_ipi'
*** Error code 1


Bernd



Home | Main Index | Thread Index | Old Index