Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[KERNEL] options et messages de compilation (resolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
croquignol
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2005
Posts: 125

PostPosted: Mon Oct 10, 2005 1:02 pm    Post subject: [KERNEL] options et messages de compilation (resolu) Reply with quote

bonjour a tous.

j'ai installe gentoo par internet et j'ai choisi de compiler le noyau sans genkernel.

les messages sur stderror sont les suivants :
======================
kernel/intermodule.c:179: warning: `inter_module_register' is deprecated (declared at kernel/intermodule.c:38)
kernel/intermodule.c:180: warning: `inter_module_unregister' is deprecated (declared at kernel/intermodule.c:79)
kernel/intermodule.c:182: warning: `inter_module_put' is deprecated (declared at kernel/intermodule.c:160)
Root device is (3, 9)
Boot sector 512 bytes.
Setup is 4602 bytes.
System is 1013 kB
======================

Ma machine :
===============================
Asus P2B
Intel Pentium II/Celeron 333MHz
SDRAM 64Mo
Graveur CDRW (en maitre sur ide1)
Disque dur UDMA 8Go (en maitre sur ide0)
NETGEAR DG632 (en modem classique sans login)
PINNACLE SYSTEMS MIRO VIDEO PCTV (bt848)
PEABIRD FAST ETHERNET (rtl8139b)
SOUNDBLASTER AUDIOPCI64V
XPERT@WORK (AGP 8Mo ati 3d rage pro turbo)
souris clavier ps2
IIYAMA VISION MASTER 350
=================================

Ma config noyau 2.6.13-gentoo-r3 :
=============================================================================================================================
General setup --->
[*] Support for paging of anonymous memory (swap)
[*] System V IPC
[*] Sysctl support
[*] Kernel Userspace Events

Loadable module support --->
[*] Enable loadable module support
[*] Module unloading
[*] Automatic kernel module loading

Processor type and features --->
Subarchitecture Type (PC-compatible) --->
(X) PC-compatible
Processor family (Pentium-II/Celeron(pre-Coppermine)) --->
(X) Pentium-II/Celeron(pre-Coppermine)
Preemption Model (Preemptible Kernel (Low-Latency Desktop)) --->
(X) Preemptible Kernel (Low-Latency Desktop)
[*] Preempt The Big Kernel Lock (NEW)
[*] Machine Check Exception
High Memory Support (off) --->
(X) off
[*] MTRR (Memory Type Range Register) support
[*] Enable seccomp to safely compute untrusted bytecode
Timer frequency (1000 HZ) --->
(X) 1000 HZ

Bus options (PCI, PCMCIA, EISA, MCA, ISA) --->
[*] PCI support
PCI access mode (Any) --->
(X) Any
[*] PCI device name database

Executable file formats --->
[*] Kernel support for ELF binaries
<M> Kernel support for MISC binaries

Networking --->
Networking options --->
<M> Packet socket
[*] Packet socket: mmapped IO
<*> Unix domain sockets
<M> IPsec user configuration interface
<M> PF_KEY sockets
[*] TCP/IP networking
<M> IP: AH transformation
<M> IP: ESP transformation
<M> IP: IPComp transformation
<M> IP: tunnel transformation
<M> IP: TCP socket monitoring interface

Device Drivers --->
Generic Driver Options --->
[*] Prevent firmware from being built
<M> Hotplug firmware loading support
Block devices --->
<M> Normal floppy disk support
<M> Packet writing on CD/DVD media
(8) Free buffers for data gathering
IO Schedulers --->
<M> Anticipatory I/O scheduler
<M> Deadline I/O scheduler
<M> CFQ I/O scheduler
ATA/ATAPI/MFM/RLL support --->
<*> ATA/ATAPI/MFM/RLL support
<*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
<*> Include IDE/ATA-2 DISK support
<M> Include IDE/ATAPI CDROM support
<M> generic/default IDE chipset support
[*] PCI IDE chipset support
[*] Sharing PCI IDE interrupts support
<*> Generic PCI IDE Chipset Support
[*] Generic PCI bus-master DMA support
[*] Use PCI DMA by default when available
<*> Intel PIIXn chipsets support
Network device support
[*] Network device support
<M> Dummy net driver support
Ethernet (10 or 100Mbit) --->
[*] Ethernet (10 or 100Mbit)
<M> Generic Media Independent Interface device support
[*] EISA, VLB, PCI and on board controllers
<M> RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support
<M> PPP (point-to-point protocol) support
<M> PPP support for async serial ports
Input device support --->
[*] Provide legacy /dev/psaux device
[*] Mouse --->
<M> PS/2 mouse
[*] Miscellaneous devices --->
<M> PC Speaker support
Character devices --->
<M> /dev/agpgart (AGP Support)
<M> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
Multimedia devices --->
<M> Video For Linux
Sound --->
<M> Sound card support
Advanced Linux Sound Architecture --->
<M> Advanced Linux Sound Architecture
<M> Sequencer support
<M> OSS Mixer API
<M> OSS PCM (digital audio) API
[*] OSS Sequencer API
PCI devices --->
<M> (Creative) Ensoniq AudioPCI 1371/1373

File systems --->
<*> Second extended fs support
<*> Ext3 journalling file system support
[*] Inotify file change notification support (NEW)
CD-ROM/DVD Filesystems --->
<M> ISO 9660 CDROM file system support
[*] Microsoft Joliet CDROM extensions
DOS/FAT/NT Filesystems --->
<M> MSDOS fs support
<M> VFAT (Windows-95) fs support
(850) Default codepage for FAT
(iso8859-1) Default iocharset for FAT
Pseudo filesystems --->
[*] /proc file system support
[*] Virtual memory file system support (former shm fs)
Native Language Support --->
<M> Base native language support
(iso8859-1) Default NLS Option
<M> Codepage 437 (United States, Canada)
<M> Codepage 850 (Europe)
<M> NLS ISO 8859-1 (Latin 1; Western European Languages)
<M> NLS ISO 8859-15 (Latin 9; Western European Languages with Euro)
<M> NLS UTF8 (nls le plus recent)

Cryptographic options --->
<M> MD5 digest algorithm
<M> SHA1 digest algorithm
<M> DES and Triple DES EDE cipher algorithms
<M> Deflate compression algorithm

Library routines --->
<M> CRC-CCITT functions
<M> CRC32 functions
=======================================================================================================

mes questions pour les gourous de la configuration du noyau linux et sa compilation :

1) peut on eviter ces warnings en configurant autrement le noyau ?
2) y a t il des options que je ne dois ABSOLUMENT pas mettre en module et qui le sont actuellement ?

merci.


Last edited by croquignol on Mon Oct 10, 2005 3:22 pm; edited 2 times in total
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Mon Oct 10, 2005 1:05 pm    Post subject: Reply with quote

Salut,

tout d'abord pourrais tu changer le titre comme indiqué ici stp : [IMPORTANT] Comment se servir du forum !!


En suite, si la compilation ne s'arrete pas, ces warnings ne sont pas fatals, donc tu peux les ignorer !
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
croquignol
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2005
Posts: 125

PostPosted: Mon Oct 10, 2005 1:21 pm    Post subject: Reply with quote

3 ) Je peux ignorer les warnings mais y a t il quelqu'un qui sait d'ou ca vient ? (de certaines options du noyau ou pas) ?
4) y a t il des options que je ne dois ABSOLUMENT pas mettre en module et qui le sont actuellement ?

Merci.
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Mon Oct 10, 2005 1:29 pm    Post subject: Reply with quote

3) Habituellement ces messages viennent des sources elles memes (fonctions codées de maniere un peu barbare, le dev qui utilise eds fonctions deprecated, etc. ), enfin habituellement rien de grave !

4) Ben pour faire simple, il faut mettre les trucs nécessaires au boot en dur (<*>), et apres tu mets ce que tu veux en module, ca ne pose pas de problemes généralement ...

4.2) Peux-tu enlever le (pas resolu) stp, merci !

EDIT: Enfin pour moi ca fait beaucoup de modules je trouve ;) (mais ca c'est juste parce que je suis un adepte du "tout-en-dur") :

Code:
$ lsmod
Module                  Size  Used by
ipw2200               188360  0
ieee80211              55300  1 ipw2200
ieee80211_crypt         6404  1 ieee80211


:mrgreen:
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
croquignol
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2005
Posts: 125

PostPosted: Mon Oct 10, 2005 3:22 pm    Post subject: Reply with quote

ok, j'enleve le non resolu mais une derniere question precise sur les options suivantes (de boot !!!!) :

=============================
ATA/ATAPI/MFM/RLL support --->
<*> ATA/ATAPI/MFM/RLL support
<*> Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support
<*> Include IDE/ATA-2 DISK support
<M> Include IDE/ATAPI CDROM support
<M> generic/default IDE chipset support
[*] PCI IDE chipset support
[*] Sharing PCI IDE interrupts support
<*> Generic PCI IDE Chipset Support
[*] Generic PCI bus-master DMA support
[*] Use PCI DMA by default when available
<*> Intel PIIXn chipsets support
=================================

Pour : <*> Intel PIIXn chipsets support SI EN MODULE : kernel panic DONC ok en DUR !
Pour : <*> Generic PCI IDE Chipset Support SI EN MODULE : kernel warning car non utilise DONC en DUR !
Pour : <M> Include IDE/ATAPI CDROM support SI PAS DE BOOT CD au demarrage pas grave !
Par contre pour : <M> generic/default IDE chipset support C'EST LE MYSTERE !!!!!!!!!??????
Des infos ?????
Back to top
View user's profile Send private message
widan
Veteran
Veteran


Joined: 07 Jun 2005
Posts: 1512
Location: Paris, France

PostPosted: Mon Oct 10, 2005 6:13 pm    Post subject: Reply with quote

croquignol wrote:
3 ) Je peux ignorer les warnings mais y a t il quelqu'un qui sait d'ou ca vient ? (de certaines options du noyau ou pas) ?

Dans le cas précis des fonctions "inter_module_*", ce sont des fonctions qui ne doivent plus être utilisées par de nouveaux drivers, et qui vont être supprimées à terme. Ce sont des warnings créés "exprès" par les dévelopeurs avec le mot-clé "__deprectated" (gcc génère un warning chaque fois qu'une fonction marquée comme ça est utilisée). Dans include/linux/module.h:
Code:
extern void __deprecated inter_module_unregister(const char *);

Dans ton cas, les warnings sont générés dans intermodule.c, qui est le fichier qui contient l'implémentation de ces fonctions... donc pas grave.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum