I want to install rtlinux on it (www.rtlinuxfree.com)
The package has only patches upto 2.6.9 kernel , i downloaded 2.6.9 applied the patch
tried to compile in the debian way im getting stuck
at this stage
Code: Select all
fakeroot make-kpkg --initrd --append-to-version=-some-string-here kernel-image kernel-headers
Code: Select all
include/linux/skbuff.h:1017: warning: pointer targets in passing argument 2 of ‘csum_and_copy_from_user’ differ in signedness
CC init/do_mounts_rd.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/topology.h:33,
from include/linux/mmzone.h:371,
from include/linux/gfp.h:4,
from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/rcupdate.h:41,
from include/linux/dcache.h:10,
from include/linux/fs.h:16,
from init/do_mounts_rd.c:3:
include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
init/do_mounts_rd.c: In function ‘identify_ramdisk_image’:
init/do_mounts_rd.c:73: warning: pointer targets in passing argument 2 of ‘sys_read’ differ in signedness
init/do_mounts_rd.c:108: warning: pointer targets in passing argument 2 of ‘sys_read’ differ in signedness
init/do_mounts_rd.c: In function ‘fill_inbuf’:
init/do_mounts_rd.c:351: warning: pointer targets in passing argument 2 of ‘sys_read’ differ in signedness
init/do_mounts_rd.c: In function ‘flush_window’:
init/do_mounts_rd.c:372: warning: pointer targets in passing argument 2 of ‘sys_write’ differ in signedness
CC init/do_mounts_initrd.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/topology.h:33,
from include/linux/mmzone.h:371,
from include/linux/gfp.h:4,
from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/rcupdate.h:41,
from include/linux/dcache.h:10,
from include/linux/fs.h:16,
from init/do_mounts_initrd.c:4:
include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
LD init/mounts.o
CC init/initramfs.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/topology.h:33,
from include/linux/mmzone.h:371,
from include/linux/gfp.h:4,
from include/linux/slab.h:15,
from include/linux/percpu.h:4,
from include/linux/rcupdate.h:41,
from include/linux/dcache.h:10,
from include/linux/fs.h:16,
from init/initramfs.c:2:
include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
init/initramfs.c: In function ‘flush_window’:
init/initramfs.c:401: warning: pointer targets in passing argument 1 of ‘flush_buffer’ differ in signedness
init/initramfs.c: In function ‘unpack_to_rootfs’:
init/initramfs.c:442: warning: pointer targets in assignment differ in signedness
LD init/built-in.o
HOSTCC usr/gen_init_cpio
CPIO usr/initramfs_data.cpio
GZIP usr/initramfs_data.cpio.gz
AS usr/initramfs_data.o
LD usr/built-in.o
CC arch/i386/kernel/process.o
In file included from include/asm/mpspec.h:5,
from include/asm/smp.h:18,
from include/linux/smp.h:17,
from include/linux/sched.h:23,
from arch/i386/kernel/process.c:17:
include/asm/mpspec_def.h:78: warning: ‘packed’ attribute ignored for field of type ‘unsigned char[6]’
arch/i386/kernel/process.c: In function ‘show_regs’:
arch/i386/kernel/process.c:252: warning: pointer targets in passing argument 2 of ‘show_trace’ differ in signedness
{standard input}: Assembler messages:
{standard input}:1394: Error: suffix or operands invalid for `mov'
{standard input}:1396: Error: suffix or operands invalid for `mov'
{standard input}:1743: Error: suffix or operands invalid for `mov'
{standard input}:1745: Error: suffix or operands invalid for `mov'
{standard input}:1856: Error: suffix or operands invalid for `mov'
{standard input}:1857: Error: suffix or operands invalid for `mov'
{standard input}:2031: Error: suffix or operands invalid for `mov'
{standard input}:2033: Error: suffix or operands invalid for `mov'
{standard input}:2150: Error: suffix or operands invalid for `mov'
{standard input}:2163: Error: suffix or operands invalid for `mov'
make[2]: *** [arch/i386/kernel/process.o] Error 1
make[1]: *** [arch/i386/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.9'
make: *** [debian/stamp-build-kernel] Error 2
- I ve some basic questions
1. Can i compile a linux kernel 2.6.9 in a 2.6.24 OS??
2..If possible ,Can i boot with that kernel into my current OS
3.If 1 not possible then wat is the most appropriate solution without changing my current OS??