P.P.F Hardware
Jiwa.fm Free The Music!

Cobalt RaQ4 / RaQ4r Kernel 2.6.26.8

dimanche 29 mai 2011 par YannicK@P.P.F.Hardware

Debian Kernel compilation and installation for Sun/Cobalt RaQ4r

apt-get install build-essential bzip2 kernel-package gcc libncurses5 libncurses5-dev bin86 gawk ncurses-dev initramfs-tools zlib1g zlib1g-dev binutils

cd /usr/src

wget http://files.parvi.org/gentoo-stuff...

wget http://www.kernel.org/pub/linux/ker...

cd /usr/src/

tar jxvf linux-2.6.26.8.tar.bz2

mv linux-2.6.26.8 linux-2.6.26.8-cobalt

cd linux-2.6.26.8-cobalt

sed -e ’/^EXTRAVERSION/s/$/-cobalt/’ -i Makefile

patch -p1 < linux-cobalt-2.6.26.5-20081001.jeffw.patch

wget http://files.parvi.org/gentoo-stuff... -O .config

Ou bien le mien final :

wget http://stock.brussee.fr/cobalt/conf... -O .config

make oldconfig

make menuconfig

Compilations

Plusieurs compil pour memo il faut viser juste pour la taille finale du Kernel!!! :

1 = iptables - 2 = nat - 3 = ipvs.* - 4 = network card - 5 = Support NFS

make-kpkg clean

make-kpkg —initrd —revision=’1’ kernel_image kernel_headers modules_image

make-kpkg —initrd —revision=’2’ kernel_image kernel_headers modules_image

make-kpkg —initrd —revision=’3’ kernel_image kernel_headers modules_image

make-kpkg —initrd —revision=’4’ kernel_image kernel_headers modules_image

make-kpkg —initrd —revision=’5’ kernel_image kernel_headers modules_image

cd /usr/src

dpkg -i linux-image-2.6.26.8-cobalt_1_i386.deb

dpkg -i linux-headers-2.6.26.8-cobalt_1_i386.deb

cd /usr/src

dpkg -i linux-image-2.6.26.8-cobalt_2_i386.deb

dpkg -i linux-headers-2.6.26.8-cobalt_2_i386.deb

cd /usr/src

dpkg -i linux-image-2.6.26.8-cobalt_3_i386.deb

dpkg -i linux-headers-2.6.26.8-cobalt_3_i386.deb

cd /usr/src

dpkg -i linux-image-2.6.26.8-cobalt_4_i386.deb

dpkg -i linux-headers-2.6.26.8-cobalt_4_i386.deb

cd /usr/src

dpkg -i linux-image-2.6.26.8-cobalt_5_i386.deb

dpkg -i linux-headers-2.6.26.8-cobalt_5_i386.deb

Derniers Packages

dpkg -i linux-image-2.6.26.8-cobalt_5_i386.deb

dpkg -i linux-headers-2.6.26.8-cobalt_5_i386.deb

Compression Du Kernel pour le chargement dans la ROM du Cobalt ( Maxi 1,9 M )

cd /boot

cp /usr/src/linux-2.6.26.8-cobalt/vmlinux .

strip vmlinux

bzip2 -c vmlinux > vmlinux.bz2

ln -s System.map-2.6.26.8-cobalt System.map

ln -s initrd.img-2.6.26.8-cobalt initrd.img

Config Kernel YannicK Cobalt RaQ4r

iptables / nat (full ) / ipvs / netfilter / bonding / vtun for OpenVPN / Support NFS Client et Server

wget http://stock.brussee.fr/cobalt/conf...

All Files : http://stock.brussee.fr/cobalt

Bugs Rencontrés

keepalived[923] : segfault at 54 ip 08056d6b sp bf815f00 error 4 in keepalived[8048000+1d000]

’’’Solution :’’’ Recompiler le kernel et ajouter tout en dur pour ipvs*

Espace Partenaires:


             

Accueil du site | Contact | Plan du site | Espace privé | Statistiques | visites : 2422300


Suivre la vie du site fr  Suivre la vie du site Active P.P.F Hardware  Suivre la vie du site Cobalt RaQ4r - Debian Lenny - Kernel 2.6   Suivre la vie du site WikiPedia

Site réalisé avec SPIP 1.9.4 + ALTERNATIVES + Nuits Blanches a debugguer +

 

Creative Commons License