View previous topic :: View next topic |
Author |
Message |
[JB] n00b
Joined: 06 Oct 2003 Posts: 5 Location: Ljubljana, Slovenia
|
Posted: Thu Feb 05, 2004 11:59 am Post subject: AMD64 - going from 2.6 back to 2.4 |
|
|
Got Gentoo up and running smoothly on a dual Opteron box, it takes all the pounding that the ingeneers here can throw at it, but am now stuck with a problem.
An application will not run on 2.6 kernels.
So my quiestions are:
Which 2.4 kernel should I use for AMD64? Patches?
I am also worried that there might be some problems as everything on the system was done with a 2.6 kernel from the start. Does anyone know if there will be any surprises, say with the file systems or such?
Thanks all.
PS: My appologies if there is already such a topic, |
|
Back to top |
|
|
LaNcom Apprentice
Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
Posted: Thu Feb 05, 2004 2:18 pm Post subject: |
|
|
The problem is, kernel 2.4.x is deprecated on AMD64...
What app doesn't work? Did you try 2.6.2, it fixes a lot of the incompatibility introduced with 2.6? |
|
Back to top |
|
|
Kioshen Tux's lil' helper
Joined: 23 Sep 2003 Posts: 109 Location: Montreal, PQ
|
Posted: Thu Feb 05, 2004 8:55 pm Post subject: |
|
|
What application is not running on the 2.6 ? Does it need a particular module or something ? Right now 2.4 is deprecated because all of the patches are applied to the gentoo-dev-sources for a reason since it's still in a beta stage. Are you using the latest gentoo-dev-kernel ?
Maybe try deactivating ntpl in the kernel. I know you'll suffer from a performance loss but it might help. Some apps written for 2.4 don't like ntpl (mostly commercial software certified for a particular distro).
By the way you could use a 2.4 kernel. The only thing is that you would have to hunt all of the amd64 patches by yourself and apply them manually. That's the inconveniance or use RH,Suse or MDK solutions ... I know it's really expensive but they are using 2.4 kernels if I remember it correctly.
Maybe naming the application would help us help you way better than just "an application that doesn't work with 2.6". |
|
Back to top |
|
|
[JB] n00b
Joined: 06 Oct 2003 Posts: 5 Location: Ljubljana, Slovenia
|
Posted: Fri Feb 06, 2004 8:31 am Post subject: |
|
|
Quote: | mostly commercial software certified for a particular distro |
And that is the approximate case. The application is the Magma suite from Magma Design Automation (www.magma-da.com).
Thank you for your suggestions, I'll try them and report back. |
|
Back to top |
|
|
Kioshen Tux's lil' helper
Joined: 23 Sep 2003 Posts: 109 Location: Montreal, PQ
|
Posted: Fri Feb 06, 2004 5:56 pm Post subject: |
|
|
You should check this page :
http://www.magma-da.com/c/@OnQqEF9CQ_wfc/Pages/OSRequirements.html
There is an interesting bit of info about how to make it work with RHE. It is missing this service and env var. :
Quote: | Please note Red Hat Enterprise Linux 3 requires the name service cache daemon (nscd) be truned on (run "/etc/init.d/nscd start" as root) and the LD_ASSUME_KERNEL environment variable to be set to 2.4.1. |
|
|
Back to top |
|
|
[JB] n00b
Joined: 06 Oct 2003 Posts: 5 Location: Ljubljana, Slovenia
|
Posted: Mon Feb 09, 2004 11:59 am Post subject: |
|
|
I believe the line LD_ASSUME_KERNEL="2.4.1" is there to tell Magma you're running kernel 2.4.1, so that doesn't help.
Quote: | Maybe try deactivating ntpl in the kernel |
How should I go about this?
Thanks,
Peter |
|
Back to top |
|
|
Kioshen Tux's lil' helper
Joined: 23 Sep 2003 Posts: 109 Location: Montreal, PQ
|
Posted: Mon Feb 09, 2004 2:41 pm Post subject: |
|
|
Yes it could work since the application is assuming that it's running a specific kernel. You just fool the application. It could work. Did you even try it out, it won't break anything it's just a temporary variable. If it doesn't work you could say to me "I told ya" but try it out nevertheless.
As for ntpl, just deactivate preemption in the kernel and it should be enough. If not add -ntpl to your kernel boot line in grub or lilo. |
|
Back to top |
|
|
[JB] n00b
Joined: 06 Oct 2003 Posts: 5 Location: Ljubljana, Slovenia
|
Posted: Mon Feb 09, 2004 4:04 pm Post subject: |
|
|
Quote: | Did you even try it out |
Sorry for not specifying previously. I did try it and it doesn't work.
Hm, the preemption is disabled in the kernel, I'll try -ntpl and see what happens.
Thanks,
Pete |
|
Back to top |
|
|
|