I'm trying to compile a new 2.6.26 kernel, and while using my primitive script
Code:
#! /bin/sh
# make sure you're root
rm -rvf linux-2.6-2.6.26/
tar zxvf linux-2.6_2.6.26.orig.tar.gz
cd kernel-patches/all/2.6.26/apply/
cp * /usr/src/linux-2.6-2.6.26/
cd /usr/src/kernel-patches/all/apply/
cp * /usr/src/linux-2.6-2.6.26/
cd /usr/src/linux-2.6-2.6.26/
fakeroot ./debian
fakeroot ./debianlogo
fakeroot ./tuxonice
to patch the kernel with all of the debian patches and two extra I get this error,
Code:
Warning: No version.Debian file, assuming Debian Linux 2.6.26
--> Try to apply 1.
(+) 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/drivers-ata-ata_piix-postpone-pata.patch
(+) OK debian/dfsg/drivers-net-tg3-fix-simple.patch
(+) OK debian/dfsg/drivers-net-bnx2-request_firmware-1.patch
(+) OK features/all/drivers-usb-serial-keyspan-request_firmware.patch
(+) OK features/all/drivers-char-ip2-request_firmware.patch
(+) OK features/all/drivers-net-acenic-firmwar_request.patch
(+) OK features/all/export-gfs2-locking-symbols.patch
(+) OK features/all/export-unionfs-symbols.patch
(+) OK bugfix/powerpc/oldworld-boot-fix.patch
(+) OK bugfix/powerpc/prep-utah-ide-interrupt.patch
(+) OK bugfix/sparc/drivers_net-broken.patch
(+) OK bugfix/ia64/hardcode-arch-script-output.patch
(+) OK bugfix/mips/disable-advansys.patch
(+) OK bugfix/mips/gbefb_fix_cmap_fifo_timeout.patch
(+) OK bugfix/mips/ip32_enable_fast_20.patch
(+) OK bugfix/arm/disable-dvb_b2c2_flexcop.patch
(+) FAIL bugfix/arm/disable-dvb_budget.patch
Traceback (most recent call last):
File "./debian", line 221, in <module>
main()
File "./debian", line 171, in main
s()
File "/usr/src/linux-support-2.6.26-1/lib/python/debian_linux/patches.py", line 190, in __call__
i(cond = cond, reverse = reverse)
File "/usr/src/linux-support-2.6.26-1/lib/python/debian_linux/patches.py", line 174, in __call__
i(dir = dir, reverse = reverse)
File "/usr/src/linux-support-2.6.26-1/lib/python/debian_linux/patches.py", line 10, in __call__
self.do(dir)
File "/usr/src/linux-support-2.6.26-1/lib/python/debian_linux/patches.py", line 44, in patch_push
self._call(dir, '--fuzz=1')
File "/usr/src/linux-support-2.6.26-1/lib/python/debian_linux/patches.py", line 38, in _call
f = os.popen(cmdline, 'wb')
OSError: [Errno 12] Cannot allocate memory
START applying debianlogo patch (Debian Logo)
Testing whether "Debian Logo" patch for 2.6.26 applies (dry run):
"Debian Logo" patch for 2.6.26 succeeded
Removing empty files:
Done.
mkdir: cannot create directory `debian': File exists
START applying tuxonice patch (TuxOnIce)
Testing whether "TuxOnIce" patch for 2.6.26 applies (dry run):
"TuxOnIce" patch for 2.6.26 succeeded
Removing empty files:
Done.
mkdir: cannot create directory `debian': File exists
and I can't figure out how to fix it, or why the script to add all of the debian patches is failing at (+) FAIL bugfix/arm/disable-dvb_budget.patch . I got everything from the debian repos, so there's no third party stuff in with the patches or the kernel.
Can anyone help me figure this out?