X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.0-rupdated Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id nAL100Kw223087 for ; Fri, 20 Nov 2009 19:00:01 -0600 X-ASG-Debug-ID: 1258765223-63b601ea0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from mail.gmx.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with SMTP id B36EC9C4C0 for ; Fri, 20 Nov 2009 17:00:24 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by cuda.sgi.com with SMTP id S41eJGnmD0ghtZbt for ; Fri, 20 Nov 2009 17:00:24 -0800 (PST) Received: (qmail invoked by alias); 21 Nov 2009 01:00:22 -0000 Received: from p54B27359.dip.t-dialin.net (EHLO londo.localnet) [84.178.115.89] by mail.gmx.net (mp002) with SMTP; 21 Nov 2009 02:00:22 +0100 X-Authenticated: #1132236 X-Provags-ID: V01U2FsdGVkX1/9BltqPTz9IvvvbfHl9S9fXhSJ3qUbXyezuIqsD6 GDyv8R569Is/jQ From: Juergen Urban To: xfs@oss.sgi.com X-ASG-Orig-Subj: Re: BUG() in end_page_writeback(), stack overflows and system speed decrease with XFS over USB Subject: Re: BUG() in end_page_writeback(), stack overflows and system speed decrease with XFS over USB Date: Sat, 21 Nov 2009 02:00:12 +0100 User-Agent: KMail/1.10.3 (Linux/2.6.27-7-generic; KDE/4.1.3; i686; ; ) References: <200911190957.45957.JuergenUrban@gmx.de> <4B06C58F.5070203@sandeen.net> <4B06CCFC.8030309@sandeen.net> In-Reply-To: <4B06CCFC.8030309@sandeen.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911210200.13438.JuergenUrban@gmx.de> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.52 X-Barracuda-Connect: mail.gmx.net[213.165.64.20] X-Barracuda-Start-Time: 1258765224 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.15156 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Friday 20 November 2009 18:08:12 Eric Sandeen wrote: > Eric Sandeen wrote: > > Juergen Urban wrote: > >> On Thursday 19 November 2009 19:00:16 Eric Sandeen wrote: > >>> Juergen Urban wrote: > >>>> Hello, > >>>> > >>>> my machine is running very unstable since I use XFS on an external USB > >>>> harddisc (855 GByte XFS partition on 1TByte). One problem was the > >>>> stack overflows caused by the large stack use of XFS, USB, SCSI and > >>>> VFS in Linux 2.6.23.13. NFS on XFS caused much more stack overflows. I > >>>> think I got around the stack overflows by disabling preemption, SMP > >>>> and NFS in Linux, but I am not sure about it. I think that I didn't > >>>> got a message from the stack overflow detection after this. > >>> > >>> Are you on 4k stacks? To be honest I'd still expect things to be > >>> mostly ok stack-wise even if so. > >> > >> No, I am using 8k stacks. > > > > Hmm. > > BTW if you are still seeing stack overflows when testing w/ the newer > kernel, we can use some tracing to see what the stack backtrace is: > > sysctl -w kernel.stack_tracer_enabled=1 > mount -t debugfs none /sys/kernel/debug/ > > and then look in: > > /sys/kernel/debug/tracing/stack_trace > /sys/kernel/debug/tracing/stack_max_size > I don't think that I still get stack overflows in Linux 2.6.23.13. Now I downloaded the new KNOPPIX with Linux 2.6.31.6. I've got also crashes with it, but this also could be a stack overflow, because the kernel configuration includes SMP and preemption. The problem here is that I don't see any kernel message. I just see the blinking keyboard or sometimes even nothing. To get the error I just need to play video with mplayer and don't need to write to the file system at all. I need to wait until I've got a good backtrace, but this will be with Linux 2.6.23.13. The console tools of my installed Debian can't configure or use /dev/tty[0-9]* of Linux 2.6.31.6. The ioctls are not supported. I installed a newer version of the package, but this doesn't help. I copied the ".config" from Linux 2.6.23.13 to 2.6.31.6. Maybe this is not compatible.