Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst]Kernel Panic
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
Macfx
n00b
n00b


Joined: 01 Jun 2004
Posts: 36
Location: Flensburg / Germany

PostPosted: Fri Jun 11, 2004 12:12 pm    Post subject: [gelöst]Kernel Panic Reply with quote

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
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Fri Jun 11, 2004 12:18 pm    Post subject: Reply with quote

Erste Schätzung: Du hast
Code:
CONFIG_BLK_DEV_INITRD=y

in Deiner Kernel-Konfiguration, oder?
Back to top
View user's profile Send private message
Macfx
n00b
n00b


Joined: 01 Jun 2004
Posts: 36
Location: Flensburg / Germany

PostPosted: Fri Jun 11, 2004 12:40 pm    Post subject: Reply with quote

hmm, kann ich jetzt so nicht finden, kannst du mir sagen unter welcher Kategorie das liegt?
Back to top
View user's profile Send private message
xJoni
n00b
n00b


Joined: 18 May 2004
Posts: 20

PostPosted: Fri Jun 11, 2004 12:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Fri Jun 11, 2004 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
Macfx
n00b
n00b


Joined: 01 Jun 2004
Posts: 36
Location: Flensburg / Germany

PostPosted: Fri Jun 11, 2004 12:47 pm    Post subject: Reply with quote

Das habe ich bereits getan, habe nach CONFIG_BLK_DEV_INITRD gesucht. aber er hat nix gefunden
Back to top
View user's profile Send private message
Macfx
n00b
n00b


Joined: 01 Jun 2004
Posts: 36
Location: Flensburg / Germany

PostPosted: Fri Jun 11, 2004 1:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Fri Jun 11, 2004 1:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Macfx
n00b
n00b


Joined: 01 Jun 2004
Posts: 36
Location: Flensburg / Germany

PostPosted: Fri Jun 11, 2004 1:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Macfx
n00b
n00b


Joined: 01 Jun 2004
Posts: 36
Location: Flensburg / Germany

PostPosted: Fri Jun 11, 2004 1:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Fri Jun 11, 2004 1:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Macfx
n00b
n00b


Joined: 01 Jun 2004
Posts: 36
Location: Flensburg / Germany

PostPosted: Fri Jun 11, 2004 1:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
hepta_sean
Apprentice
Apprentice


Joined: 27 Apr 2004
Posts: 246
Location: Berlin, Germany

PostPosted: Fri Jun 11, 2004 2:17 pm    Post subject: Reply with quote

Sorry, musste mal kurz einkaufen. Freundin kommt gleich. ...

Da fehlt "/dev fs support" zu finden unter "Filesystems" -> "Pseudo filesystems".
Back to top
View user's profile Send private message
Macfx
n00b
n00b


Joined: 01 Jun 2004
Posts: 36
Location: Flensburg / Germany

PostPosted: Fri Jun 11, 2004 5:45 pm    Post subject: Reply with quote

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
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