Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 2020 20:44:06 +0200
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        John Baldwin <jhb@freebsd.org>
Cc:        Mark Johnston <markj@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   Re: svn commit: r361334 - in stable/12/sys: amd64/amd64 arm64/arm64 dev/acpica i386/i386 x86/acpica
Message-ID:  <20200522184406.GA99475@mail.bsd4all.net>
In-Reply-To: <6c46560e-cc5b-ec15-d352-a3bf8eeede6a@FreeBSD.org>
References:  <202005211528.04LFSZFF068443@repo.freebsd.org> <87a720aowg.wl-herbert@gojira.at> <6c46560e-cc5b-ec15-d352-a3bf8eeede6a@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 22, 2020 at 08:57:44AM -0700, John Baldwin wrote:
> On 5/21/20 3:45 PM, Herbert J. Skuhra wrote:
> > 
> > Until now it was possible to build a kernel (amd64) without 'device
> > acpi'. After this commit it fails with this error:
> > 
> > --- kernel.full ---
> > linking kernel.full
> > ld: error: undefined symbol: acpi_pxm_set_cpu_locality
> >>>> referenced by mp_machdep.c:269 (/usr/src/sys/amd64/amd64/mp_machdep.c:269)
> >>>>               mp_machdep.o:(cpu_mp_start)
> > *** [kernel.full] Error code 1
> > 
> > Was that intended?
> 
> I know Mark has already fixed this, but can you elaborate on your use case for
> not compiling ACPI support into the kernel?

Yes, thanks!

I still use a Soekris Net6501-70 board. It shows the following errors when
ACPI is enabled:

Firmware Error (ACPI): A valid RSDP was not found (20200430/tbxfroot-369)
[...]
ACPI: Table initialisation failed: AE_NOT_FOUND
ACPI: Try disabling either ACPI or apic support.

It works fine without ACPI so I removed it. I need a custom kernel
anyway (the kernel panics without 'device atpic').

-- 
Herbert



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