Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Panic senza cdrom collegato
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
maruscya
Guru
Guru


Joined: 13 Aug 2004
Posts: 507

PostPosted: Tue Feb 27, 2007 2:34 pm    Post subject: Kernel Panic senza cdrom collegato Reply with quote

Ciao a tutti.

Ho terminato un'installazione di un server, come al solito al reboot la macchina parte senza problemi. Tutto viene configurato in senza particolari problemi, insomma tutto bene....

Spengo la macchina, e tolgo il lettore cd.... collegato al canale IDE 0. Riaccendo la macchina ed esce un bel kernel panic, unable to mount ..... etc ....

Prima cosa che ho pensato e' di aver dimenticato il supporto reiserfs.... riattacco il lettore cd per far partire la versione live e correggere il problema... ma dimentico di inserire il cd di Gentoo....
Stupore!!! La macchina funziona.... tolgo il cd .... Stupore....kernel Panic ancora... insomma... la macchina non parte se non c'e' il lettore cd collegato. Anche senza nessun supporto nel cassetto.

Ho controllato il lilo.conf, fstab, ma non ho trovato nulla di strano.... Potrebbe essere una configurazione del kernel errata, ma non so dove controllare...

Qui di seguito vi posto lilo.conf e fstab...
Code:

# NOTE: The next line is critical for boot!
proc                    /proc           proc            defaults        0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
/dev/sda1               /               reiserfs        noatime                 0 1
/dev/sda2               none            swap            sw                      0 0


Ed ecco qui lilo.conf

Code:

# $Header: /var/cvsroot/gentoo-x86/sys-boot/lilo/files/lilo.conf,v 1.2 2004/07/18 04:42:04 dragonheart Exp $
# Author: Ultanium

#
# Start LILO global section
#

# Faster, but won't work on all systems:
#compact
# Should work for most systems, and do not have the sector limit:
lba32
# If lba32 do not work, use linear:
#linear

# MBR to install LILO to:
boot = /dev/sda
map = /boot/.map

# If you are having problems booting from a hardware raid-array
# or have a unusual setup, try this:
#disk=/dev/ataraid/disc0/disc bios=0x80  # see this as the first BIOS disk
#disk=/dev/sda bios=0x81                 # see this as the second BIOS disk
#disk=/dev/hda bios=0x82                 # see this as the third BIOS disk

# Here you can select the secondary loader to install.  A few
# examples is:
#
#    boot-text.b
#    boot-menu.b
#    boot-bmp.b
#
install = /boot/boot-menu.b   # Note that for lilo-22.5.5 or later you
                              # do not need boot-{text,menu,bmp}.b in
                              # /boot, as they are linked into the lilo
                              # binary.

menu-scheme=Wb
prompt
# If you always want to see the prompt with a 15 second timeout:
timeout=150
delay = 50
# Normal VGA console
vga = normal
# VESA console with size 1024x768x16:
#vga = 791

#
# End LILO global section
#

#
# Linux bootable partition config begins
#
image = /boot/kernel-cdr
        root = /dev/sda1
        #root = /devices/discs/disc0/part3
        label = Gentoo-CDr
        read-only # read-only for checking

image = /boot/default
        root = /dev/sda1
        #root = /devices/discs/disc0/part3
        label = Gentoo
        read-only # read-only for checking



#
# Linux bootable partition config ends
#

#
# DOS bootable partition config begins
#
#other = /dev/hda1
        #other = /devices/discs/disc0/part1
#       label = Windows
#       table = /dev/hda
#
# DOS bootable partition config ends
#


Aggiungo anche un fdisk -l

Code:

bart1 ~ # fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       30395   244147806   83  Linux
/dev/sda2           30396       31004     4891792+  82  Linux swap / Solaris
/dev/sda3           31005       38913    63529042+   7  HPFS/NTFS



Non ho idea di cosa potrebbe essere

Grazie mille per il vostro aiuto !!

MaruscyA
Back to top
View user's profile Send private message
noppy
Tux's lil' helper
Tux's lil' helper


Joined: 10 Dec 2003
Posts: 103

PostPosted: Tue Feb 27, 2007 8:33 pm    Post subject: Reply with quote

mmh , la butto un po li e premetto che lilo non lo uso da una vita

secondo me il problema e' il file map il quale dovrebbe contenere la map device dei dispositivi , indi per cui dovrebbe essere mappata anche hda (il cdrom) ma che se tu stacchi non hai piu' ...
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Feb 27, 2007 8:57 pm    Post subject: Reply with quote

Quote:
/dev/sda1 / reiserfs noatime 0 1


hai dimenticato il notail, lilo si incasina.
comunque prova tra queste:

lo aggiorni con lilo -C -m vero? se lo lanci dal chroot mappa il cdrom.

mi pare un problema legato al supporto device mapper, vedi se il problema permane usando /dev/disk/...

oppure disabilita nel bios il controller ata.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Tue Feb 27, 2007 9:57 pm    Post subject: Reply with quote

djinnZ wrote:
oppure disabilita nel bios il controller ata.
oppure passa a grub e vivi felice :P:D:P
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
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