OpenVZ Forum


Home » General » Support » need 2.6.19+ kernel in debian
need 2.6.19+ kernel in debian [message #22771] Sat, 03 November 2007 13:00 Go to next message
happyfunball is currently offline  happyfunball
Messages: 18
Registered: November 2007
Location: Toronto
Junior Member
My new server uses a 3ware 9650 controller which is supported natively in 2.6.19+ kernels, but Etch only shows me the 2.18openvz kernels.

When I install the openvz-enterprise kernel from apt, the disk array is no longer recognized (and the machine can't boot).

How can I get a newer openvz kernel working in debian? Am I stuck with Fedora?
Re: need 2.6.19+ kernel in debian [message #22796 is a reply to message #22771] Sat, 03 November 2007 17:39 Go to previous messageGo to next message
vkhutornoy is currently offline  vkhutornoy
Messages: 2
Registered: November 2007
Junior Member

If you feel comfortable running on the test branch of the openvz patches, you may try this:
http://wiki.openvz.org/Download_kernel_2.6.22/Archives/ovz00 3.2

there is a patch for 2.6.22 vanilla kernel available - you may download it and build your custom kernel with help of this article:
http://wiki.openvz.org/Kernel_build

I am running on 2.6.22 with this patch and it looks stable for me.

[Updated on: Sat, 03 November 2007 17:40]

Report message to a moderator

Re: need 2.6.19+ kernel in debian [message #22800 is a reply to message #22796] Sat, 03 November 2007 22:35 Go to previous messageGo to next message
happyfunball is currently offline  happyfunball
Messages: 18
Registered: November 2007
Location: Toronto
Junior Member
This worked beautifully, thank you!
Re: need 2.6.19+ kernel in debian [message #23041 is a reply to message #22796] Sun, 11 November 2007 00:56 Go to previous messageGo to next message
happyfunball is currently offline  happyfunball
Messages: 18
Registered: November 2007
Location: Toronto
Junior Member
I spoke too soon. The kernel compiles and vzctl works, but none of my VE's can see the outside world. Packets are not being forwarded.

After checking on the HW node, it turns out that IPTables is not installed in the kernel. Looks like that openvz config file for 2.6.22 is wrong.

How can I get my VE's to see the outside world?
Re: need 2.6.19+ kernel in debian [message #23060 is a reply to message #23041] Sun, 11 November 2007 11:41 Go to previous messageGo to next message
vkhutornoy is currently offline  vkhutornoy
Messages: 2
Registered: November 2007
Junior Member

Well, basically, you do not need iptables to get packets forwarded. Have you checked if ip_forward is enabled?
As for the iptables issue - you probably need just to recompile your kernel with firewall enabled.
Re: need 2.6.19+ kernel in debian, 3ware Kernel Module 3x-9xxxx [message #23063 is a reply to message #22771] Sun, 11 November 2007 14:55 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

it's easy the build the 3ware-9xxx driver for Debian on 2.6.18 :

1) go to 3ware website (-> http://www.3ware.com/support/download.asp )
Select:

-> 3ware card 9560 SE
-> 3ware 9560 SE 2LP ...
-> Driver
-> Linux 2.6. source
-> next
-> 3w-9xxx-2.6.18kernel-9.4.2.tgz, fetch it and unpack it and change dir to drivers of 3ware tar-gz

2) Download the linux-headers for your kernel
# aptitude install <linux-header_for_your_running_kernel>

3) build module
# ln -s /usr/src/linux-headers-<downloaded_kernel-headers> /usr/src/linux

# make

You will find your module "3w-9xxx.ko" in the directory.

Re: need 2.6.19+ kernel in debian, 3ware Kernel Module 3x-9xxxx [message #23065 is a reply to message #23063] Sun, 11 November 2007 16:39 Go to previous messageGo to next message
happyfunball is currently offline  happyfunball
Messages: 18
Registered: November 2007
Location: Toronto
Junior Member
What do I do after I have the .ko driver file? How do I add that to a kernel?
Re: need 2.6.19+ kernel in debian [message #23074 is a reply to message #23060] Mon, 12 November 2007 05:42 Go to previous message
happyfunball is currently offline  happyfunball
Messages: 18
Registered: November 2007
Location: Toronto
Junior Member
ip_forward was enabled but it still didn't work. Enabling firewall in the conf didn't help either. I need iptables to monitor bandwidth so its important.

I dropped down to a 2.6.20 kernel, applied patches and config and compiled/installed. Everything now works ok.

What is wrong with this kernel (2.6.20 ?). Anything I should watch out for? I see that development on it has been stopped and only 2.6.22 is being worked on.
Previous Topic: DL380 G2 - CCISS
Next Topic: Ok, I got it up what now?
Goto Forum:
  


Current Time: Sun Nov 17 11:52:11 GMT 2024

Total time taken to generate the page: 0.03935 seconds