[Bug 180569] Kernel OOPS when mounting NFSv4 share with Kerberos 5 authentication

AleksanderAdamowski aleksander.adamowski at olo.org.pl
Sat Jan 5 14:18:30 UTC 2008


Public bug reported:

I have an NFSv4 setup with Kerberos 5 authentication that has worked
fine in Ubuntu Feisty Fawn.

On Ubuntu Gutsy, however, I get a kernel OOPS when I issue the mount
command:

mount -t nfs4 -o
sec=krb5i,proto=tcp,port=2049,soft,async,rsize=32768,wsize=32768
SERVERNAME:/ /var/nfs/SERVERNAME/home

The output in syslog:

Jan  5 15:09:07 laptop rpc.gssd[6834]: handling krb5 upcall 
Jan  5 15:09:07 laptop rpc.gssd[6834]: Full hostname for 'SERVERNAME' is 'SERVERNAME' 
Jan  5 15:09:07 laptop rpc.gssd[6834]: Full hostname for 'localhost.localdomain' is 'localhost.localdomain' 
Jan  5 15:09:07 laptop rpc.gssd[6834]: Key table entry not found while getting keytab entry for 'root/localhost.localdomain at KRBREALM' 
Jan  5 15:09:07 laptop rpc.gssd[6834]: Key table entry not found while getting keytab entry for 'nfs/localhost.localdomain at KRBREALM' 
Jan  5 15:09:07 laptop rpc.gssd[6834]: Key table entry not found while getting keytab entry for 'host/localhost.localdomain at KRBREALM' 
Jan  5 15:09:07 laptop rpc.gssd[6834]: Success getting keytab entry for nfs/*@KRBREALM 
Jan  5 15:09:07 laptop rpc.gssd[6834]: Successfully obtained machine credentials for principal 'nfs/laptop.KRBREALM at KRBREALM' stored in ccache 'FILE:/tmp/krb5cc_machine_KRBREALM' 
Jan  5 15:09:07 laptop rpc.gssd[6834]: INFO: Credentials in CC 'FILE:/tmp/krb5cc_machine_KRBREALM' are good until 1231078147 
Jan  5 15:09:07 laptop rpc.gssd[6834]: using FILE:/tmp/krb5cc_machine_KRBREALM as credentials cache for machine creds 
Jan  5 15:09:07 laptop rpc.gssd[6834]: using environment variable to select krb5 ccache FILE:/tmp/krb5cc_machine_KRBREALM 
Jan  5 15:09:07 laptop rpc.gssd[6834]: creating context using fsuid 0 (save_uid 0) 
Jan  5 15:09:07 laptop rpc.gssd[6834]: creating tcp client for server SERVERNAME 
Jan  5 15:09:07 laptop rpc.gssd[6834]: creating context with server nfs at SERVERNAME 
Jan  5 15:09:07 laptop rpc.gssd[6834]: DEBUG: serialize_krb5_ctx: lucid version! 
Jan  5 15:09:07 laptop rpc.gssd[6834]: prepare_krb5_rfc1964_buffer: serializing keys with enctype 4 and length 8 
Jan  5 15:09:07 laptop rpc.gssd[6834]: doing downcall 
Jan  5 15:09:07 laptop rpc.idmapd[6826]: nss_getpwnam: name '0' does not map into domain 'localdomain' 
Jan  5 15:09:07 laptop rpc.gssd[6834]: destroying client clnt1 
Jan  5 15:09:07 laptop rpc.gssd[6834]: destroying client clnt0 
Jan  5 15:09:07 laptop kernel: [  250.244000] BUG: unable to handle kernel paging request at virtual address 0a30747a
Jan  5 15:09:07 laptop kernel: [  250.244000]  printing eip:
Jan  5 15:09:07 laptop kernel: [  250.244000] f8e1d043
Jan  5 15:09:07 laptop kernel: [  250.244000] *pde = 00000000
Jan  5 15:09:07 laptop kernel: [  250.244000] Oops: 0000 [#1]
Jan  5 15:09:07 laptop kernel: [  250.244000] SMP 
Jan  5 15:09:07 laptop kernel: [  250.244000] Modules linked in: des cbc michael_mic arc4 ecb blkcipher ieee80211_crypt_tkip ieee80211_crypt_ccmp af_packet hci_usb binfmt_misc rfcomm l2cap bluetooth usbhid hid ppdev radeon drm acpi_cpufreq cpufreq_userspace cpufreq_stats cpufreq_ondemand cpufreq_conservative cpufreq_powersave freq_table container video button sbs dock ac battery smsc_ircc2 rpcsec_gss_krb5 auth_rpcgss nfs lockd sunrpc ip6table_filter iptable_raw xt_comment xt_policy xt_multiport ipt_ULOG ipt_TTL ipt_ttl ipt_TOS ipt_tos ipt_SAME ipt_REJECT ipt_REDIRECT ipt_recent ipt_owner ipt_NETMAP ipt_MASQUERADE ipt_LOG ipt_iprange ipt_ECN ipt_ecn ipt_CLUSTERIP ipt_ah ipt_addrtype nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda ts_kmp nf_conntrack_amanda nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_netbios_ns nf_conntrack_irc nf_conntrack_h323 ipv6 nf_co
Jan  5 15:09:07 laptop kernel: ntrack_ftp xt_tcpmss xt_pkttype xt_physdev xt_NFQUEUE xt_NFLOG xt_MARK xt_mark xt_mac xt_limit xt_length xt_helper xt_hashlimit ip6_tables xt_dccp xt_conntrack xt_CONNMARK xt_connmark xt_CLASSIFY xt_tcpudp xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack iptable_mangle nfnetlink iptable_filter ip_tables x_tables aes_i586 dm_crypt dm_mod loop sbp2 lp snd_intel8x0 snd_ac97_codec pcmcia ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy joydev snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event irtty_sir sir_dev pcspkr parport_pc snd_seq snd_timer snd_seq_device parport irda crc_ccitt yenta_socket rsrc_nonstatic pcmcia_core iTCO_wdt iTCO_vendor_support psmouse tifm_7xx1 tifm_core serio_raw snd soundcore snd_page_alloc sdhci mmc_core ipw2200 ieee80211 ieee80211_crypt shpchp pci_hotplug intel_agp agpgart evdev ext3 jbd mbcache sg sr_mod cdrom sd_mod ata_piix ohci1394 ata_generic libata scsi_mod ieee1394 ehci_hcd uhci_hcd usbcore tg3 thermal processor fan fuse apparm
Jan  5 15:09:07 laptop kernel: ommoncap
Jan  5 15:09:07 laptop kernel: [  250.244000] CPU:    0
Jan  5 15:09:07 laptop kernel: [  250.244000] EIP:    0060:[<f8e1d043>]    Not tainted VLI
Jan  5 15:09:07 laptop kernel: [  250.244000] EFLAGS: 00010206   (2.6.22-14-generic #1)
Jan  5 15:09:07 laptop kernel: [  250.244000] EIP is at nfs_fhget+0xd3/0x3e0 [nfs]
Jan  5 15:09:07 laptop kernel: [  250.244000] eax: 0a30746e   ebx: 00000000   ecx: f5f04a74   edx: 00004180
Jan  5 15:09:07 laptop kernel: [  250.244000] esi: f5f04a00   edi: f5e8dbd4   ebp: f5977128   esp: f5e8db88
Jan  5 15:09:07 laptop kernel: [  250.244000] ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Jan  5 15:09:07 laptop kernel: [  250.244000] Process mount.nfs4 (pid: 8861, ti=f5e8c000 task=f58d14c0 task.ti=f5e8c000)
Jan  5 15:09:07 laptop kernel: [  250.244000] Stack: f8e1cf10 f5e8dbac 0000000a c0139679 c20109dc f5977000 ffffcf69 c043c950 
Jan  5 15:09:07 laptop kernel: [  250.244000]        c012dc04 f5e8dc66 f5e8dbd4 f5e8dbd4 f5f04a00 f5e8dc64 f5e8dd1e f8e1b8d7 
Jan  5 15:09:07 laptop kernel: [  250.244000]        f58d1680 c200a000 f5f03600 00000002 00000000 00000000 00000000 00000000 
Jan  5 15:09:07 laptop kernel: [  250.244000] Call Trace:
Jan  5 15:09:07 laptop kernel: [  250.244000]  [<f8e1cf10>] nfs_init_locked+0x0/0x60 [nfs]
Jan  5 15:09:07 laptop kernel: [  250.244000]  [__rcu_process_callbacks+105/464] __rcu_process_callbacks+0x69/0x1d0
Jan  5 15:09:07 laptop kernel: [  250.244000]  [tasklet_action+84/192] tasklet_action+0x54/0xc0
Jan  5 15:09:07 laptop kernel: [  250.244000]  [<f8e1b8d7>] nfs4_get_root+0x177/0x260 [nfs]
Jan  5 15:09:07 laptop kernel: [  250.244000]  [<f8e1ee71>] nfs4_get_sb+0x291/0x370 [nfs]
Jan  5 15:09:07 laptop kernel: [  250.244000]  [vfs_kern_mount+182/304] vfs_kern_mount+0xb6/0x130
Jan  5 15:09:07 laptop kernel: [  250.244000]  [do_kern_mount+63/240] do_kern_mount+0x3f/0xf0
Jan  5 15:09:07 laptop kernel: [  250.244000]  [do_mount+1643/1856] do_mount+0x66b/0x740
Jan  5 15:09:07 laptop kernel: [  250.244000]  [tcp_v4_send_check+68/240] tcp_v4_send_check+0x44/0xf0
Jan  5 15:09:07 laptop kernel: [  250.244000]  [tcp_transmit_skb+1017/2048] tcp_transmit_skb+0x3f9/0x800
Jan  5 15:09:07 laptop kernel: [  250.244000]  [kunmap_atomic+94/160] kunmap_atomic+0x5e/0xa0
Jan  5 15:09:07 laptop kernel: [  250.244000]  [kunmap_atomic+106/160] kunmap_atomic+0x6a/0xa0
Jan  5 15:09:07 laptop kernel: [  250.244000]  [__handle_mm_fault+1671/2816] __handle_mm_fault+0x687/0xb00
Jan  5 15:09:07 laptop kernel: [  250.244000]  [__mod_timer+159/176] __mod_timer+0x9f/0xb0
Jan  5 15:09:07 laptop kernel: [  250.244000]  [do_page_fault+905/1680] do_page_fault+0x389/0x690
Jan  5 15:09:07 laptop kernel: [  250.244000]  [error_code+114/128] error_code+0x72/0x80
Jan  5 15:09:07 laptop kernel: [  250.244000]  [clip_constructor+8/160] clip_constructor+0x8/0xa0
Jan  5 15:09:07 laptop kernel: [  250.244000]  [copy_mount_options+171/336] copy_mount_options+0xab/0x150
Jan  5 15:09:07 laptop kernel: [  250.244000]  [sys_mount+119/192] sys_mount+0x77/0xc0
Jan  5 15:09:07 laptop kernel: [  250.244000]  [sysenter_past_esp+107/169] sysenter_past_esp+0x6b/0xa9
Jan  5 15:09:07 laptop kernel: [  250.244000]  =======================
Jan  5 15:09:07 laptop kernel: [  250.244000] Code: ff 89 44 24 14 89 54 24 18 81 8d 3c 01 00 00 82 00 00 00 89 5d 20 8b 57 20 66 89 55 6a 8b 86 64 01 00 00 0f b7 d2 8b 00 8b 40 38 <8b> 40 0c 89 85 90 00 00 00 89 d0 25 00 f0 00 00 3d 00 80 00 00 
Jan  5 15:09:07 laptop kernel: [  250.244000] EIP: [<f8e1d043>] nfs_fhget+0xd3/0x3e0 [nfs] SS:ESP 0068:f5e8db88

** Affects: linux-meta (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Kernel OOPS when mounting NFSv4 share with Kerberos 5 authentication
https://bugs.launchpad.net/bugs/180569
You received this bug notification because you are a member of Kernel
Bugs, which is a bug contact for linux-meta in ubuntu.




More information about the kernel-bugs mailing list