Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wo ist meine Kernelconfig
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
Ahbeze
n00b
n00b


Joined: 11 Feb 2007
Posts: 6

PostPosted: Sun Feb 11, 2007 2:10 pm    Post subject: Wo ist meine Kernelconfig Reply with quote

Hallo Leute,

ich hab vor kurzem erst mit Linux angefangen. Hab mich bei gentoo.de und beim Gentoo-wiki durchgelesen und es ging eigentlich auch alles ganz prima.
Doch nun wollt ich nvidia-drivers emergen und dann hat der mir ein Fehler gebracht:

* Found kernel source directory:
* /usr/src/linux
* Could not find a Makefile in the kernel source directory.
* Please ensure that /usr/src/linux points to a complete set of Linux sources

!!! ERROR: x11-drivers/nvidia-drivers-1.0.8776 failed.
Call stack:
ebuild.sh, line 1630: Called dyn_setup
ebuild.sh, line 702: Called qa_call 'pkg_setup'
ebuild.sh, line 38: Called pkg_setup
nvidia-drivers-1.0.8776.ebuild, line 112: Called linux-mod_pkg_setup
linux-mod.eclass, line 458: Called linux-info_pkg_setup
linux-info.eclass, line 554: Called die

!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-1.0.8776/temp/build.log'.


Bin dann mal auf die nvidia Seite gegangen und hab mir Treiber heruntergeladen für AMD64, aber da hat er mir gesat dass ich gar kein Gentoo 64 laufen hab.
Also wollte ich mal schauen ob ich vielleich was in der config machen kann oder irgendwas beim Kernel.
Bin dann mal nach /usr/src/linux gegangen, aber /linux gabs nicht. Hab auch mal nach dem Ordner gesucht, auch nach den Dateien die da sein sollten, aber nichts gefunden.

wenn ich uname -a eingebe kommt folgendes:

Linux localhost 2.6.17-gentoo-r7 #1 SMP Wed Sep 20 14:24:14 UTC 2006 i686 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux

Lange rede kurzer sinn: was kann ich machen damit mein emerge bei den treibern geht?
Was kann ich mchen damit ich mein die 64 Bit ausnutzen kann?
Wo ist meine Kernelconfig bzw. mein kernel?

Danke schonmal im voraus, dass ihr das durchgelesen habt und mir helfen wollt.

MFG Ahbeze
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Sun Feb 11, 2007 2:15 pm    Post subject: Reply with quote

Zeig uns bitte mal die Ausgabe eines ls -l aus deinem /usr/src/.
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 Feb 11, 2007 2:17 pm    Post subject: Reply with quote

/usr/src/linux ist ein symbolischer Link auf deinen aktuellen Kernel:

Code:
lrwxrwxrwx  1 root       14 2007-01-27 09:31 linux -> linux-2.6.19.2
-rw-r--r--  1 root     8415 2005-07-30 12:39 linux-2.6.13-rc1.config.gz
-rw-r--r--  1 root    33747 2005-08-01 13:27 linux-2.6.13-rc4.config
drwxr-xr-x 19 root     1144 2006-08-05 14:19 linux-2.6.16-ck11
drwxr-xr-x 20 root     1360 2007-01-06 16:43 linux-2.6.17-ck1-r2
drwxr-xr-x 20 root     1296 2007-02-09 19:12 linux-2.6.19.2
-rw-r--r--  1 root 42729366 2007-01-10 20:50 linux-2.6.19.2.tar.bz2


Leg ihn an mit: ln -s $pfad-zum-kernel-dir /usr/src/linux

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Ahbeze
n00b
n00b


Joined: 11 Feb 2007
Posts: 6

PostPosted: Sun Feb 11, 2007 2:41 pm    Post subject: Reply with quote

franzf wrote:
Zeig uns bitte mal die Ausgabe eines ls -l aus deinem /usr/src/.


Code:

# ls -l
drwxr-xr-x  2 root root 4096 11. Feb 14:32 linux
drwxr-xr-x 19 root root 4096 11. Feb 12:59 linux-2.6.19-gentoo-r5


das linux-2.6.19-gentoo-r5 hab ich mal durch emerge erhalten weil ich versucht hab den anweisungen im Gentoo-wiki zu folgen aber da gin dann eingiges nicht, da ich keine Kernel-config gefunden hatte oder sowas wie make menuconfig auch nicht ging.
und den linux ordner hab ich selber erstellt.


Finswimmer wrote:
Leg ihn an mit: ln -s $pfad-zum-kernel-dir /usr/src/linux


hmmm... hab jetzt mal nach dem Kernel pfad gesucht aber um erlich zu sein weis ich gar nicht wo der sein soll. Hab auch mal nach *.config gesucht, im ganzen system, aber nichts hat dem geähnelt was in deinem Code steht
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 Feb 11, 2007 2:44 pm    Post subject: Reply with quote

Hehe, du sollest den Pfad zu deinem Kernel-Verzeichnis nehmen:

ln -s /usr/src/linux-2.6.19-gentoo-r5 /usr/src/linux

in deinem Fall

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Ahbeze
n00b
n00b


Joined: 11 Feb 2007
Posts: 6

PostPosted: Sun Feb 11, 2007 3:30 pm    Post subject: Reply with quote

ok danke. habs jetzt mal so gemacht und nun hab ich eine verknüpfung in /usr/src/linux/linux-2.6.19-gentoo-r5 auf /usr/scr/linux-2.6.19-gentoo-r5. ist das so gewollt?
die .config hab ich jetzt auch gefunden (ich hoff halt mal, dass das die richtige ist). Mit zcat /proc/config.gz > /usr/src/linux/.config ha ichs kopiert....die hab ich nur nicht gesehen, weil die nicht angezeigt wurde, obwohl ich eingestellt hab, dass alles angezeigt werden soll.
nun mach ich gerade das hier: [url] http://de.gentoo-wiki.com/Kernel_manuell_kompilieren#Kernelpaket_emergen[/url]
da steht man soll mage oldconfig eingeben, aber bei mir kommt dann

Code:
# make config
make: *** Keine Regel, um »config« zu erstellen.  Schluss.


was mache ich falsch?

MFG
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Sun Feb 11, 2007 3:38 pm    Post subject: Reply with quote

Du bist vermutlich im falschen Verzeichnis.
Code:
cd /usr/src/linux
make oldconfig

_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
Ahbeze
n00b
n00b


Joined: 11 Feb 2007
Posts: 6

PostPosted: Sun Feb 11, 2007 3:47 pm    Post subject: Reply with quote

ja danke. ich war in der falsche direktion. Aber ich musste nochmal weiter, sprich in die verknüpfung.

MFG
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Sun Feb 11, 2007 5:31 pm    Post subject: Reply with quote

Ahbeze wrote:
[...] nun hab ich eine verknüpfung in /usr/src/linux/linux-2.6.19-gentoo-r5 auf /usr/scr/linux-2.6.19-gentoo-r5. ist das so gewollt?[...]

nein...
/usr/src/linux soll auf /usr/scr/linux-2.6.19-gentoo-r5 zeigen. Denn nvidia-sources sucht ja die Kernel-Sources in /usr/src/linux, und nicht in /usr/scr/linux-2.6.19-gentoo-r5...
Nebenbei (vllt für den Anfang(änger) nicht soooo geeignet, da die meisten Dokus den Weg über /usr/src/linux beschreiben):
https://forums.gentoo.org/viewtopic-p-3889688.html#3889688
https://forums.gentoo.org/viewtopic-p-3891643.html

Grüße
Franz
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