Changer de noyeau ubuntu 9.04 et real time

Fermé
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   -  
 lami20j -
Bonjour,
ça fait plusieurs jours que j'essaie de changer mon noyau car je travaille dans le son et le temp réel est important donc.

mon noyeau actuel est le : 2.6.28-14-generic
j'ai suivi ce tuto:
http://www.linuxmao.org/tikiwiki/tiki-i … oyau+2.6RT
sur le sîte de linux mao mais ça bloque ici:

sudo make-kpkg --revision 1 --initrd kernel_image kernel_headers modules_image
[sudo] password for cedric0:
exec debian/rules DEBIAN_REVISION=1 INITRD=YES kernel_image kernel_headers modules_image
/usr/bin/make -f ./debian/rules debian/stamp/binary/pre-linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23
make[1]: entrant dans le répertoire « /usr/src/linux-2.6.29.6-rt23 »
====== making target debian/stamp/binary/pre-linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23 [new prereqs: linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23]======

This is kernel package version 11.015.
/usr/bin/make -f ./debian/rules debian/stamp/binary/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23
make[2]: entrant dans le répertoire « /usr/src/linux-2.6.29.6-rt23 »
====== making target debian/stamp/binary/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23 [new prereqs: ]======

This is kernel package version 11.015.
install -p -d -o root -g root -m 755 /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/DEBIAN
sed -e 's/=V/2.6.29.6-rt23linux-2.6.29.6-rt23/g' -e 's/=IB//g' \
-e 's/=ST/linux/g' -e 's/=R//g' \
-e 's/=K/bzImage/g' -e 's/=L/lilo/g' \
-e 's/=I/YES/g' -e 's,big_smile,/boot,g' \
-e 's/=MD/initramfs-tools (>= 0.53) | yaird (>= 0.0.11) | linux-initramfs-tool, /g' \
-e 's@=MK@mkinitramfs-kpkg mkinitrd.yaird@g' -e 's@=A@amd64@g' \
-e 's@=M@@g' -e 's/=OF//g' \
-e 's/=S//g' -e 's@=B@x86_64@g' \
./debian/pkg/image/postinst > /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/DEBIAN/postinst
chmod 755 /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/DEBIAN/postinst
sed -e 's/=V/2.6.29.6-rt23linux-2.6.29.6-rt23/g' -e 's/=IB//g' \
-e 's/=ST/linux/g' -e 's/=R//g' \
-e 's/=K/bzImage/g' -e 's/=L/lilo/g' \
-e 's/=I/YES/g' -e 's,big_smile,/boot,g' \
-e 's/=MD/initramfs-tools (>= 0.53) | yaird (>= 0.0.11) | linux-initramfs-tool, /g' \
-e 's@=MK@mkinitramfs-kpkg mkinitrd.yaird@g' -e 's@=A@amd64@g' \
-e 's@=M@@g' -e 's/=OF//g' \
-e 's/=S//g' -e 's@=B@x86_64@g' \
./debian/pkg/image/config > /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/DEBIAN/config
chmod 755 /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/DEBIAN/config
sed -e 's/=V/2.6.29.6-rt23linux-2.6.29.6-rt23/g' -e 's/=IB//g' \
-e 's/=ST/linux/g' -e 's/=R//g' \
-e 's/=K/bzImage/g' -e 's/=L/lilo/g' \
-e 's/=I/YES/g' -e 's,big_smile,/boot,g' \
-e 's/=MD/initramfs-tools (>= 0.53) | yaird (>= 0.0.11) | linux-initramfs-tool, /g' \
-e 's@=MK@mkinitramfs-kpkg mkinitrd.yaird@g' -e 's@=A@amd64@g' \
-e 's@=M@@g' -e 's/=OF//g' \
-e 's/=S//g' -e 's@=B@x86_64@g' \
./debian/pkg/image/postrm > /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/DEBIAN/postrm
chmod 755 /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/DEBIAN/postrm
sed -e 's/=V/2.6.29.6-rt23linux-2.6.29.6-rt23/g' -e 's/=IB//g' \
-e 's/=ST/linux/g' -e 's/=R//g' \
-e 's/=K/bzImage/g' -e 's/=L/lilo/g' \
-e 's/=I/YES/g' -e 's,big_smile,/boot,g' \
-e 's/=MD/initramfs-tools (>= 0.53) | yaird (>= 0.0.11) | linux-initramfs-tool, /g' \
-e 's@=MK@mkinitramfs-kpkg mkinitrd.yaird@g' -e 's@=A@amd64@g' \
-e 's@=M@@g' -e 's/=OF//g' \
-e 's/=S//g' -e 's@=B@x86_64@g' \
./debian/pkg/image/preinst > /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/DEBIAN/preinst
chmod 755 /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/DEBIAN/preinst
sed -e 's/=V/2.6.29.6-rt23linux-2.6.29.6-rt23/g' -e 's/=IB//g' \
-e 's/=ST/linux/g' -e 's/=R//g' \
-e 's/=K/bzImage/g' -e 's/=L/lilo/g' \
-e 's/=I/YES/g' -e 's,big_smile,/boot,g' \
-e 's/=MD/initramfs-tools (>= 0.53) | yaird (>= 0.0.11) | linux-initramfs-tool, /g' \
-e 's@=MK@mkinitramfs-kpkg mkinitrd.yaird@g' -e 's@=A@amd64@g' \
-e 's@=M@@g' -e 's/=OF//g' \
-e 's/=S//g' -e 's@=B@x86_64@g' \
./debian/pkg/image/prerm > /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/DEBIAN/prerm
chmod 755 /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/DEBIAN/prerm
echo using old template
using old template
sed -e 's/=V/2.6.29.6-rt23linux-2.6.29.6-rt23/g' -e 's/=IB//g' \
-e 's/=ST/linux/g' -e 's/=R//g' \
-e 's/=K/bzImage/g' -e 's/=L/lilo/g' \
-e 's@=MK@mkinitramfs-kpkg mkinitrd.yaird@g' -e 's@=A@amd64@g' \
-e 's/=I/YES/g' -e 's,big_smile,/boot,g' \
-e 's/=MD/initramfs-tools (>= 0.53) | yaird (>= 0.0.11) | linux-initramfs-tool, /g' \
-e 's@=M@@g' -e 's/=OF//g' \
-e 's/=S//g' -e 's@=B@x86_64@g' \
./debian/templates.l10n > ./debian/templates.master
install -p -o root -g root -m 644 ./debian/templates.master /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/DEBIAN/templates
dpkg-gencontrol -DArchitecture=amd64 -isp \
-plinux-image-2.6.29.6-rt23linux-2.6.29.6-rt23 -P/usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23/
create_md5sums_fn () { cd $1 ; find . -type f ! -regex '.*/DEBIAN/.*' ! -regex './etc/.*' ! -regex '.*lib/modules/[^/]*/modules\..*' -printf '%P\0' | xargs -r0 md5sum > DEBIAN/md5sums ; if [ -z "DEBIAN/md5sums" ] ; then rm -f "DEBIAN/md5sums" ; fi ; } ; create_md5sums_fn /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23
chmod -R og=rX /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23
chown -R root:root /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23
dpkg --build /usr/src/linux-2.6.29.6-rt23/debian/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23 ..
dpkg-deb : construction du paquet « linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23 » dans « ../linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23_1_amd64.deb ».
dpkg-deb: le répertoire de contrôle n'a pas les bonnes permissions 2755 (doit être >=0755 et <=0775)
make[2]: *** [debian/stamp/binary/linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23] Erreur 2
make[2]: quittant le répertoire « /usr/src/linux-2.6.29.6-rt23 »
make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.29.6-rt23linux-2.6.29.6-rt23] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-2.6.29.6-rt23 »
make: *** [kernel_image] Erreur 2

bon là j'avoue je bloque je suis loin d'être un spécialiste de linux ....
je comprend pas puisque que je suis en mode superutilisateur pourquoi il me met ça ?
si quelqu'un pouvait m'aider ce serait sympa ....voire m'orienter vers un tuto plus récent.....
merci d'avance...
A voir également:

164 réponses

cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
si je fait chmod -R root:root /usr/src...
et reprendre du debut c'est pas bon.?
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
root@cedric0-desktop:/usr/src# chown root:root linux && ls -l
total 60120
drwxr-sr-x 2 root root 4096 2009-08-06 18:02 linux
drwxrwxr-x 22 root root 4096 2009-07-03 01:41 linux-2.6.29.6
-rw-r--r-- 1 root src 56550359 2009-08-06 09:29 linux-2.6.29.6.tar.bz2
drwxr-xr-x 22 root root 4096 2009-08-06 08:04 linux-headers-2.6.28-14
drwxr-xr-x 7 root root 4096 2009-08-06 08:04 linux-headers-2.6.28-14-generic
-rw-r--r-- 1 root src 4990971 2009-07-09 20:10 patch-2.6.29.6-rt23
root@cedric0-desktop:/usr/src#
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
le patch est toujours root:src vu qu'il s'appele pas linux....
0
bob031 Messages postés 8158 Date d'inscription   Statut Membre Dernière intervention   473
 
ok ! ensuite tu fais :
chown root:root patch-2.6.29.6-rt23 


et tu reprends la procédure de lami20j, à partir de :
bunzip2 patch-2.6.29.6-rt23.bz2

etc ...


et à la moindre erreur, tu stoppes tout !!!!

et tu nous copies-colles les erreurs, ok ?
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
root@cedric0-desktop:/usr/src# chown root:root patch-2.6.29.6-rt23
root@cedric0-desktop:/usr/src#
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
ls -l
total 60120
drwxr-sr-x 2 root root 4096 2009-08-06 18:02 linux
drwxrwxr-x 22 root root 4096 2009-07-03 01:41 linux-2.6.29.6
-rw-r--r-- 1 root src 56550359 2009-08-06 09:29 linux-2.6.29.6.tar.bz2
drwxr-xr-x 22 root root 4096 2009-08-06 08:04 linux-headers-2.6.28-14
drwxr-xr-x 7 root root 4096 2009-08-06 08:04 linux-headers-2.6.28-14-generic
-rw-r--r-- 1 root root 4990971 2009-07-09 20:10 patch-2.6.29.6-rt23
en fait c'est là qu'il faudrait reprendre la procédure des le depart non?
il a pas change les droit sur linux-2.6.29.6.tar.bz2....
0
bob031 Messages postés 8158 Date d'inscription   Statut Membre Dernière intervention   473
 
il a pas change les droit sur linux-2.6.29.6.tar.bz2....
on n'en a pas besoin, donc tu oublies ce fichier ! ce qui est important c'est que le répertoire linux-2.6.29.6 soit "root root", ce qui est le cas !
0
bob031 Messages postés 8158 Date d'inscription   Statut Membre Dernière intervention   473
 
ben vas-y , continues avec les commandes suivantes :
bunzip2 patch-2.6.29.6-rt23.bz2
ln -sfn linux-2.6.29.6 linux
cd linux
patch -p1 < ../patch-2.6.29.6-rt23


ensuite tu me dis si les 4 commadnes sont bien passées.
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
root@cedric0-desktop:/usr/src# chown root:root linux-2.6.29.6.tar.bz2
root@cedric0-desktop:/usr/src# ls -l
total 60120
drwxr-sr-x 2 root root 4096 2009-08-06 18:02 linux
drwxrwxr-x 22 root root 4096 2009-07-03 01:41 linux-2.6.29.6
-rw-r--r-- 1 root root 56550359 2009-08-06 09:29 linux-2.6.29.6.tar.bz2
drwxr-xr-x 22 root root 4096 2009-08-06 08:04 linux-headers-2.6.28-14
drwxr-xr-x 7 root root 4096 2009-08-06 08:04 linux-headers-2.6.28-14-generic
-rw-r--r-- 1 root root 4990971 2009-07-09 20:10 patch-2.6.29.6-rt23
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
ben faut peu etre virer les autres avant non?
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
redonne la commande pour vire les autres...
ls -l
total 60120
drwxr-sr-x 2 root root 4096 2009-08-06 18:02 linux
drwxrwxr-x 22 root root 4096 2009-07-03 01:41 linux-2.6.29.6
-rw-r--r-- 1 root root 56550359 2009-08-06 09:29 linux-2.6.29.6.tar.bz2
drwxr-xr-x 22 root root 4096 2009-08-06 08:04 linux-headers-2.6.28-14
drwxr-xr-x 7 root root 4096 2009-08-06 08:04 linux-headers-2.6.28-14-generic
-rw-r--r-- 1 root root 4990971 2009-07-09 20:10 patch-2.6.29.6-rt23
root@cedric0-desktop:/usr/src#


linux et linux-2.6.29.6 qui avaient deja ete decompressés...
0
bob031 Messages postés 8158 Date d'inscription   Statut Membre Dernière intervention   473
 
tous tes fichiers sont "root root" ..que veux-tu virer ??

tu peux faire :
ls -l linux-2.6.29.6

et vérifier que tous les sous-répertoires sont "root root" (pas la peine de coller les résultats)

0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
ben non en fait on avait deja decompresse le patch et vire le fichier compressé correspondant...
donc je le retelecharge...? ben pour le fichier a decompresser ....

root@cedric0-desktop:/usr/src# ls -l /linux-2.6.29.6
ls: ne peut accéder /linux-2.6.29.6: Aucun fichier ou dossier de ce type
root@cedric0-desktop:/usr/src#
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
oui ils sont tous en root:root
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
root@cedric0-desktop:/usr/src# patch -p1 < ../patch-2.6.29.6-rt23
-su: ../patch-2.6.29.6-rt23: Aucun fichier ou dossier de ce type
root@cedric0-desktop:/usr/src# cd linux
root@cedric0-desktop:/usr/src/linux# patch -p1 < ../patch-2.6.29.6-rt23
patching file Documentation/ABI/testing/debugfs-kmemtrace
can't find file to patch at input line 81
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: linux-2.6-tip/Documentation/DMA-API.txt
|===================================================================
|--- linux-2.6-tip.orig/Documentation/DMA-API.txt
|+++ linux-2.6-tip/Documentation/DMA-API.txt
--------------------------
File to patch:
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
bon je tente le coup et retelecharge le patch....
0
bob031 Messages postés 8158 Date d'inscription   Statut Membre Dernière intervention   473
 
ok ! tu le laisseras en "root src" puisque le fait de le mettre en "root root" pose problème !

on est d'accord ? c'est la seule modif qu'on a faite ...

et tu reprends la procédure ...
0
bob031 Messages postés 8158 Date d'inscription   Statut Membre Dernière intervention   473
 
arrête toi ! et lis tes MP , stp !!!
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
oui oui c'est bon tout ça...
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
ben oui là on en est a make menuconfig..
passe en visio si tu veux cece466@live.fr
j'ai l'impression que le sîte me mange des messages...
0
bob031 Messages postés 8158 Date d'inscription   Statut Membre Dernière intervention   473
 
désolé, je n'ai pas msn ...
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
root@cedric0-desktop:/usr/src/linux# cp -v /boot/config-$(uname -r) .config
`/boot/config-2.6.28-14-generic' -> `.config'
0
cece466 Messages postés 521 Date d'inscription   Statut Membre Dernière intervention   46
 
ls -l
total 392
drwxrwxr-x 23 root root 4096 2009-08-06 19:36 arch
drwxrwxr-x 2 root root 4096 2009-08-06 19:36 block
-rw-rw-r-- 1 root root 18693 2009-07-03 01:41 COPYING
-rw-rw-r-- 1 root root 93484 2009-07-03 01:41 CREDITS
drwxrwxr-x 3 root root 4096 2009-08-06 19:36 crypto
drwxrwxr-x 83 root root 12288 2009-08-06 19:36 Documentation
drwxrwxr-x 84 root root 4096 2009-07-03 01:41 drivers
drwxrwxr-x 23 root root 4096 2009-07-03 01:41 firmware
drwxrwxr-x 65 root root 4096 2009-08-06 19:36 fs
drwxrwxr-x 26 root root 4096 2009-08-06 19:36 include
drwxrwxr-x 2 root root 4096 2009-08-06 19:36 init
drwxrwxr-x 2 root root 4096 2009-08-06 19:36 ipc
-rw-rw-r-- 1 root root 2430 2009-07-03 01:41 Kbuild
drwxrwxr-x 6 root root 4096 2009-08-06 19:36 kernel
drwxrwxr-x 6 root root 4096 2009-08-06 19:36 lib
-rw-rw-r-- 1 root root 110285 2009-08-06 19:36 MAINTAINERS
-rw-rw-r-- 1 root root 54924 2009-08-06 19:36 Makefile
drwxrwxr-x 2 root root 4096 2009-08-06 19:36 mm
drwxrwxr-x 46 root root 4096 2009-07-03 01:41 net
-rw-rw-r-- 1 root root 17080 2009-07-03 01:41 README
-rw-rw-r-- 1 root root 3172 2009-07-03 01:41 REPORTING-BUGS
drwxrwxr-x 7 root root 4096 2009-07-03 01:41 samples
drwxrwxr-x 12 root root 4096 2009-08-06 19:36 scripts
drwxrwxr-x 5 root root 4096 2009-08-06 19:36 security
drwxrwxr-x 20 root root 4096 2009-07-03 01:41 sound
drwxrwxr-x 2 root root 4096 2009-08-06 19:36 usr
drwxrwxr-x 3 root root 4096 2009-07-03 01:41 virt
0