Re:Hint needed: howto compile same kernel version
> Hi,
>
> I would like to make a small delta between running stable version 2.4.27-9 of the kernel and my 'to be compiled' kernel.
>
> Don't know how to do it, as available kernel is 2.4.27-10. This is what I tried:
> -Downloaded kernel-source-2.4.27-10-10sarge1 and kernel-headers-2.4.27-2-sparc64
> -Made a link from ../include from kernel-source to the kernel-headers
> -Used /boot/config-2.4.27-2-sparc64
> -Compiled (oops, first pass forgot the --initrd), but my kernel has much different size than original one
>
> I also tried auto-apt run apt-get -b source kernel-image-2.4.27-sparc=2.4.27-9, but did not succeed.
> Build command 'cd kernel-image-2.4.27-sparc-2.4.27 && dpkg-buildpackage -b -uc' failed.
> E: Child process failed
>
> How is the stable kernel 9sarge1 for sparc64 actually compiled? Can anyone give me a hint?
>
Tried again on a fresh, newly installed system, but without kernel-headers (done previously) from the kernel-source itself:
used kernel-source-2.4.27-10-10sarge1 with unmodified /boot/config-2.4.27-2-sparc64
my /boot after dpkg-i of the newly compiled kernel:
lrwxrwxrwx 1 root root 1 2005-12-17 16:51 boot -> .
-rw-r--r-- 1 root root 23836 2005-12-18 19:51 config-2.4.27
-rw-r--r-- 1 root root 23836 2005-08-22 22:58 config-2.4.27-2-sparc64
lrwxrwxrwx 1 root root 1 2005-12-17 16:51 etc -> .
-rw-r--r-- 1 root root 1024 2005-03-15 15:28 fd.b
-rw-r--r-- 1 root root 512 2005-03-15 15:28 first.b
-rw-r--r-- 1 root root 1024 2005-03-15 15:28 generic.b
-rw-r--r-- 1 root root 784 2005-03-15 15:28 ieee32.b
lrwxrwxrwx 1 root root 22 2005-12-18 21:15 initrd.img -> boot/initrd.img-2.4.27
-rw-r--r-- 1 root root 3014656 2005-12-18 21:15 initrd.img-2.4.27
-rw-r--r-- 1 root root 3014656 2005-12-18 12:25 initrd.img-2.4.27-2-sparc64
lrwxrwxrwx 1 root root 27 2005-12-17 16:50 initrd.img.old -> initrd.img-2.4.27-2-sparc64
-rw-r--r-- 1 root root 7092 2005-03-15 15:28 isofs.b
-rw-r--r-- 1 root root 7680 2005-12-17 16:51 old.b
-rw-r--r-- 1 root root 62976 2005-12-17 16:51 second.b
-rw-r--r-- 1 root root 286 2005-12-17 16:20 silo.conf
-rw-r--r-- 1 root root 60730 2005-03-15 15:28 silotftp.b
-rw-r--r-- 1 root root 496514 2005-12-18 21:06 System.map-2.4.27
-rw-r--r-- 1 root root 496514 2005-08-23 01:34 System.map-2.4.27-2-sparc64
-rw-r--r-- 1 root root 512 2005-03-15 15:28 ultra.b
lrwxrwxrwx 1 root root 19 2005-12-18 21:15 vmlinuz -> boot/vmlinuz-2.4.27
-rw-r--r-- 1 root root 1288120 2005-12-18 21:06 vmlinuz-2.4.27
-rw-r--r-- 1 root root 1111087 2005-08-23 01:34 vmlinuz-2.4.27-2-sparc64
lrwxrwxrwx 1 root root 24 2005-12-17 16:50 vmlinuz.old -> vmlinuz-2.4.27-2-sparc64
strange? why the difference in the vmlinuz's?
Reply to: