Re: [PR] acpi module related bug in 1.2.0R

看板DFBSD_kernel作者時間21年前 (2005/04/11 18:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串7/10 (看更多)
On Mon, Apr 11, 2005 at 09:17:02AM +0200, Joerg Sonnenberger wrote: > On Sun, Apr 10, 2005 at 06:24:48PM +0800, Sepherosa Ziehau wrote: > > 1) with set debug.acpi.disabled="cmbat children" > > error messages continue to pop up. > > 2) with set debug.acpi.avoid="_SB.PCI0.PCIE.CRD0 _SB.PCI0.PCIE.CRD1" > > error messages shut up, everything works find. > > What about debug.acpi.disabled="bus"? If it works with debug.acpi.disabled="bus" but not with debug.acpi.disabled="children", that means it's AcpiGetType() that's messing up something. Probably `set debug.acpi.avoid' alone should also work, because there's one piece of code that I overlooked; when debug.acpi.avoid is set, it avoids running _INI and _STA methods, and namespaces list above are never scanned according to files `dmesg.acpi1' and `dmesg.acpi2' (which proves that my guess was wrong). Finding out which _INI or _STA methods(there are 25 of them) is the problem is bit of a work, but if you really don't mind the trouble of finding it out, you may want to start with somewhere around here: Device (CRD0) { Name (_ADR, 0x00010000) Method (_INI, 0, NotSerialized) { SMI (0x95, 0x04) } Name (_S1D, 0x00) Name (_S3D, 0x03) } change this to Device (CRD0) { Name (_ADR, 0x00010000) Method (_INI, 0, NotSerialized) { // SMI (0x95, 0x04) } Name (_S1D, 0x00) Name (_S3D, 0x03) } then compile it with iasl command, save it as /boot/acpi_dsdt.aml, add acpi_dsdt_load="YES" in /boot/loader.conf and reboot.
文章代碼(AID): #12Mb8i00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #12Mb8i00 (DFBSD_kernel)