[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Rebuilding the official Debian 2.6.23 kernel package

Hugo Vanwoerkom wrote:
Hugo Vanwoerkom wrote:

In <2.6.23 kernels this site told you how to rebuild the Debian kernel package:


In 2.6.23 I can no longer do it. It fails this:

fakeroot make -f debian/rules.gen setup-i386-none-686

That flavor no longer exists.

Replacing it with:

fakeroot make -f debian/rules.gen setup_i386_none_686

the patching operation fails with:

Warning: No version.Debian file, assuming pristine Linux 2.6.23
  (+) OK        debian/version.patch
  (+) OK        debian/kernelvariables.patch
  (+) OK        debian/doc-build-parallel.patch
  (+) OK        debian/scripts-kconfig-reportoldconfig.patch
  (+) OK        debian/powerpc-mkvmlinuz-support-ppc.patch
  (+) OK        debian/powerpc-mkvmlinuz-support-powerpc.patch
  (+) OK        debian/drivers-ata-ata_piix-postpone-pata.patch
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/Kconfig.rej
2 out of 5 hunks FAILED -- saving rejects to file drivers/net/tg3.c.rej
  (+) FAIL      debian/dfsg/drivers-net-tg3-fix-simple.patch
make[1]: *** [debian/stamps/source] Error 1

And true enough that tg3.c just is not the same.

Has anybody tried this or am I the first one?

So we will see how the compile goes. But commenting


the entry

#+ debian/dfsg/drivers-net-tg3-fix-simple.patch

seemed to do the trick.

Also instead of:

fakeroot make -f debian/rules.gen setup-i386-none-k7
fakeroot make -f debian/rules.gen binary-arch-i386-none-k7

you have to use:

fakeroot make -f debian/rules.gen setup_i386_none-686
fakeroot make -f debian/rules.gen binary-arch_i386_none_686

but since you are compiling the kernel you can turn K7 on again!

Compiles clean. Installs clean. vmware installs with the any-any-update113 patch. Nvidia installs with the patch reported in:

Purpose of this exercise: to install the ck1 patch for 2.6.23: installs clean. Reported here:



Reply to: