View previous topic :: View next topic |
Author |
Message |
Macfx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/139664335440cb6ae735e1f.gif)
Joined: 01 Jun 2004 Posts: 36 Location: Flensburg / Germany
|
Posted: Fri Jun 11, 2004 12:12 pm Post subject: [gelöst]Kernel Panic |
|
|
Hallo,
Erstmal, alles kam durch diesen Thread https://forums.gentoo.org/viewtopic.php?t=182339
Es kam wie es kommen musste, ich habe den Kernle neu compiliert und wie es in der Anleitung steht die ganzen Sicherungen auf /boot neu gemacht.
Das Problem ist nun das ich beim starten einen Kernel panic bekomme.
Und was die Sache noch schlimmer macht, ich brauche das Notebook morgen beruflich.
Also eilt es ein wenig ;(
Hier nun die Fhlermeldung die beim booten kommt.
Code: |
VFS: Cannot open root device "ram0" or unknown-block(hd0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(hd0,0)
|
Was für mich heist, das ich im Grub die root neu setze.
Da Root aber hda1 ist, ist es wohl 0,0.
Hier noch meine grub.conf
Code: |
timeout 1
default 0
title Gentoo
root (hd0,0)
kernel=(hd0,0)/kernel-2.6.5 root=/dev/ram0 init=/linuxrc real_root=/dev/hda3
initrd=(hd0,0)/initrd-2.6.5
|
Bitte helft mir!
Danke
Last edited by Macfx on Fri Jun 11, 2004 5:46 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hepta_sean Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/278996053453d655d8b5b7.png)
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Fri Jun 11, 2004 12:18 pm Post subject: |
|
|
Erste Schätzung: Du hast
Code: | CONFIG_BLK_DEV_INITRD=y |
in Deiner Kernel-Konfiguration, oder? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Macfx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/139664335440cb6ae735e1f.gif)
Joined: 01 Jun 2004 Posts: 36 Location: Flensburg / Germany
|
Posted: Fri Jun 11, 2004 12:40 pm Post subject: |
|
|
hmm, kann ich jetzt so nicht finden, kannst du mir sagen unter welcher Kategorie das liegt? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xJoni n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 18 May 2004 Posts: 20
|
Posted: Fri Jun 11, 2004 12:41 pm Post subject: |
|
|
geh in dein kernel verzeichniß, öffne die datei .config mit einem beliebigen editor und benutz die beiliegende suchfunktion
alternativ, wenns schnell gehen muß, benutz genkernel, lösch vorher deine .config datei, und deaktiver keine wichitgen sachen. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hepta_sean Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/278996053453d655d8b5b7.png)
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Fri Jun 11, 2004 12:45 pm Post subject: |
|
|
Liegt unter "Device Drivers" -> "Block Devices" -> "RAM Disk Support" (Muss auch aktiviert sein) -> "Initial RAM Disk (initrd) Support"
Ich dachte nur, weil Du ja versuchst eine initrd als root file system anzugeben. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Macfx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/139664335440cb6ae735e1f.gif)
Joined: 01 Jun 2004 Posts: 36 Location: Flensburg / Germany
|
Posted: Fri Jun 11, 2004 12:47 pm Post subject: |
|
|
Das habe ich bereits getan, habe nach CONFIG_BLK_DEV_INITRD gesucht. aber er hat nix gefunden |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Macfx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/139664335440cb6ae735e1f.gif)
Joined: 01 Jun 2004 Posts: 36 Location: Flensburg / Germany
|
Posted: Fri Jun 11, 2004 1:07 pm Post subject: |
|
|
Ram-disk Support war nicht ausgewählt, ich habe ihn jetzt ausgewählt und neu kompiliert.
Allerdings bringt das keine Veränderung |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hepta_sean Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/278996053453d655d8b5b7.png)
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Fri Jun 11, 2004 1:13 pm Post subject: |
|
|
Entschuldigung, wenn ich Dich unterschätze, aber:
1.) Du hast auch initrd-Support ausgewählt,
2.) den neuen Kernel auf /boot gepackt und
3.) das war auch gemounted?
Gerade, wenn es dringend ist, passieren mir solche Dinge leicht ...
Der Fehler sieht nämlich wirklich nach fehlender Ramdisk-Unterstützung aus (auch wenn ich selbst das gar nicht benutze). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Macfx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/139664335440cb6ae735e1f.gif)
Joined: 01 Jun 2004 Posts: 36 Location: Flensburg / Germany
|
Posted: Fri Jun 11, 2004 1:18 pm Post subject: |
|
|
Du unterschätzt mich nicht, ich mache das erst zum 3. mal.
Ich habe auch den initrd support ausgewählt.
aber nix auf /boot gemacht, daswerde ich jetzt nochmal in der Anleitung nachschlagen.
bis dann |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Macfx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/139664335440cb6ae735e1f.gif)
Joined: 01 Jun 2004 Posts: 36 Location: Flensburg / Germany
|
Posted: Fri Jun 11, 2004 1:26 pm Post subject: |
|
|
Da auch hier mein Fehler liegen kann, schreibe ich genau mit, was ich grmacht habe
Nach dem Make
Code: |
cp arch/i386/boot/bzImage /boot/kernel-2.6.5
cp System.map /boot/System.map-2.6.5
cp .config /boot/config-2.6.5
|
boot ist gemountet
Ich befinde mich zu dem Zeitpunkt in /usr/src/linux
und alles klappt ohne Fehlermeldung |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hepta_sean Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/278996053453d655d8b5b7.png)
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Fri Jun 11, 2004 1:32 pm Post subject: |
|
|
Hast Du irgendwann mal ein
Code: | make modules_install |
gemacht?
(Nach dem letzten Kompilieren sollte es eigentlich nicht nötig gewesen sein, da sowohl Ram-Disk, als auch initrd nicht als Module, sondern fest kompiliert sind/sein sollten. - Die braucht der Kernel ja, bevor es ein Dateisystem mit Modulen gibt.) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Macfx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/139664335440cb6ae735e1f.gif)
Joined: 01 Jun 2004 Posts: 36 Location: Flensburg / Germany
|
Posted: Fri Jun 11, 2004 1:45 pm Post subject: |
|
|
Ein Modules_Install habe ich gestern erst gemcht
wenn ich jetzt boote kommt volgender Fehler:
Code: |
mount: mounting devfs on /dev/ failed: no such device
Error opening file: ".devfsd" No such file or directory
Block device /dev/hda3 is not a valid root device
|
Und es kommteine eingabeaufforderung die boot: heist.
Dort kann ich dann z.b. shell eingeben um busybox zu starten.
Nur zurInformation
hda1 = boot
hda2 = swap
hda3 = root |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hepta_sean Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/278996053453d655d8b5b7.png)
Joined: 27 Apr 2004 Posts: 246 Location: Berlin, Germany
|
Posted: Fri Jun 11, 2004 2:17 pm Post subject: |
|
|
Sorry, musste mal kurz einkaufen. Freundin kommt gleich. ...
Da fehlt "/dev fs support" zu finden unter "Filesystems" -> "Pseudo filesystems". |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Macfx n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/139664335440cb6ae735e1f.gif)
Joined: 01 Jun 2004 Posts: 36 Location: Flensburg / Germany
|
Posted: Fri Jun 11, 2004 5:45 pm Post subject: |
|
|
Es geht jetzt,
Ich habe das Ding nochmal komplett mit Gentoolkit kompiliert und die grub.conf angepasst.
danke für eure Hilfe! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|