Home > Linux > ubuntu 12.10: freeze durante il riavvio/spegnimento

ubuntu 12.10: freeze durante il riavvio/spegnimento

10 Giugno 2013

Mi è capitato raramente, durante il riavvio o lo spegnimento di avere un freeze della macchina, senza la possibilità di fare nulla, se non un riavvio forzato.

Per prima cosa, ho eliminato lo splash ed attivato il log durante la fase di boot e spegnimento, in modo da avere informazioni o indizi sulla causa del freeze.
Per fare questo, si edita il file grub.conf

sudo gedit /etc/default/grub

e si modifica la riga

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”

in

GRUB_CMDLINE_LINUX_DEFAULT=””

poi in attesa che si riverificasse il freeze (e questo accade raramente e sempre quando non sei preparato), ho trovato sul wiki di ubuntu, alla voce grub, la seguente sezione:

Fixing reboot/shutdown freezes

If your machine freezes upon attempts to shutdown or reboot, try modifying /etc/default/grub. Open the file with gksudo gedit /etc/default/grub (graphical interface) or sudo nano /etc/default/grub (command-line). Any other plaintext editor (Vim, Emacs, Kate, Leafpad) is fine too. Find the line that starts with GRUB_CMDLINE_LINUX_DEFAULT and add reboot=bios to the end. It should result in something like

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash reboot=bios”

if done properly. Then save the file, run sudo update-grub and reboot in any way that’s possible for you. After that, reboots and shutdowns should start working properly.

With certain hardware (notably DELL) the kernel parameter that you add needs to be reboot=pci (instead of reboot=bios), the procedure remains the same.

…quindi ho aggiunto l’opzione reboot=bios (solo quella, per ora non tengo nè lo splash, nè il log ‘muto’)
In effetti non ho più avuto problemi, ma rimango in allerta.

Categorie:Linux Tag:
I commenti sono chiusi.