[Bug 577747] New: bug on umounting cifs
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c0 Summary: bug on umounting cifs Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: nevion@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=341149) --> (http://bugzilla.novell.com/attachment.cgi?id=341149) dmesg bug log User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.1 Safari/532.9 Umount a cifs mount (served from samba) and the attached bug happens without fail since the oS kernel update a few weeks ago to 2.6.31.8. While the system seems to act fine afterwords, the system will not shutdown or suspend and sync commands freeze and become unkillable. A magic sysrq reisub is required to reboot and I believe I've lost some data a few times. Attached is 3 different bug entries, 2 for 2.6.31.8 and one for 2.6.31.12 which I tried hoping it fixed the problem. Reproducible: Always Steps to Reproduce: 1. mount a cifs share 2. umount the cifs share 3. ??? 4. Profit -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c1 --- Comment #1 from Jason Newton <nevion@gmail.com> 2010-02-06 08:09:30 UTC --- I should also mention that the cifs share does unmount. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c2 --- Comment #2 from Jason Newton <nevion@gmail.com> 2010-02-06 08:14:06 UTC --- (In reply to comment #1)
I should also mention that the cifs share does unmount.
and subsequent mouunt/umount of the same share seem to proceed without error. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High AssignedTo|kernel-maintainers@forge.pr |sjayaraman@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c3 Suresh Jayaraman <sjayaraman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #3 from Suresh Jayaraman <sjayaraman@novell.com> 2010-02-10 15:00:47 UTC --- Does using noserverino mount option help? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c Suresh Jayaraman <sjayaraman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |nevion@gmail.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c4 --- Comment #4 from Jason Newton <nevion@gmail.com> 2010-02-10 17:57:18 UTC --- Yes, it hasn't faulted yet since I tested. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c6 --- Comment #6 from Suresh Jayaraman <sjayaraman@novell.com> 2010-02-17 10:11:56 UTC --- The problem could be because of duplicate inode numbers or when the server returns incorrect inode number. You could check whether there are any duplicate inode numbers by doing something like: - stat * | grep Inode and look for duplicates in the Inode number on the mount point - a network packet capture (refer - http://en.opensuse.org/Bugs/Samba#Debugging_cifs_vfs_client What is the server running - OS, Samba version? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c7 --- Comment #7 from Suresh Jayaraman <sjayaraman@novell.com> 2010-02-17 10:43:14 UTC --- Created an attachment (id=342849) --> (http://bugzilla.novell.com/attachment.cgi?id=342849) Proposed patch Please check and confirm whether the attached patch fixes the issues for you without noserverino. Thanks! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c8 --- Comment #8 from Jason Newton <nevion@gmail.com> 2010-02-17 11:41:19 UTC --- The server is running OpenSuse 11.2 as well with samba-3.4.2-1.1.3.1.x86_64, slipped my mind to mention. Will get around to testing at some point. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c9 --- Comment #9 from Suresh Jayaraman <sjayaraman@novell.com> 2010-02-19 17:58:26 UTC --- (In reply to comment #8)
The server is running OpenSuse 11.2 as well with samba-3.4.2-1.1.3.1.x86_64, slipped my mind to mention.
Will get around to testing at some point.
Thanks, that is appreciated. I have committed the patch to openSUSE-11.2 repo. You could grab the upcoming KOTD kernel for testing too. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c10 --- Comment #10 from Jason Newton <nevion@gmail.com> 2010-02-21 12:55:33 UTC --- Thanks for pushing the patch to the kotd for testing, I wasn't looking forward to compiling and installing a kernel atm. Anyway, I tested using kernel-default-2.6.33-rc8.20.1.x86_64 and took out the noserverino option in my fstab... the result was another bug. Feb 21 04:49:43 arcuid kernel: [ 643.716948] BUG: Dentry ffff880127416d80{i=2,n=/} still in use (1) [unmount of cifs cifs] Feb 21 04:49:43 arcuid kernel: [ 643.716984] ------------[ cut here ]------------ Feb 21 04:49:43 arcuid kernel: [ 643.716987] kernel BUG at /usr/src/packages/BUILD/kernel-default-2.6.33/linux-2.6.32/fs/dcache.c:670! Feb 21 04:49:43 arcuid kernel: [ 643.716992] invalid opcode: 0000 [#1] SMP Feb 21 04:49:43 arcuid kernel: [ 643.716996] last sysfs file: /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/ieee80211/phy0/rfkill2/state Feb 21 04:49:43 arcuid kernel: [ 643.717001] CPU 1 Feb 21 04:49:43 arcuid kernel: [ 643.717006] Pid: 2794, comm: umount.cifs Not tainted 2.6.33-rc8-20-default #1 6459CTO/6459CTO Feb 21 04:49:43 arcuid kernel: [ 643.717010] RIP: 0010:[<ffffffff8113ff58>] [<ffffffff8113ff58>] shrink_dcache_for_umount_subtree+0x268/0x270 Feb 21 04:49:43 arcuid kernel: [ 643.717020] RSP: 0018:ffff8801038cdeb8 EFLAGS: 00010282 Feb 21 04:49:43 arcuid kernel: [ 643.717023] RAX: 0000000000000063 RBX: ffff880127416d80 RCX: 000000000000d0de Feb 21 04:49:43 arcuid kernel: [ 643.717027] RDX: ffff880005900000 RSI: 0000000000000046 RDI: ffffffff81c57570 Feb 21 04:49:43 arcuid kernel: [ 643.717028] RBP: 00000000000030bd R08: 0000000000000000 R09: 000000000000f902 Feb 21 04:49:43 arcuid kernel: [ 643.717028] R10: 0000000000000000 R11: 0000000000000032 R12: ffff880127416d80 Feb 21 04:49:43 arcuid kernel: [ 643.717028] R13: ffff880115d92aa0 R14: 0000000000000000 R15: 00007f4d192a82e8 Feb 21 04:49:43 arcuid kernel: [ 643.717028] FS: 00007f4d190586f0(0000) GS:ffff880005900000(0000) knlGS:0000000000000000 Feb 21 04:49:43 arcuid kernel: [ 643.717028] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 21 04:49:43 arcuid kernel: [ 643.717028] CR2: 00007f4d436a0000 CR3: 0000000137670000 CR4: 00000000000006e0 Feb 21 04:49:43 arcuid kernel: [ 643.717028] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 21 04:49:43 arcuid kernel: [ 643.717028] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 21 04:49:43 arcuid kernel: [ 643.717028] Process umount.cifs (pid: 2794, threadinfo ffff8801038cc000, task ffff880139988780) Feb 21 04:49:43 arcuid kernel: [ 643.717028] Stack: Feb 21 04:49:43 arcuid kernel: [ 643.717028] ffff88013a03ee60 ffffffff8117ca90 0000000000000296 ffff88013a03ec00 Feb 21 04:49:43 arcuid kernel: [ 643.717028] <0> ffffffffa06e0260 00007f4d192a82d8 0000000000000000 ffffffff8113ff89 Feb 21 04:49:43 arcuid kernel: [ 643.717028] <0> ffff88013a03ec00 ffffffff8112e0c9 ffffffffa06fbae0 0000000000000015 Feb 21 04:49:43 arcuid kernel: [ 643.717028] Call Trace: Feb 21 04:49:43 arcuid kernel: [ 643.717028] [<ffffffff8113ff89>] shrink_dcache_for_umount+0x29/0x50 Feb 21 04:49:43 arcuid kernel: [ 643.717028] [<ffffffff8112e0c9>] generic_shutdown_super+0x19/0x100 Feb 21 04:49:43 arcuid kernel: [ 643.717028] [<ffffffff8112e209>] kill_anon_super+0x9/0x40 Feb 21 04:49:43 arcuid kernel: [ 643.717028] [<ffffffff8112f089>] deactivate_super+0x69/0xb0 Feb 21 04:49:43 arcuid kernel: [ 643.717028] [<ffffffff811473b0>] sys_umount+0x50/0xc0 Feb 21 04:49:43 arcuid kernel: [ 643.717028] [<ffffffff81002efb>] system_call_fastpath+0x16/0x1b Feb 21 04:49:43 arcuid kernel: [ 643.717028] [<00007f4d18bfaed7>] 0x7f4d18bfaed7 Feb 21 04:49:43 arcuid kernel: [ 643.717028] Code: 50 30 4c 8b 0a 31 d2 48 85 f6 74 04 48 8b 56 40 48 05 60 02 00 00 48 89 de 48 c7 c7 40 27 78 81 48 89 04 24 31 c0 e8 dc f1 2d 00 <0f> 0b eb fe 0f 0b eb fe 53 48 89 fb 48 8d 7f 70 e8 c3 69 f3 ff Feb 21 04:49:43 arcuid kernel: [ 643.717028] RIP [<ffffffff8113ff58>] shrink_dcache_for_umount_subtree+0x268/0x270 Feb 21 04:49:43 arcuid kernel: [ 643.717028] RSP <ffff8801038cdeb8> Feb 21 04:49:43 arcuid kernel: [ 643.717200] ---[ end trace dd7c05e4355bcd59 ]--- -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c11 --- Comment #11 from Suresh Jayaraman <sjayaraman@novell.com> 2010-03-04 07:00:27 UTC --- There is a discussion going on in the upstream about this issue and Page cache revalidation logic has been re-written and the patch set brings in quite some changes that I would not like to include it for 11.2. This fix will eventually get absorbed for 11.3. OTOH, how good is 'noserverino' mount option works for you. Except for the downside that you can't detect hardlinks, I don't think there are other side effects. Is this solution/workaround acceptable to you? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c12 --- Comment #12 from Jason Newton <nevion@gmail.com> 2010-03-04 07:06:11 UTC --- noserverino works ok for me, I haven't ran into a case needing hardlink detection yet. About the only downside is that I have cruft in my fstab that I probably won't remember to remove come 11.3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c13 Suresh Jayaraman <sjayaraman@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|nevion@gmail.com | Resolution| |UPSTREAM --- Comment #13 from Suresh Jayaraman <sjayaraman@novell.com> 2010-03-04 07:19:35 UTC --- ah, ok. That seems to me a relatively low impact change and I'll mark this RESOLVED UPSTREAM. Should you encounter any issues with hardlink detection or any other issues due to this option, please reopen this bug. Thanks! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=577747 http://bugzilla.novell.com/show_bug.cgi?id=577747#c14 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.2:32013 --- Comment #14 from Swamp Workflow Management <swamp@suse.com> 2010-03-22 13:52:49 UTC --- Update released for: kernel-debug, kernel-debug-base, kernel-debug-base-debuginfo, kernel-debug-debuginfo, kernel-debug-debugsource, kernel-debug-devel, kernel-debug-devel-debuginfo, kernel-default, kernel-default-base, kernel-default-base-debuginfo, kernel-default-debuginfo, kernel-default-debugsource, kernel-default-devel, kernel-default-devel-debuginfo, kernel-desktop, kernel-desktop-base, kernel-desktop-base-debuginfo, kernel-desktop-debuginfo, kernel-desktop-debugsource, kernel-desktop-devel, kernel-desktop-devel-debuginfo, kernel-pae, kernel-pae-base, kernel-pae-base-debuginfo, kernel-pae-debuginfo, kernel-pae-debugsource, kernel-pae-devel, kernel-pae-devel-debuginfo, kernel-source, kernel-source-vanilla, kernel-syms, kernel-trace, kernel-trace-base, kernel-trace-base-debuginfo, kernel-trace-debuginfo, kernel-trace-debugsource, kernel-trace-devel, kernel-trace-devel-debuginfo, kernel-vanilla, kernel-vanilla-base, kernel-vanilla-base-debuginfo, kernel-vanilla-debuginfo, kernel-vanilla-debugsource, kernel-vanilla-devel, kernel-vanilla-devel-debuginfo, kernel-xen, kernel-xen-base, kernel-xen-base-debuginfo, kernel-xen-debuginfo, kernel-xen-debugsource, kernel-xen-devel, kernel-xen-devel-debuginfo, preload-kmp-default, preload-kmp-desktop Products: openSUSE 11.2 (debug, i586, x86_64) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com