How to disable ACPI in 5.3

Wilkinson, Alex alex.wilkinson at dsto.defence.gov.au
Tue Nov 2 17:35:56 PST 2004


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
	"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
	_______________________________________________
	freebsd-current at freebsd.org mailing list
	http://lists.freebsd.org/mailman/listinfo/freebsd-current
	To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
	


More information about the freebsd-current mailing list