erros no check-config no kernel Linux 3.19.0, configurado no Ubuntu 15.04 x86-64

2

Sou novo na configuração dos kernels do Linux e estou recebendo os seguintes erros ao executar o config-check:

check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/amd64-config.flavour.generic: loading config
check-config: /home/aaron/linux-3.19.0/debian.master/config/annotations loading annotations
check-config: FAIL (y != m): CONFIG_NVRAM                                       
p mark<ENFORCED> policy<{'amd64': 'm', 'armhf': 'm', 'i386': 'm', 'powerpc-powerpc-e500mc': 'y', 'powerpc-powerpc-smp': 'y'}> note<boot essential on powerpc LP:942193>
check-config: FAIL (n != y): CONFIG_VFAT_FS                                     
y mark<ENFORCED> note<needed on arm to ensure we can write the kernel when replacing>
check-config: 41/43 checks passed -- exit 1
check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/amd64-config.flavour.lowlatency: loading config
check-config: /home/aaron/linux-3.19.0/debian.master/config/annotations loading annotations
check-config: FAIL (y != -): CONFIG_THERM_ADT746X                               
p mark<ENFORCED> policy<{'powerpc-powerpc-smp': 'y'}> note<LP:#923094>
check-config: 42/43 checks passed -- exit 1
check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/i386-config.flavour.generic: loading config
check-config: /home/aaron/linux-3.19.0/debian.master/config/annotations loading annotations
check-config: FAIL (y != -): CONFIG_THERM_ADT746X
p mark<ENFORCED> policy<{'powerpc-powerpc-smp': 'y'}> note<LP:#923094>
check-config: 42/43 checks passed -- exit 1
check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/i386-config.flavour.lowlatency: loading config
check-config: /home/aaron/linux-3.19.0/debian.master/config/annotations loading annotations
check-config: FAIL (y != -): CONFIG_THERM_ADT746X                               
p mark<ENFORCED> policy<{'powerpc-powerpc-smp': 'y'}> note<LP:#923094>
check-config: 42/43 checks passed -- exit 1
check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/armhf-config.flavour.generic: loading config
check-config: /home/aaron/linux-3.19.0/debian.master/config/annotations loading annotations
check-config: FAIL (y != -): CONFIG_THERM_ADT746X                               
p mark<ENFORCED> policy<{'powerpc-powerpc-smp': 'y'}> note<LP:#923094>
check-config: FAIL (y != -): CONFIG_XEN_ACPI_PROCESSOR                  
p mark<ENFORCED> policy<{'i386': 'y', 'amd64': 'y'}> <boot essential on XEN host>
check-config: FAIL (y != -): CONFIG_EFI_VARS                                    
p mark<ENFORCED> policy<{'amd64': 'y', 'arm64': 'y', 'i386': 'y'}> note<EFI boot requirement (d-i) LP:#837332>
check-config: FAIL (n != -): CONFIG_ACPI_CUSTOM_METHOD                  
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}> note<SECURITY: allows arbitrary execution>
check-config: FAIL (n != -): CONFIG_COMPAT_VDSO                              
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}>
check-config: 38/43 checks passed -- exit 1
check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/armhf-config.flavour.generic-lpae: loading config
check-config: /home/aaron/linux-3.19.0/debian.master/config/annotations loading annotations
check-config: FAIL (y != -): CONFIG_THERM_ADT746X                               
p mark<ENFORCED> policy<{'powerpc-powerpc-smp': 'y'}> note<LP:#923094>
check-config: FAIL (y != -): CONFIG_XEN_ACPI_PROCESSOR                  
p mark<ENFORCED> policy<{'i386': 'y', 'amd64': 'y'}> <boot essential on XEN host>
check-config: FAIL (y != -): CONFIG_EFI_VARS                                    
p mark<ENFORCED> policy<{'amd64': 'y', 'arm64': 'y', 'i386': 'y'}> note<EFI boot requirement (d-i) LP:#837332>
check-config: FAIL (n != -): CONFIG_ACPI_CUSTOM_METHOD                  
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}> note<SECURITY: allows arbitrary execution>
check-config: FAIL (n != -): CONFIG_COMPAT_VDSO                              
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}>
check-config: 38/43 checks passed -- exit 1
check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/arm64-config.flavour.generic: loading config
check-config: /home/aaron/linux-3.19.0/debian.master/config/annotations loading annotations
check-config: FAIL (y != -): CONFIG_THERM_ADT746X                               
p mark<ENFORCED> policy<{'powerpc-powerpc-smp': 'y'}> note<LP:#923094>
check-config: FAIL (y != -): CONFIG_XEN_ACPI_PROCESSOR                  
p mark<ENFORCED> policy<{'i386': 'y', 'amd64': 'y'}> <boot essential on XEN host>
check-config: FAIL (y != -): CONFIG_DEBUG_RODATA                                
p mark<ENFORCED> policy<{'amd64': 'y', 'i386': 'y', 'armhf': 'y'}>
check-config: FAIL (n != -): CONFIG_ACPI_CUSTOM_METHOD                  
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}> note<SECURITY: allows arbitrary execution>
check-config: FAIL (n != -): CONFIG_COMPAT_VDSO                              
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}>
check-config: 38/43 checks passed -- exit 1
check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/ppc64el-config.flavour.generic: loading config
check-config: /home/aaron/linux-3.19.0/debian.master/config/annotations loading annotations
check-config: FAIL (y != -): CONFIG_THERM_ADT746X                               
p mark<ENFORCED> policy<{'powerpc-powerpc-smp': 'y'}> note<LP:#923094>
check-config: FAIL (y != -): CONFIG_XEN_ACPI_PROCESSOR                  
p mark<ENFORCED> policy<{'i386': 'y', 'amd64': 'y'}> <boot essential on XEN host>
check-config: FAIL (y != -): CONFIG_EFI_VARS                                    
p mark<ENFORCED> policy<{'amd64': 'y', 'arm64': 'y', 'i386': 'y'}> note<EFI boot requirement (d-i) LP:#837332>
check-config: FAIL (y != -): CONFIG_CC_STACKPROTECTOR_REGULAR           
p mark<ENFORCED> policy<{'powerpc': '-', 'ppc64el': '-', '*': 'y'}>
check-config: FAIL (y != -): CONFIG_DEBUG_RODATA                                
p mark<ENFORCED> policy<{'amd64': 'y', 'i386': 'y', 'armhf': 'y'}>
check-config: FAIL (y != -): CONFIG_DEBUG_SET_MODULE_RONX                       
p mark<ENFORCED> policy<{'powerpc': '-', 'ppc64el': '-', '*': 'y'}>
check-config: FAIL (n != -): CONFIG_ACPI_CUSTOM_METHOD                  
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}> note<SECURITY: allows arbitrary execution>
check-config: FAIL (n != -): CONFIG_COMPAT_VDSO                              
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}>
check-config: 35/43 checks passed -- exit 1
check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/powerpc-config.flavour.powerpc-e500mc: loading config
check-config: /home/aaron/linux-3.19.0/debian.master/config/annotations loading annotations
check-config: FAIL (y != -): CONFIG_THERM_ADT746X                               
p mark<ENFORCED> policy<{'powerpc-powerpc-smp': 'y'}> note<LP:#923094>
check-config: FAIL (y != -): CONFIG_XEN_ACPI_PROCESSOR                  
p mark<ENFORCED> policy<{'i386': 'y', 'amd64': 'y'}> <boot essential on XEN host>
check-config: FAIL (y != -): CONFIG_EFI_VARS                                    
p mark<ENFORCED> policy<{'amd64': 'y', 'arm64': 'y', 'i386': 'y'}> note<EFI boot requirement (d-i) LP:#837332>
check-config: FAIL (y != -): CONFIG_CC_STACKPROTECTOR_REGULAR           
p mark<ENFORCED> policy<{'powerpc': '-', 'ppc64el': '-', '*': 'y'}>
check-config: FAIL (y != -): CONFIG_DEBUG_RODATA                                
p mark<ENFORCED> policy<{'amd64': 'y', 'i386': 'y', 'armhf': 'y'}>
check-config: FAIL (y != -): CONFIG_DEBUG_SET_MODULE_RONX                       
p mark<ENFORCED> policy<{'powerpc': '-', 'ppc64el': '-', '*': 'y'}>
check-config: FAIL (n != -): CONFIG_ACPI_CUSTOM_METHOD                  
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}> note<SECURITY: allows arbitrary execution>
check-config: FAIL (n != -): CONFIG_COMPAT_VDSO                              
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}>
check-config: 35/43 checks passed -- exit 1
check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/powerpc-config.flavour.powerpc-smp: loading config
check-config: /home/aaron/linux-3.19.0/debian.master/config/annotations loading annotations
check-config: FAIL (y != -): CONFIG_XEN_ACPI_PROCESSOR                  
p mark<ENFORCED> policy<{'i386': 'y', 'amd64': 'y'}> <boot essential on XEN host>
check-config: FAIL (y != -): CONFIG_EFI_VARS                                    
p mark<ENFORCED> policy<{'amd64': 'y', 'arm64': 'y', 'i386': 'y'}> note<EFI boot requirement (d-i) LP:#837332>
check-config: FAIL (y != -): CONFIG_CC_STACKPROTECTOR_REGULAR           
p mark<ENFORCED> policy<{'powerpc': '-', 'ppc64el': '-', '*': 'y'}>
check-config: FAIL (y != -): CONFIG_DEBUG_RODATA                                
p mark<ENFORCED> policy<{'amd64': 'y', 'i386': 'y', 'armhf': 'y'}>
check-config: FAIL (y != -): CONFIG_DEBUG_SET_MODULE_RONX                       
p mark<ENFORCED> policy<{'powerpc': '-', 'ppc64el': '-', '*': 'y'}>
check-config: FAIL (n != -): CONFIG_ACPI_CUSTOM_METHOD                  
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}> note<SECURITY: allows arbitrary execution>
check-config: FAIL (n != -): CONFIG_COMPAT_VDSO                              
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}>
check-config: 36/43 checks passed -- exit 1
check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/powerpc-config.flavour.powerpc64-emb: loading config
check-config: /home/aaron/linux-3.19.0/debian.master/config/annotations loading annotations
check-config: FAIL (y != -): CONFIG_NVRAM                                       
p mark<ENFORCED> policy<{'amd64': 'm', 'armhf': 'm', 'i386': 'm', 'powerpc-powerpc-e500mc': 'y', 'powerpc-powerpc-smp': 'y'}> note<boot essential on powerpc LP:942193>
check-config: FAIL (y != -): CONFIG_THERM_ADT746X                               
p mark<ENFORCED> policy<{'powerpc-powerpc-smp': 'y'}> note<LP:#923094>
check-config: FAIL (y != -): CONFIG_XEN_ACPI_PROCESSOR                  
p mark<ENFORCED> policy<{'i386': 'y', 'amd64': 'y'}> <boot essential on XEN host>
check-config: FAIL (y != -): CONFIG_EFI_VARS                                    
p mark<ENFORCED> policy<{'amd64': 'y', 'arm64': 'y', 'i386': 'y'}> note<EFI boot requirement (d-i) LP:#837332>
check-config: FAIL (y != -): CONFIG_CC_STACKPROTECTOR_REGULAR           
p mark<ENFORCED> policy<{'powerpc': '-', 'ppc64el': '-', '*': 'y'}>
check-config: FAIL (y != -): CONFIG_DEBUG_RODATA                                
p mark<ENFORCED> policy<{'amd64': 'y', 'i386': 'y', 'armhf': 'y'}>
check-config: FAIL (y != -): CONFIG_DEBUG_SET_MODULE_RONX                       
p mark<ENFORCED> policy<{'powerpc': '-', 'ppc64el': '-', '*': 'y'}>
check-config: FAIL (n != -): CONFIG_ACPI_CUSTOM_METHOD                  
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}> note<SECURITY: allows arbitrary execution>
check-config: FAIL (n != -): CONFIG_COMPAT_VDSO                              
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}>
check-config: 34/43 checks passed -- exit 1
check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/powerpc-config.flavour.powerpc64-smp: loading config
check-config: /home/aaron/linux-3.19.0/debian.master/config/annotations loading annotations
check-config: FAIL (y != -): CONFIG_NVRAM                                       
p mark<ENFORCED> policy<{'amd64': 'm', 'armhf': 'm', 'i386': 'm', 'powerpc-powerpc-e500mc': 'y', 'powerpc-powerpc-smp': 'y'}> note<boot essential on powerpc LP:942193>
check-config: FAIL (y != -): CONFIG_THERM_ADT746X                               
p mark<ENFORCED> policy<{'powerpc-powerpc-smp': 'y'}> note<LP:#923094>
check-config: FAIL (y != -): CONFIG_XEN_ACPI_PROCESSOR                  
p mark<ENFORCED> policy<{'i386': 'y', 'amd64': 'y'}> <boot essential on XEN host>
check-config: FAIL (y != -): CONFIG_EFI_VARS                                    
p mark<ENFORCED> policy<{'amd64': 'y', 'arm64': 'y', 'i386': 'y'}> note<EFI boot requirement (d-i) LP:#837332>
check-config: FAIL (y != -): CONFIG_CC_STACKPROTECTOR_REGULAR           
p mark<ENFORCED> policy<{'powerpc': '-', 'ppc64el': '-', '*': 'y'}>
check-config: FAIL (y != -): CONFIG_DEBUG_RODATA                                
p mark<ENFORCED> policy<{'amd64': 'y', 'i386': 'y', 'armhf': 'y'}>
check-config: FAIL (y != -): CONFIG_DEBUG_SET_MODULE_RONX                       
p mark<ENFORCED> policy<{'powerpc': '-', 'ppc64el': '-', '*': 'y'}>
check-config: FAIL (n != -): CONFIG_ACPI_CUSTOM_METHOD                  
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}> note<SECURITY: allows arbitrary execution>
check-config: FAIL (n != -): CONFIG_COMPAT_VDSO                              
p mark<ENFORCED> policy<{'amd64': 'n', 'i386': 'n'}>
check-config: 34/43 checks passed -- exit 1

*** ERROR: 12 config-check failures detected

Eu não fiz isso antes, mas acredito que quando configurei o kernel, eu tinha algumas opções que não combinavam. Como leio esses logs para voltar e alterar minha configuração para que possa ser compilada com êxito para x86-64? Eu tenho que satisfazer verificações de configuração para outras plataformas também, ou não é algo que eu estou entendendo corretamente / precisa se preocupar?

    
por nerdenator 24.08.2015 / 03:25

2 respostas

1

da página: link dizia: fakeroot debian / rules editconfigs # você precisa passar por cada um (Y, Exit, Y, Exit ..) ou obter uma reclamação sobre configuração posterior

Então, eu tentei fazer isso um por um, seguiu a sua forma de questionar várias arquiteturas, até eu só quero construir o amd64. E funciona sem erro na verificação de configuração.

    
por 28.08.2016 / 18:05
0

Você pode seguir o guia link

enquanto apt-get source linux-image-$(uname -r)
facilita você obter a mesma versão que o seu kernel linux atual no seu Ubuntu, configurá-lo é uma tarefa tediosa.
quando você usa fakeroot debian/rules editconfigs
você está carregado com uma infinidade de opções. Depois de começar a compilar com

fakeroot debian/rules clean
fakeroot debian/rules binary-headers binary-generic

você pode enfrentar erros como você postou acima. Você pode então

  1. Compare aquele com sua própria versão de configuração em

    /boot/config-3.xx.-generic
    ou algo semelhante a isso. Depois de descobrir a diferença, tente definir o mesmo através de menuconfig ou fakeroot debian/rules editconfigs para garantir que as configurações sejam quase iguais (você pode ignorar algumas pequenas configurações) e então começar a compilar o kernel (pode garantir o sucesso da compilação se feito corretamente)

  2. (lembre-se de que não é recomendado, mas você pode tentar) copiar os itens do /boot/config-3.xx.-generic para o local de compilação kernel_src/debian/build/build-generic/.config (isso é gerado quando a compilação é iniciada e falha). compare os diffs (exceto os menores) e modifique as configurações de acordo, e então inicie o build. (não posso garantir o sucesso da construção)

Eu fiz isso para o Ubuntu 14.04 no VirtualBox. (checagem cruzada com a versão linux do que você quer construir e o kernel instalado, ele não deve diferir em mais do que poucos dígitos em seu 4º número (correções, correções, correções de segurança) ex. 3.19.0-25 vs 3.19.0 -39) link

se reclamar sobre o uso de ncurses,

sudo apt-get install libncurses5-dev
    
por 16.12.2015 / 02:09