Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel panic beim Kernelupdate
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
CBarcley
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2003
Posts: 133

PostPosted: Mon Dec 19, 2005 3:05 pm    Post subject: Kernel panic beim Kernelupdate Reply with quote

Ich habe gerade auf den aktuellen Kernel up gedatet, leider funktioniert er nicht.
alter Kernel 2.6.13-r3
neuer Kernel 2.6.14-r2
Ich habe die alte config mit make oldconfig übernommen und sie nochmal durchgesehen bevor ich den Kernel gebaut haben.
Beim booten kommt diese Fehlermeldung:

Kernel panic - no syncing: VFS: Unable to mount root fs on unknown-block (0,0)

Ich weiß, dass diese Fehlermeldung dann kommt wenn der Kernel Probleme mit der Festplatte hat weil man mit einer SCSI Festplatte die SCSI Treiber vergessen hat, oder nicht das benötigte Filesystem einkompiliert hat.

Ich habe eine IDE Festplatte mit EXT3 (im Kernel einkompiliert). Ich habe keine Ahnung warum es nicht funktioniert. Könnt ihr mir helfen?

für eine bessere Systemübersicht:
Code:

mars cbarcley # emerge info
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.6.13
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi aim alsa apache apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl divx4linux dri dvd dvdr dvdread eds emboss encode exif expat fam ffmpeg firefox flac foomaticdb fortran gdbm gif gphoto2 gpm gstreamer hal icq idn ieee1394 imagemagick imlib jabber jack java jpeg kde lcms lzw lzw-tiff mad madmsn mng mp3 mpeg mysql ncurses nls ogg opengl pam pcre pdflib perl png python qt quicktime readline samba scanner sdl spell sqlite ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wxgtk1 xine xml2 xpm xv xvid yahoo zlib linguas_de linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS


Die Kernel config poste ich auf anfrage, ist doch ziemlich lange.

Lg
Calvin
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1939

PostPosted: Mon Dec 19, 2005 3:32 pm    Post subject: Reply with quote

Ich wette, du hast vergessen, deinem Kernel zu sagen, wo er die Root-Partition findet. Das macht man im Grub z.B. so:
Code:
#grub.conf
#...
# For booting GNU/Linux
title  Gentoo Linux
root (hd0,0)
kernel /vmlinuz root=/dev/hda5 ro

Wichtig ist der Teil root=/dev/hdxy, den musst du entsprechend deiner Konfiguration anpassen.
Back to top
View user's profile Send private message
CBarcley
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jul 2003
Posts: 133

PostPosted: Mon Dec 19, 2005 3:55 pm    Post subject: Reply with quote

nein habe ich nicht. Hier ist meine grub.conf

Code:

default 0
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.13-r3 (genkernel)
root (hd0,0)
kernel (hd0,0)/kernel-genkernel-x86_64-2.6.13-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev video=aty128fb:1024x768-32@60 splash=silent,theme:matrix CONSOLE=/dev/tty1 quiet notsc report_lost_ticks clock=pmtmr clock=pit
initrd /initramfs-genkernel-x86_64-2.6.13-gentoo-r3

title=Gentoo Linux 2.6.14-r2 (genkernel)
root (hd0,0)
kernel (hd0,0)/kernel-genkernel-x86_64-2.6.14-gentoo-r2 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev video=aty128fb:1024x768-32@60 splash=silent,theme:ThinkLinux CONSOLE=/dev/tty1 quiet notsc report_lost_ticks clock=pmtmr clock=pit
initrd /initramfs-genkernel-x86_64-2.6.14-gentoo-r2


Den Kernel 2.6.13-r3 habe ich jetzt gebootet und es funktioniert wie man lesen kann. Die vielen Argumente kommen vom amd64 x2 System der Probleme mit den ticks hat die kommen ihm nämlich abhanden, darum die report_lost_ticks etc. Argumente.

lg
Calvin
Back to top
View user's profile Send private message
flash49
Apprentice
Apprentice


Joined: 12 Feb 2005
Posts: 233

PostPosted: Mon Dec 19, 2005 6:29 pm    Post subject: Re: Kernel panic beim Kernelupdate Reply with quote

CBarcley wrote:
Ich habe gerade auf den aktuellen Kernel up gedatet, leider funktioniert er nicht.
alter Kernel 2.6.13-r3
neuer Kernel 2.6.14-r2
Ich habe die alte config mit make oldconfig übernommen und sie nochmal durchgesehen bevor ich den Kernel gebaut haben.
Beim booten kommt diese Fehlermeldung:

Kernel panic - no syncing: VFS: Unable to mount root fs on unknown-block (0,0)

Kommt die Fehlermeldung vor oder nachdem die ramdisk geladen wurde? Ist das initrd-Image vieleicht zu groß?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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