lkml.org 
[lkml]   [2006]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to check if kernel sources are installed on a system?
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@openss7.org ¦ 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-28 00:23    [W:0.195 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site