Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no kernel ".config file"
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
carpenter
n00b
n00b


Joined: 30 Apr 2008
Posts: 19

PostPosted: Mon Oct 13, 2008 2:10 pm    Post subject: no kernel ".config file" Reply with quote

My problem starts with using the live cd to install (never again).
When I boot I get a blinking cursor, hit enter and loads, but the video is garbled until 1/2 way through boot then gets normal.
Login, startx and recieve the " unable to open /dev/agpart" no such file or directory.
modprobe intel_agp, I can startx with the xterm, emerged firefox, works fine.
modprobe -l, shows modules loaded for a 2.6.24-gentoo-r5 kernel
ls /boot, kernel-genkernel-x86-2.6.24-gentoo-r5
readlink /usr/src/linux, 2.6.25-gentoo-r8
If I open /sys/kernel/config, the folder is empty.
I have had the agpart issue since install, I edited the make.conf file and ran emerge --update --deep --newuse world. Explains the new kernel.
With my limited knowledge, I have spent several hours to get this far and ran across this link https://forums.gentoo.org/viewtopic-t-595526.html but ran into a roadblock as I cant find the .config file to copy. Not sure if I am on the right track.
Back to top
View user's profile Send private message
oliver
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 170

PostPosted: Mon Oct 13, 2008 2:40 pm    Post subject: Reply with quote

gzcat /proc/config > /usr/src/linux/.config

Then "make menuconfig" should pick up the contents if you want to compile your own kernel
Back to top
View user's profile Send private message
carpenter
n00b
n00b


Joined: 30 Apr 2008
Posts: 19

PostPosted: Mon Oct 13, 2008 2:50 pm    Post subject: Yes Reply with quote

Dumb question is: can I still use menuconfig to compile my own kernel after using genkernel to install? (live cd) I am reading the handbook now and not finding the answer. Suppose I could try and find out. Seems I read somewhere That I could not.
Back to top
View user's profile Send private message
oliver
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 170

PostPosted: Mon Oct 13, 2008 3:08 pm    Post subject: Reply with quote

yes you can... as long as you're clear on the entries in /boot/grub/menu.lst and compile in the correct options it should all work. Just don't delete the genkernel created stuff until its tested
Back to top
View user's profile Send private message
coolsnowmen
Veteran
Veteran


Joined: 30 Jun 2004
Posts: 1479
Location: No.VA

PostPosted: Mon Oct 13, 2008 3:08 pm    Post subject: Reply with quote

There is no reason why you can't compile and use a dozen different kernels by hand, genkernel, and varying sources. Especially if they use different /lib/modules/ directories.
_________________
emerge: there are no ebuilds to satisfy "moo"
Back to top
View user's profile Send private message
carpenter
n00b
n00b


Joined: 30 Apr 2008
Posts: 19

PostPosted: Mon Oct 13, 2008 3:49 pm    Post subject: Thanks for replys Reply with quote

Is compiling now, learned my lesson on the live cd, it would have been faster to use the min. install.
The grub menu.list works, but needs some attention. The xorg.conf had no screens or video cards. Make.conf had no use flags, I'm still learning which ones I want and which ones I need, I did ad symlink before compiling new kernel, and seems obvious I had some kernel issues.
I vote no on the live cd.
Thanks again,
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1231
Location: Massachusetts USA

PostPosted: Tue Oct 14, 2008 2:25 am    Post subject: Reply with quote

carpenter wrote:
Dumb question is: can I still use menuconfig to compile my own kernel after using genkernel to install? (live cd) I am reading the handbook now and not finding the answer. Suppose I could try and find out. Seems I read somewhere That I could not.

You can use the --menuconfig option with the genkernel command. If you are using gnome you can use --gconfig instead of --menuconfig. Do a man genkernel to see the available options.
Back to top
View user's profile Send private message
oliver
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 170

PostPosted: Tue Oct 14, 2008 1:34 pm    Post subject: Reply with quote

oliver wrote:
gzcat /proc/config > /usr/src/linux/.config

Then "make menuconfig" should pick up the contents if you want to compile your own kernel


in reading that back, I may have written the wrong thing... "make oldconfig" should pick up the .config file and then "make menuconfig" lets you modify it from there.

Sorry
Back to top
View user's profile Send private message
carpenter
n00b
n00b


Joined: 30 Apr 2008
Posts: 19

PostPosted: Thu Oct 16, 2008 1:18 am    Post subject: Solved Reply with quote

It took some effort, seems to run pretty sweet right now. Turns out I do have a video card problem which probably caused some weird issues during install.
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5956

PostPosted: Thu Oct 16, 2008 1:26 am    Post subject: Reply with quote

Quote:
When I boot I get a blinking cursor, hit enter and loads, but the video is garbled until 1/2 way through boot then gets normal.


re-emerge grub or remove the splashimage line.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
oliver
Apprentice
Apprentice


Joined: 25 Jun 2003
Posts: 170

PostPosted: Thu Oct 16, 2008 1:19 pm    Post subject: Reply with quote

bunder wrote:
Quote:
When I boot I get a blinking cursor, hit enter and loads, but the video is garbled until 1/2 way through boot then gets normal.


re-emerge grub or remove the splashimage line.


I'd bet money on the second option... I had the exact same issue last time I installed
Back to top
View user's profile Send private message
carpenter
n00b
n00b


Joined: 30 Apr 2008
Posts: 19

PostPosted: Fri Oct 17, 2008 2:59 am    Post subject: You won Reply with quote

I commented out the splash image and cured that problem. Got a few other problems I am working through, I am learning...slowly.
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