fbcyborg
11-05-2006, 11:41
Ieri sera sono riuscito a far funzionare tutto alla perfezione, rete virtuale compresa, quindi potevo installare qualsiasi cosa tramite internet sulla macchina virtuale.
Fino a ieri quindi, con Kernel UML nuovo e filesystem nuovo scaricato dal sito ufficiale funzionava tutto.
Per fare una prova usavo e uso un root_fs che contiene il filesystem di debian. Tutto ha funzionato perfettamente fino a poco fa, nel quale istante ad ogni avvio escono fuori messaggi che non mi spiego:
Activating swap.
Checking root file system...
fsck 1.27 (8-Mar-2002)
fsck.ext2: No such file or directory while trying to open /dev/ubd/0
/dev/ubd/0:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
fsck failed. Please repair manually and reboot. Please note
that the root file system is currently mounted read-only. To
remount it read-write:
# mount -n -o remount,rw /
CONTROL-D will exit from this shell and REBOOT the system.
(none):~#
Questo appare dopo un po' che è partito il boot sulla macchina virtuale.
Prima tutto andava liscio, ma adesso non capisco proprio cosa c'entri questo problema.
Descrivo passo passo cosa è successo:
quando funzionava tutto ho deciso di apt-gettare qualcosa, ma dopo qualche errore da parte mia mi si è impallato il sistema (virtuale, debian) così ho deciso di riscaricare l'immagine pronta di debian dal sito http://user-mode-linux.sourceforge.net/dl-sf.html e installarla di nuovo scompattandola. Purtroppo però mi è apparso l'errore che ho riportato quì sopra. Allora ho scaricato una nuova immagine, ma niente.. come prima. Ho provato anche con l'immagine di un'altra distribuzione, la slackware, ma mi da sempre lo stesso problema.
Infine ho pensato di ricompilare il kernel-uml, ma senza risultati.
Per favore, mi sapete dire da cosa potrà mai dipendere questo assurdo errore???
grazie.
EDIT:Nel frattempo ho provato a fare come dice quì (http://article.gmane.org/gmane.linux.uml.user/1905) ma poi alla fine si blocca e nella fase di boot dice:
Checking all file systems...
Checking all file systems...
fsck 1.27 (8-Mar-2002)
Setting kernel variables.
Mounting local filesystems...
nothing was mounted
Running 0dns-down to make sure resolv.conf is ok...done.
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces: done.
Cleaning: /tmp /var/lock /var/runfind: ./crond.reboot: Input/output error
find: ./crond.reboot: Input/output error
find: ./crond.reboot: Input/output error
.
Initializing random number generator... done.
Recovering nvi editor sessions... done.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting internet superserver: inetd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.
INIT: Id "1" respawning too fast: disabled for 5 minutes
INIT: Id "2" respawning too fast: disabled for 5 minutes
INIT: Id "0" respawning too fast: disabled for 5 minutes
INIT: Id "c" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel
Fino a ieri quindi, con Kernel UML nuovo e filesystem nuovo scaricato dal sito ufficiale funzionava tutto.
Per fare una prova usavo e uso un root_fs che contiene il filesystem di debian. Tutto ha funzionato perfettamente fino a poco fa, nel quale istante ad ogni avvio escono fuori messaggi che non mi spiego:
Activating swap.
Checking root file system...
fsck 1.27 (8-Mar-2002)
fsck.ext2: No such file or directory while trying to open /dev/ubd/0
/dev/ubd/0:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
fsck failed. Please repair manually and reboot. Please note
that the root file system is currently mounted read-only. To
remount it read-write:
# mount -n -o remount,rw /
CONTROL-D will exit from this shell and REBOOT the system.
(none):~#
Questo appare dopo un po' che è partito il boot sulla macchina virtuale.
Prima tutto andava liscio, ma adesso non capisco proprio cosa c'entri questo problema.
Descrivo passo passo cosa è successo:
quando funzionava tutto ho deciso di apt-gettare qualcosa, ma dopo qualche errore da parte mia mi si è impallato il sistema (virtuale, debian) così ho deciso di riscaricare l'immagine pronta di debian dal sito http://user-mode-linux.sourceforge.net/dl-sf.html e installarla di nuovo scompattandola. Purtroppo però mi è apparso l'errore che ho riportato quì sopra. Allora ho scaricato una nuova immagine, ma niente.. come prima. Ho provato anche con l'immagine di un'altra distribuzione, la slackware, ma mi da sempre lo stesso problema.
Infine ho pensato di ricompilare il kernel-uml, ma senza risultati.
Per favore, mi sapete dire da cosa potrà mai dipendere questo assurdo errore???
grazie.
EDIT:Nel frattempo ho provato a fare come dice quì (http://article.gmane.org/gmane.linux.uml.user/1905) ma poi alla fine si blocca e nella fase di boot dice:
Checking all file systems...
Checking all file systems...
fsck 1.27 (8-Mar-2002)
Setting kernel variables.
Mounting local filesystems...
nothing was mounted
Running 0dns-down to make sure resolv.conf is ok...done.
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces: done.
Cleaning: /tmp /var/lock /var/runfind: ./crond.reboot: Input/output error
find: ./crond.reboot: Input/output error
find: ./crond.reboot: Input/output error
.
Initializing random number generator... done.
Recovering nvi editor sessions... done.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting internet superserver: inetd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.
INIT: Id "1" respawning too fast: disabled for 5 minutes
INIT: Id "2" respawning too fast: disabled for 5 minutes
INIT: Id "0" respawning too fast: disabled for 5 minutes
INIT: Id "c" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel