nfsv4 and 2.6.22-14.47 system freeze

Bug #181787 reported by Thomas Sondag
10
Affects Status Importance Assigned to Milestone
linux-source-2.6.22 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.22-14-generic

After upgrade to :
linux-image-2.6.22-14-generic 2.6.22-14.47

My system freeze (after a moment) if I try to mount a nfsv4 share with kerberos and work again when I boot on 2.6.22-10.
May be because of the last nfs security fix ?
The bug is easily reproducible if you need more info.

Jan 10 14:18:28 ispluxwlin06 kernel: [11382.283958] BUG: unable to handle kernel paging request at virtual address b116adb8
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.283967] printing eip:
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.283970] f8d88d50
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.283972] *pde = 00000000
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.283976] Oops: 0000 [#1]
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.283978] SMP
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.283983] Modules linked in: des cbc blkcipher nls_cp437 nls_utf8 cifs i915 drm rfcomm l2cap bluetooth vboxdrv ppdev acpi_cpufreq cpufreq_conservative cpufreq_ondemand cpufreq_stats cpufreq_userspace cpufreq_powersave freq_table video container dock sbs ac button battery rpcsec_gss_krb5 auth_rpcgss nfs lockd sunrpc ipv6 parport_pc lp parport snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi usblp af_packet snd_seq_midi_event serio_raw pcspkr snd_seq snd_timer snd_seq_device iTCO_wdt iTCO_vendor_support psmouse snd soundcore snd_page_alloc shpchp pci_hotplug intel_agp agpgart joydev evdev ext3 jbd mbcache sg sr_mod cdrom sd_mod ata_generic usbhid hid floppy ata_piix libata scsi_mod uhci_hcd tg3 ehci_hcd usbcore thermal processor fan fuse apparmor commoncap
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284077] CPU: 0
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284078] EIP: 0060:[<f8d88d50>] Not tainted VLI
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284079] EFLAGS: 00010292 (2.6.22-14-generic #1)
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284103] EIP is at rpc_call_sync+0x10/0xa0 [sunrpc]
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284107] eax: b116ad88 ebx: c8586000 ecx: 00000000 edx: 00000000
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284111] esi: fffffffb edi: c532bb9c ebp: c532bb9c esp: c532bb68
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284115] ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0068
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284119] Process mount.nfs4 (pid: 7447, ti=c532a000 task=d284e530 task.ti=c532a000)
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284122] Stack: c532bbac 00000001 c5cf0128 c8586000 c532bd1e c532bbac c532bb9c f8e7cac1
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284133] 00000000 00000000 00000000 00000000 00000000 f8ea2638 c532bd1e c532bb88
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284142] 00000000 00000000 00000000 c5cf0128 c3833400 c5cf0128 c532bd1e f8e6d7b3
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284152] Call Trace:
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284181] [<f8e7cac1>] nfs4_server_capabilities+0x71/0xe0 [nfs]
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284258] [<f8e6d7b3>] nfs4_get_root+0x53/0x260 [nfs]
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284539] [<f8e70e71>] nfs4_get_sb+0x291/0x370 [nfs]
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284744] [vfs_kern_mount+182/304] vfs_kern_mount+0xb6/0x130
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284789] [do_kern_mount+63/240] do_kern_mount+0x3f/0xf0
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284815] [do_mount+1643/1856] do_mount+0x66b/0x740
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284854] [tcp_v4_send_check+68/240] tcp_v4_send_check+0x44/0xf0
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284882] [tcp_transmit_skb+1017/2048] tcp_transmit_skb+0x3f9/0x800
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284891] [sock_aio_read+287/304] sock_aio_read+0x11f/0x130
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284915] [__handle_mm_fault+1671/2816] __handle_mm_fault+0x687/0xb00
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.284946] [mod_timer+24/64] mod_timer+0x18/0x40
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.285012] [do_page_fault+905/1680] do_page_fault+0x389/0x690
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.285085] [error_code+114/128] error_code+0x72/0x80
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.285122] [clip_constructor+8/160] clip_constructor+0x8/0xa0
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.285131] [copy_mount_options+171/336] copy_mount_options+0xab/0x150
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.285171] [sys_mount+119/192] sys_mount+0x77/0xc0
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.285200] [sysenter_past_esp+107/169] sysenter_past_esp+0x6b/0xa9
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.285237] [clip_ioctl+1088/1296] clip_ioctl+0x440/0x510
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.285270] =======================
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.285273] Code: 00 89 04 24 31 c0 c7 44 24 04 ff ff ff ff e8 28 93 3a c7 83 c4 08 c3 8d 74 26 00 55 57 89 d7 56 89 ca 53 be fb ff ff ff 83 ec 0c <f6> 40 30 20 74 0a 83 c4 0c 89 f0 5b 5e 5f 5d c3 f6 c1 01 75 75
Jan 10 14:18:28 ispluxwlin06 kernel: [11382.285327] EIP: [<f8d88d50>] rpc_call_sync+0x10/0xa0 [sunrpc] SS:ESP 0068:c532bb68

Revision history for this message
compudaze (compudaze) wrote :

I have the same problem after updating.

Maybe something to do with this: https://bugs.launchpad.net/ubuntu/hardy/+source/linux/+bug/164231

Revision history for this message
Karel Gardas (karel-gardas) wrote :
Download full text (4.6 KiB)

Hello,
I do get very similar issue but with Xen dom0 kernel from Ubuntu:
linux-image-2.6.22-14-xen 2.6.22-14.47
and the Ooops looks like:
Jan 19 22:54:52 silence kernel: [23874.448997] BUG: unable to handle kernel paging request at virtual address 9dc68767
Jan 19 22:54:52 silence kernel: [23874.449005] printing eip:
Jan 19 22:54:52 silence kernel: [23874.449008] e1766043
Jan 19 22:54:52 silence kernel: [23874.449012] 098e1000 -> *pde = 00000000:2b0c0001
Jan 19 22:54:52 silence kernel: [23874.449015] 144c0000 -> *pme = 00000000:00000000
Jan 19 22:54:52 silence kernel: [23874.449019] Oops: 0000 [#1]
Jan 19 22:54:52 silence kernel: [23874.449021] SMP
Jan 19 22:54:52 silence kernel: [23874.449025] Modules linked in: nfs lockd sunrpc isofs udf xt_physdev af_packet snd_rtctimer binfmt_misc rfcomm l2cap bluetooth ppdev container video button ac sbs dock battery bridge nls_iso8859_1 nls_cp437 vfat fat w83627hf hwmon_vid eeprom sbp2 lp snd_via82xx gameport ipv6 snd_mpu401_uart snd_via82xx_modem serial_core snd_seq_dummy parport_pc parport psmouse snd_ac97_codec xpad snd_seq_oss serio_raw ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm pcspkr snd_seq_midi snd_seq_midi_event snd_seq snd_timer snd_rawmidi snd_seq_device k8temp i2c_viapro i2c_core snd soundcore snd_page_alloc shpchp pci_hotplug amd64_agp xt_limit agpgart xt_tcpudp ipt_LOG ipt_MASQUERADE ipt_TOS ipt_REJECT nf_conntrack_irc nf_conntrack_ftp xt_state evdev iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nfnetlink iptable_mangle iptable_filter ip_tables x_tables usbhid hid ext3 jbd mbcache sg sd_mod ide_cd cdrom ide_disk ata_generic floppy sata_via libata scsi_mod ehci_hcd uhci_hcd usbcore via82cxxx ide_core
Jan 19 22:54:52 silence kernel: tg3 e1000 skge ohci1394 ieee1394 thermal processor fan capability commoncap fuse
Jan 19 22:54:52 silence kernel: [23874.449133] CPU: 0
Jan 19 22:54:52 silence kernel: [23874.449134] EIP: 0061:[<e1766043>] Not tainted VLI
Jan 19 22:54:52 silence kernel: [23874.449136] EFLAGS: 00210206 (2.6.22-14-xen #1)
Jan 19 22:54:52 silence kernel: [23874.449156] EIP is at nfs_fhget+0xd3/0x3e0 [nfs]
Jan 19 22:54:52 silence kernel: [23874.449160] eax: 9dc6875b ebx: 00000000 ecx: d1b10274 edx: 00004180
Jan 19 22:54:52 silence kernel: [23874.449164] esi: d1b10200 edi: c296dbd4 ebp: d58de3a0 esp: c296db88
Jan 19 22:54:52 silence kernel: [23874.449167] ds: 007b es: 007b fs: 00d8 gs: 0033 ss: 0069
Jan 19 22:54:52 silence kernel: [23874.449172] Process mount.nfs4 (pid: 17400, ti=c296c000 task=d1416f90 task.ti=c296c000)
Jan 19 22:54:52 silence kernel: [23874.449175] Stack: e1765f10 c296dbac 00000000 00007ff0 c296db98 d58de278 0059edeb 00000001
Jan 19 22:54:52 silence kernel: [23874.449185] c03ced18 c296dc66 c296dbd4 c296dbd4 d1b10200 c296dc64 c296dd1e e17648d7
Jan 19 22:54:52 silence kernel: [23874.449195] 000015b6 c16e3180 d1b10a00 00000002 00000000 00000000 00000000 00000000
Jan 19 22:54:52 silence kernel: [23874.449204] Call Trace:
Jan 19 22:54:52 silence kernel: [23874.449207] [<e1765f10>] nfs_init_locked+0x0/0x60 [nfs]
Jan 19 22:54:52 silence kernel: [23874.449268] [<e17648d7>] nfs4_get_root+0x177/0x260 [nfs]
Jan 19 22:5...

Read more...

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi All,

Fixes for bug https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/164231 were committed. I believe that bug is related to this one. Care to test the latest updates? Thanks.

Changed in linux-source-2.6.22:
status: New → Incomplete
Revision history for this message
Thomas Sondag (thomas-sondag) wrote :

fix my issue thx :)

tsondag@ispluxwlin06:~$ dpkg -l | grep linux-image-2.6.22-14
ii linux-image-2.6.22-14-generic 2.6.22-14.51

tsondag@ispluxwlin06:~$ uname -a
Linux ispluxwlin06 2.6.22-14-generic #1 SMP Fri Feb 1 04:59:50 UTC 2008 i686 GNU/Linux

tsondag@ispluxwlin06:~$ mount
/dev/sda1 on / type ext3 (rw,noatime,acl,user_xattr,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.22-14-generic/volatile type tmpfs (rw)
none on /tmp type tmpfs (rw)
securityfs on /sys/kernel/security type securityfs (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
ispluxslin15:/ on /targets type nfs4 (rw,sec=krb5,addr=136.173.22.177)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)

tsondag@ispluxwlin06:~$ ls /targets
home lost+found private public

Changed in linux-source-2.6.22:
status: Incomplete → Fix Released
Revision history for this message
Karel Gardas (karel-gardas) wrote : Re: [Bug 181787] Re: nfsv4 and 2.6.22-14.47 system freeze

I've already found a fix here:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/164231/comments/22

and once I rebuild the kernel myself it (NFSv4) started to work again. I
tested it lightly just between Ubuntu's dom0 and Solaris 10 domU.

Cheers,
Karel

Leann Ogasawara wrote:
> Hi All,
>
> Fixes for bug https://bugs.launchpad.net/ubuntu/+source/linux-
> source-2.6.22/+bug/164231 were committed. I believe that bug is related
> to this one. Care to test the latest updates? Thanks.
>
> ** Changed in: linux-source-2.6.22 (Ubuntu)
> Status: New => Incomplete
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.