Compilando o Kernel Linux

Documentos relacionados
Compilando o Kernel Linux

Componentes do kernel Compilando o kernel Aplicando patch no kernel Configurar, compilar, instalar um kernel personalizado Gerenciar, consultar o

Compilação do Kernel

LPI nível 2: Aula 1 Conheça o kernel Linux e saiba como aplicar patches, configurá-lo, compilá-lo e manipular seus módulos. por Luciano Siqueira

PURCHASE-TO-PAY SOLUTIONS

Programa R. Hiron Pereira Farias. Monday, February 06, 2017

GERENCIAMENTO DA ROTINA DO TRABALHO DO DIA-A-DIA (EM PORTUGUESE DO BRASIL) BY VICENTE FALCONI

Universidade Federal do Rio Grande do Sul Escola de Engenharia Departamento de Engenharia Elétrica ENG04008 Sistemas de Tempo Real.

TACHO SPECIAL PLUS III

Gerenciando sistemas de arquivos

CIS 500 Software Foundations Fall September(continued) IS 500, 8 September(continued) 1

VGM. VGM information. ALIANÇA VGM WEB PORTAL USER GUIDE June 2016

Transcript name: 1. Introduction to DB2 Express-C

DO SILêNCIO DO LAR AO SILêNCIO ESCOLAR: RACISMO, PRECONCEITO E DISCRIMINAçãO NA EDUCAçãO INFANTIL (

Placas Gerenciadoras Gráficas

MANUAL DE MEDICINA INTERNA DE PEQUENOS ANIMAIS (EM PORTUGUESE DO BRASIL) BY RICHARD W. COUTO C. GUILHERMO^NELSON

As 100 melhores piadas de todos os tempos (Portuguese Edition)

ATLAS DE ACUPUNTURA VETERINáRIA. CãES E GATOS (EM PORTUGUESE DO BRASIL) BY CHOO HYUNG KIM

52 MANEIRAS DE DIZER "EU TE AMO" (PORTUGUESE EDITION) BY CLENE SALLES

A ENTREVISTA COMPREENSIVA: UM GUIA PARA PESQUISA DE CAMPO (PORTUGUESE EDITION) BY JEAN-CLAUDE KAUFMANN

O PRíNCIPE FELIZ E OUTRAS HISTóRIAS (EDIçãO BILíNGUE) (PORTUGUESE EDITION) BY OSCAR WILDE

A necessidade da oração (Escola da Oração) (Portuguese Edition)

Universidade Federal do Rio Grande do Sul Escola de Engenharia Departamento de Sistemas Elétricos de Automação e Energia ENG10032 Microcontroladores

Universidade Federal do Rio Grande do Sul Escola de Engenharia Departamento de Sistemas Elétricos de Automação e Energia ENG10032 Microcontroladores

CIVILIZAçãO EM TRANSIçãO (OBRAS COMPLETAS DE CARL GUSTAV JUNG) (PORTUGUESE EDITION) BY CARL GUSTAV JUNG

RTAI Instalação. Prof. Walter Fetter Lages 2 de maio de 2014

A ENTREVISTA COMPREENSIVA: UM GUIA PARA PESQUISA DE CAMPO (PORTUGUESE EDITION) BY JEAN-CLAUDE KAUFMANN

Sistemas Embarcados. Introdução. kernel.org. Repositórios do kernel. Aula 03 e 04. O kernel do linux é bastante modular Mais de arquivos

HISTOLOGIA E BIOLOGIA CELULAR. UMA INTRODUçãO À PATOLOGIA (EM PORTUGUESE DO BRASIL) BY ABRAHAM L. KIERSZENBAUM

O VAZIO DA MáQUINA: NIILISMO E OUTROS ABISMOS (TRILOGIA DO NADA LIVRO 2) (PORTUGUESE EDITION) BY ANDRE CANCIAN

TEN CATE. HISTOLOGIA ORAL (EM PORTUGUESE DO BRASIL) BY ANTONIO NANCI

Pesquisa Qualitativa do Início ao Fim (Métodos de Pesquisa) (Portuguese Edition)

TACHO DATASMART III the PC version of Special Plus III

Conceitos de Linguagens de Programação (Portuguese Edition)

Pesquisa de Marketing: Uma Orientação Aplicada (Portuguese Edition)

Dermatologia Clínica. Guia Colorido Para Diagnostico e Tratamento (Em Portuguese do Brasil)

Servidor de Monitoramento

GERENCIAMENTO DA ROTINA DO TRABALHO DO DIA-A-DIA (EM PORTUGUESE DO BRASIL) BY VICENTE FALCONI

Farmacologia na Pratica de Enfermagem (Em Portuguese do Brasil)

Planejamento de comunicação integrada (Portuguese Edition)

ATLAS DE ACUPUNTURA VETERINáRIA. CãES E GATOS (EM PORTUGUESE DO BRASIL) BY CHOO HYUNG KIM

GERENCIAMENTO DA ROTINA DO TRABALHO DO DIA A DIA (PORTUGUESE EDITION) BY VICENTE FALCONI

Comportamento Organizacional: O Comportamento Humano no Trabalho (Portuguese Edition)

Macunaíma em quadrinhos (Clássicos em HQ) (Portuguese Edition)

Erros que os Pregadores Devem Evitar (Portuguese Edition)

Introdução A Delphi Com Banco De Dados Firebird (Portuguese Edition)

MEDICINA INTERNA DE PEQUENOS ANIMAIS (EM PORTUGUESE DO BRASIL) BY RICHARD COUTO C.^NELSON

TEN CATE. HISTOLOGIA ORAL (EM PORTUGUESE DO BRASIL) BY ANTONIO NANCI

Manual de Instalação DVD MAKER USB2.0

Universidade Federal do Rio Grande do Sul Escola de Engenharia Departamento de Sistemas Elétricos de Automação e Energia ENG10032 Microcontroladores

Gestão de Sistemas Operacionais

Easy Linux! FUNAMBOL FOR IPBRICK MANUAL. IPortalMais: a «brainware» company Manual

BR localization: Hotfix 117. Technical documentation Documentação Técnica Version Fev 12, de fevereiro de 2019

VGM. VGM information. ALIANÇA VGM WEB PORTAL USER GUIDE September 2016

COMO ESCREVER PARA O ENEM: ROTEIRO PARA UMA REDAçãO NOTA (PORTUGUESE EDITION) BY ARLETE SALVADOR

Scrum: Gestão ágil para projetos de sucesso (Portuguese Edition)

O Livro de Receitas do Menino Maluquinho - Com as receitas da Tia Emma (Portuguese Edition)

Para iniciar um agente SNMP, usamos o comando snmpd. Por padrão, aceita requisições na porta 161 (UDP).

O sistema único de assistência social no Brasil: uma realidade em movimento (Portuguese Edition)

Estatística Aplicada: Administração, Economia e Negócios (Portuguese Edition)

Introdução A Delphi Com Banco De Dados Firebird (Portuguese Edition)

Aula 14. Network File System. Prof. Roitier Campos

ATLAS DE ACUPUNTURA VETERINáRIA. CãES E GATOS (EM PORTUGUESE DO BRASIL) BY CHOO HYUNG KIM

Biscuit - potes (Coleção Artesanato) (Portuguese Edition)

Astrologia, Psicologia e os Quatro Elementos (Portuguese Edition)

Vaporpunk - A fazenda-relógio (Portuguese Edition)

Meditacao da Luz: O Caminho da Simplicidade

Princípios de Direito Previdenciário (Portuguese Edition)

Higiene e Vigilância Sanitária de Alimentos (Portuguese Edition)

Como escrever para o Enem: roteiro para uma redação nota (Portuguese Edition)

Farmácia Homeopática: Teoria e Prática (Portuguese Edition)

LABORATÓRIO DE SISTEMAS OPERACIONAIS. PROFª. M.Sc. JULIANA HOFFMANN QUINONEZ BENACCHIO

Como testar componentes eletrônicos - volume 1 (Portuguese Edition)

Paradisebirds casey onion

IDE 2.5" hd:basic. hdd enclosure caixa externa para disco rígido

BR localization: Hotfix 001. Technical documentation Documentação Técnica Version Oct 16, de outubro de 2018

Transtorno de Personalidade Borderline Mais de 30 segredos para retomar sua vida Ao lidar com TPB (Portuguese Edition)

KERNEL LINUX. Por Jussara Reis

GERENCIAMENTO PELAS DIRETRIZES (PORTUGUESE EDITION) BY VICENTE FALCONI

Livro do Desassossego

Boot gráfico no Debian com BootSplash

Relações públicas comunitárias (Portuguese Edition)

INTRODUçãO à PROGRAMAçãO PARA BIOINFORMáTICA COM PERL (VOLUME 2) (PORTUGUESE EDITION) BY DIEGO

Meu Filho é Alérgico! E Agora? (Portuguese Edition)

Accessing the contents of the Moodle Acessando o conteúdo do Moodle

Os 7 Hábitos das Pessoas Altamente Eficazes (Portuguese Edition)

MANUAL PRATICO DO PLANO DE PROJETO: UTILIZANDO O PMBOK GUIDE BY RICARDO VIANA VARGAS

ATLAS COLORIDO DE ANATOMIA VETERINáRIA DE EQUINOS (EM PORTUGUESE DO BRASIL) BY STANLEY H. ASHDOWN RAYMOND R. DONE

O Livro dos Espíritos - Tradução Evandro Noleto Bezerra (Portuguese Edition)

Buscai as coisas do alto (Portuguese Edition)

Gestão da comunicação - Epistemologia e pesquisa teórica (Portuguese Edition)

Power Estimation FPGA ASIC

Já Chegou Aos Confins Da Terra. E Agora? (Portuguese Edition)

COMO ESCREVER PARA O ENEM: ROTEIRO PARA UMA REDAçãO NOTA (PORTUGUESE EDITION) BY ARLETE SALVADOR

O princípio 80/20: Os segredos para conseguir mais com menos nos negócios e na vida (Portuguese Edition)

Um guia para o Corpo de Conhecimento de Análise de Negócios(TM) (Guia BABOK ) (Portuguese Edition)

Ganhar Dinheiro Em Network Marketing (Portuguese Edition)

Transcrição:

Compilando o Kernel Linux Fonte: http://www.digitalhermit.com/linux/kernel- Build-HOWTO.html Atribuindo uma versão única Evitar que os módulos do kernel atual sejam modificados indevidamente Arquivo Makefile VERSION = 2 PATCHLEVEL = 4 SUBLEVEL = 22 EXTRAVERSION = -1 (Coloque sua versão aqui) Os módulos serão gerados dessa forma: /lib/modules/$version.$patchlevel.$sublevel-$extraversion. 1

Limpando a configuração antiga Apaga arquivos resultantes de compilações anteriores O código-fonte retorna ao estado original make mrproper Configurando o Kernel 2.6.x Três formas: Config: modo texto, perguntas realizadas sequencialmente Menuconfig: modo texto, menus auxiliam na configuração Xconfig: modo gráfico make menuconfig 2

Opções (1) Code Maturity Level Options This option allows configuration of alpha-quality software or obsoleted drivers. It is best to disable this option if the kernel is intended for a stable production system. General Setup This section contains options for sysctl support, a feature allowing run-time configuration of the kernel. A new feature, kernel.config support, allows the complete kernel configuration to be viewed during run-time. This addresses many requests to be able to see what features were compiled into the kernel. Loadable Module Support You will almost certainly want to enable module support. If you will need third-party kernel modules you will also need to enable Set Version Information on All Module Symbols. Processor Type and Features This is perhaps the most important configuration choice. In the Preparation section we determined our processor type by examining /proc/cpuinfo and we use that information here to select the appropriate processor. Included in this submenu are features such as Preemptible Kernel which can improve desktop responsiveness, Symmetric Multiprocessing Support for machines with multiple CPUs, and High Memory Support for machines with more than 1G of RAM. Opções (2) Power Management Options Found here are options for ACPI and CPU Frequency Scaling which can dramatically improve laptop power usage. Read the Documentation/power file for more information. Bus Options ( PCI, PCMCIA, EISA, MCA, ISA) Here are found options for all system bus devices. On modern machines the ISA and MCA support can often be disabled. Executable File Formats Interesting features here include the kernel support for miscellaneous binaries, which can allow seamless operation of non-linux binaries with a little userland help. Device Drivers All the device-driver configuration options that were previously scattered throughout the 2.4.x menus are now neatly organized under this option. Features such as SCSI support, graphic card optimizations, sound, USB and other hardware are configured here. File Systems Found here are options for filesystems which are supported by the kernel, such as EXT2 and ReiserFS. It is best to build support for the root filesystems directly into the kernel rather than as a module. Security Options Interesting options here include support for NSA Security Enhanced Linux and other, somewhat experimental, features to increase security. 3

Importante Desligue a carga dinamica de módulos Escolha somente os drivers realmente necessário para executar o sistema operacional Arquivo de configuração: www.inf.ufrgs.br/~marcio/so make clean make Compilando Caso ocorram problemas, utilize make zimage make install Veja no diretório /boot se o kernel foi copiado 4

Modificando o GRUB Insira a seguinte linha no GRUB (/boot/grub/menu.lst) title Test Kernel (2.6.0) root (hd0,1) kernel /boot/bzimage-2.6.0(coloque aqui o nome do kernel gerado) ro root=label=/ Reinicialize o sistema Verificar a versão do kernel: uname -a 5