Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Genkernel and 2.6.13-r3 error
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
Area51mafia
n00b
n00b


Joined: 11 Jun 2005
Posts: 19

PostPosted: Thu Oct 06, 2005 8:50 pm    Post subject: Genkernel and 2.6.13-r3 error Reply with quote

Well, Iv been running 2.6.11-4 since around May and didnt see much point in upgrading since. But a few days ago I wasnt able to emerge --world because devfsd was blocking gentoo-sources, so I unmerged devfsd and emerged udev and set the option to udev in /etc/conf.d/rc rebooted, and it said that udev was not supported for some reason, and X wouldnt start. So i figured i'd go ahead and compile the latest kernel since udev has to be supported in that. Well, I emerged gentoo-sources, got 2.6.13-r3, and ran genkernel. Upon running Genkernel I get the error:

Code:

* Gentoo Linux Genkernel; Version 3.3.6
* Running with options: --menuconfig --bootloader=grub all

grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/Makefile: No such file or directory
grep: /usr/src/linux/Makefile: No such file or directory
/usr/share/genkernel/gen_determineargs.sh: line 35: [: : integer expression expected
* Linux Kernel .. for x86...
* ERROR: Error: No kernel .config specified, or file not found!

* -- Grepping log... --


* Linux Kernel .. for x86...
* Gentoo Linux Genkernel; Version 3.3.6
* Running with options: --menuconfig --bootloader=grub all

* ERROR: Error: No kernel .config specified, or file not found!


I Googled aroudn a bit and saw someone say to unmerge gentoo-sources, and remove the source files from /usr/src, then re-emerge it, but wasnt to sure on that. Does anybody have a solution? Iv never been to keen on having to upgrade my kernel since it seems like such a big process that I really dont wanna screw up.
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Thu Oct 06, 2005 9:23 pm    Post subject: Reply with quote

Did you set the /usr/src/linux symlink and copy .config from the old kernel? Please post the output of
Code:
ls -l /usr/src

_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
Area51mafia
n00b
n00b


Joined: 11 Jun 2005
Posts: 19

PostPosted: Thu Oct 06, 2005 9:35 pm    Post subject: Reply with quote

I didnt do what you said, but heres my output:

Code:

# ls -l /usr/src
total 52
lrwxrwxrwx   1 root root   22 Mar 18  2005 linux -> linux-2.6.11-gentoo-r4
drwxr-xr-x  18 root root 4096 Jun 10 01:53 linux-2.6.11-gentoo-r10
drwxr-xr-x  18 root root 4096 Oct  2 14:00 linux-2.6.11-gentoo-r4
drwxr-xr-x  18 root root 4096 Apr 13 15:53 linux-2.6.11-gentoo-r6
drwxr-xr-x  18 root root 4096 May 22 13:22 linux-2.6.11-gentoo-r9
drwxr-xr-x  18 root root 4096 Jul  3 18:24 linux-2.6.12-gentoo-r2
drwxr-xr-x  18 root root 4096 Jul  5 17:29 linux-2.6.12-gentoo-r3
drwxr-xr-x  18 root root 4096 Jul 12 22:44 linux-2.6.12-gentoo-r4
drwxr-xr-x  18 root root 4096 Jul 13 16:16 linux-2.6.12-gentoo-r5
drwxr-xr-x  18 root root 4096 Jul 22 09:57 linux-2.6.12-gentoo-r6
drwxr-xr-x  18 root root 4096 Aug  6 00:45 linux-2.6.12-gentoo-r7
drwxr-xr-x  18 root root 4096 Sep  5 18:26 linux-2.6.13-gentoo
drwxr-xr-x  18 root root 4096 Sep 24 13:30 linux-2.6.13-gentoo-r2
drwxr-xr-x  18 root root 4096 Oct  5 20:47 linux-2.6.13-gentoo-r3
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Thu Oct 06, 2005 9:54 pm    Post subject: Reply with quote

OK, you have a lot of kernels there, but it seems you've never used them. To build a new kernel you've to change your /usr/src/linux symlink to point to the desired kernel
Code:
cd /usr/src
ln -sfn /usr/src/<desired kernel> linux

I reccomend that you look at this document
http://www.gentoo.org/doc/en/kernel-upgrade.xml
BTW, you may safely unmerge all the unused kernels with
Code:
emerge -C sys-kernel/gentoo-sources-2.6.<x>-r<y>
rm -rf /usr/src/linux-2.6.<x>-gentoo-<y>

It seems that you're using 2.6.11-r4, but check with
Code:
uname -r

And leave 2.6.13-r3 if you want to build that one.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
Area51mafia
n00b
n00b


Joined: 11 Jun 2005
Posts: 19

PostPosted: Thu Oct 06, 2005 10:27 pm    Post subject: Reply with quote

dgaffuri wrote:

BTW, you may safely unmerge all the unused kernels with
Code:
emerge -C sys-kernel/gentoo-sources-2.6.<x>-r<y>
rm -rf /usr/src/linux-2.6.<x>-gentoo-<y>

It seems that you're using 2.6.11-r4, but check with
Code:
uname -r

And leave 2.6.13-r3 if you want to build that one.


Should I unmerge the kernel im currently using aswell, which is infact 2.6.11-gentoo-r4 (from uname -r)?
Back to top
View user's profile Send private message
dgaffuri
Advocate
Advocate


Joined: 05 Jun 2005
Posts: 2078
Location: Italy

PostPosted: Thu Oct 06, 2005 10:30 pm    Post subject: Reply with quote

No, and leave the unmerge stuff for later, after you're able to rebuild a running kernel.
_________________
Adopt an unanswered post
If you feel that your problem has been solved please edit the top post and add [solved] to the subject
Back to top
View user's profile Send private message
Area51mafia
n00b
n00b


Joined: 11 Jun 2005
Posts: 19

PostPosted: Thu Oct 06, 2005 10:56 pm    Post subject: Reply with quote

Okay, Thanks!

Genkernel is compiling the modules right now, ill reply soon to say how it went.
Back to top
View user's profile Send private message
Area51mafia
n00b
n00b


Joined: 11 Jun 2005
Posts: 19

PostPosted: Thu Oct 06, 2005 11:50 pm    Post subject: Reply with quote

On reboot into 2.6.13 it stops on the message "vesafb: scrolling: redraw". This happened the first time I compiled my kernel in May, but I dont remember what the solution was. Does anybody know?
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