Javier Barroso wrote:
On Thu, Mar 26, 2009 at 12:08 PM, Anton Piatek <anton@piatek.co.uk> wrote:Hi, I am running the 2.6.28 kernel in sid, and wanted to build the vmware kernel modules - for this I need the headers for 2.6.28, fine, but they depend on linux-kbuild-2.6.28 which isn't available Searching on packages.debian.org does not show that level in experimental either.Now in sid is 2.6.29, you could 'dget' the source at http://kernel-archive.buildserver.net/debian-kernel/build/pool/main/l/linux-kbuild-2.6/linux-kbuild-2.6_2.6.29-1~snapshot.13245.dsc and build the package, so you can install it. I did it when in kernel-archive.buildserver.net had 2.6.28 version and it worked fine.Is this likely to be something that will come along soon, does it sound like it was forgotten to be uploaded?I think is a copyright issue (search in debian-devel about).
I just generated the 2.6.29-1-686 Debian kernel. I do this: 1. As user generated the kernel from www.kernel.org in some directory2. Download http://ftp.de.debian.org/debian/pool/main/l/linux-2.6/linux-2.6_2.6.29-1.diff.gz and apply that to #1 as a patch.
3. Comment out ##+ debian/dfsg/drivers-net-bnx2-request_firmware-1.patch ##+ features/all/drivers-gpu-drm-mga-request_firmware.patch ##+ features/all/drivers-gpu-drm-r128-request_firmware.patch ##+ features/all/drivers-gpu-drm-radeon-request_firmware.patch ##+ features/all/drivers-net-tehuti-request_firmware.patch ##+ features/all/drivers-net-typhoon-request_firmware.patch ##+ features/all/drivers-scsi-qla1280-request_firmware.patch in linux-2.6.29/debian/patches/series/1 (they fail)4. Change debian/rules permissions to make it executable, change debian/bin/buildcheck.py as follows:
... def __call__(self, out): ret = 0 return 0 ... 5. Run: fakeroot debian/rules debian/build debian/stamps against the tree of #1. 6. Run fakeroot make -f debian/rules.gen setup_i386_none_686 the same way. This will generate the build dir.By cd'ing on linux-2.6.29/debian/build/build_i386_none_686 you can then run 'make menuconfig' and change kernel parameters. E.g change the processor or whatever you want. Add a boot logo.
7. That done run: fakeroot make -f debian/rules.gen binary-arch_i386_none_686 the same way and that will cook for 2.5 hours and in the end generate:linux-headers-2.6.29-1-686_2.6.29-1_i386.deb linux-image-2.6.29-1-686_2.6.29-1_i386.deb
Hugo