Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probleme bei der kernel konfiguration
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
ModellbahnerTT
n00b
n00b


Joined: 04 Aug 2006
Posts: 38
Location: Jena

PostPosted: Sat Aug 05, 2006 8:13 am    Post subject: Probleme bei der kernel konfiguration Reply with quote

Hallo @all!

Ich habe das Problem das ich im kernel nicht weiss was ich bei meinem Rechner für Optionen einstellen muss.

Mein System

Abit AN8 mit nforce4
120 GB HD am IDE Kanal
1024 Mb Ram
Nvidia 6600 GT
Creative Audigy 1
Logitech MX1000
Mircosoft Office Keyboard

Danke im Voraus für eure Hilfe.

ModellbahnerTT
Back to top
View user's profile Send private message
Edward Nigma
n00b
n00b


Joined: 05 Jul 2006
Posts: 24
Location: /LE

PostPosted: Sat Aug 05, 2006 8:19 am    Post subject: Reply with quote

vielleicht hilft dir das HowTo aus dem Wiki ein wenig weiter. ;)

http://de.gentoo-wiki.com/Kernel_manuell_kompilieren
Back to top
View user's profile Send private message
ModellbahnerTT
n00b
n00b


Joined: 04 Aug 2006
Posts: 38
Location: Jena

PostPosted: Sat Aug 05, 2006 8:45 am    Post subject: Reply with quote

Die seite werde ich gleich mal komplett durcharbeiten.

Danke für deine Hilfe.

ModellbahnerTT
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Sat Aug 05, 2006 9:43 am    Post subject: Reply with quote

Wenn du noch keine Ahnung hast was wichtig ist und erstmal einen kernel haben willst der läuft, dann nimm dir den kernel von der liveCD oder von nem knoppix. Tunen kannst du den später immernoch.
Back to top
View user's profile Send private message
ModellbahnerTT
n00b
n00b


Joined: 04 Aug 2006
Posts: 38
Location: Jena

PostPosted: Sat Aug 05, 2006 9:52 am    Post subject: Reply with quote

@schmutzfinger Was muss ich den eingeben damit ich die Optionen der liveCD zu bekommen?

ModellbahnerTT
Back to top
View user's profile Send private message
schmutzfinger
Veteran
Veteran


Joined: 26 Oct 2003
Posts: 1287
Location: Dresden/Germany

PostPosted: Sat Aug 05, 2006 10:32 am    Post subject: Reply with quote

Hab grad keine da aber ich gehe mal davon aus das auf der liveCD mit 2.6er Kernel die config in /proc/config.gz liegt. Dann besorgst du dir genau die Sourcen und baust den kernel auf deinem Rechner. Die Sourcen sind hoffentlich auf der CD mit drauf, zumindest wäre das vernünftig ;). Also /usr/src/linux-x.x nach /mnt/deingentoo/usr/src/linux-x.x kopieren. Und dann /proc/config.gz auspacken und nach /mnt/deingentoo/usr/src/linux-x.x/.config kopieren.

Code:

mount /mnt/deingentoo
cp -r /usr/src/linux-x.x /mnt/deingentoo/usr/src/
cd /mnt/deingentoo/usr/src
ln -s linux-x.x linux
zcat /proc/config.gz > /mnt/deingentoo/usr/src/linux/.config
Back to top
View user's profile Send private message
ModellbahnerTT
n00b
n00b


Joined: 04 Aug 2006
Posts: 38
Location: Jena

PostPosted: Sun Aug 06, 2006 4:24 pm    Post subject: Reply with quote

Hallo schmutzfinger!

Dein Tipp hat leider nicht geklappt. Der Tipp von Edward Nigma hat mich leider nicht zum Ziel gebracht. Kennt jemand eine Seite oder ein Programme mit dem ich mir eine gute .config Datei erstellen lassen kann. Hat vielleicht jemand solch eine Datei für mich?

ModellbahnerTT

PS: Folgende Fehlermeldung bekomme ich beim booten
Code:
VFS: cannot open root device "hda 8" or unknown-block(0,0)
Please append a correct "root-" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknow-block(0,0)
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Sun Aug 06, 2006 4:34 pm    Post subject: Reply with quote

Das sieht aber eher nach einer falschen Einstellung in grub/lilo aus.

Poste die bitte mal.

Tobi
Back to top
View user's profile Send private message
ModellbahnerTT
n00b
n00b


Joined: 04 Aug 2006
Posts: 38
Location: Jena

PostPosted: Sun Aug 06, 2006 5:00 pm    Post subject: Reply with quote

Meine grub.conf sieht wie folgt aus:
Code:
default 0
timeout 30

title=Gentoo
root (hd0,2)
kernel /boot/kernel root=/dev/hda8

Genauso steht es im Gentoo Handbuch.
Zur Info hda3 ist meine /boot
hda7 ist meine swap
und hda8 meine root Partion

ModellbahnerTT
Back to top
View user's profile Send private message
Appleonkel
n00b
n00b


Joined: 24 Jan 2006
Posts: 10
Location: Germany/Cologne

PostPosted: Sun Aug 06, 2006 5:13 pm    Post subject: Reply with quote

Dein Filesystem ist fest einkompiliert? Die Treiber für dein Festplatte sind auch fest?

Appleonkel
Back to top
View user's profile Send private message
STiGMaTa_ch
Veteran
Veteran


Joined: 28 Dec 2004
Posts: 1686
Location: Rüti ZH / Schweiz

PostPosted: Sun Aug 06, 2006 5:41 pm    Post subject: Re: Probleme bei der kernel konfiguration Reply with quote

ModellbahnerTT wrote:
Ich habe das Problem das ich im kernel nicht weiss was ich bei meinem Rechner für Optionen einstellen muss.

Dann benutz doch einfach genkernel. Im Handbuch wird beschrieben wie du den nutzen kannst.

Lieber Gruss
STiGMaTa
_________________
Ich bin Schuldknappe. Das bedeutet ich bin immer an allem Schuld. Und das nicht zu knapp! | Der alltägliche Familienwahnsinn auf meinem BLOG
Back to top
View user's profile Send private message
ModellbahnerTT
n00b
n00b


Joined: 04 Aug 2006
Posts: 38
Location: Jena

PostPosted: Sun Aug 06, 2006 5:42 pm    Post subject: Reply with quote

Ich habe alles was mit ext2 und ext3 zu tun hat eingebunden und meine /boot hat ext2 und meine root ext3. Wie kann ich erkennen welche Treiber ich für meine Festplatte brauche? Es kann sein das er mit drin ist weil er ja bootet und während des bootens mit der Fehlermeldung stehen bleibt.
Genkernel geht nicht weil er mir dann sagt das er keine Regel finden kann? Mit genkernel habe ich es ja auch versucht.

ModellbahnerTT
Back to top
View user's profile Send private message
Appleonkel
n00b
n00b


Joined: 24 Jan 2006
Posts: 10
Location: Germany/Cologne

PostPosted: Sun Aug 06, 2006 5:56 pm    Post subject: Reply with quote

Quote:
CONFIG_BLK_DEV_IDEDISK:

This will include enhanced support for MFM/RLL/IDE hard disks. If
you have a MFM/RLL/IDE disk, and there is no special reason to use
the old hard disk driver instead, say Y. If you have an SCSI-only
system, you can say N here.

To compile this driver as a module, choose M here: the
module will be called ide-disk.
Do not compile this driver as a module if your root file system
(the one containing the directory /) is located on the IDE disk.

If unsure, say Y.

Zu finden unter Device Drivers ---> ATA/ATAPI/MFM/RLL support ---> <*> Include IDE/ATA-2 DISK support

Appleonkel
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Sun Aug 06, 2006 5:57 pm    Post subject: Reply with quote

Sicher, dass hda8 richtig ist? Erscheint mir als eine relativ hohe Nummer.

tobi
Back to top
View user's profile Send private message
ModellbahnerTT
n00b
n00b


Joined: 04 Aug 2006
Posts: 38
Location: Jena

PostPosted: Sun Aug 06, 2006 6:04 pm    Post subject: Reply with quote

@Appleonkel Genau den habe ich mit reingenommen.

@Finswimmer Ja ich bin mir sicher da ich noch sehr viele Windowspartionen habe.

ModellbahnerTT
Back to top
View user's profile Send private message
Appleonkel
n00b
n00b


Joined: 24 Jan 2006
Posts: 10
Location: Germany/Cologne

PostPosted: Sun Aug 06, 2006 6:07 pm    Post subject: Reply with quote

Kannst du deine .config mal Posten damit man sieht was drin ist und was nicht :wink:
Back to top
View user's profile Send private message
ModellbahnerTT
n00b
n00b


Joined: 04 Aug 2006
Posts: 38
Location: Jena

PostPosted: Sun Aug 06, 2006 6:11 pm    Post subject: Reply with quote

Wie komme ich jetzt noch an die .config bzw. wo wird die.config gespeichert? Kann ich auch die vom jetzt verwendeten Ubuntu-Kernel verwenden?

ModellbahnerTT
Back to top
View user's profile Send private message
firefly
Watchman
Watchman


Joined: 31 Oct 2002
Posts: 5205

PostPosted: Sun Aug 06, 2006 6:13 pm    Post subject: Reply with quote

die .config liegt im source verzeichnes des kernel ;) unter /usr/src/linux-<version>
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Appleonkel
n00b
n00b


Joined: 24 Jan 2006
Posts: 10
Location: Germany/Cologne

PostPosted: Sun Aug 06, 2006 6:16 pm    Post subject: Reply with quote

die .config liegt in deinem Kernel-Source-Tree meist /usr/src/linux/.config
Ubuntu unterstützt leider kein /proc/config.gz support :roll: , deswegen weiss ich nicht wie man die .config kopieren könnte.
Back to top
View user's profile Send private message
ModellbahnerTT
n00b
n00b


Joined: 04 Aug 2006
Posts: 38
Location: Jena

PostPosted: Sun Aug 06, 2006 7:56 pm    Post subject: Reply with quote

Dann habe ich ein Problem da ich nur ein Linux System installieren kann, weil meine Festplatte so klein ist :cry: Gibt es noch weitere Möglichkeiten das Problem zu beheben? Ansonsten muss ich halt von der Ubuntu partion noch etwas abziehen. :( 8O

ModellbahnerTT
Back to top
View user's profile Send private message
Appleonkel
n00b
n00b


Joined: 24 Jan 2006
Posts: 10
Location: Germany/Cologne

PostPosted: Mon Aug 07, 2006 7:20 pm    Post subject: Reply with quote

Bei Ubuntu liegt die Kernel-Config in /boot/. Die kannst du auch einfach kopieren und nehmen. Das Problem dabei ist Ubuntu hat einen modularen Kernel, die Filesysteme und alles andere werden als Modul eingebunden.

Appleonkel
Back to top
View user's profile Send private message
ModellbahnerTT
n00b
n00b


Joined: 04 Aug 2006
Posts: 38
Location: Jena

PostPosted: Mon Aug 07, 2006 9:51 pm    Post subject: Reply with quote

Danke für eure Hilfe! Werde es morgen nochmal mit Genkernel versuchen und hoffen das es klappt sonst melde ich mich nochmal hier

Gute Nacht und bis Morgen

ModellbahnerTT
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