Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel panic!!!!
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
styrix
n00b
n00b


Joined: 30 Oct 2003
Posts: 41
Location: Catania

PostPosted: Thu Mar 18, 2004 8:07 pm    Post subject: Kernel panic!!!! Reply with quote

Salve!

Oggi ho fatto:
# uname -r
2.6.0-gentoo
# emerge sync
# emerge -s gentoo-dev-sources
Searching...
[ Results for search key : gentoo-dev-sources ]
[ Applications found : 1 ]

* sys-kernel/gentoo-dev-sources
Latest version available: 2.6.3-r1
Latest version installed: 2.6.3-r1
Size of downloaded files: 33,863 kB
Homepage: http://www.kernel.org/ http://www.gentoo.org/
Description: Full sources including the gentoo patchset for the 2.6 kernel tree
License: GPL-2

# emerge -u gentoo-dev-sources
.....
# rm /usr/src/linux
# ln -s /usr/src/linux-2.6.3-gentoo-r1 /usr/src/linux
# cp /usr/src/linux-2.6.0-gentoo/.config /usr/src/linux
# mount /dev/hda1 /boot
# mv /boot/vmlinuz /boot/vmlinuz-old
# vim /etc/lilo.conf
/*********************************************** lilo.conf *********************************************/
boot=/dev/hda
vga=795
prompt
timeout=1500
default=Gentoo-2.6.0

image=/boot/vmlinuz-old
label=Gentoo-2.6.0
read-only
root=/dev/hda3

image=/boot/vmlinuz
label=Gentoo-2.6.3-a
read-only
root=/dev/hda3

image=/boot/vmlinuz
label=Gentoo-2.6.3-b
append="root=/dev/hda3 ro"
/*******************************************************************************************************/

# cd /usr/src/linux
# make oldconfig
.....
# make
.....
# make modules_install
.....
# make install
.....
Added Gentoo-2.6.0 *
Added Gentoo-2.6.3-a
Added Gentoo-2.6.3-b

# shutdown -r +0

Il tutto riesce perfettamente e quando riavvio mi da questo segnale di panic sia con Gentoo-2.6.3-a e sia con Gentoo-2.6.3-b:

VFS: cannot open root device "303" or hda3
Please append a correct "root=" boot option
Kernel panic: VFS: unable to mount root fs on hda3

Io ho configurato benissimo il FS della root che e' hda3.

Adesso, secondo voi, cosa puo' essere ?

styrix


Last edited by styrix on Thu Mar 18, 2004 8:37 pm; edited 8 times in total
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Thu Mar 18, 2004 8:13 pm    Post subject: Reply with quote

1) controlla di aver montato /boot prima di averci copiato il kernel
2) controlla di aver dato il comando
Code:
# lilo -v
dopo aver modificato lilo.conf
3) controlla che il kernel che hai creato non sia corrotto. Magari prova a ricompilarlo.

4)... alla fine hai tenuto il nick, eh ;-) ?
Hai fatto bene :D
Coda
Back to top
View user's profile Send private message
Sasdo
Guru
Guru


Joined: 18 Feb 2004
Posts: 542
Location: 44.476474,11.644446 circa.

PostPosted: Thu Mar 18, 2004 8:13 pm    Post subject: Reply with quote

domanda scema... hai dato

Code:

# lilo


dopo aver configurato lilo.conf ?
_________________
LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo.
Back to top
View user's profile Send private message
styrix
n00b
n00b


Joined: 30 Oct 2003
Posts: 41
Location: Catania

PostPosted: Thu Mar 18, 2004 8:18 pm    Post subject: Re: Kernel panic!!!! Reply with quote

styrix wrote:
Salve!

Oggi ho fatto:
# uname -r
2.6.0-gentoo
# emerge sync
# emerge -s gentoo-dev-sources
Searching...
[ Results for search key : gentoo-dev-sources ]
[ Applications found : 1 ]

* sys-kernel/gentoo-dev-sources
Latest version available: 2.6.3-r1
Latest version installed: 2.6.3-r1
Size of downloaded files: 33,863 kB
Homepage: http://www.kernel.org/ http://www.gentoo.org/
Description: Full sources including the gentoo patchset for the 2.6 kernel tree
License: GPL-2

# emerge -u gentoo-dev-sources
.....
# rm /usr/src/linux
# ln -s /usr/src/linux-2.6.3-gentoo-r1 /usr/src/linux
# cp /usr/src/linux-2.6.0-gentoo/.config /usr/src/linux
# mount /dev/hda1 /boot
# mv /boot/vmlinuz /boot/vmlinuz.old
# vim /etc/lilo.conf
/*********************************************** lilo.conf *********************************************/
boot=/dev/hda
vga=795
prompt
timeout=1500
default=Gentoo-2.6.0

image=/boot/vmlinuz-old
label=Gentoo-2.6.0
read-only
root=/dev/hda3

image=/boot/vmlinuz
label=Gentoo-2.6.3-a
read-only
root=/dev/hda3
image=/boot/vmlinuz
label=Gentoo-2.6.3-b
append="root=/dev/hda3 ro"
/*******************************************************************************************************/

# cd /usr/src/linux
# make oldconfig
# make
# make modules_install
# make install

Il tutto riesce perfettamente e quando riavvio mi da questo segnale di panic sia con Gentoo-2.6.3-a che con Gentoo-2.6.3-b:

VFS: cannot open root device "303" or hda3
Please append a correct "root=" boot option
Kernel panic: VFS: unable to mount root fs on hda3

Io ho configurato benissimo il FS (ext3) della root (hda3).

Adesso, secondo voi, cosa puo' essere ?

styrix
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30964
Location: here

PostPosted: Thu Mar 18, 2004 8:21 pm    Post subject: Reply with quote

Come ti hanno detto gli altri non hai lanciato il comando
Code:
# lilo -v

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
styrix
n00b
n00b


Joined: 30 Oct 2003
Posts: 41
Location: Catania

PostPosted: Thu Mar 18, 2004 8:23 pm    Post subject: Reply with quote

1) Io ho configurato il config del lilo (/etc/lilo.conf) prima di compilare il nuovo kernel e poi il make install mi ha chiesto di aggiornare lilo ed e' tutto riuscito come doveva riuscire.

2) La /boot l'avevo montata molto prima per via del lilo richiamato nel make install.

3) Il kernel non penso che sia corrotto perche' l'ho ricompilato 4 volte.

Help me!!!!


Last edited by styrix on Thu Mar 18, 2004 8:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Thu Mar 18, 2004 8:24 pm    Post subject: Re: Kernel panic!!!! Reply with quote

styrix wrote:
# mv /boot/vmlinuz /boot/vmlinuz.old
# vim /etc/lilo.conf

image=/boot/vmlinuz-old


intanto o e' vmlinuz.old, oppure é vmlinuz-old. Secondo: devi dare lilo -v per "accettare" le modifiche a lilo.conf

Coda
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30964
Location: here

PostPosted: Thu Mar 18, 2004 8:26 pm    Post subject: Reply with quote

Prova a lanciare ugualmente lilo -v per vedere se ti da qualche errore.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
styrix
n00b
n00b


Joined: 30 Oct 2003
Posts: 41
Location: Catania

PostPosted: Thu Mar 18, 2004 8:27 pm    Post subject: Reply with quote

1) scusate ma ho fatto un errore. Ecco il comando che ho dato:
# mv /boot/vmlinuz /boot/vmlinuz-old

2) Il lilo non l'ho dato perche' alla fine di tutto ho devo fare il make install che me lo aggiorna.

styrix
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