Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Pb compil kernel

5 réponses
Avatar
Manu
J'ai essay=E9 de compiler un kernel 2.6.10 mais j'ai une erreur. Faut-il
pr=E9alablement appliquer le patch patch-2.6.10? Et si oui comment?
J'ai essay=E9 ceci:
# cd /usr/src
# patch -p1 patch-2.6.10
mais =E7a n'a pas l'air de marcher.

Voici le message d'erreur que je re=E7ois =E0 la compilation des modules:


CC [M] drivers/char/drm/gamma_drv.o
In file included from drivers/char/drm/gamma_drv.c:40:
drivers/char/drm/drm_agpsupport.h: Dans la fonction =AB gamma_agp_uninit =
=BB:
drivers/char/drm/drm_agpsupport.h:431: attention : `inter_module_put'
is deprecated (declared at include/linux/module.h:582)
In file included from drivers/char/drm/gamma_drv.c:42:
drivers/char/drm/gamma_context.h: Dans la fonction =AB
gamma_context_switch_complete =BB:
drivers/char/drm/gamma_context.h:193: error: structure has no member
named `next_buffer'
drivers/char/drm/gamma_context.h:193: error: structure has no member
named `next_buffer'
In file included from drivers/char/drm/gamma_drv.c:44:
drivers/char/drm/gamma_old_dma.h: Dans la fonction =AB gamma_clear_next_buf=
fer =BB:
drivers/char/drm/gamma_old_dma.h:40: error: structure has no member
named `next_buffer'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:42: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:44: error: structure has no member
named `next_queue'
In file included from drivers/char/drm/gamma_drv.c:46:
drivers/char/drm/drm_drv.h: Dans la fonction =AB gamma_release =BB:
drivers/char/drm/drm_drv.h:807: attention : implicit declaration of
function `gamma_ctxbitmap_free'
In file included from drivers/char/drm/gamma_drv.c:58:
drivers/char/drm/drm_stub.h: Dans la fonction =AB gamma_stub_putminor =BB:
drivers/char/drm/drm_stub.h:148: attention : `inter_module_put' is
deprecated (declared at include/linux/module.h:582)
drivers/char/drm/drm_stub.h:150: attention : `inter_module_unregister'
is deprecated (declared at include/linux/module.h:578)
drivers/char/drm/drm_stub.h: Dans la fonction =AB gamma_stub_register =BB:
drivers/char/drm/drm_stub.h:206: attention : `inter_module_register'
is deprecated (declared at include/linux/module.h:577)
drivers/char/drm/drm_stub.h:216: attention : `inter_module_unregister'
is deprecated (declared at include/linux/module.h:578)
make[3]: *** [drivers/char/drm/gamma_drv.o] Erreur 1
make[2]: *** [drivers/char/drm] Erreur 2
make[1]: *** [drivers/char] Erreur 2
make: *** [drivers] Erreur 2


J'aimerais savoir =E0 quel module correspond
"drivers/char/drm/gamma_drv" pour pouvoir le d=E9sactiver si je n'en ai
pas besoin.


Merci pour toute aide, et joyeuses f=EAtes.

--=20
Manuel Dahmen
181 Avenue des Coteaux
4030 Grivegn=E9e
04/367 46 48
MSN: manueldahmen99@hotmail.com
http://stagiaires.ressource-toi.org/~rst237/

5 réponses

Avatar
Jean-Luc Coulon (f5ibh)
--=-4zcpYv+1Y61U7plNwrwa
Content-Type: text/plain; charset=ISO-8859-1; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le 27.12.2004 17:27:32, Manu a écrit :
J'ai essayé de compiler un kernel 2.6.10 mais j'ai une erreur. Faut-il
préalablement appliquer le patch patch-2.6.10? Et si oui comment?
J'ai essayé ceci:
# cd /usr/src
# patch -p1 patch-2.6.10





Si vous partez d'un noyau 2.6.9 de kernel.org, il faut effectivement
appliquer le patch. Si vous partez d'un noyau 2.6.10 de kernel.org, il
ne faut pas, bien sûr, appliquer le patch.

Si vous partez d'un noyau source de debian, je doute qu'il s'applique
proprement.

mais ça n'a pas l'air de marcher.



Quelles sont les erreurs ? Si vous avez des patches applqiués
partiellement, ça peut expliquer les erreurs suivantes.

[ ... ]

Jean-Luc

--=-4zcpYv+1Y61U7plNwrwa
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBB0D+5UdGGXzzGnNARAkoNAJ4kjJg7BdWKeHjlJsMzZGqmHx4GzACePRGO
FJEaBhxKXAZIeWqKd8M5PxY =9IHD
-----END PGP SIGNATURE-----

--=-4zcpYv+1Y61U7plNwrwa--



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Manu
J'ai rebooté mon système après la compil, et j'obtiens un kernel pani c:

VFS: cannot open root device "hdb2" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: unable to mount root fs on
unknown-block(0,0)

Mon menu.lst:
# La section qui va bien:
title Debian GNU/Linux, kernel 2.6.8-1-386
root (hd1,1)
kernel /boot/vmlinuz-2.6.8-1-386 root=/dev/hdb2 ro
initrd /boot/initrd.img-2.6.8-1-386
savedefault
boot
# La section qui ne va pas:
title Debian GNU/Linux, kernel 2.6.10
root (hd1,1)
kernel /boot/vmlinuz-2.6.10 root=/dev/hdb2 ro
boot

Notez que j'ai bien ext3 compilé en dur dans le kernel.

Le lundi 27 décembre 2004 à 17:27 +0100, Manu a écrit :
J'ai essayé de compiler un kernel 2.6.10 mais j'ai une erreur. Faut-il
préalablement appliquer le patch patch-2.6.10? Et si oui comment?
J'ai essayé ceci:
# cd /usr/src
# patch -p1 patch-2.6.10
mais ça n'a pas l'air de marcher.

Voici le message d'erreur que je reçois à la compilation des modules:


CC [M] drivers/char/drm/gamma_drv.o
In file included from drivers/char/drm/gamma_drv.c:40:
drivers/char/drm/drm_agpsupport.h: Dans la fonction « gamma_agp_uninit »:
drivers/char/drm/drm_agpsupport.h:431: attention : `inter_module_put'
is deprecated (declared at include/linux/module.h:582)
In file included from drivers/char/drm/gamma_drv.c:42:
drivers/char/drm/gamma_context.h: Dans la fonction «
gamma_context_switch_complete »:
drivers/char/drm/gamma_context.h:193: error: structure has no member
named `next_buffer'
drivers/char/drm/gamma_context.h:193: error: structure has no member
named `next_buffer'
In file included from drivers/char/drm/gamma_drv.c:44:
drivers/char/drm/gamma_old_dma.h: Dans la fonction « gamma_clear_next_b uffer »:
drivers/char/drm/gamma_old_dma.h:40: error: structure has no member
named `next_buffer'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:41: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:42: error: structure has no member
named `next_queue'
drivers/char/drm/gamma_old_dma.h:44: error: structure has no member
named `next_queue'
In file included from drivers/char/drm/gamma_drv.c:46:
drivers/char/drm/drm_drv.h: Dans la fonction « gamma_release »:
drivers/char/drm/drm_drv.h:807: attention : implicit declaration of
function `gamma_ctxbitmap_free'
In file included from drivers/char/drm/gamma_drv.c:58:
drivers/char/drm/drm_stub.h: Dans la fonction « gamma_stub_putminor » :
drivers/char/drm/drm_stub.h:148: attention : `inter_module_put' is
deprecated (declared at include/linux/module.h:582)
drivers/char/drm/drm_stub.h:150: attention : `inter_module_unregister'
is deprecated (declared at include/linux/module.h:578)
drivers/char/drm/drm_stub.h: Dans la fonction « gamma_stub_register » :
drivers/char/drm/drm_stub.h:206: attention : `inter_module_register'
is deprecated (declared at include/linux/module.h:577)
drivers/char/drm/drm_stub.h:216: attention : `inter_module_unregister'
is deprecated (declared at include/linux/module.h:578)
make[3]: *** [drivers/char/drm/gamma_drv.o] Erreur 1
make[2]: *** [drivers/char/drm] Erreur 2
make[1]: *** [drivers/char] Erreur 2
make: *** [drivers] Erreur 2


J'aimerais savoir à quel module correspond
"drivers/char/drm/gamma_drv" pour pouvoir le désactiver si je n'en ai
pas besoin.


Merci pour toute aide, et joyeuses fêtes.



--
Manuel Dahmen



--
Manuel Dahmen
181 Avenue des Coteaux
4030 Grivegnée
04/367 46 48
MSN:
http://stagiaires.ressource-toi.org/~rst237/
Avatar
Sylvain Sauvage
Mon, 27 Dec 2004 20:12:02 +0100, Manu a écrit :
J'ai rebooté mon système après la compil, et j'obtiens un kernel pa nic:

VFS: cannot open root device "hdb2" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: unable to mount root fs on
unknown-block(0,0)

Mon menu.lst:
# La section qui va bien:
title Debian GNU/Linux, kernel 2.6.8-1-386
root (hd1,1)
kernel /boot/vmlinuz-2.6.8-1-386 root=/dev/hdb2 ro
initrd /boot/initrd.img-2.6.8-1-386
savedefault
boot
# La section qui ne va pas:
title Debian GNU/Linux, kernel 2.6.10
root (hd1,1)
kernel /boot/vmlinuz-2.6.10 root=/dev/hdb2 ro
boot

Notez que j'ai bien ext3 compilé en dur dans le kernel.



T'aurais pas oublié l'initrd ?

(Ça a l'air de revenir souvent ces temps-ci...)

[Oups : Manu, désolé pour le doublon]
--
Sylvain Sauvage
Avatar
Manuel Dahmen
Le lundi 27 décembre 2004 à 20:36 +0100, Sylvain Sauvage a écrit :
Mon, 27 Dec 2004 20:12:02 +0100, Manu a écrit :
> J'ai rebooté mon système après la compil, et j'obtiens un kernel panic:
>
> VFS: cannot open root device "hdb2" or unknown-block(0,0)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: unable to mount root fs on
> unknown-block(0,0)
>
> Mon menu.lst:
> # La section qui va bien:
> title Debian GNU/Linux, kernel 2.6.8-1-386
> root (hd1,1)
> kernel /boot/vmlinuz-2.6.8-1-386 root=/dev/hdb2 ro
> initrd /boot/initrd.img-2.6.8-1-386
> savedefault
> boot
> # La section qui ne va pas:
> title Debian GNU/Linux, kernel 2.6.10
> root (hd1,1)
> kernel /boot/vmlinuz-2.6.10 root=/dev/hdb2 ro
> boot
>
> Notez que j'ai bien ext3 compilé en dur dans le kernel.

T'aurais pas oublié l'initrd ?



Comment fait-on pour faire un initrd? Un lien ou une explication, ce
serait bien.


(Ça a l'air de revenir souvent ces temps-ci...)



Je jette un coup sur la liste et je vois que d'autres ont déjà eu le
problème. Mais je ne trouve pas de réponse.


[Oups : Manu, désolé pour le doublon]


--
Manuel Dahmen


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
Jean-Luc Coulon (f5ibh)
--=-HrXHAA3ABUEPkrg3SQ+y
Content-Type: text/plain; charset=ISO-8859-15; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le 27.12.2004 21:15:51, Manuel Dahmen a écrit :
Le lundi 27 décembre 2004 à 20:36 +0100, Sylvain Sauvage a écrit :
Mon, 27 Dec 2004 20:12:02 +0100, Manu a écrit :
> J'ai rebooté mon système après la compil, et j'obtiens un kernel


panic:
>
> VFS: cannot open root device "hdb2" or unknown-block(0,0)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: unable to mount root fs on
> unknown-block(0,0)
>
> Mon menu.lst:
> # La section qui va bien:
> title Debian GNU/Linux, kernel 2.6.8-1-386
> root (hd1,1)
> kernel /boot/vmlinuz-2.6.8-1-386 root=/dev/hdb2 ro
> initrd /boot/initrd.img-2.6.8-1-386
> savedefault
> boot
> # La section qui ne va pas:
> title Debian GNU/Linux, kernel 2.6.10
> root (hd1,1)
> kernel /boot/vmlinuz-2.6.10 root=/dev/hdb2 ro
> boot
>
> Notez que j'ai bien ext3 compilé en dur dans le kernel.

T'aurais pas oublié l'initrd ?



Comment fait-on pour faire un initrd? Un lien ou une explication, ce
serait bien.




En gros : mkinitrd -o /boot/initrd.img-2.6.10

(jeter quand même un oeil dans /etc/mkinitrd )



(Ça a l'air de revenir souvent ces temps-ci...)



Je jette un coup sur la liste et je vois que d'autres ont déjà eu le
problème. Mais je ne trouve pas de réponse.


[Oups : Manu, désolé pour le doublon]


--
Manuel Dahmen



--=-HrXHAA3ABUEPkrg3SQ+y
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBB0HPVUdGGXzzGnNARAvTaAKCB8rXDAir5ACzeoo1q/vAnQW/zYACgj/hF
NUPsXT0zl0i1kAsCFtY7gT4 ûzO
-----END PGP SIGNATURE-----

--=-HrXHAA3ABUEPkrg3SQ+y--



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact