Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm looking into setting up NFSv4 with kerberos (via this). I believe I have everything working except I'm running kernel 3.0.0-16-virtual which doesn't seem to include rpcsec_gss_krb5. Which causes this command modprobe rpcsec_gss_krb5 to fail with FATAL: Module rpcsec_gss_krb5 not found..

If I try to proceed mounting the NFS without this module.

# sudo mount -t nfs4 -o sec=krb5 *my ip*:/ /mnt

Stdout:

mount.nfs4: an incorrect mount option was specified

syslog

gss_create: Pseudoflavor 390003 not found!
RPC: Couldn't create auth handle (flavor 390003)

How should I ago about adding this mod to the EC2 Ubuntu kernel?

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

If you are running 10.10 (Oneiric) you should have access to the linux-image-extra package which contains all of the modules normally stripped from the primary -virtual kernel. With this installed the -virtual kernel should have all of the same modules as a traditional -server kernel.

share|improve this answer
    
Thanks I looked all over for something like this. –  Kendall Hopkins Apr 17 '12 at 15:45
add comment

I solved this by just apt-get'ing the kernel I wanted.

sudo apt-get install linux-image-3.0.0-17-server
sudo nano /boot/grub/menu.lst

Add above others in /boot/grub/menu.lst.

title           Ubuntu 11.10, kernel 3.0.0-17-server
root            (hd0)
kernel          /boot/vmlinuz-3.0.0-17-server root=LABEL=cloudimg-rootfs ro console=hvc0  crashkernel=384M-2G:64M,2G-:128M
initrd          /boot/initrd.img-3.0.0-17-server

sudo reboot

share|improve this answer
    
The problem with adding this kernel manually is you will not receive any updates for it. You should install linux-image-server which will pull in updates as they occur. That said you probabally should be using linux-image-extras for this with the virtual kernels, see the other answer. –  Andy Apr 17 '12 at 13:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.