Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Funtoo kernel upgrade issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
rpil
Guru
Guru


Joined: 23 May 2008
Posts: 314

PostPosted: Thu May 27, 2010 7:08 am    Post subject: Funtoo kernel upgrade issue Reply with quote

Hi. I have a strange issue in my Funtoo machine. In my usual

Code:
emerge -uDNav world

I received gentoo-sources with the new kernel 2.6.32-r7. My kernel is build with genkernel, so I gave the following command for its upgrade:

Code:
genkernel --menuconfig --bootloader=grub all


I enter the kernel's configuration, make my choices and save it. When I restart, I see the new kernel in my grub screen and I choose it. But when I give

Code:
uname -a


it gives me, an older kernel: 2.6.31-gentoo-r6!
What's happening?? :?
Back to top
View user's profile Send private message
CrazyMYKL
n00b
n00b


Joined: 07 Jul 2004
Posts: 10

PostPosted: Thu May 27, 2010 8:14 am    Post subject: Reply with quote

Did you run boot-update?
_________________
<m00se> bash-2.05b$ ping god
<m00se> ping: unknown host god
<m00se> it's true, god doesn't exist
<AngstyPie> maybe he's just having DNS problems
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu May 27, 2010 12:03 pm    Post subject: Reply with quote

Can you post this :

Code:

# cd /boot
# ls -la
# cat /boot/grub/grub.conf or /boot/grub/grub.cfg
Back to top
View user's profile Send private message
rpil
Guru
Guru


Joined: 23 May 2008
Posts: 314

PostPosted: Fri May 28, 2010 3:19 am    Post subject: Reply with quote

Here it is:

Code:
localhost drphibes # cd /boot
localhost boot # ls -la
total 37948
drwxr-xr-x  4 root root    1024 Apr 16 01:38 .
drwxr-xr-x 20 root root    4096 Nov 20  2009 ..
-rw-r--r--  1 root root       0 Feb  2 11:04 .keep
-rw-r--r--  1 root root       0 Nov  3  2009 .keep_sys-apps_baselayout-0
-rw-r--r--  1 root root  998805 Dec  3 11:47 System.map-2.6.31-gentoo-r6
-rw-r--r--  1 root root 1622919 Nov 29 08:36 System.map-2.6.31-gentoo-r6.old
-rw-r--r--  1 root root  972152 Nov 28 22:04 System.map-genkernel-x86-2.6.30-gentoo-r8
-rw-r--r--  1 root root  994202 Feb 26 14:41 System.map-genkernel-x86-2.6.31-gentoo-r10
-rw-r--r--  1 root root  993772 Nov 29 09:38 System.map-genkernel-x86-2.6.31-gentoo-r6
-rw-r--r--  1 root root 1024184 May 26 12:28 System.map-genkernel-x86-2.6.32-gentoo-r7
lrwxrwxrwx  1 root root       1 Nov  6  2009 boot -> .
-rw-r--r--  1 root root 4150688 Nov 29 08:46 bzImage-2.6.31-gentoo-r6
-rw-r--r--  1 root root   81239 Dec  3 11:47 config-2.6.31-gentoo-r6
-rw-r--r--  1 root root   67683 Nov 29 08:36 config-2.6.31-gentoo-r6.old
drwxr-xr-x  2 root root    1024 May 26 14:14 grub
-rw-r--r--  1 root root 3148494 Nov 28 23:37 initramfs-genkernel-x86-2.6.30-gentoo-r8
-rw-r--r--  1 root root 3192290 Feb 26 16:08 initramfs-genkernel-x86-2.6.31-gentoo-r10
-rw-r--r--  1 root root 3191030 Nov 29 11:08 initramfs-genkernel-x86-2.6.31-gentoo-r6
-rw-r--r--  1 root root 3196172 May 26 14:14 initramfs-genkernel-x86-2.6.32-gentoo-r7
-rw-r--r--  1 root root 2023968 Nov 28 22:04 kernel-genkernel-x86-2.6.30-gentoo-r8
-rw-r--r--  1 root root 2201888 Feb 26 14:41 kernel-genkernel-x86-2.6.31-gentoo-r10
-rw-r--r--  1 root root 2201472 Nov 29 09:38 kernel-genkernel-x86-2.6.31-gentoo-r6
-rw-r--r--  1 root root 2222944 May 26 12:28 kernel-genkernel-x86-2.6.32-gentoo-r7
drwx------  2 root root   12288 Nov  3  2009 lost+found
-rw-r--r--  1 root root 2218240 Dec  3 11:47 vmlinuz-2.6.31-gentoo-r6
-rw-r--r--  1 root root 4150688 Nov 29 08:36 vmlinuz-2.6.31-gentoo-r6.old
localhost boot # cat /boot/grub/grub.conf
# This is a sample grub.conf for use with Genkernel, per the Gentoo handbook
# http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
# If you are not using Genkernel and you need help creating this file, you
# should consult the handbook. Alternatively, consult the grub.conf.sample that
# is included with the Grub documentation.

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

#title Gentoo Linux 2.6.24-r5
#root (hd0,0)
#kernel /boot/kernel-genkernel-x86-2.6.24-gentoo-r5 root=/dev/ram0 real_root=/dev/sda3
#initrd /boot/initramfs-genkernel-x86-2.6.24-gentoo-r5

title=Gentoo Linux (2.6.32-gentoo-r7)
root (hd0,0)
kernel /boot/vmlinuz-2.6.31-gentoo-r6 root=/dev/hda3

title=Funtoo Linux (2.6.31-gentoo-r10)
root (hd0,0)
kernel /boot/vmlinuz-2.6.31-gentoo-r6 root=/dev/hda3

title=Funtoo Linux-2.6.31-gentoo-r6 (vmlinuz)
root (hd0,0)
kernel /boot/vmlinuz-2.6.31-gentoo-r6 root=/dev/hda3

title=Funtoo Linux-2.6.31-gentoo-r6
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.31-gentoo-r6 root=/dev/hda3

#title Funtoo Linux-2.6.30-r8
#root (hd0,0)
#kernel /boot/kernel-2.6.30-gentoo-r8 root=/dev/hda3

#title Funtoo Linux 2.6.30-r8 (rescue)
#root (hd0,0)
#kernel /boot/kernel-2.6.30-gentoo-r8 root=/dev/hda3 init=/bin/bb

#title Funtoo Linux 2.6.30-r8-genkernel
#root (hd0,0)
#kernel /boot/kernel-genkernel-x86-2.6.30-gentoo-r8 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3
#initrd /boot/initramfs-genkernel-x86-2.6.30-gentoo-r8

# vim:ft=conf:
localhost boot #


Hm, something is wrong here... It says 2.6.32 but vmlinuz is 2.6.31!


@ CrazyMYKL: This is a command for the grub2, isnt??
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri May 28, 2010 3:24 am    Post subject: Reply with quote

Indeed, change that and you will be good to go.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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