lkml.org 
[lkml]   [2002]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.4.20pre5aa2
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(&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]);
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.159 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site