Public bug reported:

I am trying to build a Lucid kernel, with changes to the config.  As a
test, I chose to disable btrfs (from module, to not included).  I found
that the kernel would not compile, using the "debian/rules binary-debs"
command, though it would work with a make-kpkg command.

I checked in #ubuntu-kernel, and help there could not solve the problem.

A trimmed transcript of commands is included further down, but the basic steps 
I did were:
 * create a chroot with Lucid source, including lucid-security and source lines
 * install build tools
 * apt-get source --only-source linux
 * debian/rules editconfigs, select the generic amd64 config, change BTRFS from 
<M> to < >
 * AUTOBUILD=1 NOEXTAS=1 DEB_BUILD_OPTIONS=parallel=2 debian/rules binary-debs

The error:
II: Checking modules for generic...
   reading new modules...read 2604 modules.
   reading old modules...
      MISS: btrfs
      read 2605 modules : new(0)  missing(1)
EE: Missing modules (start begging for mercy)
make: *** [module-check-generic] Error 1

I tried the instructions to bump the API (new entry in changelog),
though I think that is redundant, and the ABI got bumped automatically.

I chose BTRFS as a "leaf" module that shouldn't have too many / any
dependencies, and so should be a simple exclusion.

Out of curiosity, I tried this on oneiric, and got the same result.

Late in the game, I discovered the kteam-tools, which looks to be
equivalent to the process that I followed.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/899957

Title:
  Cannot compile kernel after changing configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/899957/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to