From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932149AbWCLMuQ (ORCPT ); Sun, 12 Mar 2006 07:50:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932159AbWCLMuQ (ORCPT ); Sun, 12 Mar 2006 07:50:16 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:38569 "EHLO ogre.sisk.pl") by vger.kernel.org with ESMTP id S932149AbWCLMuO convert rfc822-to-8bit (ORCPT ); Sun, 12 Mar 2006 07:50:14 -0500 From: "Rafael J. Wysocki" To: Andrew Morton Subject: Re: [discuss] Re: 2.6.16-rc5-mm3: spinlock bad magic on CPU#0 on AMD64 Date: Sun, 12 Mar 2006 13:49:31 +0100 User-Agent: KMail/1.9.1 Cc: linux-kernel@vger.kernel.org, ak@suse.de References: <200603120024.04938.rjw@sisk.pl> <20060311153618.2e4b113d.akpm@osdl.org> <200603121127.28657.rjw@sisk.pl> In-Reply-To: <200603121127.28657.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200603121349.32374.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org [Dropped discuss@x86-64.org from the Cc list, it's probably OT there] On Sunday 12 March 2006 11:27, Rafael J. Wysocki wrote: > On Sunday 12 March 2006 00:36, Andrew Morton wrote: > > "Rafael J. Wysocki" wrote: > > > With the 2.6.16-rc5-mm3 kernel w/ the patch > > > > > > revert-x86_64-mm-i386-early-alignment.patch > > > > > > applied I'm able to hang my box (Asus L5D, 1 CPU, x86-64 kernel) solid > > > by running OpenOffice.org from under KDE (100% of the time but on one > > > user account only). Before it hangs I get something like this on the serial console: > > > > > > BUG: spinlock bad magic on CPU#0, soffice.bin/5293 > > > lock: ffff81005e174e28, .magic: 000001ff, .owner: .5).@4).06)./0, .owner_cpu: -2141827648 > > > BUG: spinlock lockup on CPU#0, soffice.bin/5293, ffff81005e174e28 > > > > > > > Is it a !CONFIG_SMP kernel? > > Yes. > > > There's no stack trace? > > Well, probably there was one but it didn't appear on the serial console because > the console loglevel was too low. I'll try to increase console_loglevel in > spin_bug() and see what happens. Done, and now it looks like this: BUG: spinlock bad magic on CPU#0, soffice.bin/5192 lock: ffff81005f79ae28, .magic: 000001ff, .owner: 1..1..|1. |1.|1..|1.�1..|1..1. 1./-1, .owner_cpu: -2141838208 Call Trace: {__alloc_pages+99} {spin_bug+195} {_raw_spin_lock+44} {_spin_lock+30} {journal_extend+77} {ext3_get_block+165} {do_mpage_readpage+425} {_write_unlock_irq+20} {add_to_page_cache+162} {mpage_readpages+254} {ext3_get_block+0} {ext3_get_block+0} {get_cnode+95} {get_page_from_freelist+619} {__alloc_pages+99} {ext3_readpages+26} {__do_page_cache_readahead+416} {poison_obj+66} {wake_up_bit+40} {unlock_buffer+18} {reiserfs_prepare_for_journal+104} {do_page_cache_readahead+100} {filemap_nopage+322} {__handle_mm_fault+1004} {_spin_unlock_irqrestore+29} {do_page_fault+1257} {error_exit+0} {reiserfs_copy_from_user_to_file_region+80} {reiserfs_file_write+6102} {reiserfs_add_entry+1054} {journal_cancel_revoke+351} {poison_obj+66} {cache_free_debugcheck+711} {journal_stop+772} {_spin_unlock+16} {vfs_write+226} {sys_write+80} {cstar_do_call+27} BUG: spinlock lockup on CPU#0, soffice.bin/5192, ffff81005f79ae28