View previous topic :: View next topic |
Author |
Message |
pablo_pita n00b
Joined: 05 Jan 2003 Posts: 25 Location: Frankfurt
|
Posted: Sat Jan 25, 2003 11:40 am Post subject: ACPI is enabled in the kernel, but there is no /proc/acpi |
|
|
Hello World,
I am trying to get ACPI working in my laptop.
When I do
# /etc/init.d/acpid start
I get
* ACPI support has not been compiled into the kernel
But I have compiled ACPI in the kernel. OK, I do not see /proc/acpi, so there is something wrong ...
I have ACPI compiled in the kernel 2.4.19-r10, and the kernel says that acpi is enabled. This is what I see in the log about acpi:
Code: |
Jan 25 11:01:43 hardy tbxface-0099 [01] Acpi_load_tables : ACPI Tables successfully loaded
Jan 25 11:01:43 hardy Parsing Methods:.....................................................................................................
.....................................hods found and parsed (519 nodes total)
Jan 25 11:01:43 hardy ACPI Namespace successfully loaded at root c0308520
Jan 25 11:01:43 hardy ACPI: Core Subsystem version [20011018]
Jan 25 11:01:43 hardy evxfevnt-0081 [02] Acpi_enable : Transition to ACPI mode successful
Jan 25 11:01:43 hardy Executing device _INI methods:........evregion-0302 [21] Ev_address_space_dispa: Region handler: AE_ERROR [System_memory]25 11:01:43 hardy Ps_execute: method failed - \_SB_.PCI0._INI (c2506728)
Jan 25 11:01:43 hardy Ps_execute: method failed - \_SB_.PCI0._INI (c2506728)
Jan 25 11:01:43 hardy nsinit-0351 [04] Ns_init_one_device : \ /_SB_PCI0._INI failed: AE_ERROR
Jan 25 11:01:43 hardy .....evregion-0302 [21] Ev_address_space_dispa: Region handler: AE_ERROR [PCIConfig]
Jan 25 11:01:43 hardy evregion-0302 [21] Ev_address_space_dispa: Region handler: AE_ERROR [PCIConfig]
Jan 25 11:01:43 hardy Ps_execute: method failed - \_SB_.PCI0.PCIB.CRD0._INI (c25055a8)
Jan 25 11:01:43 hardy nsinit-0351 [04] Ns_init_one_device : \ /_SB_PCI0PCIBCRD0._INI failed: AE_ERROR
Jan 25 11:01:43 hardy ...............evregion-0302 [21] Ev_address_space_dispa: Region handler: AE_ERROR [System_memory]
Jan 25 11:01:43 hardy Ps_execute: method failed - \_SB_.PCI0.LPCB.SIOD.COMA._STA (c2501928)
Jan 25 11:01:43 hardy uteval-0337 [05] Ut_execute_STA : _STA on COMA failed AE_ERROR
Jan 25 11:01:43 hardy .evregion-0302 [21] Ev_address_space_dispa: Region handler: AE_ERROR [System_memory]
Jan 25 11:01:43 hardy dswexec-0392 [12] Ds_exec_end_op : [LEqual]: Could not resolve operands, AE_ERROR
Jan 25 11:01:43 hardy Ps_execute: method failed - \_SB_.PCI0.LPCB.SIOD.IRDA._STA (c2501e28)
Jan 25 11:01:43 hardy uteval-0337 [05] Ut_execute_STA : _STA on IRDA failed AE_ERROR
Jan 25 11:01:43 hardy .evregion-0302 [21] Ev_address_space_dispa: Region handler: AE_ERROR [System_memory]
Jan 25 11:01:43 hardy dswexec-0392 [12] Ds_exec_end_op : [LEqual]: Could not resolve operands, AE_ERROR
Jan 25 11:01:43 hardy Ps_execute: method failed - \_SB_.PCI0.LPCB.SIOD.FIR_._STA (c2500528)
Jan 25 11:01:43 hardy uteval-0337 [05] Ut_execute_STA : _STA on FIR_ failed AE_ERROR
Jan 25 11:01:43 hardy .evregion-0302 [21] Ev_address_space_dispa: Region handler: AE_ERROR [System_memory]
Jan 25 11:01:43 hardy Ps_execute: method failed - \_SB_.PCI0.LPCB.SIOD.FDSK._STA (c25009a8)
Jan 25 11:01:43 hardy uteval-0337 [05] Ut_execute_STA : _STA on FDSK failed AE_ERROR
Jan 25 11:01:43 hardy ....evregion-0302 [21] Ev_address_space_dispa: Region handler: AE_ERROR [System_memory]
Jan 25 11:01:43 hardy Ps_execute: method failed - \_SB_.PCI0.LPCB.SIOD.PECP._STA (c24ffea8)
Jan 25 11:01:43 hardy uteval-0337 [05] Ut_execute_STA : _STA on PECP failed AE_ERROR
Jan 25 11:01:43 hardy ..............
Jan 25 11:01:43 hardy 49 Devices found: 44 _STA, 0 _INI
Jan 25 11:01:43 hardy Completing Region and Field initialization:..........
Jan 25 11:01:43 hardy 10/14 Regions, 0/0 Fields initialized (519 nodes total)
Jan 25 11:01:43 hardy ACPI: Subsystem enabled
Jan 25 11:01:43 hardy pty: 256 Unix98 ptys configured
Jan 25 11:01:43 hardy Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Jan 25 11:01:43 hardy ttyS00 at 0x03f8 (irq = 4) is a 16550A
Jan 25 11:01:43 hardy ttyS01 at 0x02f8 (irq = 3) is a 8250
Jan 25 11:01:43 hardy PCI: Found IRQ 11 for device 00:1f.6
Jan 25 11:01:43 hardy PCI: Sharing IRQ 11 with 00:1f.3
Jan 25 11:01:43 hardy PCI: Sharing IRQ 11 with 00:1f.5
Jan 25 11:01:43 hardy Uniform Multi-Platform E-IDE driver Revision: 6.31
Jan 25 11:01:43 hardy ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
|
What else could I do ? I might try compiling 2.4.20-r1 but there should be a reason for this.
Thanks,
PPL |
|
Back to top |
|
|
compu-tom Guru
Joined: 09 Jan 2003 Posts: 415 Location: Berlin, Germany
|
Posted: Sat Jan 25, 2003 12:19 pm Post subject: |
|
|
What says Code: | cd /usr/src/linux
grep -i acpi .config |
? For me it says Code: | # CONFIG_HOTPLUG_PCI_ACPI is not set
CONFIG_ACPI=y
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUSMGR=y
CONFIG_ACPI_SYS=y
# CONFIG_ACPI_CPU is not set
# CONFIG_ACPI_BUTTON is not set
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_EC is not set
# CONFIG_ACPI_CMBATT is not set
# CONFIG_ACPI_THERMAL is not set |
I run the 2.4.20 kernel and ACPI works fine. I have no additional daemon running. |
|
Back to top |
|
|
pablo_pita n00b
Joined: 05 Jan 2003 Posts: 25 Location: Frankfurt
|
Posted: Sat Jan 25, 2003 12:37 pm Post subject: |
|
|
The .config says:
# CONFIG_HOTPLUG_PCI_ACPI is not set
CONFIG_ACPI=y
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_BUSMGR=m
CONFIG_ACPI_SYS=m
CONFIG_ACPI_CPU=m
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_AC=m
CONFIG_ACPI_EC=m
CONFIG_ACPI_CMBATT=m
CONFIG_ACPI_THERMAL=m
I see my problem. The acpi modules are not loaded at boot time ! There is no acpi stuff in /etc/modules.d.
I think I have two options: I compile directly ACPI support into the kernel (I am doing that right now) or I see what to place in /etc/modules to have acpi loaded (no idea).
I keep with kernel 2.4.19-r10 as I use ext3 partitions and I am not sure about the stability of 2.4.20-r1 with this filesystem. |
|
Back to top |
|
|
compu-tom Guru
Joined: 09 Jan 2003 Posts: 415 Location: Berlin, Germany
|
Posted: Sat Jan 25, 2003 12:40 pm Post subject: |
|
|
You can just put the module's name in /etc/modules.autoload and it will be loaded automatically at startup time. |
|
Back to top |
|
|
pablo_pita n00b
Joined: 05 Jan 2003 Posts: 25 Location: Frankfurt
|
Posted: Sat Jan 25, 2003 12:58 pm Post subject: |
|
|
OK, I am running the kernel with ACPI compiled directly into the kernel (not as module) and ... ACPI works now !
Thanks for the support !
PPL |
|
Back to top |
|
|
|