From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Mahoney Subject: kernel BUG at fs/locks.c:1729! Date: Thu, 08 Apr 2004 14:27:48 -0400 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <407599A4.5090000@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from locomotive.csh.rit.edu ([129.21.60.149]:22509 "EHLO locomotive.unixthugs.org") by vger.kernel.org with ESMTP id S262119AbUDHS1w (ORCPT ); Thu, 8 Apr 2004 14:27:52 -0400 Received: from suse.com (roc-66-67-255-19.rochester.rr.com [66.67.255.19]) by locomotive.unixthugs.org (Postfix) with ESMTP id 2F56556202 for ; Thu, 8 Apr 2004 14:27:50 -0400 (EDT) To: linux-fsdevel List-Id: linux-fsdevel.vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey all - Ran across this while rebooting a UML instance under 2.6.5; I took a quick look but was hoping that someone with more familiarity with the file locking system would be able to notice something more quickly. To be clear, the BUG was seen on the host kernel, not in the UML kernel. This is reproducable for me every time I reboot a UML instance; 'halt' works fine. The bug occurs when a file is fput for the last time and all the locks are cleaned up on it. If posix locks remain, it BUGs. - -Jeff kernel BUG at fs/locks.c:1729! invalid operand: 0000 [#1] SMP CPU: 1 EIP: 0060:[] Not tainted EFLAGS: 00010246 (2.6.5) EIP is at locks_remove_flock+0x6b/0xc0 eax: f7c08ba0 ebx: f69bdc68 ecx: f66f0000 edx: 00000001 esi: f78ae0e0 edi: f69bdbdc ebp: f66f1e08 esp: f66f1e00 ds: 007b es: 007b ss: 0068 Process linux (pid: 3046, threadinfo=f66f0000 task=f68d3390) Stack: f78ae0e0 f7fdeee0 f66f1e28 c0159871 f78ae0e0 f6c584a0 f6a08280 f78ae0e0 ~ 00000000 f7936a80 f66f1e44 c0156847 f78ae0e0 f7936a80 000060df 0000002b ~ f7936a80 f66f1e64 c01220b7 f78ae0e0 f7936a80 00000002 f793c060 f793c080 Call Trace: ~ [] __fput+0x31/0x120 ~ [] filp_close+0x57/0x90 ~ [] put_files_struct+0x67/0xd0 ~ [] do_exit+0x197/0xb80 ~ [] __dequeue_signal+0x155/0x1d0 ~ [] do_group_exit+0x3d/0xc0 ~ [] get_signal_to_deliver+0x28f/0x388 ~ [] do_signal+0x87/0x690 ~ [] specific_send_sig_info+0xcc/0xd0 ~ [] schedule+0x1ec/0x6d0 ~ [] sys_rmdir+0xbc/0x100 ~ [] do_notify_resume+0x3b/0x40 ~ [] work_notifysig+0x13/0x15 Code: 0f 0b c1 06 38 2b 36 c0 eb db b8 00 e0 ff ff 21 e0 8b 10 8b - -- Jeff Mahoney SuSE Labs jeffm@suse.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAdZmkLPWxlyuTD7IRArhgAKCK3gGkKNjIs1992uqrrVNMEiBBdgCgitVl hVyzL/+KnfsZcjcEOp1VCLo= =dyJ2 -----END PGP SIGNATURE-----