Hi all, Has anyone used TrueCrypt on a XEN based machine before? I''m running CentOS 5.3 with kernel 2.6.18 but when I launch TrueCrypt, it keeps on telling me I need kernel 2.6.24 or later. "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 version to 2.6.24 or later" Now, the CentOS repositories doesn''t have 2.6.24, so do I have to build the kernel manually? And will there be any problems when doing so? I like to just run "yum update" when needed. Here''s the output from the machine: Linux zaxen02.lan 2.6.18-92.1.18.el5xen #1 SMP Wed Nov 12 09:48:10 EST 2008 x86_64 x86_64 x86_64 GNU/Linux -- Kind Regards Rudi Ahlers CEO, SoftDux Hosting Web: http://www.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jun 2, 2009 at 1:18 PM, Rudi Ahlers <rudiahlers@gmail.com> wrote:> Now, the CentOS repositories doesn''t have 2.6.24, so do I have to > build the kernel manually?If your Centos version is new-enough (5.3) you should be able to compile and use pv_ops kernel (e.g. latest 2.6.30 from kernel.org) on domU. You also need to have NX enabled (disabled by default on my BIOS) for it to work. Note that you''ll be missing some of -xen kernel features (like CPU hotplug. see http://wiki.xensource.com/xenwiki/XenParavirtOps) I use Lenny''s linux-image-2.6.26-2-xen-amd64 (converted to RPM using alien) on some RHEL5 domUs when I need features only available on newer kernel (like better fuse support). It needs some tweaking during installation (like creating initrd manuall), but it works fine and I have all -xen kernel features.> And will there be any problems when doing > so? I like to just run "yum update" when needed.You won''t get a usable kernel update with yum (since you''d be using newer kernel already), but updates for other packages should continue to work.> > Here''s the output from the machine: > > Linux zaxen02.lan 2.6.18-92.1.18.el5xen #1 SMP Wed Nov 12 09:48:10 EST > 2008 x86_64 x86_64 x86_64 GNU/LinuxThis is quite old. Centos 5.2? AFAIK support for pv_ops kernel is available since 5.3. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jun 2, 2009 at 9:20 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Tue, Jun 2, 2009 at 1:18 PM, Rudi Ahlers <rudiahlers@gmail.com> wrote: >> Now, the CentOS repositories doesn''t have 2.6.24, so do I have to >> build the kernel manually? > > If your Centos version is new-enough (5.3) you should be able to > compile and use pv_ops kernel (e.g. latest 2.6.30 from kernel.org) on > domU. You also need to have NX enabled (disabled by default on my > BIOS) for it to work. Note that you''ll be missing some of -xen kernel > features (like CPU hotplug. see > http://wiki.xensource.com/xenwiki/XenParavirtOps)Hi Fajar, I''m trying to access an encrypted HDD on the dom0, not in a domU. In fact, I don''t have any domU''s setup on that server yet. So, how will this work for dom0 then? I have honestly never compiled a custom XEN kernel before, and the last time I even compiled any kernels was on FreeBSD 4.6 & RedHat 4 - a long time ago.> > I use Lenny''s linux-image-2.6.26-2-xen-amd64 (converted to RPM using > alien) on some RHEL5 domUs when I need features only available on > newer kernel (like better fuse support). It needs some tweaking during > installation (like creating initrd manuall), but it works fine and I > have all -xen kernel features. > >> And will there be any problems when doing >> so? I like to just run "yum update" when needed. > > You won''t get a usable kernel update with yum (since you''d be using > newer kernel already), but updates for other packages should continue > to work.Ok, but what will happen when I run yum update? Can / will it overwrite the custom kernel, or will it give me errors?> >> >> Here''s the output from the machine: >> >> Linux zaxen02.lan 2.6.18-92.1.18.el5xen #1 SMP Wed Nov 12 09:48:10 EST >> 2008 x86_64 x86_64 x86_64 GNU/Linux > > This is quite old. Centos 5.2? AFAIK support for pv_ops kernel is > available since 5.3.It''s a CentOS 5.2 which has been updated with yum upgrade recently. But, running yum update kernel last night gave me this kernel> > -- > Fajar > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Kind Regards Rudi Ahlers CEO, SoftDux Hosting Web: http://www.SoftDux.com Office: 087 805 9573 Cell: 082 554 7532 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jun 2, 2009 at 3:44 PM, Rudi Ahlers <rudiahlers@gmail.com> wrote:> Hi Fajar, I''m trying to access an encrypted HDD on the dom0, not in a > domU. In fact, I don''t have any domU''s setup on that server yet. So, > how will this work for dom0 then? I have honestly never compiled a > custom XEN kernel before, and the last time I even compiled any > kernels was on FreeBSD 4.6 & RedHat 4 - a long time ago.That would be harder then :P dom0 kernels are somewhat tricky. For example, Lenny''s kernel worked fine for me on domU, but it crashed when used as dom0 on RHEL5. If you don''t want to compile a kernel, your best bet would be to use a distro that supports newer xen kernels out of the box. Debian Lenny is one of them. Opensuse is another. If you want to compile dom0 pv_ops kernel, Boris'' blog should provide some info : http://bderzhavets.wordpress.com , look for "How to install pvops enabled kernel" Or you could go the old -xen kernel method using patches from http://code.google.com/p/gentoo-xen-kernel/downloads/list> Ok, but what will happen when I run yum update? Can / will it > overwrite the custom kernel, or will it give me errors?Kernel packages shouldn''t overwrite each other, as they have different files/directories.>>> Here''s the output from the machine: >>> >>> Linux zaxen02.lan 2.6.18-92.1.18.el5xen #1 SMP Wed Nov 12 09:48:10 EST >>> 2008 x86_64 x86_64 x86_64 GNU/Linux >> >> This is quite old. Centos 5.2? AFAIK support for pv_ops kernel is >> available since 5.3. > > It''s a CentOS 5.2 which has been updated with yum upgrade recently. > But, running yum update kernel last night gave me this kernelThat''s odd. Are you getting stale updates? http://mirrors.kernel.org/centos/5/updates/x86_64/RPMS/kernel-xen-2.6.18-128.1.10.el5.x86_64.rpm It doesn''t matter much in this case though. My point was if you want to use pv_ops domU kernel, you need to have relatively new xen userland, and that your system might not have it yet. Since you want to use newer dom0 kernel, it shouldn''t matter much. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users