This is a discussion on acpi dsdt on a acer extensa 4102wlmi laptop within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hi, Lately I've switched from Mandriva cooker to gentoo2006.0 and in the same time from a 2.6.14 to a ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, Lately I've switched from Mandriva cooker to gentoo2006.0 and in the same time from a 2.6.14 to a 2.6.15-gentoo kernel. In mandriva I experienced problems while trying to get acpi functional on my acer extensa 4102wlmi laptop because of a corrupted DSDT table : the BIOS returned bad values to the kernel which wouldn't boot if the acpi=off paramater was not present => I solved the problem overriding the original DSDT table inserting a corrected one into the initrd image. But here initrd has been replaced with initramfs and this tip doesn't apply anymore. I've patched my gentoo kernel with the acpi-dsdt-initrd-patches/acpi-dsdt-initrd-v0.8.1-2.6.16.patch from http://www.gaugusch.at/ and I then get a "kernel panic - not syncing: VFS: Unable to mount root fs on unknown block ..." I've also applied the acpi-dsdt-initramfs-fix-2.6.10-cleanup.patch and I still obtain the same error. So I gave up and tried the static method : inserting it directly into the kernel (i've tried a vanilla 2.6.16.18 from kernel.org patched with the acpi patch located at acpi.sourceforge.net and a gentoo 2.6.16 (latest gentoo unstable)but the option that I want to use "Insert custom DSDT from file" remains unavailable : it appears in xconfig if i check the "show all options" box but i can't use it . eventually i got a partial acpi support using a tip from a french site (http://www.linuxfr.org/tips/263.html : modifying manually this file /usr/src/linux/drivers/acpi/osl.c ) before recompiling the kernel So, does anyone know how to correctly replace my dsdt table either statically in the kernel (which i would prefer) or in initramfs ? Thanks in advance cedrik |
| |||
| Cedrik ha scritto: > [...] > So I gave up and tried the static method : > inserting it directly into the kernel (i've tried a vanilla 2.6.16.18 > from kernel.org patched with the acpi patch located at > acpi.sourceforge.net and a gentoo 2.6.16 (latest gentoo unstable)but the > option that I want to use "Insert custom DSDT from file" remains > unavailable : it appears in xconfig if i check the "show all options" > box but i can't use it . I had the same problem with kernel 2.6.13. The solution is to uncheck another option in section: Device Drivers Generic Driver Options [ ] Select only drivers that don't need compile-time external firmware After unchecking it, the ACPI_CUSTOM_DSDT option was enabled and I could select a custom DSDT.hex file. See here for more explanations: http://acpi.sourceforge.net/wiki/ind...OverrideTables |
| ||||
| pasquale a écrit : > Cedrik ha scritto: > >> [...] >> So I gave up and tried the static method : >> inserting it directly into the kernel (i've tried a vanilla 2.6.16.18 >> from kernel.org patched with the acpi patch located at >> acpi.sourceforge.net and a gentoo 2.6.16 (latest gentoo unstable)but the >> option that I want to use "Insert custom DSDT from file" remains >> unavailable : it appears in xconfig if i check the "show all options" >> box but i can't use it . > > I had the same problem with kernel 2.6.13. The solution is to uncheck > another option in section: > > Device Drivers > > Generic Driver Options > > [ ] Select only drivers that don't need compile-time external > firmware > > After unchecking it, the ACPI_CUSTOM_DSDT option was enabled and I > could select a custom DSDT.hex file. > > See here for more explanations: > http://acpi.sourceforge.net/wiki/ind...OverrideTables > Great thanks to you! I'll try this and i'll let you know when it's done cedrik |