View previous topic :: View next topic |
Author |
Message |
ceejay82 n00b
Joined: 04 Aug 2011 Posts: 29 Location: Hamburg, germany
|
Posted: Fri Jan 13, 2012 7:48 pm Post subject: [SOLVED]Kernel Panic not syncing: VFS Unable to mount root |
|
|
Hallo zusammen,
brauche bitte mal einen Rat. Habe auf meinem System ein laufendes gentoo 3.0.6 System, aber das Update auf 3.1.6 führt zur kernel panic.
Kernel Panic - not syncing: VFS Unable to mount root fs on unknown block (0,0)
Hier mal die grub.conf:
Quote: |
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.
default 3
timeout 30
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
title CJ Gentoo 3.1.6
root (hd0,7)
kernel /boot/cj-gentoo-jan-12-3.1.6 root=/dev/sda6
title CJ Gentoo 3.0.6
root (hd0,7)
kernel /boot/cj-gentoo-dez-11-3.0.61 root=/dev/sda6
title CJ Backtrack 5 R1
root (hd0,7)
kernel /vmlinuz-2.6.39.4 root=UUID=af78f6c9-dc71-476f-87a5-1173993207bc ro text splash vga=791
initrd /initrd.img-2.6.39.4
title Windows 7 64bit ultimate
rootnoverify (hd0,0)
makeactive
chainloader +1
vim:ft=conf:
|
hier des fdisk print:
Quote: |
Disk /dev/sda: 128.0 GB, 128035676160 bytes
255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x804dd694
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 106711039 53252096 7 HPFS/NTFS/exFAT
/dev/sda3 106711040 174135295 33712128 7 HPFS/NTFS/exFAT
/dev/sda4 174137342 250068991 37965825 5 Extended
/dev/sda5 174616574 175665149 524288 82 Linux swap / Solaris
/dev/sda6 175667198 228095997 26214400 83 Linux (ext3)
/dev/sda7 228098046 250068991 10985473 83 Linux (ext3)
/dev/sda8 174137344 174614527 238592 83 Linux (ext2)
Partition table entries are not in disk order
|
ext3 support ist natürlich im kernel aber hier mal die kernel.conf
http://pastebin.com/5B3r7VEP
hier der funktionierende 3.0.6 (habe danach noch ein wenig geändert, aber so lief es auch
http://pastebin.com/LXZA9GJX
und hier die diff zwischen den beiden, denke aber das wird nicht viel helfen, da aus irgendeinem grund alles beim 3.1.6 angeklickt war und ich mühsam versucht habe alles rauszunehmen was nicht nötig ist, eventuell aber noch ein wenig vergessen habe
http://pastebin.com/YXQiX9k2
hier mit diff -u
http://pastebin.com/JzuD66q2
Last edited by ceejay82 on Mon Mar 26, 2012 8:33 am; edited 4 times in total |
|
Back to top |
|
|
LinuxTom l33t
Joined: 26 Mar 2006 Posts: 798
|
Posted: Sat Jan 14, 2012 6:38 am Post subject: |
|
|
Gibt es denn ein
Code: | /boot/cj-gentoo-jan-12-3.1.6 | ? Ich weiß, doch manchmal sind es die "einfachen" Dinge, die fehlen. |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3925 Location: Hamburg
|
|
Back to top |
|
|
ceejay82 n00b
Joined: 04 Aug 2011 Posts: 29 Location: Hamburg, germany
|
Posted: Sat Jan 14, 2012 5:38 pm Post subject: |
|
|
danke für Eure Hilfe.
Habe mal für Windows 7 die Zeile root (hd0,0) hinzugefügt, wobei Windows 7 auch vorher ohne Probleme gestartet ist.
Den Namen des Kernel habe ich überprüft, hier habe ich wohl keinen Schreibfehler begangen.
Wenn ich den Beschreibungen des Links von Pawel Hajdan nachgehe habe ich ebenfalls alles richtig gemacht, zudem läßt sich das beschriebe rootfs auf / nicht ausführen. Werde jetzt mal über backtrack chrooted ins system gehen und rootfs nachinstallieren, vermute aber mal das das noch keinen Unterschied machen wird.
Nachtrag:
emerge -p rootfs ergibt bei mir keine brauchbaren Ergebnisse
somit bin ich weiterhin ratlos. Da kernel 3.0.6 keine Probleme damit hat das /boot mittlerweile am Ende der Festplatte liegt, vermute ich mal das es daran auch nicht liegen kann.
Kann es an grub selbst liegen (abgesehen von der grub.conf) ? |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4570 Location: Germany
|
Posted: Sat Jan 14, 2012 6:07 pm Post subject: |
|
|
Hallo ceejay82
Tue uns allen ein gefallen und entferne die riesige Kernel .config aus dem ersten Beitrag wieder (oder reduziere sie auf das wesentliche). Es ist nicht vorgesehen solch riesigen Ausgaben zu posten - damit sprengst du das Forum bzw diesen Thread
(zudem ist die .config auch nicht komplett)
Nutze für sowas besser ein (No)Paste Service und poste dann hier dann den Link
merge dir zb wgetpaste
und stell sie dann einfach via
wgetpaste /usr/src/linux/.config
rauf
Zum Thema:
Prüfe doch einfach mal ob dein benötigter HDD-Controller Treiber und auch das benötigte Filesystem fest (build-in) im neuen Kernel verfügbar ist. |
|
Back to top |
|
|
LinuxTom l33t
Joined: 26 Mar 2006 Posts: 798
|
Posted: Sun Jan 15, 2012 9:12 am Post subject: |
|
|
Josef.95 wrote: | ... riesige Kernel .config ... |
Vielleicht ist ein diff -u zwischen der 3.0 und 3.1 - Config viel übersichtlicher und hilfreicher? |
|
Back to top |
|
|
ceejay82 n00b
Joined: 04 Aug 2011 Posts: 29 Location: Hamburg, germany
|
Posted: Mon Jan 16, 2012 11:30 am Post subject: |
|
|
habe alles oben mal zur Verfügung gestellt, hoffe das hilft ein wenig |
|
Back to top |
|
|
LinuxTom l33t
Joined: 26 Mar 2006 Posts: 798
|
Posted: Mon Jan 16, 2012 11:46 am Post subject: |
|
|
Ein diff -u wäre besser lesbar gewesen. |
|
Back to top |
|
|
ceejay82 n00b
Joined: 04 Aug 2011 Posts: 29 Location: Hamburg, germany
|
Posted: Mon Jan 16, 2012 1:10 pm Post subject: |
|
|
sorry hatte ich verschnarcht, jetzt aber nachgeholt |
|
Back to top |
|
|
LinuxTom l33t
Joined: 26 Mar 2006 Posts: 798
|
Posted: Mon Jan 16, 2012 2:34 pm Post subject: |
|
|
Leider noch mal zum diff. Die Ausgabe ist nicht wirklich vergleichbar. Wenn ich bspw. meinen 2.6.35 und 2.6.39 Kernel gegenüberstelle, kommt so etwas raus:
Code: | --- linux-2.6.36-gentoo-r5/.config.old 2011-10-11 08:23:02.000000000 +0200
+++ linux-2.6.39-gentoo-r3/.config 2012-01-02 16:56:21.000000000 +0100
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Linux kernel version: 2.6.36-gentoo-r5
-# Tue Oct 11 08:23:02 2011
+# Linux/x86_64 2.6.39-gentoo-r3 Kernel Configuration
+# Mon Jan 2 16:10:37 2012
#
CONFIG_64BIT=y
# CONFIG_X86_32 is not set
@@ -46,26 +46,20 @@
CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
-CONFIG_HAVE_EARLY_RES=y
CONFIG_HAVE_INTEL_TXT=y
-CONFIG_GENERIC_HARDIRQS=y
-CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
-CONFIG_GENERIC_IRQ_PROBE=y
-CONFIG_GENERIC_PENDING_IRQ=y
-CONFIG_USE_GENERIC_SMP_HELPERS=y
CONFIG_X86_64_SMP=y
CONFIG_X86_HT=y
-CONFIG_X86_TRAMPOLINE=y
CONFIG_ARCH_HWEIGHT_CFLAGS="-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11"
# CONFIG_KTIME_SCALAR is not set
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_CONSTRUCTORS=y
+CONFIG_HAVE_IRQ_WORK=y
+CONFIG_IRQ_WORK=y | Das ist einigermaßen übersichtlich. Hast Du vielleicht beide Datei nicht durch die gleichen Programme "laufen" lassen? Die 2. Datei hat zusätzlich noch Leerzeilen. Hast Du bei beiden mal make menuconfig durchlaufen lassen, so das der Kernel aus der Konfig wieder "seinen Standard" macht, den man vergleichen kann? |
|
Back to top |
|
|
kemper n00b
Joined: 16 Oct 2002 Posts: 8 Location: München
|
Posted: Tue Jan 17, 2012 10:07 pm Post subject: |
|
|
Wie LinuxTom schon schrieb, stimmt mit der .config etwas nicht. Mach die einfach nochmal.
Verzeichnis aufräumen mit "make distclean" und dann die alte .config de 3.0.6 kernels rein kopieren.
Code: | make oldconfig
make -j16 all
sudo make modules_install install |
Sollte dir jetzt einen lauffähigen Kernel installieren. Die grub.conf musst du natürlich noch anpassen. |
|
Back to top |
|
|
|