Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My kernel xconfig is gone....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Gweniviere
n00b
n00b


Joined: 13 Sep 2002
Posts: 47
Location: Minneapolis, MN USA

PostPosted: Thu Dec 05, 2002 2:55 am    Post subject: My kernel xconfig is gone.... Reply with quote

Hi. I hope this is the appropriate forum for this topic....

I went to re-compile my kernel today to add some support for lm_sensors and did the standard make xconfig in my /usr/src/linux/ directory and this is what I got...

bash-2.05b# make xconfig
make: *** No rule to make target `xconfig'. Stop.

So I tried make menuconfig and got the same error.

I have compiled kernels on this machine before and everything has been fine up to this point. Does anyone have any suggestions as to what happened and what I should do to fix the problem?

Thanks in advance.

Gwen
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Thu Dec 05, 2002 3:07 am    Post subject: Re: My kernel xconfig is gone.... Reply with quote

Gweniviere wrote:
Hi. I hope this is the appropriate forum for this topic....

I went to re-compile my kernel today to add some support for lm_sensors and did the standard make xconfig in my /usr/src/linux/ directory and this is what I got...

bash-2.05b# make xconfig
make: *** No rule to make target `xconfig'. Stop.

So I tried make menuconfig and got the same error.

I have compiled kernels on this machine before and everything has been fine up to this point. Does anyone have any suggestions as to what happened and what I should do to fix the problem?

Thanks in advance.

Gwen


Hard to say without looking for missing files.

Why don't you do the following:

1. cp /usr/src/linux/.config ~
2. ebuild /usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10 install
3. cp ~/.config /usr/src/linux
4. cd /usr/src/linux
5. make xconfig

This should unpack the source tar ball again if you have the file in /usr/portage/distfiles, if not, it'll download it first.

The copy steps just make a copy of your current configuration and copies it back afterwrads. This will save you from reconfiguring everything.

Erik
Back to top
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Thu Dec 05, 2002 7:39 am    Post subject: Reply with quote

mount /boot :)
Back to top
View user's profile Send private message
Gweniviere
n00b
n00b


Joined: 13 Sep 2002
Posts: 47
Location: Minneapolis, MN USA

PostPosted: Thu Dec 05, 2002 12:32 pm    Post subject: Re: My kernel xconfig is gone.... Reply with quote

ebrostig wrote:


1. cp /usr/src/linux/.config ~
2. ebuild /usr/portage/sys-kernel/gentoo-sources/gentoo-sources-2.4.19-r10 install
3. cp ~/.config /usr/src/linux
4. cd /usr/src/linux
5. make xconfig

This should unpack the source tar ball again if you have the file in /usr/portage/distfiles, if not, it'll download it first.

The copy steps just make a copy of your current configuration and copies it back afterwrads. This will save you from reconfiguring everything.

Erik


I did what you suggested and then did

ln -s linux-2.4.19-gentoo-r10 linux

Now everything is working fine again. Now I need to add my patches and I will be happy again. Thank you Erik. :D

Gwen
Back to top
View user's profile Send private message
Gweniviere
n00b
n00b


Joined: 13 Sep 2002
Posts: 47
Location: Minneapolis, MN USA

PostPosted: Thu Dec 05, 2002 4:38 pm    Post subject: Reply with quote

Hi. I am back. Now that I can compile a kernel again I am getting a bunch of depmod errors... For example....

depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/misc/adm1021.o

All of them are in the /lib/modules/2.4.19-gentoo-r10/misc directory. I have never had these before. Did I do something wrong?

Gwen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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