Apt-get et mise à jour du kernel


#1

Bonjour

Je viens d’apprendre qu’on pouvait mettre à jour le kernel facilement avec “apt-get install kernel-image”. Je suis sous Sarge avec un kernel 2.4.18 et je voudrais un kernel 2.6. Peut on le faire sans risque ? Comment installer les 2 noyaux en parallèle avec 2 entrées dans lilo ?


#2

J’ai essayé la mise à jour avec apt-get (kernel-image-2.6.5-1-686). Comme il fallait s’y attendre, ça ne marche pas. J’ai droit à un plantage de X après la mise à jour !

Extrait du log de XFree :

code Configured Mouse: Core Pointer
() Option “Device” “/dev/psaux”
(EE) xf86OpenSerial: Cannot open device /dev/psaux
No such device.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device “Configured Mouse”
(II) UnloadModule: “mouse”
(
) Option “Protocol” “ImPS/2”
() Generic Mouse: Protocol: “ImPS/2”
(
) Option “SendCoreEvents” “true”
() Generic Mouse: always reports core events
(
) Option “Device” “/dev/input/mice”
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
No such device.
(EE) Generic Mouse: cannot open input device
(EE) PreInit failed for input device “Generic Mouse”
(II) UnloadModule: “mouse”
(WW) No core pointer registered
No core pointer

Fatal server error:
failed to initialize core devices[/code]

Voici le contenu de /var/log/dmsg :

Linux version 2.6.5-1-686 (herbert@gondolin) (gcc version 3.3.3 (Debian 20040401)) #5 Fri Apr 30 20:26:13 EST 2004 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000000fff0000 (usable) BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS) BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 255MB LOWMEM available. On node 0 totalpages: 65520 DMA zone: 4096 pages, LIFO batch:1 Normal zone: 61424 pages, LIFO batch:14 HighMem zone: 0 pages, LIFO batch:1 DMI 2.0 present. ACPI disabled because your bios is from 00 and too old You can enable it with acpi=force Built 1 zonelists Kernel command line: BOOT_IMAGE=Linux(hdb3) ro root=343 hdc=ide-scsi hdd=ide-scsi Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Initializing CPU#0 PID hash table entries: 1024 (order 10: 8192 bytes) Detected 600.102 MHz processor. Using tsc for high-res timesource Console: colour VGA+ 80x25 Memory: 251664k/262080k available (1521k kernel code, 9680k reserved, 633k data, 144k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay loop... 1179.64 BogoMIPS Security Scaffold v1.0.0 initialized Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) checking if image is initramfs...it isn't (ungzip failed); looks like an initrd Freeing initrd memory: 4556k freed CPU: After generic identify, caps: 0387fbff 00000000 00000000 00000000 CPU: After vendor identify, caps: 0387fbff 00000000 00000000 00000000 CPU: L1 I cache: 16K, L1 D cache: 16K CPU: L2 cache: 256K CPU serial number disabled. CPU: After all inits, caps: 0383fbff 00000000 00000000 00000040 Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: Intel Pentium III (Coppermine) stepping 01 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 599.0708 MHz. ..... host bus clock speed is 133.0268 MHz. NET: Registered protocol family 16 PCI: PCI BIOS revision 2.10 entry at 0xfb0e0, last bus=1 PCI: Using configuration type 1 mtrr: v2.0 (20020519) ACPI: Subsystem revision 20040326 ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay PnPBIOS: Scanning system for PnP BIOS support... PnPBIOS: Found PnP BIOS installation structure at 0xc00fbd10 PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xbd38, dseg 0xf0000 PnPBIOS: 15 nodes reported by PnP BIOS; 15 recorded by driver ACPI: ACPI tables contain no PCI IRQ routing entries PCI: Invalid ACPI-PCI IRQ routing table PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI: Using IRQ router VIA [1106/0596] at 0000:00:07.0 VFS: Disk quotas dquot_6.5.1 devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x0 Initializing Cryptographic API Activating ISA DMA hang workarounds. isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 input: AT Translated Set 2 keyboard on isa0060/serio0 NET: Registered protocol family 2 IP: routing cache hash table of 2048 buckets, 16Kbytes TCP: Hash tables configured (established 16384 bind 32768) NET: Registered protocol family 8 NET: Registered protocol family 20 RAMDISK: cramfs filesystem found at block 0 RAMDISK: Loading 4556 blocks [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|done. VFS: Mounted root (cramfs filesystem) readonly. Freeing unused kernel memory: 144k freed NET: Registered protocol family 1 SCSI subsystem initialized libata version 1.02 loaded. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller at PCI slot 0000:00:07.1 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt82c596b (rev 12) IDE UDMA66 controller on pci0000:00:07.1 ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA hda: Maxtor 6Y080L0, ATA DISK drive hdb: QUANTUM FIREBALLlct08 17, ATA DISK drive Using anticipatory io scheduler ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hdc: _NEC DV-5500A, ATAPI CD/DVD-ROM drive hdd: SAMSUNG CD-R/RW SW-408B, ATAPI CD/DVD-ROM drive ide1 at 0x170-0x177,0x376 on irq 15 hda: max request size: 128KiB hda: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(66) /dev/ide/host0/bus0/target0/lun0: p1 p2 < p5 p6 p7 p8 p9 p10 > hdb: max request size: 128KiB hdb: 33906432 sectors (17360 MB) w/418KiB Cache, CHS=33637/16/63 /dev/ide/host0/bus0/target1/lun0: p1 p2 p3 p2: <bsd: p5 p6 p7 p8 p9 > VFS: Can't find ext3 filesystem on dev hdb3. VFS: Can't find ext2 filesystem on dev hdb3. FAT: bogus number of reserved sectors VFS: Can't find a valid FAT filesystem on dev hdb3. Unable to identify CD-ROM format. found reiserfs format "3.6" with standard journal Reiserfs journal params: device hdb3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (hdb3) for (hdb3) Using r5 hash to sort names VFS: Can't find ext3 filesystem on dev hdb3. VFS: Can't find ext2 filesystem on dev hdb3. FAT: bogus number of reserved sectors VFS: Can't find a valid FAT filesystem on dev hdb3. Unable to identify CD-ROM format. found reiserfs format "3.6" with standard journal Reiserfs journal params: device hdb3, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (hdb3) for (hdb3) Using r5 hash to sort names Adding 522072k swap on /dev/hda5. Priority:-1 extents:1 Real Time Clock Driver v1.12 drivers/usb/core/usb.c: registered new driver usbfs drivers/usb/core/usb.c: registered new driver hub drivers/usb/core/usb.c: registered new driver usbkbd drivers/usb/input/usbkbd.c: :USB HID Boot Protocol keyboard driver Linux agpgart interface v0.100 (c) Dave Jones ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX as device scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: _NEC Model: DV-5500A Rev: 1.42 Type: CD-ROM ANSI SCSI revision: 02 scsi1 : SCSI host adapter emulation for IDE ATAPI devices Vendor: SAMSUNG Model: CD-R/RW SW-408B Rev: BS02 Type: CD-ROM ANSI SCSI revision: 02 es1371: version v0.32 time 00:42:54 Apr 28 2004 PCI: Found IRQ 10 for device 0000:00:10.0 es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x06 es1371: found es1371 rev 6 at io 0xec00 irq 10 joystick 0x0 ac97_codec: AC97 Audio codec, id: 0x8384:0x7609 (SigmaTel STAC9721/23) Capability LSM initialized device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com NET: Registered protocol family 17


#3

salut

si tu as des drivers proprietaires (nvidia ou ati), il faut que tu les recompilent pour ce nouveau kernel. Le module s’appuie sur les sources de ton noyau actuel

Pour ce qui est de lilo, je pense que tu as trouvé, sinon :

/etc/lilo.conf (exemple)

default=linux-noyau2

image=/boot/linux-noyau1
label=linux-noyau1
read-only

image=/boot/linux-noyau2
label=linux-noyau2
read-only

et un coup de lilo -v apres la modif pour reecrire le mbr


#4

Je n’ai pas de driver propriétaire, j’utilise le driver générique “nv”.


#5

autant pour moi , l’erreur est sur la souris :slightly_smiling:

bref, t’as quoi comme type de souris ? ps2, usb ?


#6

[quote=“sylvain”]autant pour moi , l’erreur est sur la souris :slightly_smiling:

bref, t’as quoi comme type de souris ? ps2, usb ?[/quote]
Une souris PS/2 (Logitech)


#7

essayes ca :

/dev/MAKEDEV psaux

puis fais un cat /dev/psaux et bouge ta souris … si des caracteres s’affichent, c’est bon


#8

Il faut charger les modules mousedev et psmouse pour que ça fonctionne.