xfs
[Top] [All Lists]

Re: 2.4.20pre5aa2

To: Christian Guggenberger <christian.guggenberger@xxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: 2.4.20pre5aa2
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Wed, 11 Sep 2002 19:44:47 +0100
Cc: linux-kernel@xxxxxxxxxxxxxxx, andrea@xxxxxxx, linux-xfs@xxxxxxxxxxx
In-reply-to: <20020911201602.A13655@xxxxxxxxxxxxxxxxxxxxxxxx>; from christian.guggenberger@xxxxxxxxxxxxxxxxxxxxxxxx on Wed, Sep 11, 2002 at 08:16:02PM +0200
Mail-followup-to: Christoph Hellwig <hch@xxxxxxxxxxxxx>, Christian Guggenberger <christian.guggenberger@xxxxxxxxxxxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, andrea@xxxxxxx, linux-xfs@xxxxxxxxxxx
References: <20020911201602.A13655@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
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@xxxxxx 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(&current->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]);


<Prev in Thread] Current Thread [Next in Thread>