Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Aug 2006 16:53:19 +0200
From:      =?UTF-8?B?RXJpayBOw7hyZ2FhcmQ=?= <norgaard@locolomo.org>
To:        =?UTF-8?B?RXJpayBOw7hyZ2FhcmQ=?= <norgaard@locolomo.org>
Cc:        freebsd-mobile@freebsd.org
Subject:   Solved: ACPI problems: System grinds to a halt
Message-ID:  <44D8A55F.4040502@locolomo.org>
In-Reply-To: <44D36569.1000104@locolomo.org>
References:  <44D36569.1000104@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms050003080909090609070608
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

I have eventually found the solution, for others who may have problems,
the solution is below:

Erik Nørgaard wrote:

> I have problems booting with ACPI enabled. The result varies among three:
> 
> 1) The kernel will print a number of error messages:
> 
>    ACPI-0800: *** ERROR: AcpiEvGpeDispatch: No handler or methdo
>        for GPE[ 6], disabling event
> 
>    then hang after identifying the hard disk.
> 
> 2) Same as above, but the messages repeats flickering over the screen
>    apparently in an infinite loop.
> 
> 3) The system boots up, but with seriously reduced performance:
> 
>    Booting takes 3min20sec before the login console is presented, and
>    building the acpi kernel module takes 54min15sec! With acpi disabled
>    booting takes 30sec, and building the acpi module 19sec.
> 
> Evidently something is going on,
> 
> I beleive it to be hardware conflicts. I have had interrupt storm on
> irq5 when configuring the wireless nic which is on irq10 (default), and
> on irq7 when moving a connected usb mouse. Usb devices may be found if
> attached before boot, although this is no guarantee that they will work.
> 
> Another peculiar observation is that it seems to give more consistent
> result when acpi is built with debugging on(!).
> 
> ACPI however seems to be supported when/if the system comes up: The
> device is found and kernel tunables are there. 'halt -p' will halt and
> power down the machine.

All the problems I have had, including the described problems with iwi
(other thread) turned out to be related to one issue: There is a
conflict between acpi and apic.

apic is compiled in the GENERIC kernel, and the config leaves no clue of
what it's for. Looking in the NOTES, "The apic device enables the use of
the I/O APIC for interrupt delivery" and is required for SMP. This
explains the interrupt problems when both ACPI and APIC attempts to
handle interrupts - I guess this should result in a PR?

Anyway, two equivalent solutions seem to be:

1) Disable apic, set hint.apic.0.disabled="1" in loader.conf
2) Compile the kernel without "device apic"

I have only tried 2) though.

Cheers, Erik
-- 
Ph: +34.666334818                      web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9

--------------ms050003080909090609070608
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIL5jCC
Be8wggPXoAMCAQICCQCNA1Uf/OBPDDANBgkqhkiG9w0BAQUFADCBmTELMAkGA1UEBhMCRVMx
GDAWBgNVBAoTD0RhZW1vbiBTZWN1cml0eTEeMBwGA1UECxMVQ2VydGlmaWNhdGUgQXV0aG9y
aXR5MR4wHAYDVQQDExVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxJDAiBgkqhkiG9w0BCQEWFWNh
QGRhZW1vbnNlY3VyaXR5LmNvbTEKMAgGA1UEBRMBMDAeFw0wNjA0MjAxMzE2NTBaFw0wNzA0
MjAxMzE2NTBaMGIxCzAJBgNVBAYTAkVTMRUwEwYDVQQKEwxMb2NvTG9tby5PcmcxFjAUBgNV
BAMTDUVyaWsgTm9yZ2FhcmQxJDAiBgkqhkiG9w0BCQEWFW5vcmdhYXJkQGxvY29sb21vLm9y
ZzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMPmPk5QnkyvR4ZNS/jYCYEk6/x/
mqSIqM7XXmikYX4AmbS4AbgJg7tY150ti87oYIjH4pnt1ReYWV4P2lDE2w0Db73Fk3TGpYcq
XNUu4uRl8eoMX6Mh5I34tzJc+Z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CNA1Uf/OBPDDCBugYLKoZIhvcNAQkQ
AgsxgaqggacwgZkxCzAJBgNVBAYTAkVTMRgwFgYDVQQKEw9EYWVtb24gU2VjdXJpdHkxHjAc
BgNVBAsTFUNlcnRpZmljYXRlIEF1dGhvcml0eTEeMBwGA1UEAxMVQ2VydGlmaWNhdGUgQXV0
aG9yaXR5MSQwIgYJKoZIhvcNAQkBFhVjYUBkYWVtb25zZWN1cml0eS5jb20xCjAIBgNVBAUT
ATACCQCNA1Uf/OBPDDANBgkqhkiG9w0BAQEFAASCAQCg2wUyOmQ+0ZpOGgCCnFm5SoKiz0z4
crDVSQQ62hfnrksdcval8/tYWTn+NMCDgAMUMiaAWok9RkY83hcn/cy33vlj5+lQ/vV0FhiR
tvsnGAKLshcdewMfRb6Jz4pCRz1wor3obQj9PrqClcONw5s4hvpkK6BjBKW9hq6bRb0CAp1t
HEaJ4j0FsArZv7G6ujy113yGXPMAWs+VEcK6PMQEZ3wCKzcZGzswSZeGJQ6GuTjeZXiwcB73
Mfyx1ejRR5u2cqicyNqYxPc66Dx3fs1iXCl7bXMv7CBBgLrTxvSmsCMOB+2zbvqUgUrBrpCd
wqN5UysPwDfAHKeyDito2m97AAAAAAAA
--------------ms050003080909090609070608--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D8A55F.4040502>