bugGNU GRUB - Bugs: bug #34213, XFS broken: not a correct XFS BMAP...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #34213: XFS broken: not a correct XFS BMAP node

Submitter:  Robert William Fuller <edsdead>
Submitted:  Mon 05 Sep 2011 01:37:14 PM UTC
   
 
Category:  Filesystem Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name:  Robert W. Fuller
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  Every Time
Planned Release:  None

Tue 18 Oct 2011 11:18:09 PM UTC, comment #2: 

Yes!  This fixed the problem.  Thank you.

Incidentally, you appear to have already applied this patch to the repository.  Initially, I tried to get a fresh version of grub from Bazaar and patch that.  The patch command reported that the patch was already applied and asked me if I wanted to reverse apply it.  I tried to compile the version in Bazaar and it choked on the bsd module which has run afoul of the newer strict aliasing rules in later versions of gcc (version 4.4.5.)

So, I took the version that I had fetched before and applied xfs.diff to it.  It works great!

Robert William Fuller <edsdead>
Sat 15 Oct 2011 02:25:43 PM UTC, comment #1: 

Please test the attached patch

(file #24154)

Vladimir Serbinenko <phcoder>
Group administrator
Mon 05 Sep 2011 01:37:14 PM UTC, original submission:  

I am trying to use grub2 with XFS.  Grub1 works fine.  When I try to boot with grub2, I receive the error "error: not a correct XFS BMAP node."  Then grub2 drops me into rescue mode.

I am using a stock 2.6.35.13 kernel from kernel.org.

I am using the latest grub2 source from Bazaar which I fetched with the command "bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub".

The XFS file system was created with the command "mkfs.xfs -f -l size=32m,version=2,lazy-count=1 -b size=512 -n size=512 -i maxpct=0 /dev/sda7".

The partition table is as follows:

fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x3b04f9fd

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    29302559    14651248+   7  HPFS/NTFS/exFAT
/dev/sda2        29302560   976768064   473732752+   5  Extended
/dev/sda5        29302623    58605119    14651248+  83  Linux
/dev/sda6        58605183    87907679    14651248+  83  Linux
/dev/sda7        87907743   117210239    14651248+  83  Linux
/dev/sda8       117210303   976768064   429778881   83  Linux

Let me know if there's any more information you need.

Robert William Fuller <edsdead>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #24154:  xfs.diff added by phcoder (6KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Updated the item)
  • -email is unavailable- added by edsdead (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-10-26 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2011-10-15 phcoder Attached File- Added xfs.diff, #24154

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code