Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
4429 connectés 

 


Dernière réponse
Sujet : Pourquoi "depmod -a -F /boot/System.map" marche et pas "depmod -a" ???
oibaF2001 ben nan, le -a a rien a voir vu que je le mets dans les 2 cas ???
- depmod -a -F /boot/System.map
- depmod -a
 
La seule différence c'est le -F et normalement il sert lorsqu'on reconstruit les dépendances sur un autre noyau que celui qui tourne :
 
-F kernelsyms,--filesyms kernelsyms
   When building dependency files for a different ker­
   nel than the currently running kernel, it is impor­
   tant  that  depmod  uses  the correct set of kernel
   symbols to resolve the kernel  references  in  each
   module.  These symbols can either be a copy of Sys­
   tem.map from the other kernel, or  a  copy  of  the
   output  from /proc/ksyms.  If your kernel uses ver­
   sioned symbols, it is best to use  a  copy  of  the
   /proc/ksyms  output,  since  that file contains the
   symbol versions of the kernel symbols.  However you
   can use a System.map even with versioned symbols.

 
Donc si qqn a une idée...

Votre réponse
Nom d'utilisateur    Pour poster, vous devez être inscrit sur ce forum .... si ce n'est pas le cas, cliquez ici !
Le ton de votre message                        
                       
Votre réponse


[b][i][u][strike][spoiler][fixed][cpp][url][email][img][*]   
 
   [quote]
 

Options

 
Vous avez perdu votre mot de passe ?


Vue Rapide de la discussion
oibaF2001 ben nan, le -a a rien a voir vu que je le mets dans les 2 cas ???
- depmod -a -F /boot/System.map
- depmod -a
 
La seule différence c'est le -F et normalement il sert lorsqu'on reconstruit les dépendances sur un autre noyau que celui qui tourne :
 
-F kernelsyms,--filesyms kernelsyms
   When building dependency files for a different ker­
   nel than the currently running kernel, it is impor­
   tant  that  depmod  uses  the correct set of kernel
   symbols to resolve the kernel  references  in  each
   module.  These symbols can either be a copy of Sys­
   tem.map from the other kernel, or  a  copy  of  the
   output  from /proc/ksyms.  If your kernel uses ver­
   sioned symbols, it is best to use  a  copy  of  the
   /proc/ksyms  output,  since  that file contains the
   symbol versions of the kernel symbols.  However you
   can use a System.map even with versioned symbols.

 
Donc si qqn a une idée...
becket -a, --all
      Search  for modules in all directories specified in
      the   (optional)   configuration   file   /etc/modules.conf.
oibaF2001 Tout est dans le titre, je capte pas du tout pourquoi depmod -a trouve des unresolved symbols alors que si je spécifie -F /boot/System.map ca passe nickel...
Si qqn a une explication...

Copyright © 1997-2025 Groupe LDLC (Signaler un contenu illicite / Données personnelles)