be44 ACPI configuration. - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > System Hardware

System Hardware Internal storage, motherboards, PCI cards, stuff inside the case.

Reply
 
Thread Tools Display Modes
  #1  
Old April 13th, 2009, 11:33
fender0107401's Avatar
fender0107401 fender0107401 is offline
Member
 
Join Date: Nov 2008
Location: China, Beijing.
Posts: 298
Thanks: 41
Thanked 10 Times in 9 Posts
Default ACPI configuration.

Hi all:

In handbook 11.15.3:
Quote:
The acpi.ko driver is loaded by default at start up by the loader(8) and should not be compiled into the kernel. The reasoning behind this is that modules are easier to work with, say if switching to another acpi.ko without doing a kernel rebuild. This has the advantage of making testing easier. Another reason is that starting ACPI after a system has been brought up often doesn't work well. If you are experiencing problems, you can disable ACPI altogether. This driver should not and can not be unloaded because the system bus uses it for various hardware interactions. ACPI can be disabled by setting hint.acpi.0.disabled="1" in /boot/loader.conf or at the loader(8) prompt.
In the default kernel configuration file:
Quote:
# Bus support.
device acpi
device pci
Why add "acpi" into the defaul kernel setting and also not recommended this?
__________________
Just be yourself.
Reply With Quote
  #2  
Old April 13th, 2009, 12:10
fender0107401's Avatar
fender0107401 fender0107401 is offline
Member
 
Join Date: Nov 2008
Location: China, Beijing.
Posts: 298
Thanks: 41
Thanked 10 Times in 9 Posts
Default

I commented out this line in my /etc/make.conf "NO_MODULES=true" and recompiled the kernel and installed it.
Quote:
$ kldstat
Id Refs Address Size Name
1 1 0xffffffff80100000 684978 kernel
Seems no any thing is loaded except the kernel.
Quote:
$ ls /boot/kernel | grep -i acpi
acpi_aiboost.ko
acpi_asus.ko
acpi_dock.ko
acpi_fujitsu.ko
acpi_ibm.ko
acpi_panasonic.ko
acpi_sony.ko
acpi_toshiba.ko
acpi_video.ko
Seems "acpi" in the kernel is mot complete?
__________________
Just be yourself.
Reply With Quote
  #3  
Old April 13th, 2009, 12:14
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,694
Thanks: 47
Thanked 2,021 Times in 1,860 Posts
Default

Quote:
Originally Posted by fender0107401 View Post
In the default kernel configuration file:
Unless I'm mistaken device acpi is NOT part of i386 GENERIC. That line should read device eisa.
It's only in GENERIC on amd64. IIRC on amd64 it is mandatory.
Reply With Quote
  #4  
Old April 13th, 2009, 12:22
fender0107401's Avatar
fender0107401 fender0107401 is offline
Member
 
Join Date: Nov 2008
Location: China, Beijing.
Posts: 298
Thanks: 41
Thanked 10 Times in 9 Posts
Default

I don't remember that I have edited "GENERIC", but not sure.
Quote:
$ uname -a
FreeBSD PC-686.Workstation 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #2: Mon Apr 13 18:51:07 CST 2009 fender@PC-686.Workstation:/usr/obj/usr/src/sys/MYKERNEL amd64
Quote:
$ grep -i acpi /sys/amd64/conf/GENERIC
device acpi
__________________
Just be yourself.
Reply With Quote
Reply

Tags
acpi, kernel

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is your home server/workstation configuration Dr_Phoenix System Hardware 20 July 1st, 2009 15:29
dhcp server configuration issue kalns Networking 24 February 19th, 2009 13:59
X configuration file jemate18 X.Org 3 February 6th, 2009 09:56
[Openbox] [Help] OpenBox Configuration azzura- Other Window Managers 7 December 23rd, 2008 13:42
xorg configuration problem francach X.Org 7 December 9th, 2008 13:07


All times are GMT +1. The time now is 07:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0