Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


2.6.4-linode1-1um

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> General Discussion
Author Message
adamgent



Joined: 23 Jun 2003
Posts: 261

Posted: Fri Mar 19, 2004 7:00 am    Post subject: 2.6.4-linode1-1um  

Those of you who want to check out the new 2.6.4 kernel available, which can be run even if the host is on 2.4

You shoud make the dir /sys

It is used to store some of the things that used to be in /proc under 2.4

Adam
Back to top  
griffinn



Joined: 09 Sep 2003
Posts: 47

Posted: Sat Mar 20, 2004 12:06 am    Post subject:  

Some distros, like Debian (unstable), already know about kernel 2.6 and will mount sysfs automagically in its init scripts. But depending on your distro, you may want to add this line to /etc/fstab:
Code: sysfs   /sys   sysfs   defaults   0   0
Back to top  
griffinn



Joined: 09 Sep 2003
Posts: 47

Posted: Mon Mar 22, 2004 11:17 am    Post subject:  

I tried switching to 2.6.4, and it didn't go very well. In fact, the machine hanged and I had to revert to 2.4.25.

In its dying moments my lish console had the following to say: Code: NET: Registered protocol family 1
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
ip6_tables: (C) 2000-2002 Netfilter core team
NET: Registered protocol family 17
NET: Registered protocol family 15
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Initializing software serial port version 1
Using anticipatory io scheduler
 /dev/ubd/disc0: unknown partition table
 /dev/ubd/disc1: unknown partition table
Initializing stdio console driver
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
INIT: version 2.85 booting
INIT: Entering runlevel: 2
INIT: Id "0" respawning too fast: disabled for 5 minutes
INIT: no more processes left in this runlevel

The two lines that read "unknown partition table" are particularly suspect. Has anyone tried 2.6.4 and got the same results?
Back to top  
asura



Joined: 03 Jan 2004
Posts: 71
Location: Oregon

Posted: Mon Mar 22, 2004 12:32 pm    Post subject:  

2.6.4 worked fine with my Fedora distro. Didn't even have to add /sys to the fstab file nor any other changes were needed to get it working.
Back to top  
Bill Clinton



Joined: 23 Nov 2003
Posts: 79

Posted: Mon Mar 22, 2004 1:00 pm    Post subject: Re: 2.6.4-linode1-1um  

adamgent wrote: Those of you who want to check out the new 2.6.4 kernel available, which can be run even if the host is on 2.4

You shoud make the dir /sys

It is used to store some of the things that used to be in /proc under 2.4

Adam

Additionally, you need to have udev and module-init-tools installed. These two items are usually not shipped distributions by default. (Newer ones will have it.)

Bill Clinton
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ

Posted: Mon Mar 22, 2004 2:38 pm    Post subject: Re: 2.6.4-linode1-1um  

Bill Clinton wrote: Additionally, you need to have udev and module-init-tools installed. These two items are usually not shipped distributions by default. (Newer ones will have it.)

Bill Clinton
This is wrong. You don't need udev or module-init-tools (especially since modules are disabled).

I'm working on a "guide" to help transition to 2.6

-Chris
Back to top  
Matthew Lloyd



Joined: 05 Apr 2004
Posts: 10

Posted: Mon Apr 05, 2004 4:09 am    Post subject: Re: 2.6.4-linode1-1um -- upgrade your DHCP client!  

I'm using a fresh Debian/stable installation and couldn't get it to boot with the 2.6 kernel, even after I added the above line to fstab (thanks for the info! :)). I couldn't SSH into the box because DHCP had died saying "Unrecognized kernel version".

Google-happy, I found this great post - http://lists.backports.org/pipermail/backports/2003-December/000048.html - and upgraded my DHCP client to v3 by booting with the 2.4 kernel. This fixed the problem and I now have Woody with the 2.6 kernel - and it's fast!
Back to top  
barries



Joined: 02 Mar 2005
Posts: 3
Location: Pittsburgh

Posted: Mon May 21, 2007 1:51 pm    Post subject: debian small migration -> 2.6.20.1; fixing dhcp breakage  

The link given above seems to have rotted. Googling found me another link that said to edit /sbin/dhclient and alter the regex that matches the kernel version to match 2.6 by adding the "6" shown here:

2.[123456].*)

Also, caker pointed out that you should

apt-get install dhcp3-client

to fix in the correct manner (once you have your network back).

Background, to help others searching for an answer:

The migration to a new host upgraded my debian small distro's kernel to latest 2.6 (2.6.21.1), and the network did not come up.

Doing a `ifdown eth0; ifup eth0` yielded an "Unrecognized kernel version" error.

I did the above edit and `ifup eth0` no longer complains. Haven't yet rebooted to be 100% sure.

- Barrie
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2392
Location: Galloway, NJ

Posted: Mon May 21, 2007 3:17 pm    Post subject:  

Since we've revived this old thread, and there may be a few others who hit this, here's the deal:

Very old Debian deployments (two or three years old) need to "apt-get install dhcp3-client". I'm pretty sure if you've ever ran apt-get update, apt-get upgrade in the past few years you would have pulled this in already.

-Chris
Back to top  
 
       Linode.com Forum Forum Index -> General Discussion
Page 1 of 1