Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Nov 2004 11:55:22 +1030
From:      "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
To:        freebsd-current@freebsd.org
Subject:   Re: How to disable ACPI in 5.3
Message-ID:  <20041103012521.GB479@squash.dsto.defence.gov.au>
In-Reply-To: <200410291445.51216.jhb@FreeBSD.org>
References:  <20041029022056.GA5751@philomath.unixcore.com>  <200410291445.51216.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Interesting.

I checked this myself because I thought I _was_ using ACPI.

I found this:

# grep -i acpi /var/run/dmesg.boot
KLD file acpi.ko - could not finalize loading

# devinfo | grep -A2 legacy
  legacy0
    pcib0
      pci0

Is ACPI meant to be compiled into the kernel or loaded as a module ?

What could cause acpi.ko to not load as a module ?

 - aW


	0n Fri, Oct 29, 2004 at 02:45:51PM -0400, John Baldwin wrote: 

	On Thursday 28 October 2004 10:20 pm, Daniel Bond wrote:
	> Hello!
	>
	> I am having difficulties booting FreeBSD 5.3 withou ACPI,
	> nothing in my kernelconfig indicates that ACPI is enabled.
	> In /boot/device.hints and loader.conf, I have put
	> hint.acpi.0.disabled="1", and I have also tried to
	> delete/temp move  /boot/kernel/acpi* ..
	>
	> And in adition to that I'm chosing "2. Boot with ACPI disabled"
	> from the bootloader menu.
	>
	> Yet, still I find ACPI in my kernel:
	> dev# kldstat -v | grep acpi
	> 		((( kernel.ko )))
	>                 196 acpi/fdc
	>                 203 acpi/ppc
	>                 205 acpi/sio
	>                 219 acpi/atpic
	>                 221 acpi/attimer
	>                 224 acpi/atdma
	>                 227 acpi/npxisa
	>                 236 acpi/atkbdc
	>                 239 acpi/psmcpnp
	>
	> Is there another way to disable ACPI in 5.3?
	
	That just means the drivers are present, it doesn't mean they are used.  It 
	looks like you have 'device acpi' in your kernel config.  The way to tell 
	that ACPI is enabled is to look for an acpi0 in your dmesg.  Alternatively, 
	you can run devinfo to list your device tree.  If pcib0 is a child of acpi0, 
	then you are using ACPI.  If it is a child of legacy0, then you aren't.
	
	-- 
	John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
	"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
	_______________________________________________
	freebsd-current@freebsd.org mailing list
	http://lists.freebsd.org/mailman/listinfo/freebsd-current
	To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
	



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