Avatar of lhrslsshahi
lhrslsshahi
 asked on

Redhat Linux kernel upgrade due to Truecrypt error

Hi,

The first time that I mounted an Truecrypt encrypted volume, it gave the following error message:

Your system uses an old version of the Linux kernel.

Due to a bug in the Linux kernel, your system may stop responding when
writing data to a TrueCrypt volume. This problem can be solved by upgrading
the kernel to version 2.6.24

Can I get rid of this error, or do I have to do kernel upgrade? If and only if the kernel upgrade is required I am looking for clear instructions.

Thanks
LinuxLinux SecurityLinux Networking

Avatar of undefined
Last Comment
gheist

8/22/2022 - Mon
Patrick Bogers

It depends, if you are on a long term supported Redhat distro which is under support you would not need to upgrade. In this case you should not want to use the Truecript volume.
If you are using a plain old kernel? yes you should upgrade.

What version are you currently running?
lhrslsshahi

ASKER
We don't have Redhat subscription, on the RHEL 5.4 VM the kernel is 2.6.18

I have downloaded the 2.6.24 tar.gz and would like clear and concise instructions to do this.

I will take a snapshot before I make any changes.
SOLUTION
farzanj

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Patrick Bogers

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
lhrslsshahi

ASKER
current kernel for its precompiled architecture x86_64 will these instructions be applicable?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
SOLUTION
gheist

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
lhrslsshahi

ASKER
I have Redhat Linux and nothing do with Oracle from reading on the net the concensus is that I can use 2.6.24. I am new to Linux any help would be appreciated.

Thanks
gheist

Choose one of kernels compatible with RHEL5 and your requirements:
Redhat MRG/RT (EOM, or expensive if extended support)
Oracle UEK (more or less free to use)
Fedora 12-14 (5 years out of support)
Mazdajai

Do you have the latest version of truecrypt (7.1)? The message can be ignored depends on version of TC you installed.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
lhrslsshahi

ASKER
I am on 7.1a is that not the latest?
gheist

According to the website it is the latest version.
RHEL kernel has many patches. Probably you can see around the place where error comes what kernel patch is needed and then check if RHEL has the patch applied...
SOLUTION
Mazdajai

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
gheist

VM being mentioned - UEK or MRG will not be very vm friendly, e.g using more CPU time than common kernel and etc.
Easiest way to truecrypt compatibility is migrating to CentOS 6
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
lhrslsshahi

ASKER
I have been away over the festive period. Ready to have a crack on this.

CentOS 6 isn't an options as there is a lot bespoke configuration involved.

I have managed to get hold of Redhat subscription details and having issues with the registering the VM via RHN.

Is there a way just to download the Kernel RPM from the Redhat website with dependencies complied?
SOLUTION
Mazdajai

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
gheist

Yes. if you have subscription you can download kernel from Base software channel (or CentOS for that instance)
Probably you need to delete dupe systems to get there.
You can downolad latest el5 kernel from CentOS too
Sadly that one  will be 2.6.18-whatever and even latest version will trigger the warning.

Since your system is not supported by RedHat in any way why dont you install elrepo or uek kernel to make it compatible with your software?