Re: How to disable ACPI in 5.3

From: Wilkinson, Alex <alex.wilkinson_at_dsto.defence.gov.au>
Date: Wed, 3 Nov 2004 11:55:22 +1030
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"
	
Received on Wed Nov 03 2004 - 00:35:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:20 UTC