Re: noyau 2.6.15 et DSDT
Salut,
Dans mon .config 2.6.15, j'ai bien
> - activer CONFIG_EXPERIMENTAL dans
> -> Code maturity level options
> -> Prompt for development and/or incomplete code/drivers
>
> - désactiver CONFIG_STANDALONE dans
> -> Device Drivers
> -> Generic Driver Options
> -> Select only drivers that don't need compile-time external
mais toujours pas de ->Include Custom DSDT :(
J'ai tenté un make menuconfig old mais sans succès également :(
Autre manip:
FR-PORT:/usr/src# ll
total 2384
drwxr-sr-x 4 1006 users 4096 2006-02-21 15:53 acerhk-0.5.32
-rw-r--r-- 1 root src 2419296 2006-02-21 19:12
kernel-image-2.6.15_FR.1_i386.deb
drwxr-xr-x 6 root root 4096 2005-10-14 16:40 kernel-patches
lrwxrwxrwx 1 root src 20 2006-02-24 18:55 linux ->
linux-source-2.6.15/
drwxr-xr-x 18 root root 4096 2006-02-24 18:55 linux-source-2.6.12
drwxr-xr-x 19 root root 4096 2006-02-24 19:07 linux-source-2.6.15
FR-PORT:/usr/src# grep DSDT linux-source-2.6.12/.config
CONFIG_ACPI_CUSTOM_DSDT_INITRD=y
FR-PORT:/usr/src# cp linux-source-2.6.12/.config linux-source-2.6.15/.config
FR-PORT:/usr/src# grep DSDT linux-source-2.6.15/.config
CONFIG_ACPI_CUSTOM_DSDT_INITRD=y
FR-PORT:/usr/src# cd linux
FR-PORT:/usr/src/linux# make-kpkg clean
...
FR-PORT:/usr/src/linux# make menuconfig
Et là pEs de "Include Custom DSDT".
Lorsque je quitte menuconfig, j'ai :
scripts/kconfig/mconf arch/i386/Kconfig
# using defaults found in .config
.config:164:warning: trying to assign nonexistent symbol
ACPI_CUSTOM_DSDT_INITRD
.config:167:warning: trying to assign nonexistent symbol ACPI_BUS
.config:170:warning: trying to assign nonexistent symbol ACPI_PCI
Il me sort donc un warning avec ACPI_CUSTOM_DSDT_INITRD.
Ok, j'ai donc un problème avec mon Kconfig ? avec les sources du 2.6.15 ?
J'avoue que je suis un peu perdu là.
a+
f.
Frédéric Bothamy a écrit :
* fabrice régnier <regnier.fab@free.fr> [2006-02-23 05:13] :
Salut la liste,
Je viens de passer du noyau 2.6.12 au 2.6.15.
Comme j'ai un portable avec une DSDT un peu buggée, pour compiler le
2.6.12, j'avais sélectionné dans le .config :
CONFIG_ACPI_CUSTOM_DSDT_INITRD=y
et dans /boot/grub/menu.lst, j'avais mis :
initrd /boot/DSDT.aml
Mais voilà, dans le .config du 2.6.15, aucune trace de ce paramètre:
FR-PORT:/boot# grep DSDT *
config-2.6.12:CONFIG_ACPI_CUSTOM_DSDT_INITRD=y
Ma question est donc: savez-vous comment activer cette DSDT custom pour
un noyau 2.6.15 ?
L'option est bien présente dans les sources du noyau 2.6.15 (cf.
drivers/acpi/Kconfig dans les sources du noyau).
Pour l'avoir il faut :
- activer CONFIG_EXPERIMENTAL dans
-> Code maturity level options
-> Prompt for development and/or incomplete code/drivers
- désactiver CONFIG_STANDALONE dans
-> Device Drivers
-> Generic Driver Options
-> Select only drivers that don't need compile-time external firmware
- activer CONFIG_ACPI_CUSTOM_DSDT dans
-> Power management options (ACPI, APM
-> ACPI (Advanced Configuration and Power Interface) Support
-> ACPI Support (ACPI [=y])
->Include Custom DSDT
Pour référence, j'indique comment j'ai trouvé cette dépendance :
- je cherche dans les fichiers Kconfig une option contenant DSDT :
$ find . -name "Kconfig" -exec grep -H DSDT {} \;
./drivers/acpi/Kconfig:config ACPI_CUSTOM_DSDT
[...]
- je regarde le descriptif de l'option en question :
$ cat ./drivers/acpi/Kconfig
config ACPI_CUSTOM_DSDT
bool "Include Custom DSDT"
depends on !STANDALONE
Donc, cette option dépend du fait que l'option STANDALONE n'est pas
activée.
On fait la même chose pour l'option STANDALONE que l'on trouve dans
./drivers/base/Kconfig. Le menu dans lequel apparaît cette option est
indiquée au début du fichier, soit "Generic Driver Options" et on a
également son descriptif : "Select only drivers that don't need
compile-time external firmware" ainsi que sa dépendance sur
EXPERIMENTAL.
Fred
Reply to: