[CentOS] Problems with building a complete kernel

Sat Jan 27 00:12:30 UTC 2007
Mark Hull-Richter <mhull-richter at datallegro.com>

I haven't actually made any changes to the kernel yet - I need a working
build, hopefully one that matches my current installation, but a working
build to start.  (Otherwise I won't know if the kernel I'm running and
one I've modified contain anything I don't know about....)

I used the config that the installed version had as my base, and I don't
think I changed anything.  I ran make menuconfig and set the version to
something different, then ran make oldconfig to see what changes were
needed (none), then built.  In theory, if lvm support was in the
installed kernel, it should have built into my new one, right?

I'll be making a minor mod to xfs first, then there's a device driver we
want to add (I think).  I got a ton of "attempt to assign to nonexistent
symbol" notices after exiting make menuconfig - I'm assuming that these
are harmless.

Thanks again.

-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
Behalf Of Jim Perrin
Sent: Friday, January 26, 2007 3:47 PM
To: CentOS mailing list
Subject: Re: [CentOS] Problems with building a complete kernel

On 1/26/07, Mark Hull-Richter <mhull-richter at datallegro.com> wrote:
> My bad - I rechecked and it is the correct source.  AND I found that
the
> make install (with make modules_install first) takes care of GRUB for
> me.
>
> BUT:
>
> Now I can't boot because the installed Centos 4.4 was from the
> distribution DVD, and it depends on the lvm to load.  My build doesn't
> know about the lvm and it refuses to boot - it dies coming up with an
> error from lvm, followed by two more where it can't find a file
system,
> then the kernel panics (and hangs the machine).
>
> How do I get around lvm?

Build your kernel with lvm support.
It sounds like you're changing far more than you need to in the
config. If you follow the how-to on the centos wiki, you'd only be
changing the things you need to, and all else will stay the same. This
keeps you from running into things like you're experiencing.

Again, are you certain you need to rebuild? What feature is it that you
need?



-- 
During times of universal deceit, telling the truth becomes a
revolutionary act.
George Orwell
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos