Pb compilation noyau Ubuntu
Bonjour,😎
En suivant le tuto d'Ubuntu, j'ai essayé de compiler le noyau et voici les résultats :
sudo -i
cd /usr/src : ok
m linux : ok
wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.15.6.tar.bz2 tar xjvf linux-2.6.15.6.tar.bz2 : ok
wget http://people.redhat.com/mingo/realtime-preempt/older/patch-2.6.15-rt21 : ok
apt-get install kernel-patch-evms
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
kernel-patch-evms: Depends: grep-dctrl but it is not going to be installed
sun-java5-jre: Depends: sun-java5-bin (= 1.5.0-06-1) but it is not going to be installed or
ia32-sun-java5-bin (= 1.5.0-06-1) but it is not instal lable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s olution).
gunzip kernel-patches/diffs/evms-bd-claim/2.6-bd-claim.patch.gz gunzip: kernel-patches/diffs/evms-bd-claim/2.6-bd-claim.patch.gz: No such file o r directory : ?
gunzip kernel-patches/diffs/evms-bd-claim/2.6-bd-claim.patch.gz
gunzip: kernel-patches/diffs/evms-bd-claim/2.6-bd-claim.patch.gz: No such file or directory : ?
mv linux-2.6.15.6 linux-2.6.15.6-rt21 : ok
n -s linux-2.6.15.6-rt21 linux : ok
cd linux
bash: cd: linux: Aucun fichier ou répertoire de ce type
patch -p1 < ../patch-2.6.15-rt21
bash: ../patch-2.6.15-rt21: Aucun fichier ou répertoire de ce type
bash: ../kernel-patches/diffs/evms-bd-claim/2.6-bd-claim.patch: Aucun fichier ou répertoire de ce type
: ?
rm Makefile.rej rm: ne peut enlever `Makefile.rej': Aucun fichier ou répertoire de ce type : ?
rm Makefile.rej gedit Makefile : Cela m'ouvre un texte vierge !
apt-get install kernel-package
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (13 Permission non accordée)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
make-kpkg clean
bash: make-kpkg : commande introuvable
make-kpkg modules_clean
bash: make-kpkg : commande introuvable
make-kpkgrevision 1 initrd kernel_image kernel_headers modules_image
bash: make-kpkg : commande introuvable : ??? (mais je m'en doutais un peu 🙄)
Merci de m'éclairer 💡 😡 j'ai juste indiqué les erreurs pour éviter des lignes interminables 😁 J'ai vraiment besoin de ce noyau pour jouer en temps réel avec faible latence...
En suivant le tuto d'Ubuntu, j'ai essayé de compiler le noyau et voici les résultats :
sudo -i
cd /usr/src : ok
m linux : ok
wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.15.6.tar.bz2 tar xjvf linux-2.6.15.6.tar.bz2 : ok
wget http://people.redhat.com/mingo/realtime-preempt/older/patch-2.6.15-rt21 : ok
apt-get install kernel-patch-evms
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
kernel-patch-evms: Depends: grep-dctrl but it is not going to be installed
sun-java5-jre: Depends: sun-java5-bin (= 1.5.0-06-1) but it is not going to be installed or
ia32-sun-java5-bin (= 1.5.0-06-1) but it is not instal lable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a s olution).
gunzip kernel-patches/diffs/evms-bd-claim/2.6-bd-claim.patch.gz gunzip: kernel-patches/diffs/evms-bd-claim/2.6-bd-claim.patch.gz: No such file o r directory : ?
gunzip kernel-patches/diffs/evms-bd-claim/2.6-bd-claim.patch.gz
gunzip: kernel-patches/diffs/evms-bd-claim/2.6-bd-claim.patch.gz: No such file or directory : ?
mv linux-2.6.15.6 linux-2.6.15.6-rt21 : ok
n -s linux-2.6.15.6-rt21 linux : ok
cd linux
bash: cd: linux: Aucun fichier ou répertoire de ce type
patch -p1 < ../patch-2.6.15-rt21
bash: ../patch-2.6.15-rt21: Aucun fichier ou répertoire de ce type
bash: ../kernel-patches/diffs/evms-bd-claim/2.6-bd-claim.patch: Aucun fichier ou répertoire de ce type
: ?
rm Makefile.rej rm: ne peut enlever `Makefile.rej': Aucun fichier ou répertoire de ce type : ?
rm Makefile.rej gedit Makefile : Cela m'ouvre un texte vierge !
apt-get install kernel-package
E: Impossible d'ouvrir le fichier verrou /var/lib/dpkg/lock - open (13 Permission non accordée)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
make-kpkg clean
bash: make-kpkg : commande introuvable
make-kpkg modules_clean
bash: make-kpkg : commande introuvable
make-kpkg
bash: make-kpkg : commande introuvable : ??? (mais je m'en doutais un peu 🙄)
Merci de m'éclairer 💡 😡 j'ai juste indiqué les erreurs pour éviter des lignes interminables 😁 J'ai vraiment besoin de ce noyau pour jouer en temps réel avec faible latence...