help: why can't my hand-rolled kernel mount an LVM root FS?

Robert P. J. Day rpjday at crashcourse.ca
Wed Jul 7 09:06:00 UTC 2010


On Wed, 7 Jul 2010, Andy Whitcroft wrote:

> On Wed, Jul 07, 2010 at 03:49:34AM -0400, Robert P. J. Day wrote:

... snip ...

> > ====== making target debian/stamp/build/kernel [new prereqs: vars]======
> > This is kernel package version 12.032.
> > The changelog says we are creating 2.6.35-rc4-rday
> > However, I thought the version is 2.6.35-rc4-rday+
> > exit 1
> > make: *** [debian/stamp/build/kernel] Error 1
> >
> >   i'm used to seeing that "+" suffix as a version control identifier
> > (or something like that).  so ... is there a reason that using the
> > lucid tree would work fine, but the maverick tree produces the above?
> >
> >   the lucid tree is probably just fine for my purposes, now i'm just
> > curious.  and i clearly have much reading to do.
>
> That is a bug in the upstream kernel code, I have a patch in -rc4
> which should mitigate that.

  sorry, a couple followup questions.  you're saying that that patch
is *already* in -rc4?  upstream?  because i'm using the latest pull of
the upstream kernel tree as the basis for this and i'm still getting
that error.

  also, as a quick workaround, i'm assuming that i can just checkout
the latest tag so that i'm working with a tagged commit and that error
won't occur.  at least that *seems* to solve the problem but it's
obviously not ideal.

rday

p.s.  just to recap what i tried earlier to make sure i'm on the right
track, i'm following along here:

  https://wiki.ubuntu.com/KernelTeam/GitKernelBuild

i've checked stuff out so i have the following set of directories:

  $ ls
  linux-2.6  ubuntu-maverick  ubuntu-package
  $

both the upstream kernel tree linux-2.6 and the ubuntu-maverick
checkout are fully up to date, and since the linux-2.6 checkout is not
a tagged commit, i'll get the above error with a version mismatch when
i try to build.

  as a quick workaround for now, i'll checkout the upstream tag
v2.6.35-rc4 in linuc-2.6 and try again, and now it's building, but
ideally, i shouldn't have to do that, i just need something to get a
working kernel sometime today so i can live with that tagged checkout.

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the kernel-team mailing list