xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 423] New: xfs_repair is not 64-bit clean

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 423] New: xfs_repair is not 64-bit clean
From: bugzilla-daemon@xxxxxxxxxxx
Date: Sun, 25 Sep 2005 12:49:46 -0700
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=423

           Summary: xfs_repair is not 64-bit clean
           Product: Linux XFS
           Version: Current
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xfsprogs
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: ja@xxxxxxxxxxxx


Platform: x86_64 (amd), SLES 9
Kernel: SGI-XFS CVS-2004-10-17_05:00_UTC with ACLs, security attributes,
realtime, large block/inode numbers, dmapi support, no debug enabled
xfs_repair version 2.7.1

I created new FS with command:
# mkfs.xfs /dev/hda9
meta-data=/dev/hda9              isize=256    agcount=16, agsize=223633 blks
         =                       sectsz=512  
data     =                       bsize=4096   blocks=3578128, imaxpct=25
         =                       sunit=0      swidth=0 blks, unwritten=1
naming   =version 2              bsize=4096  
log      =internal log           bsize=4096   blocks=2560, version=1
         =                       sectsz=512   sunit=0 blks
realtime =none                   extsz=65536  blocks=0, rtextents=0

Then I started xfs_repair on it:
# xfs_repair /dev/hda9
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
        - scan filesystem freespace and inode maps...
block (0,223632) multiply claimed by bno space tree, state - 1
block (1,223632) multiply claimed by bno space tree, state - 1
block (2,223632) multiply claimed by bno space tree, state - 1
block (3,223632) multiply claimed by bno space tree, state - 1
block (4,223632) multiply claimed by bno space tree, state - 1
block (5,223632) multiply claimed by bno space tree, state - 1
block (6,223632) multiply claimed by bno space tree, state - 1
block (7,223632) multiply claimed by bno space tree, state - 1
block (8,223632) multiply claimed by bno space tree, state - 1
block (9,223632) multiply claimed by bno space tree, state - 1
block (10,223632) multiply claimed by bno space tree, state - 1
block (11,223632) multiply claimed by bno space tree, state - 1
block (12,223632) multiply claimed by bno space tree, state - 1
block (13,223632) multiply claimed by bno space tree, state - 1
block (14,223632) multiply claimed by bno space tree, state - 1
block (15,223632) multiply claimed by bno space tree, state - 1
        - found root inode chunk
Phase 3 - for each AG...
        - scan and clear agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5
        - agno = 6
        - agno = 7
        - agno = 8
        - agno = 9
        - agno = 10
        - agno = 11
        - agno = 12
        - agno = 13
        - agno = 14
        - agno = 15
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - clear lost+found (if it exists) ...
        - check for inodes claiming duplicate blocks...
        - agno = 0
        - agno = 1
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5
        - agno = 6
        - agno = 7
        - agno = 8
        - agno = 9
        - agno = 10
        - agno = 11
        - agno = 12
        - agno = 13
        - agno = 14
        - agno = 15
Phase 5 - rebuild AG headers and trees...
Segmentation fault

Then I booted to 32-bit system. With 32-bit version of xfs_repair is everything 
OK.
I have smaller and bigger partitions with xfs but I can see error only in this
one. I compresed partition to 13KB and you can download it from
http://www.neton.sk/~ja/hda9.bz2
The problem is reproducible with 2.6.11 and SLES SP1 kernel and with xfsprogs
2.6.25. The problem is also reproducible in different amd64 computer. I tested
partition with read-write badblocks, reiserfs, ext3 and S.M.A.R.T. long
selftest. All tests were OK.

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Bug 423] New: xfs_repair is not 64-bit clean, bugzilla-daemon <=