Re: How to check if kernel sources are installed on a system?

From: Brian F. G. Bidulock
Date: Sat May 27 2006 - 18:20:30 EST


Arjan,

On Sat, 27 May 2006, Arjan van de Ven wrote:

> On Sat, 2006-05-27 at 13:52 -0600, Brian F. G. Bidulock wrote:
> > Arjan,
> >
> > On Sat, 27 May 2006, Arjan van de Ven wrote:
> >
> > >
> > > > >
> > > >
> > > > Redhat and SuSE put /boot/config- files of the same name for different
> > > > architectures (i386, i586) in the same file. If multiple architecture
> > > > kernels of the same verion are installed, there is no guarantee that the
> > > > /boot/config-`uname -r` is not for, say, i686 instead of i386.
> > >
> > > at least on fedora you can't do that parallel installation anyway
> >
> > rpm --force
>
> at which point 95% of the files get overwritten including the config
> file, which then points to the right place of the 2nd kernel you abuse
> onto your system.

But not the right place for the running kernel. /boot/config-`uname -r` will
be of the wrong architecture for the running kernel.

--brian

--
Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦
bidulock@xxxxxxxxxxx ¦ world; the unreasonable one persists in ¦
http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦
¦ Therefore all progress depends on the ¦
¦ unreasonable man. -- George Bernard Shaw ¦
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/