Mailing List Archive

ACPI initialization failure with v2.6.21-rc4
Hi,

The kernel version mentioned in the subject won't boot because the ACPI
system does not get initialized; the system freezes on an outb() in
acpi_os_write_port() i.e. it does not do anything anymore and just hangs.

Here is the `stack trace' I managed to extract via debugging output:

-- acpi_os_write_port(0xb2, 240, 8)
-- acpi_hw_set_mode(ACPI_SYS_MODE_ACPI)
-- acpi_enable()
-- acpi_enable_subsystem(~ACPI_NO_ACPI_ENABLE)
-- acpi_early_init()
...

Notes:
* acpi_os_write_port(): I printk'd the arguments; the port
formatted with %#x and the value with %u.

* acpi_enable_subsystem(): I removed ACPI_NO_HARDWARE_INIT
from the arguments because it is not used anymore.
In this context I want to mention that it probably can be
removed from include/acpi/actypes.h generally.

Random question:

I noticed that acpi_gbl_FADT is declared in
include/acpi/acglobal.h but where is it actually defined and
initialized?

HTH,
Hannes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
ACPI initialization failure with v2.6.21-rc4 [ In reply to ]
[resend due to wrong mail headers last time]

Hi,

The kernel version mentioned in the subject won't boot because the ACPI
system does not get initialized; the system freezes on an outb() in
acpi_os_write_port() i.e. it does not do anything anymore and just hangs.

Here is the `stack trace' I managed to extract via debugging output:

-- acpi_os_write_port(0xb2, 240, 8)
-- acpi_hw_set_mode(ACPI_SYS_MODE_ACPI)
-- acpi_enable()
-- acpi_enable_subsystem(~ACPI_NO_ACPI_ENABLE)
-- acpi_early_init()
...

Notes:
* acpi_os_write_port(): I printk'd the arguments; the port
formatted with %#x and the value with %u.

* acpi_enable_subsystem(): I removed ACPI_NO_HARDWARE_INIT
from the arguments because it is not used anymore.
In this context I want to mention that it probably can be
removed from include/acpi/actypes.h generally.

Random question:

I noticed that acpi_gbl_FADT is declared in
include/acpi/acglobal.h but where is it actually defined and
initialized?

HTH,
Hannes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Re: ACPI initialization failure with v2.6.21-rc4 [ In reply to ]
Do you recall which acpi enabled kernel works for you?
If never, I guess your system don't support ACPI .
If yes, this should be resolved. Please enter a acpi bug into
bugzilla.kernel.org with sufficient info : dmesg,lspci -vvx,
/proc/ioports, acpidump output... w/ acpi=off.

On 3/18/07, Johannes Weiner <hannes-kernel@saeurebad.de> wrote:
> [resend due to wrong mail headers last time]
>
> Hi,
>
> The kernel version mentioned in the subject won't boot because the ACPI
> system does not get initialized; the system freezes on an outb() in
> acpi_os_write_port() i.e. it does not do anything anymore and just hangs.
>
> Here is the `stack trace' I managed to extract via debugging output:
>
> -- acpi_os_write_port(0xb2, 240, 8)
> -- acpi_hw_set_mode(ACPI_SYS_MODE_ACPI)
> -- acpi_enable()
> -- acpi_enable_subsystem(~ACPI_NO_ACPI_ENABLE)
> -- acpi_early_init()
> ...
>
> Notes:
> * acpi_os_write_port(): I printk'd the arguments; the port
> formatted with %#x and the value with %u.
>
> * acpi_enable_subsystem(): I removed ACPI_NO_HARDWARE_INIT
> from the arguments because it is not used anymore.
> In this context I want to mention that it probably can be
> removed from include/acpi/actypes.h generally.
>
> Random question:
>
> I noticed that acpi_gbl_FADT is declared in
> include/acpi/acglobal.h but where is it actually defined and
> initialized?
>
> HTH,
> Hannes
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/