Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 11 Sep 2002 14:40:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 11 Sep 2002 14:40:24 -0400 Received: from phoenix.mvhi.com ([195.224.96.167]:48133 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id ; Wed, 11 Sep 2002 14:40:23 -0400 Date: Wed, 11 Sep 2002 19:44:47 +0100 From: Christoph Hellwig To: Christian Guggenberger Cc: linux-kernel@vger.kernel.org, andrea@suse.de, linux-xfs@oss.sgi.com Subject: Re: 2.4.20pre5aa2 Message-ID: <20020911194447.A7073@infradead.org> Mail-Followup-To: Christoph Hellwig , Christian Guggenberger , linux-kernel@vger.kernel.org, andrea@suse.de, linux-xfs@oss.sgi.com References: <20020911201602.A13655@pc9391.uni-regensburg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020911201602.A13655@pc9391.uni-regensburg.de>; from christian.guggenberger@physik.uni-regensburg.de on Wed, Sep 11, 2002 at 08:16:02PM +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1529 Lines: 42 On Wed, Sep 11, 2002 at 08:16:02PM +0200, Christian Guggenberger wrote: > Hi! > > just tried out 2.4.20-pre5aa2 with xfs enabled as module. But I can't load > the xfs Module... > modprobe xfs just won't work. Via top on another console I see two modpobe > processes, each consuming 99.9% CPU time. Then, after a minute or so, the > machine reboots... > > System is a Dell Precision with 2 Intel Xeons@2.2GHz and 2GB RDRAM and > hyper-threading enabled, OS is Debian/GNU Linux 3.0 with: > > gcc-2.95.4 20011002 (Debian prerelease) > ld-2.12.90.0.1 20020307 Debian/GNU Linux > > > I tried to disable HT, but then it was even worse. Then my machine crashed > hard after starting "modprobe xfs". Could you please try the following patch from Andrea? --- 2.4.20pre5aa3/fs/xfs/pagebuf/page_buf.c.~1~ Wed Sep 11 05:17:46 2002 +++ 2.4.20pre5aa3/fs/xfs/pagebuf/page_buf.c Wed Sep 11 06:00:35 2002 @@ -2055,9 +2055,9 @@ pagebuf_iodone_daemon( spin_unlock_irq(¤t->sigmask_lock); /* Migrate to the right CPU */ - current->cpus_allowed = 1UL << cpu; - while (smp_processor_id() != cpu) - schedule(); + set_cpus_allowed(current, 1UL << cpu); + if (cpu() != cpu) + BUG(); sprintf(current->comm, "pagebuf_io_CPU%d", bind_cpu); INIT_LIST_HEAD(&pagebuf_iodone_tq[cpu]); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/