Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755689AbXFLOmP (ORCPT ); Tue, 12 Jun 2007 10:42:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755425AbXFLOlX (ORCPT ); Tue, 12 Jun 2007 10:41:23 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:1309 "EHLO spitz.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753314AbXFLOlV (ORCPT ); Tue, 12 Jun 2007 10:41:21 -0400 Date: Sun, 10 Jun 2007 18:43:48 +0000 From: Pavel Machek To: David Greaves Cc: David Chinner , Tejun Heo , Linus Torvalds , "Rafael J. Wysocki" , xfs@oss.sgi.com, "'linux-kernel@vger.kernel.org'" , linux-pm , Neil Brown Subject: Re: 2.6.22-rc3 hibernate(?) fails totally - regression (xfs on raid6) Message-ID: <20070610184348.GA4417@ucw.cz> References: <200706020122.49989.rjw@sisk.pl> <4661EFBB.5010406@dgreaves.com> <4662D852.4000005@dgreaves.com> <46667160.80905@gmail.com> <46668EE0.2030509@dgreaves.com> <46679D56.7040001@gmail.com> <4667DE2D.6050903@dgreaves.com> <20070607110708.GS86004887@sgi.com> <46680F5E.6070806@dgreaves.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46680F5E.6070806@dgreaves.com> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3097 Lines: 95 Hi! > >On Thu, Jun 07, 2007 at 11:30:05AM +0100, David Greaves > >wrote: > >>Tejun Heo wrote: > >>>Hello, > >>> > >>>David Greaves wrote: > >>>>Just to be clear. This problem is where my system > >>>>won't resume after s2d > >>>>unless I umount my xfs over raid6 filesystem. > >>>This is really weird. I don't see how xfs mount can > >>>affect this at all. > >>Indeed. > >>It does :) > > > >Ok, so lets determine if it really is XFS. > Seems like a good next step... > > >Does the lockup happen with a > >different filesystem on the md device? Or if you can't > >test that, does > >any other XFS filesystem you have show the same problem? > It's a rather full 1.2Tb raid6 array - can't reformat it > - sorry :) > I only noticed the problem when I umounted the fs during > tests to prevent corruption - and it worked. I'm doing a > sync each time it hibernates (see below) and a couple of > paranoia xfs_repairs haven't shown any problems. > > I do have another xfs filesystem on /dev/hdb2 (mentioned > when I noticed the md/XFS correlation). It doesn't seem > to have/cause any problems. > > >If it is xfs that is causing the problem, what happens > >if you > >remount read-only instead of unmounting before shutting > >down? > Yes, I'm happy to try these tests. > nb, the hibernate script is: > ethtool -s eth0 wol g > sync > echo platform > /sys/power/disk > echo disk > /sys/power/state > > So there has always been a sync before any hibernate. > > > cu:~# mount -oremount,ro /huge > cu:~# mount > /dev/hda2 on / type xfs (rw) > proc on /proc type proc (rw) > sysfs on /sys type sysfs (rw) > usbfs on /proc/bus/usb type usbfs (rw) > tmpfs on /dev/shm type tmpfs (rw) > devpts on /dev/pts type devpts (rw,gid=5,mode=620) > nfsd on /proc/fs/nfsd type nfsd (rw) > /dev/hda1 on /boot type ext3 (rw) > /dev/md0 on /huge type xfs (ro) > /dev/hdb2 on /scratch type xfs (rw) > tmpfs on /dev type tmpfs (rw,size=10M,mode=0755) > rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs > (rw) > cu:(pid2862,port1022) on /net type nfs > (intr,rw,port=1022,toplvl,map=/usr/share/am-utils/amd.net,noac) > elm:/space on /amd/elm/root/space type nfs > (rw,vers=3,proto=tcp) > elm:/space-backup on /amd/elm/root/space-backup type nfs > (rw,vers=3,proto=tcp) > elm:/usr/src on /amd/elm/root/usr/src type nfs > (rw,vers=3,proto=tcp) > cu:~# /usr/net/bin/hibernate > [this works and resumes] > > cu:~# mount -oremount,rw /huge > cu:~# /usr/net/bin/hibernate > [this works and resumes too !] > > cu:~# touch /huge/tst > cu:~# /usr/net/bin/hibernate > [but this doesn't even hibernate] This is very probably separate problem... and you should have enough data in dmesg to do something with it. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html - 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/