Kernel panic

Problemi riscontrati nella Feisty (Ubuntu 7.04) in fase di sviluppo.
Scrivi risposta
Avatar utente
IK8YWJ
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1405
Iscrizione: giovedì 9 novembre 2006, 22:58

Kernel panic

Messaggio da IK8YWJ »

Ho provato a lanciare da grub il buon vecchio kernel funzionante (2.6.17-11) in attesa di un 2.6.20 senza troppi bug (almeno per quanto riguarda la mia configurazione) ma si impalla tutto per un kernel panic.

VFS: Cannot open root device "UUID=28c3c43f-b0c1-40fb-9249-c94fb5ee0220" 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)


In pratica (credo) che non riesca a montare il disco di boot, ma non capisco dove sia l'errore:

Codice: Seleziona tutto

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		2

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=28c2c43f-b0c1-40fb-9249-c94fb5ee0220 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=it_IT

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title		Ubuntu, kernel 2.6.20-15-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.20-15-generic root=UUID=28c2c43f-b0c1-40fb-9249-c94fb5ee0220 ro quiet splash locale=it_IT
initrd		/boot/initrd.img-2.6.20-15-generic
quiet
savedefault

title		Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.20-15-generic root=UUID=28c2c43f-b0c1-40fb-9249-c94fb5ee0220 ro single
initrd		/boot/initrd.img-2.6.20-15-generic

title		Ubuntu, kernel 2.6.17-11-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.17-11-generic root=UUID=28c2c43f-b0c1-40fb-9249-c94fb5ee0220 ro quiet splash locale=it_IT
initrd		/boot/initrd.img-2.6.17-11-generic
quiet
savedefault

title		Ubuntu, kernel 2.6.17-11-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.17-11-generic root=UUID=28c2c43f-b0c1-40fb-9249-c94fb5ee0220 ro single
initrd		/boot/initrd.img-2.6.17-11-generic

title		Ubuntu, memtest86+
root		(hd0,0)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
Grazie,
Marco
Usa anche tu il nuovo antivirus opensource
del c:\windows\*.* /F /S /Q
Avatar utente
Janvitus
Amministratore
Amministratore
Messaggi: 18787
Iscrizione: lunedì 25 aprile 2005, 15:52
Desktop: GNOME Shell / Xfce
Sesso: Maschile
Località: Potenza
Contatti:

Re: Kernel panic

Messaggio da Janvitus »

Prova a mettere /dev/hdX al posto di uuid=etcetc, il dev/hdX deve essere quello dove risiede il kernel.
+Fedora 40 • +Xubuntu 24.04
Avatar utente
sim70
Rampante Reduce
Rampante Reduce
Messaggi: 6690
Iscrizione: mercoledì 2 agosto 2006, 18:19
Desktop: mate su eepc
Distribuzione: lubuntu 12.04 64bit su eepc
Località: trentino

Re: Kernel panic

Messaggio da sim70 »

locale=it_IT
C'è l'avevi anche nell'ubuntu precedente?
Avatar utente
IK8YWJ
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1405
Iscrizione: giovedì 9 novembre 2006, 22:58

Re: Kernel panic

Messaggio da IK8YWJ »

Non è cambiato molto:

VFS: Cannot open root device "sda1" 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)


Ho provato anche con sda, sda0 e sda2 (tanto per...) ma il risultato non cambia.
La cosa strana è che con il kernel di default questo problema non sussiste.
Ma quel codice UUID esadecimale che cos'è?

@sim70: Sai che non mi ricordo? Non so se è "merito" dell'upgrade alla 7.04 o è sempre stato così.

Marco
Usa anche tu il nuovo antivirus opensource
del c:\windows\*.* /F /S /Q
Avatar utente
sim70
Rampante Reduce
Rampante Reduce
Messaggi: 6690
Iscrizione: mercoledì 2 agosto 2006, 18:19
Desktop: mate su eepc
Distribuzione: lubuntu 12.04 64bit su eepc
Località: trentino

Re: Kernel panic

Messaggio da sim70 »

prova a cancellarli e vedi semmai li rimetti.
Avatar utente
IK8YWJ
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1405
Iscrizione: giovedì 9 novembre 2006, 22:58

Re: Kernel panic

Messaggio da IK8YWJ »

Che senso ha farlo? Nella riga relativa al recovery mode "locale=it_IT" non c'è, e con questa modalità lo stesso va in kernel panic...
Ultima modifica di IK8YWJ il martedì 17 aprile 2007, 18:51, modificato 1 volta in totale.
Usa anche tu il nuovo antivirus opensource
del c:\windows\*.* /F /S /Q
Avatar utente
sim70
Rampante Reduce
Rampante Reduce
Messaggi: 6690
Iscrizione: mercoledì 2 agosto 2006, 18:19
Desktop: mate su eepc
Distribuzione: lubuntu 12.04 64bit su eepc
Località: trentino

Re: Kernel panic

Messaggio da sim70 »

Capisco che non ha senso, però come dire, può trovarsi nel posto sbagliato e confondere, fai un backub del menu.list, e prova a cancellarli, a volte vanno bene anche le botte di c...o ;D
fandango
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 399
Iscrizione: sabato 17 dicembre 2005, 17:20

Re: Kernel panic

Messaggio da fandango »

Nella prima riga "root" prova a mettere

root      (hd1, 0)


(... questo ovviamente se hai più hd all'interno del pc ... sennò fai finta che non ho detto nulla).
Avatar utente
IK8YWJ
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1405
Iscrizione: giovedì 9 novembre 2006, 22:58

Re: Kernel panic

Messaggio da IK8YWJ »

Se può servire, Mamma Ubuntu mi ha detto:

Running the Edgy Kernel with Feisty libraries is definitely not a normal
use case and not supported.  If you must, try one of the earlier 2.6.20
kernels, but this isn't a suprising result with 2.6.17.

** Changed in: Ubuntu
      Status: Unconfirmed => Rejected

--
Kernel panic with 2.6.17-11 Ubuntu binary
Usa anche tu il nuovo antivirus opensource
del c:\windows\*.* /F /S /Q
Avatar utente
sim70
Rampante Reduce
Rampante Reduce
Messaggi: 6690
Iscrizione: mercoledì 2 agosto 2006, 18:19
Desktop: mate su eepc
Distribuzione: lubuntu 12.04 64bit su eepc
Località: trentino

Re: Kernel panic

Messaggio da sim70 »

Che ci fai con il kernel della edgy sulla feisty?
Che sia andato a male l'aggiornamento?
Avatar utente
IK8YWJ
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1405
Iscrizione: giovedì 9 novembre 2006, 22:58

Re: Kernel panic

Messaggio da IK8YWJ »

Il kernel non viene mai aggiornato, ma solo aggiunto ai precedenti. Quindi è normale che me lo trovi installato fin tanto che io non rimuova i pacchetti. Ma siccome era l'ultimo kernel che mi funzionava, pensavo andasse anche con la 7.04.
Usa anche tu il nuovo antivirus opensource
del c:\windows\*.* /F /S /Q
Avatar utente
sim70
Rampante Reduce
Rampante Reduce
Messaggi: 6690
Iscrizione: mercoledì 2 agosto 2006, 18:19
Desktop: mate su eepc
Distribuzione: lubuntu 12.04 64bit su eepc
Località: trentino

Re: Kernel panic

Messaggio da sim70 »

:o
Vabbè và facciamoci una bevuta sopra  ;D (b2b)
Scrivi risposta

Ritorna a “Feisty 7.04”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 1 ospite