Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Solito VFS: unable to mount blahblah al boot ...
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Fri Dec 08, 2006 6:02 pm    Post subject: [SOLVED] Solito VFS: unable to mount blahblah al boot ... Reply with quote

Ciao a tutti !!!

first of all, chiedo scusa per la lunghezza del post.

Come da oggetto, al boot ho un kernel panic VFS: unable to mount ecc ecc..
Sempre la solita cosa trita e ritrita, xo sono abbastanza certo delle configurazioni.

Veniamo ad un po di dettagli:

hda: disco interno del portatile, partizionato in:
hda1 -> ntfs con winsozz (buu buuu, purtroppo a lavoro usiamo degli "indispensabili" tool di cui
la casa produttrice ovviamente si è ben guardata dal fare un port verso linux o java)
hda2 -> ext3 con la /boot (adoro il livecd di gparted :D )

sda: disco USB (e mi sa che è proprio qui l'inghippo :D ) con l'installazione gentoo , partizionato in:

sda1 -> fat16 (ex /boot, convertita a piccola partizione di scambio)
sda2 -> swap
sda3 -> XFS (la root / )
sda4 -> XFS (la /home)

Poi, l'fstab

Code:

# real FSes
/dev/hda2  /boot   ext3 noauto,noatime 1 2
/dev/sda3  /      xfs    noatime      0 1
/dev/sda4  /home   xfs    noatime      0 1
/dev/sda2  none      swap sw            0 0

#virtual FSes
proc  /proc      proc      defaults            0 0
shm     /dev/shm   tmpfs      nodev,nosuid,noexec   0 0


il grub.conf

Code:

timeout 10
default 1
fallback 1
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

# For booting GNU/Linux
title  Gentoo
root (hd0,1)
kernel /boot/linux root=/dev/sda3

# For booting Windows NT or Windows95
title Windows
rootnoverify (hd0,0)
makeactive
chainloader  +1



le ultime righe di log del kernel (a video)

Code:

usb 1-2: Product: USB TO IDE
usb 1-2: configuration #1 choosen from 1 choice
Initializing USB Mass Storage driver...
scsi0: SCSI emulation for USB Mass Storage device
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
EDAC MC: Ver: 2.0.1 Nov 16 2006
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Using IPI Shortcut mode
Time: tsc clocksource has been installed
Time: acpi-mp clocksource has been installed
ACPI: (support S0 S3 S4 S5)
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
VFS: Cannot open root device "sda3" 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)
      <7>usb usb3: suspend_rh (auto-stop)


e il .conf (kernel 2.6.18-gentoo-r2)
QUI
[ri-edit, uploadato su un sito esterno]

Mi sa tanto che mi sfugge qualcosa, ma non saprei proprio cosa...
Grazie a tutti :D
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>


Last edited by stefanonafets on Sat Dec 09, 2006 9:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Sat Dec 09, 2006 12:53 am    Post subject: Reply with quote

credo tu debba utilizzare l'opzione scandelay in grub.conf. serve per ritardare l'avvio dell'init una volta finito il caricamento del kernel. ci mette un po' a rilevare che c'è un hard disk usb collegato, solitamente 5-6 secondi.
Back to top
View user's profile Send private message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Sat Dec 09, 2006 3:31 am    Post subject: Reply with quote

Ciao,

ho provato ad appendere "scandelay" negli argomenti del kernel, ma non è cambiato niente :cry: .
Non so veramente che fare, avete altre idee?
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
^Stefano^
Guru
Guru


Joined: 20 Nov 2005
Posts: 394
Location: Ferrara

PostPosted: Sat Dec 09, 2006 12:08 pm    Post subject: Reply with quote

Secondo me nel grub.conf devi modificare questa riga
Code:
root (hd1,2)
Back to top
View user's profile Send private message
Ic3M4n
Advocate
Advocate


Joined: 02 Nov 2004
Posts: 3489
Location: Bergamo.

PostPosted: Sat Dec 09, 2006 12:34 pm    Post subject: Reply with quote

no, scusa il kernel lo trova e lo carica. il problema è quando deve andare a montare la /
Back to top
View user's profile Send private message
stefanonafets
l33t
l33t


Joined: 10 Feb 2003
Posts: 644

PostPosted: Sat Dec 09, 2006 9:12 pm    Post subject: Reply with quote

Ciao a tutti,
il grub.conf (come fatto notare da Ic3M4n) è corretto, infatti il kernel viene trovato ed eseguito.
Il problema effettivamente sembra dato dal delay che il kernel ha nel trovare il disco usb.

A quanto ho capito, l'opzione scandelay viene interpretata dal programma init dell'initramfs che
viene creato da genkernel.
Io non uso genkernel e, fino a ieri, non ho mai usato nemmeno un initramfs o un ramdisk.
Mi sono letto un po di doc in giro e, grazie al mitico post di cloc3 (qui in wiki) me ne sono creata una in cui init in pratica non fa altro che una sleep di qualche secondo.
Ora FUNZIONA!!!!!

Grazie a tutti, ciao!
_________________
registered Linux user number #411324
sed 's/ke/che/g'

<The Deployment Slave is initializing>
Back to top
View user's profile Send private message
pelon's
n00b
n00b


Joined: 05 Sep 2003
Posts: 66
Location: CH -> TI

PostPosted: Tue Dec 12, 2006 9:12 am    Post subject: Reply with quote

Ciao

anche a me ha dato lo stesso errore ma probabilmente era perché mancava la seguente opzione nel kernel

Code:
Device Drivers  --->
   ATA/ATAPI/MFM/RLL support  --->
       <*>     generic/default IDE chipset support


ciaociao

pelon's
_________________
www.tilug.ch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum