Bug#243835: marked as done (grub-install hangs with xfs root/boot)

Debian Bug Tracking System owner@bugs.debian.org
Mon, 26 Jul 2004 15:18:10 -0700


Your message dated Mon, 26 Jul 2004 18:02:12 -0400
with message-id <E1BpDXw-0003ll-00@newraff.debian.org>
and subject line Bug#239111: fixed in grub 0.95+cvs20040624-7
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Apr 2004 00:40:38 +0000
>From joey@kitenet.net Wed Apr 14 17:40:38 2004
Return-path: <joey@kitenet.net>
Received: from kitenet.net [64.62.161.42] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BDuvm-0004GK-00; Wed, 14 Apr 2004 17:40:38 -0700
Received: from dragon.kitenet.net (216-98-94-104.access.naxs.com [216.98.94.104])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "Joey Hess", Issuer "Joey Hess" (verified OK))
	by kitenet.net (Postfix) with ESMTP id 5A89D1873B
	for <submit@bugs.debian.org>; Thu, 15 Apr 2004 00:40:36 +0000 (GMT)
Received: by dragon.kitenet.net (Postfix, from userid 1000)
	id 8CD556E901; Wed, 14 Apr 2004 20:40:19 -0400 (EDT)
Date: Wed, 14 Apr 2004 20:40:19 -0400
From: Joey Hess <joeyh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: grub-install hangs with xfs root/boot
Message-ID: <20040415004019.GA7427@kitenet.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY"
Content-Disposition: inline
X-Reportbug-Version: 2.54
User-Agent: Mutt/1.5.5.1+cvs20040105i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1


--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: grub
Version: 0.93+cvs20031021-8
Severity: normal
Tags: d-i

The debian installer can install a system with / or /boot on XFS. When
it tries to install grub on such a system, the grub-install run hangs,
seemingly forever. The last thing output is "Probing devices to guess
BIOS drives." The cpu is pegged too. This has been reproduced on more
than one machine, and I found something that looked like the same
problem on google. I've seen it with both the 2.4.25 and 2.6.5 kernels.

We have put a guard in d-i to deal with this, it warns users that XFS
/boot (or root) will not work with grub. This is not an ideal solution,
users want to use XFS for these partitions.

Note that often, if the hanging grub is killed, grub-install can be
re-run and it does not hang, and works. I don't know why, but this makes
reproducing the problem annoying; the best way is to do a new d-i install
each time. :-/

Ancedotally, people seem to think the problem happens if the XFS
filesystem is not synced to disk when grub accesses it directly.

I've tried a few things. I tried adding 3 calls to sync before each call
to $grub_shell, but it still hangs. I remounted the filesystem ro and
then back to rw before calling grub-install, on the theory this might
make xfs put it in a consistent state, but no luck, it still hung.

It would be nice if this could be fixed, or even worked around better
than it currently is.

--=20
see shy jo

--OXfL5xGRrasGEqWY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAfdnzd8HHehbQuO8RAsVHAJ9f87H61PJS2kYwcNx1HyMpzcQyigCfc31C
YHl/HbZZUbVLVgV6NtMp874=
=Q1Bc
-----END PGP SIGNATURE-----

--OXfL5xGRrasGEqWY--

---------------------------------------
Received: (at 239111-close) by bugs.debian.org; 26 Jul 2004 22:08:15 +0000
>From katie@ftp-master.debian.org Mon Jul 26 15:08:15 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BpDdm-00060G-00; Mon, 26 Jul 2004 15:08:14 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BpDXw-0003ll-00; Mon, 26 Jul 2004 18:02:12 -0400
From: Robert Millan <rmh@debian.org>
To: 239111-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#239111: fixed in grub 0.95+cvs20040624-7
Message-Id: <E1BpDXw-0003ll-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Mon, 26 Jul 2004 18:02:12 -0400
Delivered-To: 239111-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Source: grub
Source-Version: 0.95+cvs20040624-7

We believe that the bug you reported is fixed in the latest version of
grub, which is due to be installed in the Debian FTP archive:

grub-disk_0.95+cvs20040624-7_all.deb
  to pool/main/g/grub/grub-disk_0.95+cvs20040624-7_all.deb
grub-doc_0.95+cvs20040624-7_all.deb
  to pool/main/g/grub/grub-doc_0.95+cvs20040624-7_all.deb
grub_0.95+cvs20040624-7.diff.gz
  to pool/main/g/grub/grub_0.95+cvs20040624-7.diff.gz
grub_0.95+cvs20040624-7.dsc
  to pool/main/g/grub/grub_0.95+cvs20040624-7.dsc
grub_0.95+cvs20040624-7_i386.deb
  to pool/main/g/grub/grub_0.95+cvs20040624-7_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 239111@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robert Millan <rmh@debian.org> (supplier of updated grub package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 26 Jul 2004 23:39:43 +0200
Source: grub
Binary: grub-disk grub grub-doc
Architecture: source i386 all
Version: 0.95+cvs20040624-7
Distribution: unstable
Urgency: low
Maintainer: Grub Maintainers <pkg-grub-devel@lists.alioth.debian.org>
Changed-By: Robert Millan <rmh@debian.org>
Description: 
 grub       - GRand Unified Bootloader
 grub-disk  - GRUB bootable disk image
 grub-doc   - Documentation for GRand Unified Bootloader
Closes: 239111 261447 261570
Changes: 
 grub (0.95+cvs20040624-7) unstable; urgency=low
 .
   * patches/xfs_freeze.diff: New. Fix grub-install for XFS. (Closes: #239111)
   * update-grub: s/local tmp//g. Thanks again, David. (Closes: #261570)
   * patches/raid_cciss.diff: New. Support for CCISS devices. (Closes: #261447)
   * Use type-handling to auto-generate dpkg archlist for i386 cpus.
     - control.in: New. Set 'Architecture: @i386@' and add type-handling to
       Build-Depends.
     - rules: Auto-generate debian/control in clean target.
Files: 
 9ecc6a0fede724c8ad247ce8230875ec 857 admin optional grub_0.95+cvs20040624-7.dsc
 4256f9d5f1f6dc4f593925826af04dfd 53203 admin optional grub_0.95+cvs20040624-7.diff.gz
 1c34fb89807fb51fe1fa35cf8116863a 348762 admin optional grub_0.95+cvs20040624-7_i386.deb
 e6878cb78f5c8c2e1800e330cffcf4b5 226464 admin optional grub-disk_0.95+cvs20040624-7_all.deb
 49e59bf4d82798334d3d59ba317164a3 259142 doc optional grub-doc_0.95+cvs20040624-7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBBXzdC19io6rUCv8RAs89AJ4sKpKGMlMypKgZ5XwtxuVizGrr3QCfWp73
FXfT9xAfiT9p5NlYhNT6do8=
=pidC
-----END PGP SIGNATURE-----