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

Submitted by:  Robert William Fuller <edsdead>
Submitted on:  Mon 05 Sep 2011 01:37:14 PM UTC  
 
Category: FilesystemSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: Robert W. Fuller
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: 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>
Project 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>

 

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
  • -unavailable- added by phcoder (Updated the item)
  • -unavailable- added by edsdead (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 26 Oct 2011 08:13:26 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 15 Oct 2011 02:25:43 PM UTCphcoderAttached File-=>Added xfs.diff, #24154

    Back to the top


    Powered by Savane 3.1-cleanup1