[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Pb compil kernel



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.

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_buffer »:
> 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@gmail.com>



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



Reply to: