Pour profiter de tous les avantages du dernier kernel, j’ai décidé de passer du 2.6.8-386 au 2.6.19.2.
Après quelques heures entre tutos et documentations pour bien configurer mon noyau, me voilà prêt pour la compilation à proprement dite.
Et hop !
make-kpkg --initrd kernel-image modules
make-kpkg modules_image
cd ..
dpkg -i kernel-image-2.6.19.2
Tout paraît correctement configuré mais lorsque je reboote :
aer: probe of 0000:00:02.0:pcie1 failed with error 1
aer: probe of 0000:00:03.0:pcie1 failed with error 1
Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds).
Hangcheck: Using get_cycles().
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at I/O 0x3f8 (irq=4) is a 16550A
serial8250: ttyS0 at I/O 0x2f8 (irq=4) is a 16550A
00:09: PS/2 Controller [PNP0f13:PS2M] at 0x60, 0x64 irq 12
00:0a: PS/2 Controller doesn't have KBD irq; using default 1
serio: i8042 KBD port at 0x60, 0x64 irq 1
serio: i8042 AUX port at 0x60, 0x64 irq 12
mice: PS/2 mouse device common for all mice
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
Time: tsc clocksource has been installed.
VFS: Cannot open root device "hda1" or unknow-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs or unknow block(0,0)
<2>Hangcheck: hangcheck value past margin!
Hangcheck: hangcheck value past margin!
Hangcheck: hangcheck value past margin!
A noter que pour pouvoir ceci j’ai dû débrancher mon clavier sinon j’avais droit à :
atkbd.c: Spurious ACK on isa0060/serio. Some program might be trying to acces hardware directly.
J’ai lu sur un forum anglais que c’était un bug et que ce n’était absolument pas la raison du kernel panic.
(les LEDs du clavier clignotent pendant que cette phrase se réimprime à l’écran toutes les secondes).
Voici mon /boot/grub/menu.lst (en supprimant tout ce qui est inutile) :
[code]default 0
timeout 5
color cyan/blue white/blue
title Debian GNU/Linux, kernel 2.6.19.2
root (hd0,0)
kernel /boot/vmlinuz-2.6.19.2 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.19.2
savedefault
boot
title Debian GNU/Linux, kernel 2.6.19.2 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.19.2 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.19.2
savedefault
boot
title Debian GNU/Linux, kernel 2.6.8-3-386
root (hd0,0)
kernel /boot/vmlinuz-2.6.8-3-386 root=/dev/hda1 ro
initrd /boot/initrd.img-2.6.8-3-386
savedefault
boot
title Debian GNU/Linux, kernel 2.6.8-3-386 (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.8-3-386 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.8-3-386
savedefault
boot
[/code]
Au menu du boot, en tapant ‘c’ pour une ligne de commande :
[code]>root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
Kernel /boot/vmlinuz-2.6.19.2
[Linux-bzImage, setup=0x1c00, size=0x83
root=/dev/hda1
Error 11: Unrecognize device string
[/code]
Bon, je sais lire et le “hda1” ne lui plaît pas mais j’ai beau essayer hda, hda1, sda … rien
(mais je suis prêt à tenter toutes les combinaisons que vous me soumettrez!)
Bien sûr, j’écris cela depuis le “2.6.8-386” et le “root=/dev/hda1” 'a pas l’air de le perturber.
Je pense avoir donné tous les renseignements mais si vous voulez savoir qqch de précis, n’hésitez pas !
Merci
PS : Le courant est enfin revenu ici, et ça c’est chouette !!