OpenVZ Forum


Home » General » Support » forcedeth problems with 2.6.18-028stab045.1
forcedeth problems with 2.6.18-028stab045.1 [message #21904] Wed, 17 October 2007 19:16 Go to next message
wilf is currently offline  wilf
Messages: 30
Registered: January 2007
Location: UK
Member
I have been having fun and games bringing a new OpenVZ server live. I have been seeking help in the Gentoo forums until I realised that the problem was driver/kernel related (see this. All of the hardware I am using is listed here.

I downloaded 2.6.19 hoping to pick up the .57 forcedeth driver, which I did. Unfortunately it looks like major irq work happened between 2.6.18 and 2.6.19.

Anyway, I have ended up with no option but to try the dev branch 2.6.22 kernel, which is OK (FX: Gulp!) but I can't get that to compile either. As usual for me, I downloaded the vanilla 2.6.22 kernel and applied the patch-ovz003.2-combined.
  CC      arch/x86_64/kernel/ldt.o
In file included from arch/x86_64/kernel/ldt.c:26:
include/bc/kmem.h: In function 'should_charge':
include/bc/kmem.h:47: error: dereferencing pointer to incomplete type
include/bc/kmem.h:49: error: dereferencing pointer to incomplete type
make[1]: *** [arch/x86_64/kernel/ldt.o] Error 1
make: *** [arch/x86_64/kernel] Error 2
Any help would be gratefully appreciated as I am left with an expensive underutilised heater without OpenVZ working Smile

Best Regards, Paul.
Re: forcedeth problems with 2.6.18-028stab045.1 [message #21905 is a reply to message #21904] Wed, 17 October 2007 19:53 Go to previous messageGo to next message
wilf is currently offline  wilf
Messages: 30
Registered: January 2007
Location: UK
Member
I have 2.6.18-028stab045.1 working with an old Realtek 8139, so I have a temporary fix. Forcedeth will have to wait until either the driver is backported or the 2.6.22 OpenVZ goes gold.

Best Regards, Paul.
Re: forcedeth problems with 2.6.18-028stab045.1 [message #21961 is a reply to message #21905] Thu, 18 October 2007 09:02 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hello Paul,

could you please give me some details?
i've just taken a 2.6.22 mainstream kernel, applied patch-ovz003.2-combined.gz from http://wiki.openvz.org/Download_kernel_2.6.22 and successfully compiled the kernel with config kernel-2.6.22-x86_64.config.ovz taken from the same page.
No errors.

Could you please tell me which gcc version and config did you use?

Thank you,

--
Konstantin.


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: forcedeth problems with 2.6.18-028stab045.1 [message #22063 is a reply to message #21961] Fri, 19 October 2007 10:17 Go to previous messageGo to next message
wilf is currently offline  wilf
Messages: 30
Registered: January 2007
Location: UK
Member
Hi Konstantin,

Quote:

could you please give me some details?
i've just taken a 2.6.22 mainstream kernel, applied patch-ovz003.2-combined.gz from http://wiki.openvz.org/Download_kernel_2.6.22 and successfully compiled the kernel with config kernel-2.6.22-x86_64.config.ovz taken from the same page.
No errors.
Could you please tell me which gcc version you used?

fox ~ # gcc --version
gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Quote:

and which config you used?

Hmmm... I just downloaded kernel-2.6.22-x86_64.config.ovz, used this and the kernel has complied very nicely. Looks like you hit the nail on the head - Sorry! (FX: Sheepish grin)

In your opinion, how close to release is the 2.6.22 branch?

Best Regards, Paul.


Re: forcedeth problems with 2.6.18-028stab045.1 [message #22075 is a reply to message #22063] Fri, 19 October 2007 12:46 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi Paul.

wilf wrote on Fri, 19 October 2007 14:17

In your opinion, how close to release is the 2.6.22 branch?


Well, not too close i'm afraid. It still doesn't support the online migration and there still some known problems with netfilters. Probably netfilters will be fixed quite soon, but can't say anything about the online migration.

From my point of view if you are going just to play with OpenVZ and won't set it in production and don't need the online migration - you can stay with 2.6.22, otherwise i suppose it's better to keep trying to backport the required forcedeth patches to 2.6.18 branch.

Regards,
--
Konstantin.


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...

[Updated on: Fri, 19 October 2007 12:47]

Report message to a moderator

Re: forcedeth problems with 2.6.18-028stab045.1 [message #22083 is a reply to message #22075] Fri, 19 October 2007 15:26 Go to previous message
wilf is currently offline  wilf
Messages: 30
Registered: January 2007
Location: UK
Member
Hi Konstantin,

Thanks for the reply. The machine I was building is for me - but it needs to be mission critical as it will be providing a service to customers. WRT the forcedeth driver, I have simply compiled it out and stuck in two el cheapo rhine cards, which work a treat.

I can't really see the point of backporting the latest forcedeth driver to 2.6.18 as one can always use another card. This is especially true as there have been quite a lot of under the bonnet changes since 2.6.18 to driver architecture WRT pci/irq handling, so making the changes isn't ten minutes work. I spent an hour or two on it and ended up with something which booted and recognised the card, and then died a very smelly death (or should I say deth? Aieee!) taking the kernel with it.

I am looking forward to Linus changing his mind about including only kvm in the kernel, and opening the door to including OpenVZ (and dare I mention it, others too). OpenSource is also about choice, just having kvm is restrictive. The last time I suggested including OpenVZ on the kernel mailing list it didn't go down too well Smile

Although I don't use online migration ATM, I think on balance I'll stick with 2.6.18 for the time being.

Best Regards, Paul.

[Updated on: Fri, 19 October 2007 15:28]

Report message to a moderator

Previous Topic: NFS Problem
Next Topic: How Limited bandwidth
Goto Forum:
  


Current Time: Sat Nov 16 09:25:58 GMT 2024

Total time taken to generate the page: 0.03215 seconds