Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Upgrading kernel from 2.6.32-gentoo-r7 to 3.5.7
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
CurtE
Guru
Guru


Joined: 17 Apr 2004
Posts: 364
Location: Minneapolis, MN

PostPosted: Wed Jan 30, 2013 1:58 am    Post subject: [SOLVED] Upgrading kernel from 2.6.32-gentoo-r7 to 3.5.7 Reply with quote

Is there any "gotchas" I need to worry about in updating the kernel from 2.6.32-gentoo-r7 to 3.5.7?

I didn't realize that I was so far back until I tried to update the system.

The server is simple, no RAID or anything special.


Last edited by CurtE on Fri Feb 01, 2013 7:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Wed Jan 30, 2013 2:03 am    Post subject: Reply with quote

you might as well pull 3.7.5 from kernel.org and manually configure it.... keep your old kernel entries for booting if ur kernel fails
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Wed Jan 30, 2013 3:08 am    Post subject: Reply with quote

You need devtmpfs=y now. Other than that, nothing jumps to mind
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Wed Jan 30, 2013 5:05 am    Post subject: Reply with quote

and CONFIG_DEVTMPFS_MOUNT=y
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
CurtE
Guru
Guru


Joined: 17 Apr 2004
Posts: 364
Location: Minneapolis, MN

PostPosted: Wed Jan 30, 2013 7:03 pm    Post subject: Reply with quote

Kernel updated okay with a few errors.

MySQL will not start, I'll deal with that later.

Eth1 will not start either and the biggest problem at the moment.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Wed Jan 30, 2013 10:04 pm    Post subject: Reply with quote

BillWho wrote:
and CONFIG_DEVTMPFS_MOUNT=y

Why I need that? None of my boxes has this enabled and they work.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Wed Jan 30, 2013 11:21 pm    Post subject: Reply with quote

CurtE wrote:
Kernel updated okay with a few errors.

MySQL will not start, I'll deal with that later.

Eth1 will not start either and the biggest problem at the moment.


Check to make sure the name did not change. Udev has been doing some of that lately.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
CurtE
Guru
Guru


Joined: 17 Apr 2004
Posts: 364
Location: Minneapolis, MN

PostPosted: Thu Jan 31, 2013 12:14 am    Post subject: Reply with quote

What name are you referring to?
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Thu Jan 31, 2013 12:34 am    Post subject: Reply with quote

eth0, wlan0, etc. The newest udev changes them to things like wlp3s0 and enp2s0 unless a switch is set which tells it not to. I believe it is set automatically on an upgrade to preserve the old scheme. However, if you can't start your eth1 then may be worth using ifconfig to see if eth1 still exists or of its name changed.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Jan 31, 2013 12:46 am    Post subject: Reply with quote

CurtE,

Did you remove or rename /etc/udev/rules.d/80-net-name-slot.rules :?:

# This file is here to prevent your interfaces from being renamed automatically,
# because the new names will be drastically different from the eth*, wlan*, etc
# names you are used to working with.
#
# To activate this function, move this file to a name that doesn't end in.rules,
# or remove it then reboot your system.

Jaglover wrote:

BillWho wrote:
and CONFIG_DEVTMPFS_MOUNT=y

Why I need that? None of my boxes has this enabled and they work.

I might have misinterpreted an ebuild message or a portage news because I can't seem to find a reference to it now :oops:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
CurtE
Guru
Guru


Joined: 17 Apr 2004
Posts: 364
Location: Minneapolis, MN

PostPosted: Thu Jan 31, 2013 2:11 am    Post subject: Reply with quote

The rule is there but it is nothing but comments. Not sure why it is there.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Jan 31, 2013 2:34 am    Post subject: Reply with quote

CurtE,

I'm assuming from the contents is that if you leave the file alone conventional naming will be maintained.

# This functionality has not been tested with gentoo. In fact, we are aware that
# things will break if you activate it.

# If you are not comfortable testing this, leave this file as is. We will
# publish a news item when you can migrate.

Also the line udevadm test-builtin net_id /sys/class/net/ifname returns this for eth0 and wlan0:
Code:
laptop rules.d # udevadm test-builtin net_id /sys/class/net/wlan0
calling: test-builtin
=== trie on-disk ===
tool version:          197
file size:         5481459 bytes
header size             80 bytes
strings            1230475 bytes
nodes              4250904 bytes
load module index
ID_NET_NAME_MAC=wlxe006e6978fb5
ID_OUI_FROM_DATABASE=Hon Hai Precision Ind. Co.,Ltd.
ID_NET_NAME_PATH=wlp9s0
unload module index
laptop rules.d # udevadm test-builtin net_id /sys/class/net/eth0
calling: test-builtin
=== trie on-disk ===
tool version:          197
file size:         5481459 bytes
header size             80 bytes
strings            1230475 bytes
nodes              4250904 bytes
load module index
ID_NET_NAME_MAC=enx24b6fd545db1
ID_OUI_FROM_DATABASE=Dell Inc
ID_NET_NAME_PATH=enp5s0
unload module index

but my interfaces have remained at eth0 and wlan0

Are you getting a different interface assignment when you reboot or is the same name assigned as the last time :?:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
CurtE
Guru
Guru


Joined: 17 Apr 2004
Posts: 364
Location: Minneapolis, MN

PostPosted: Thu Jan 31, 2013 5:35 am    Post subject: Reply with quote

I get:
udevadm test-builtin net_id /sys/class/net/eth0

calling: test-builtin
error reading /etc/udev/hwdb.bin No such file or directory
load module index
ID_NET_NAME_MAC=enx0013723033bd
ID_NET_NAME_PATH=enp4s0
unload module index
Back to top
View user's profile Send private message
CurtE
Guru
Guru


Joined: 17 Apr 2004
Posts: 364
Location: Minneapolis, MN

PostPosted: Thu Jan 31, 2013 10:49 pm    Post subject: Reply with quote

I re-updated my server and found that some parts had not finished or not been done.

Now I get:

Code:
udevadm test-builtin net_id /sys/class/net/eth0

calling: test-builtin
===== trie on-disk =====
tool version:              197
file size:             5481459 bytes
header size:                80 bytes
strings                1230475 bytes
nodes                  4250904 bytes

load module index
ID_NET_NAME_MAC=enx0013723033bd
ID_OUI_FROM_DATABSE=Dell, Inc
ID_NET_NAME_PATH=enp4s0
unload module index


However, eth1 will still not start.
Back to top
View user's profile Send private message
CurtE
Guru
Guru


Joined: 17 Apr 2004
Posts: 364
Location: Minneapolis, MN

PostPosted: Fri Feb 01, 2013 5:27 am    Post subject: Reply with quote

I'm going to end this thread and start a new one to fix the issues. Thanks for the help.
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