Kernel Problem

Seite 1 von 1 - Forum: Linux and other OS auf overclockers.at

URL: https://www.overclockers.at/linux/kernel_problem_117979/page_1 - zur Vollversion wechseln!


Troy schrieb am 25.06.2004 um 15:57

Um gleich zur Sache zu kommen - Auf meinem Laptop (Gericom Webgine) ist derzeit Debian woody installier (Kernel 2.2.20) -> Installation hat nur mit dem boot prompt 'vanilla' funktioniert - kA wieso.
Nun ja, nachdem 2.2.20 schon recht alt ist, wollt ich selbst nen kernel backen - von kernel.org linux 2.6.4.tar.gz gesaugt, entpackt und nach längerem warten ein bzImage erstellt und alles in lilo eingetragen.
Nach einem reboot und versuch den neuen Kernel zu starten kommt es zu einem kernel panic mit folgenden Argumenten:

Zitat
VFS: Cannot open root device "303" or unknown-block(3,3)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(3,3)

-----

meine diskaufteilung schaut folgendermassen aus

Code:
1024mb -> Swap Partition -> Swap
200mb -> /boot -> /dev/hda2 -> ext2
~300mb -> / -> /dev/hda3 -> ext2
8gb -> /home -> /dev/hda4 -> ext2

-----

vorgehensweise beim kernel kompilieren:

Zitat
make menuconfig -> make dep (Ausgabe = make dep is unnecesary now) -> make clean -> make bzImage -> make bzlilo

danach rdev /vmlinuz /dev/hda3

-----

das Ganze hab ich jetzt schon ca. 3mal wiederholt -> immer mit demselben friggin fehler -> ich weiß nicht mehr weiter :(


Symon schrieb am 25.06.2004 um 16:17

Zitat von Troy
Nach einem reboot und versuch den neuen Kernel zu starten kommt es zu einem kernel panic mit folgenden Argumenten:
wie schaut deine bootmanager config aus (lilo.conf!?)?
bootest du eh mit root=/dev/hda3? :)


Ringding schrieb am 25.06.2004 um 16:18

Das /dev/hda3 musst du mit root= in /etc/lilo.conf eintragen.


dio schrieb am 25.06.2004 um 16:24

zeig uns mal deine lilo und fstab config.


spunz schrieb am 25.06.2004 um 17:00

1. module-init-tools installiert? woody port bekommst du bei backports.org
2. bau den kernel nach debian art => channel.debian.de/faq
3. läuft der befehl "lilo" fehlerfrei durch?


Troy schrieb am 26.06.2004 um 01:42

das wichtigste (imho) hier:

lilo.conf

Zitat
# Kernel command line options that apply to all installed images go
# here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in
# the Linux kernel `Documentation' directory.
#
# append=""

# Boot up Linux by default.
#
default=Linux

image=/vmlinuz
label=Linux
root=/dev/hda3
read-only
# restricted
# alias=1

image=/vmlinuz.old
label=LinuxOLD
root=/dev/hda3
read-only
optional
# restricted
# alias=2

# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
# other=/dev/hda4
# label=HURD
# restricted
# alias=3
other=/dev/hda1
label="Other(hda1)"

@spunz: ad 1 -> mal überprüfen
ad 2 -> mal probieren
ad 3 -> ja :)


Philipp schrieb am 26.06.2004 um 13:25

Dieser Fehler kommt normalerweise wenn der initrd Eintrag fehlt.

Hier ein lilo.conf Eintrag direkt von einen meiner Server:

Zitat
image=/boot/vmlinuz-2.4.26-1-686
label=Debian
# root=/dev/hda3
initrd=/boot/initrd.img-2.4.26-1-686
read-only
append="panic=30"




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2026