Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Could not find a usable .config in the kernel source directo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sumpi
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2006
Posts: 110
Location: Graz, Austria

PostPosted: Tue May 09, 2006 1:56 pm    Post subject: Could not find a usable .config in the kernel source directo Reply with quote

Hi all!

I am not new to linux but to gentoo. I installed today from the liveCD 2006.0 on an IBM Thinkpad A31p. Allmost everything seemed to work fine, except, that my soundsystem is not working. I read through the docs and found the howto for making alsa work. So I tried to follow the instructions to install the correct driver for my intel-sound-card (intel8x0 should do it)
But the strange thing is, that I can not install, as I have no configuration for my kernel-sources. I had a quick look in /boot, as normally you can create a link, but there is no .config either. So what do I have to do, to make it work. As I do not know, what has been configured so make menuconfig is not the best choice...
Any other hints would be great!

Another thing, which kind of disturbed me, was the missing entries for my cdrom/dvdrom in /etc/fstab. I created it and it works now, but why shouldn this be done by the installer?

Thanks in advance!
Sumpi
Back to top
View user's profile Send private message
mirojira
l33t
l33t


Joined: 18 Feb 2006
Posts: 685

PostPosted: Tue May 09, 2006 2:03 pm    Post subject: Reply with quote

Your .config sould be in /usr/src/linux
Back to top
View user's profile Send private message
infjms00
Tux's lil' helper
Tux's lil' helper


Joined: 17 Feb 2006
Posts: 112
Location: Vigo, SPAIN

PostPosted: Tue May 09, 2006 2:04 pm    Post subject: Reply with quote

Your .config file should be at /usr/src/linux. You can do a zcat /proc/config.gz >> /usr/src/linux/.config to generate one, althoug I'd rather use make menuconfig after to modify it.
Back to top
View user's profile Send private message
sumpi
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2006
Posts: 110
Location: Graz, Austria

PostPosted: Tue May 09, 2006 2:08 pm    Post subject: Reply with quote

infjms00 wrote:
Your .config file should be at /usr/src/linux. You can do a zcat /proc/config.gz >> /usr/src/linux/.config to generate one, althoug I'd rather use make menuconfig after to modify it.

Thanks for the hint... I know, that .config should reside in /usr/src/linux/ but there is none. At least find . -name .config did not show any...

I will give zcat /proc/config.gz a try!

thanks,
Sumpi
Back to top
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Tue May 09, 2006 3:14 pm    Post subject: Reply with quote

The .config is created when you configure the kernel either by using

Code:
make menuconfig


or one of the other interfaces( gtk etc...see the README)

the zcat thing only works if the currently running kernel supports it, and once you have done that you need to either do the above anyway, or run

Code:
make oldconfig


both of these from within the /usr/src/linux directory.
_________________
My Public Key

Wanted: Instructor in the art of Bowyery
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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