Koozali.org: home of the SME Server

Other Languages => Italiano => Topic started by: mauro on January 17, 2018, 11:54:23 AM

Title: Problema aggiornamento kernel
Post by: mauro on January 17, 2018, 11:54:23 AM
SME 9.2
La settimana scorsa ho aggiornato il kernel a 2.6.32-696.18.7, o almeno credevo di averlo fatto.
Oggi ho verificato che invece
Code: [Select]
# uname -a
Linux wintermute 2.6.32-696.13.2.el6.x86_64 #1 SMP Thu Oct 5 21:22:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Ho tentato con
Code: [Select]
yum reinstall kernel-2.6.32-696.18.7.el6.x86_64che non ha dato errori, seguito da
Code: [Select]
signal-event post-upgrade; signal-event reboot; exitma non e' cambiato niente. Nel menu al boot il nuovo kernel non compare neanche.
Code: [Select]
rpm -qa | grep kernel
kernel-2.6.32-696.13.2.el6.x86_64
kernel-headers-2.6.32-696.18.7.el6.x86_64
dracut-kernel-004-409.el6_8.2.noarch
kernel-2.6.32-696.16.1.el6.x86_64
kernel-2.6.32-696.18.7.el6.x86_64
kernel-firmware-2.6.32-696.18.7.el6.noarch
Sto prendendo un abbaglio o apro un bug?
Title: Re: Problema aggiornamento kernel
Post by: mauro on January 17, 2018, 01:30:29 PM
Aggiornamento
Il sistema ha tre dischi, due in raid (sdb, sdc) e uno spare (sda). Sospetto che faccia il boot dallo spare che in qualche modo sembra configurato diversamente dagli altri:
Code: [Select]
# file -s /dev/sda
/dev/sda: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, boot drive 0x80, 1st sector stage2 0x4efe, GRUB version 0.94; partition 1: ID=0xfd, active, starthead 32, startsector 2048, 512000 sectors; partition 2: ID=0xfd, starthead 254, startsector 514048, 1953009664 sectors, code offset 0x48
# file -s /dev/sdb
/dev/sdb: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200, GRUB version 0.94; partition 1: ID=0xfd, active, starthead 32, startsector 2048, 512000 sectors; partition 2: ID=0xfd, starthead 254, startsector 514048, 1953009664 sectors, code offset 0x48
# file -s /dev/sdc
/dev/sdc: x86 boot sector; GRand Unified Bootloader, stage1 version 0x3, stage2 address 0x2000, stage2 segment 0x200, GRUB version 0.94; partition 1: ID=0xfd, active, starthead 32, startsector 2048, 512000 sectors; partition 2: ID=0xfd, starthead 254, startsector 514048, 1953009664 sectors, code offset 0x48
Il server fa il boot in BIOS mode e mi da solo una opzione (HD C:) per partire.
Sarei tentato di verificare che il sistema parta correttamente con sda estratto e poi di reinstallare grub su sda secondo il wiki, ma smanettare con grub mi fa sempre un po' paura, suggerimenti?
Title: Re: Problema aggiornamento kernel
Post by: ReetP on January 18, 2018, 02:23:41 PM
Puoi avviare un kernel precedente / precedente all'avvio?
Ci sono altri post riguardanti problemi con nuovi kernel. Si prega di fare una ricerca nei forum

https://forums.contribs.org/index.php/topic,53465.0.html


----------------

Can you boot an earlier/older kernel at boot ?
There are some other posts regarding problems with new kernels. Please have a  search in the forums

https://forums.contribs.org/index.php/topic,53465.0.html
Title: Re: Problema aggiornamento kernel
Post by: mauro on January 18, 2018, 02:41:52 PM
Mi sono spiegato male, non e' che il kernel 2.6.32-696.18.7 falliva il boot; non esisteva neanche tra le opzioni possibili. Come sospettavo, per errore il sistema faceva il boot dal disco spare su cui erano rimaste tracce di una installazione precedente. Cambiato l'ordine dei dischi, problem solved.
Title: Re: Problema aggiornamento kernel
Post by: ReetP on January 18, 2018, 04:03:12 PM
Mi sono spiegato male, non e' che il kernel 2.6.32-696.18.7 falliva il boot; non esisteva neanche tra le opzioni possibili. Come sospettavo, per errore il sistema faceva il boot dal disco spare su cui erano rimaste tracce di una installazione precedente. Cambiato l'ordine dei dischi, problem solved.

!! :-)