[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mise à jour kernel 2.4.27-6



On Thu, Dec 23, 2004 at 10:53:32PM +0100, Gaëtan PERRIER wrote:
> J'ai un petit soucis avec la mise à jour de ce soir voici ce qu'il me
> dit et je ne sais pas quoi faire:
> 
>  You are attempting to install a kernel version that is the same as
>  the version you are currently running (version 2.4.27-1-k7). The
> modules
>  list is quite likely to have been changed, and the modules dependency
>  file /lib/modules/2.4.27-1-k7/modules.dep needs to be re-built. It
> can
>  not be built correctly right now, since the module list for the
>  running kernel are likely to be different from the kernel installed.
>  I am creating a new modules.dep file, but that may not be
>  correct. It shall be regenerated correctly at next reboot.
> 
>  I repeat: you have to reboot in order for the modules file to be
>  created correctly. Until you reboot, it may be impossible to load
>  some modules. Reboot as soon as this install is finished (Do not
>  reboot right now, since you may not be able to boot back up until
>  installation is over, but boot immediately after). I can not stress
>  that too much. You need to reboot soon.
> 
> Please Hit return to continue.
> depmod: /lib/modules/2.4.27-1-k7/kernel/drivers/i2c/.placeholder is
> not an ELF file
> There was a problem running depmod.  This may be benign,
> (You may have versioned symbol names, for instance).
> Or this could be an error.
>         depmod exited with return value 1
> Since this image uses initrd, I am not deleting the file
> /lib/modules/2.4.27-1-k7/modules.dep. However, there is no
> guarantee that the file is valid. I would strongly advice
> you to either abort and fix the errors in depmod, or
> regenerate the initrd image with a known good modules.dep
> file. I repeat, an initrd kernel image with a bad modules.dep
> shall fail to boot.
> Would you like to abort now? [No]

Il dit en gros que vous êtes en train d'installer la même version du noyau que
celle qui tourne en cem moment sur votre système et vous recommande d'être
prudent car les modules dans /lib/modules/2.4.27-<qque-chose> vont être
remplacés par ceux du noyau que vous êtes en train d'installer et que ça peut
poser des problèmes par rapport à votre config qui tourne.

> 
> Que dois-je faire?

Ceci arrive en général lorsqu'on compile soi-même deux fois le même noyau (parce
qu'on a changé un élément de config par exemple) et qu'on oublie de chager de
version.

Ca peut aussi arriver parce que vous avez pris pour vos propres noyaux le même
pricipe de numérotation que Debian ce qui n'est pas une très bonne idée.

Si vous voulez vraiment installer le noyau en question, ce n'est pas un problème
: il va remplacer l'ancien. Il vous faut penser à relancer lilo si vous utilisez
ce dernier et rebooter la machine tout de suite pour éviter que des modules avec
une autre version que celle qui est attendue soient chargés.

> 
> Merci de votre aide.

Jean-Luc
> 
> 

Attachment: signature.asc
Description: Digital signature


Reply to: