Subject: Re: More netbsd-4 woes
To: Joerg Sonnenberger <joerg@NetBSD.org>
From: Peter Eisch <peter@boku.net>
List: current-users
Date: 10/13/2007 11:01:57
On 10/13/07 8:36 AM, "Joerg Sonnenberger" <joerg@NetBSD.org> wrote:
> On Wed, Oct 10, 2007 at 06:30:35PM -0500, Peter Eisch wrote:
>>>> acpi0: X/RSDT: OemId <COMPAQ,YORKTOWN,00000002>, AslId < M-R^D,0000162e>
>>>
>>> This looks like a DL580 or similar? I have one and it exhibits the same
>>> problem.
>>>
>>
>> Yes, this is a circa 2001 Compaq DL5?0. It's 7U tall, noisy and heavy, but
>> otherwise quite handy for chugging on code.
>
> Can you also please use either the patch I provided or
> http://www.netbsd.org/~joerg/netbsd4-i386.bz2?
>
Sorry I missed your patch. I booted from your kernel linked above and it
get through to the Timecounters line just after the ioapic0: enabled.
I'd be happy with just getting an MPBIOS kernel running. I've tried a
config:
-----------
include "arch/i386/conf/GENERIC.NOACPI"
options MULTIPROCESSOR
options APM_NO_IDLE
options MPBIOS # configure CPUs and APICs using MPBIOS
-----------
But it fails with:
===> build.sh command: /builds/netbsd-4/src/build.sh -j 1 -u -U -N 0 -x -M
/builds/netbsd-4/i386/obj -m i386 -D /builds/netbsd-4/i386/dest -R
/builds/netbsd-4/i386/release -T /builds/netbsd-4/i386/tools
kernel=GENERIC.MP.NOACPI
===> build.sh started: Sat Oct 13 10:51:20 CDT 2007
===> NetBSD version: 4.0_RC2
===> MACHINE: i386
===> MACHINE_ARCH: i386
===> Build platform: NetBSD 4.0_RC2 i386
===> HOST_SH: /bin/sh
===> TOOLDIR path: /builds/netbsd-4/i386/tools
===> DESTDIR path: /builds/netbsd-4/i386/dest
===> RELEASEDIR path: /builds/netbsd-4/i386/release
===> makewrapper: /builds/netbsd-4/i386/tools/bin/nbmake-i386
===> Updated /builds/netbsd-4/i386/tools/bin/nbmake-i386
===> Building kernel without building new tools
===> Building kernel: GENERIC.MP.NOACPI
===> Build directory:
/builds/netbsd-4/i386/obj/builds/netbsd-4/src/sys/arch/i386/compile/GENERIC.
MP.NOACPI
Build directory is
/builds/netbsd-4/i386/obj/builds/netbsd-4/src/sys/arch/i386/compile/GENERIC.
MP.NOACPI
Don't forget to run "make depend"
depending the kern library objects
depending the compat library objects
making sure the compat library is up to date...
making sure the kern library is up to date...
building standard kern library
cc1: warnings being treated as errors
/builds/netbsd-4/src/sys/arch/i386/i386/cpu.c: In function 'cpu_init_first':
/builds/netbsd-4/src/sys/arch/i386/i386/cpu.c:187: warning: implicit
declaration of function 'lapic_cpu_number'
/builds/netbsd-4/src/sys/arch/i386/i386/cpu.c: In function 'cpu_hatch':
/builds/netbsd-4/src/sys/arch/i386/i386/cpu.c:602: warning: implicit
declaration of function 'lapic_enable'
/builds/netbsd-4/src/sys/arch/i386/i386/cpu.c:603: warning: implicit
declaration of function 'lapic_initclocks'
/builds/netbsd-4/src/sys/arch/i386/i386/cpu.c:614: warning: implicit
declaration of function 'lapic_set_lvt'
/builds/netbsd-4/src/sys/arch/i386/i386/cpu.c:623: error: 'lapic_tpr'
undeclared (first use in this function)
/builds/netbsd-4/src/sys/arch/i386/i386/cpu.c:623: error: (Each undeclared
identifier is reported only once
/builds/netbsd-4/src/sys/arch/i386/i386/cpu.c:623: error: for each function
it appears in.)
*** [cpu.o] Error code 1
1 error
nbmake: stopped in
/builds/netbsd-4/i386/obj/builds/netbsd-4/src/sys/arch/i386/compile/GENERIC.
MP.NOACPI
ERROR: Failed to make all in
/builds/netbsd-4/i386/obj/builds/netbsd-4/src/sys/arch/i386/compile/GENERIC.
MP.NOACPI
*** BUILD ABORTED ***
peter