From: Ondrej Valousek Subject: Kernel panic by nfs-client and selinux Date: Wed, 25 Mar 2009 10:21:41 +0100 Message-ID: <49C9F7A5.6060106@s3group.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed To: linux-nfs@vger.kernel.org Return-path: Received: from lynx.s3group.cz ([193.85.188.86]:44161 "EHLO lynx.s3group.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756539AbZCYKId (ORCPT ); Wed, 25 Mar 2009 06:08:33 -0400 Received: from expraha.prague.ad.s3group.com (expraha.s3group.cz [192.168.60.206]) by lynx.s3group.cz with ESMTP id n2P9LgUd010738 for ; Wed, 25 Mar 2009 10:21:43 +0100 Sender: linux-nfs-owner@vger.kernel.org List-ID: Hi list, Just wondering if this rings any bell? Backtrace: SELinux: initialized (dev 0:1d, type nfs4), uses genfs_contexts Unable to handle kernel paging request at ffff8801e09b6000 RIP: [] copy_page+0x32/0xe4 PGD 1f4a067 PUD 2d52067 PMD 2e57067 PTE 0 Oops: 0000 [1] SMP last sysfs file: /devices/pci0000:00/0000:00:1c.0/0000:04:00.0/0000:05:00.0/irq CPU 0 Modules linked in: hfsplus loop tun xt_physdev netloop netbk blktap blkbk ipt_MASQUERADE iptable_nat ip_nat xt_state ip_conntrack nfnetlink ipt_REJECT xt_tcpudp iptable_filter i p_tables x_tables bridge ipmi_devintf ipmi_si ipmi_msghandler dell_rbu nfsd exportfs autofs4 hidp nfs lockd fscache nfs_acl rfcomm l2cap bluetooth rpcsec_gss_krb5 auth_rpcgss de s sunrpc ipv6 xfrm_nalgo crypto_api mptctl dm_multipath video sbs backlight i2c_ec i2c_core button battery asus_acpi ac parport_pc lp parport st joydev sr_mod ide_cd i5000_edac edac_mc pcspkr aic7xxx cdrom bnx2 serial_core serio_raw shpchp dm_snapshot dm_zero dm_mirror dm_mod mppVhba(U) usb_storage ata_piix libata mptsas mptscsih scsi_transport_sas mpt base aic79xx scsi_transport_spi megaraid_sas mppUpper(U) sg sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd Pid: 6640, comm: smbd Tainted: G 2.6.18-92.1.17.el5xen #1 RIP: e030:[] [] copy_page+0x32/0xe4 RSP: e02b:ffff8801e09b59f8 EFLAGS: 00010202 RAX: 0000000000000246 RBX: 00007fffdaa61c38 RCX: 0000000000000025 RDX: 000000000000e02b RSI: ffff8801e09b5fe8 RDI: ffff880193182540 RBP: ffffffff885ba9a0 R08: 00007fffdaa63530 R09: 00007fffdaa62d30 R10: 0000000000000004 R11: 00002b0bd27f2135 R12: 0000000000000033 R13: ffff880193182000 R14: ffff880193182000 R15: ffff880156642fd5 FS: 00002b0bd3a1fb70(0000) GS:ffffffff805af000(0000) knlGS:0000000000000000 CS: e033 DS: 0000 ES: 0000 Process smbd (pid: 6640, threadinfo ffff8801e09b4000, task ffff880161dc2860) Stack: ffff88014f08bec0 ffff8801e09b5aa8 ffff880193182000 ffffffff80315001 ffff8801e09b5aa8 ffff88014f08bec0 ffffffff885ba9a0 ffff88014f08bec0 ffffffff885ba9a0 ffff8801e09b5aa8 Call Trace: [] selinux_sb_copy_data+0x23/0x1c5 [] vfs_kern_mount+0x79/0x11a [] :nfs:nfs_do_submount+0xc0/0xdb [] :nfs:nfs_follow_mountpoint+0xe3/0x1d9 [] avc_has_perm+0x43/0x55 [] :nfs:nfs_access_get_cached+0xab/0xfa [] selinux_inode_follow_link+0x5f/0x6a [] __link_path_walk+0xb71/0xf42 [] link_path_walk+0x5c/0xe5 [] :nfs:nfs_sync_inode_wait+0x83/0x1db [] do_path_lookup+0x270/0x2e8 [] getname+0x15b/0x1c1 [] __user_walk_fd+0x37/0x4c [] vfs_stat_fd+0x1b/0x4a [] sys_newstat+0x19/0x31 [] tracesys+0x47/0xb2 [] tracesys+0xa7/0xb2 Happens on RHEL-5 with both 2.6.18-92.1.17.el5xen and 2.6.18-128.el5xen kernels. Happens occasionally with the first one and frequently with the latter one (shipped with RHEL 5.3). Just wondering if it is more likely some issue with NFS or SELinux.... Many thanks Ondrej