All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
@ 2018-05-04  9:42 Valentin Vidic
  2018-05-04  9:50 ` Valentin Vidic
  0 siblings, 1 reply; 18+ messages in thread
From: Valentin Vidic @ 2018-05-04  9:42 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Hello,

We are starting to see mkfs segfaults after updating
linux-libc-dev from 4.15.17-1 to 4.16.5-1 due to a
change in gfs2_ondisk.h.  Hope there is enough info
below for a fix? :)


Reading symbols from ./gfs2-utils-3.1.10/gfs2/mkfs/mkfs.gfs2...done.
(gdb) run -p lock_nolock test
Starting program: /build/gfs2-utils-7xEZHP/gfs2-utils-3.1.10/gfs2/mkfs/mkfs.gfs2 -p lock_nolock test
This will destroy any data on test
Are you sure you want to proceed? [y/n] y
Adding journals: Done 
Building resource groups: Done 

Program received signal SIGSEGV, Segmentation fault.
0x00005555555628eb in gfs2_bit_search (state=<optimized out>, mask=<optimized out>, ptr=<optimized out>)
    at fs_bits.c:52
52      fs_bits.c: No such file or directory.
(gdb) bt
#0  0x00005555555628eb in gfs2_bit_search (state=<optimized out>, mask=<optimized out>, ptr=<optimized out>)
    at fs_bits.c:52
#1  gfs2_bitfit (buf=0x80 <error: Cannot access memory@address 0x80>, len=3968, goal=goal at entry=0, 
    state=state at entry=0 '\000') at fs_bits.c:83
#2  0x000055555555d8ad in find_free_block (rgd=0x555555771140) at fs_ops.c:130
#3  block_alloc (sdp=sdp at entry=0x7fffffffe5c0, blksreq=blksreq at entry=1, state=state at entry=3, 
    blkno=blkno at entry=0x7fffffffe1c0, dinode=dinode at entry=1) at fs_ops.c:194
#4  0x000055555555df77 in lgfs2_dinode_alloc (sdp=sdp at entry=0x7fffffffe5c0, blksreq=blksreq at entry=1, 
    blkno=blkno at entry=0x7fffffffe1c0) at fs_ops.c:204
#5  0x000055555556128f in build_master (sdp=0x7fffffffe5c0) at structures.c:28
#6  0x00005555555574fc in main (argc=<optimized out>, argv=<optimized out>) at main_mkfs.c:996


[1299334.480182] mkfs.gfs2[8647]: segfault at 80 ip 000055b2d13ce8eb sp 00007ffdfee7d610 error 4 in mkfs.gfs2[55b2d13c0000+14000]
[1299334.825045] mkfs.gfs2[8664]: segfault at 5618126ef030 ip 000056184cdf78a4 sp 00007ffe0c276710 error 4 in mkfs.gfs2[56184cdee000+14000]
[1299335.171449] mkfs.gfs2[8682]: segfault at 5596866d1030 ip 000055960db568a4 sp 00007ffc4072dd00 error 4 in mkfs.gfs2[55960db4d000+14000]
[1299335.262298] mkfs.gfs2[8701]: segfault at 80 ip 00005615eb5dd8eb sp 00007ffed55fdb10 error 4 in mkfs.gfs2[5615eb5cf000+14000]
[1299335.351462] mkfs.gfs2[8718]: segfault at 80 ip 000055e2d9a508eb sp 00007ffccda01720 error 4 in mkfs.gfs2[55e2d9a42000+14000]
[1299335.441570] mkfs.gfs2[8735]: segfault at 80 ip 000055fa8db3c8eb sp 00007ffca73ea830 error 4 in mkfs.gfs2[55fa8db2e000+14000]
[1299335.784656] mkfs.gfs2[8752]: segfault at 55c7ff95e030 ip 000055c7622bf8a4 sp 00007ffd80ef8660 error 4 in mkfs.gfs2[55c7622b6000+14000]
[1299336.302229] mkfs.gfs2[8769]: segfault at 80 ip 000055798a41a8eb sp 00007ffdfc3de780 error 4 in mkfs.gfs2[55798a40c000+14000]
[1299336.436435] mkfs.gfs2[8786]: segfault at 80 ip 000055744bd948eb sp 00007ffd9215ff80 error 4 in mkfs.gfs2[55744bd86000+14000]
[1299336.510427] mkfs.gfs2[8803]: segfault at 80 ip 00005598402c88eb sp 00007ffd824ab990 error 4 in mkfs.gfs2[5598402ba000+14000]


## ----------------------------- ##
## gfs2-utils master test suite. ##
## ----------------------------- ##

mkfs.gfs2 tests

  1: Locking protocol validation                     ok
  2: Resource group size validation                  ok
  3: Journal size validation                         ok
  4: Block count validation                          ok
  5: Quota change file size validation               ok
  6: Locking protocols                               FAILED (mkfs.at:36)
  7: Valid block sizes 512-4096                      FAILED (mkfs.at:42)
  8: Max. blocks, min. block size                    FAILED (mkfs.at:50)
  9: Max. blocks, max. block size                    FAILED (mkfs.at:55)
 10: Max. resource group size                        FAILED (mkfs.at:60)
 11: Min. resource group size                        FAILED (mkfs.at:65)
 12: Max. resource group size, min. block size       FAILED (mkfs.at:70)
 13: Max. journal size                               FAILED (mkfs.at:75)
 14: Min. journal size                               FAILED (mkfs.at:80)
 15: Max. quota change file size                     FAILED (mkfs.at:85)
 16: Min. quota change file size                     FAILED (mkfs.at:90)
 17: Lock table validation                           FAILED (mkfs.at:98)
 18: Device i/o limits handling                      FAILED
(mkfs.at:107)

fsck.gfs2 tests

 19: Fix invalid block sizes                         FAILED (fsck.at:6)
 20: Fix invalid goal blocks                         FAILED (fsck.at:15)
 21: Fix bad resource group #0                       FAILED (fsck.at:20)
 22: Fix bad resource group #1                       FAILED (fsck.at:25)
 23: Fix bad rindex entry #1                         FAILED (fsck.at:35)

gfs2_edit tests

 24: Save/restoremeta, defaults                      FAILED (edit.at:7)
 25: Save/restoremeta, no compression                FAILED (edit.at:20)
 26: Save/restoremeta, min. block size               FAILED (edit.at:30)
 27: Save/restoremeta, 4 journals                    FAILED (edit.at:40)
 28: Save/restoremeta, min. block size, 4 journals   FAILED (edit.at:50)

libgfs2 unit tests

 29: meta.c                                          FAILED (libgfs2.at:4)
 30: rgrp.c                                          ok

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: All 30 tests were run,
24 failed unexpectedly.

-- 
Valentin



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04  9:42 [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel Valentin Vidic
@ 2018-05-04  9:50 ` Valentin Vidic
  2018-05-04 10:06   ` Andrew Price
  0 siblings, 1 reply; 18+ messages in thread
From: Valentin Vidic @ 2018-05-04  9:50 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On Fri, May 04, 2018 at 11:42:31AM +0200, Valentin Vidic wrote:
> We are starting to see mkfs segfaults after updating
> linux-libc-dev from 4.15.17-1 to 4.16.5-1 due to a
> change in gfs2_ondisk.h.  Hope there is enough info
> below for a fix? :)

Here goes another trace:

(gdb) run -p lock_nolock -b 512 test
Starting program: /build/gfs2-utils-7xEZHP/gfs2-utils-3.1.10/gfs2/mkfs/mkfs.gfs2 -p lock_nolock -b 512 test
This will destroy any data on test
Are you sure you want to proceed? [y/n] y
Adding journals: Done 
Building resource groups: Done 

Program received signal SIGSEGV, Segmentation fault.
0x000055555555bdc0 in brelse (bh=0x555555773730) at buf.c:108
108     buf.c: No such file or directory.
(gdb) bt
#0  0x000055555555bdc0 in brelse (bh=0x555555773730) at buf.c:108
#1  0x00005555555599f5 in gfs2_rgrp_relse (rgd=rgd at entry=0x5555557723c0) at rgrp.c:206
#2  0x000055555555d936 in block_alloc (sdp=sdp at entry=0x7fffffffe560, blksreq=blksreq at entry=1, state=state at entry=3, blkno=blkno at entry=0x7fffffffe160, dinode=dinode at entry=1) at fs_ops.c:197
#3  0x000055555555df77 in lgfs2_dinode_alloc (sdp=sdp at entry=0x7fffffffe560, blksreq=blksreq at entry=1, blkno=blkno at entry=0x7fffffffe160) at fs_ops.c:204
#4  0x000055555556128f in build_master (sdp=0x7fffffffe560) at structures.c:28
#5  0x00005555555574fc in main (argc=<optimized out>, argv=<optimized out>) at main_mkfs.c:996

-- 
Valentin



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04  9:50 ` Valentin Vidic
@ 2018-05-04 10:06   ` Andrew Price
  2018-05-04 10:21     ` Valentin Vidic
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Price @ 2018-05-04 10:06 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Hi Valentin,

On 04/05/18 10:50, Valentin Vidic wrote:
> On Fri, May 04, 2018 at 11:42:31AM +0200, Valentin Vidic wrote:
>> We are starting to see mkfs segfaults after updating
>> linux-libc-dev from 4.15.17-1 to 4.16.5-1 due to a
>> change in gfs2_ondisk.h.  Hope there is enough info
>> below for a fix? :)

Can you reproduce it with the master branch? Also, what is the size of 
your test file? And what architecture is this on?

Andy

> Here goes another trace:
> 
> (gdb) run -p lock_nolock -b 512 test
> Starting program: /build/gfs2-utils-7xEZHP/gfs2-utils-3.1.10/gfs2/mkfs/mkfs.gfs2 -p lock_nolock -b 512 test
> This will destroy any data on test
> Are you sure you want to proceed? [y/n] y
> Adding journals: Done
> Building resource groups: Done
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x000055555555bdc0 in brelse (bh=0x555555773730) at buf.c:108
> 108     buf.c: No such file or directory.
> (gdb) bt
> #0  0x000055555555bdc0 in brelse (bh=0x555555773730) at buf.c:108
> #1  0x00005555555599f5 in gfs2_rgrp_relse (rgd=rgd at entry=0x5555557723c0) at rgrp.c:206
> #2  0x000055555555d936 in block_alloc (sdp=sdp at entry=0x7fffffffe560, blksreq=blksreq at entry=1, state=state at entry=3, blkno=blkno at entry=0x7fffffffe160, dinode=dinode at entry=1) at fs_ops.c:197
> #3  0x000055555555df77 in lgfs2_dinode_alloc (sdp=sdp at entry=0x7fffffffe560, blksreq=blksreq at entry=1, blkno=blkno at entry=0x7fffffffe160) at fs_ops.c:204
> #4  0x000055555556128f in build_master (sdp=0x7fffffffe560) at structures.c:28
> #5  0x00005555555574fc in main (argc=<optimized out>, argv=<optimized out>) at main_mkfs.c:996
> 



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04 10:06   ` Andrew Price
@ 2018-05-04 10:21     ` Valentin Vidic
  2018-05-04 10:27       ` Andrew Price
  0 siblings, 1 reply; 18+ messages in thread
From: Valentin Vidic @ 2018-05-04 10:21 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On Fri, May 04, 2018 at 11:06:59AM +0100, Andrew Price wrote:
> Can you reproduce it with the master branch? Also, what is the size of your
> test file? And what architecture is this on?

Master branch seems to fail too.  Test file was 200 MB on amd64.
Also attaching testsuite.log now in case it helps.

## ----------------------------- ##
## gfs2-utils master test suite. ##
## ----------------------------- ##

mkfs.gfs2 tests

  1: Locking protocol validation                     ok
  2: Resource group size validation                  ok
  3: Journal size validation                         ok
  4: Block count validation                          ok
  5: Quota change file size validation               ok
  6: Locking protocols                               FAILED (mkfs.at:36)
  7: Valid block sizes 512-4096                      FAILED (mkfs.at:42)
  8: Max. blocks, min. block size                    FAILED (mkfs.at:50)
  9: Max. blocks, max. block size                    FAILED (mkfs.at:55)
 10: Max. resource group size                        FAILED (mkfs.at:60)
 11: Min. resource group size                        FAILED (mkfs.at:65)
 12: Max. resource group size, min. block size       FAILED (mkfs.at:70)
 13: Max. journal size                               FAILED (mkfs.at:75)
 14: Min. journal size                               FAILED (mkfs.at:80)
 15: Max. quota change file size                     FAILED (mkfs.at:85)
 16: Min. quota change file size                     FAILED (mkfs.at:90)
 17: Lock table validation                           FAILED (mkfs.at:98)
 18: Device i/o limits handling                      FAILED (mkfs.at:114)
 19: Resource group alignment                        FAILED (mkfs.at:122)
 20: Values of rg_skip                               FAILED (mkfs.at:129)
 21: Values of rg_data0, rg_data, rg_bitbytes        FAILED (mkfs.at:145)
 22: Small filesystems                               FAILED (mkfs.at:162)

fsck.gfs2 tests

 23: Conflicting options                             ok
 24: Fix invalid block sizes                         FAILED (fsck.at:17)
 25: Fix invalid goal blocks                         FAILED (fsck.at:26)
 26: Fix bad resource group #0                       FAILED (fsck.at:31)
 27: Fix bad resource group #1                       FAILED (fsck.at:36)
 28: Fix bad rindex entry #1                         FAILED (fsck.at:46)
 29: Rebuild bad journal                             FAILED (fsck.at:52)

gfs2_edit tests

 30: Save/restoremeta, defaults                      FAILED (edit.at:7)
 31: Save/restoremeta, no compression                FAILED (edit.at:20)
 32: Save/restoremeta, min. block size               FAILED (edit.at:30)
 33: Save/restoremeta, 4 journals                    FAILED (edit.at:40)
 34: Save/restoremeta, min. block size, 4 journals   FAILED (edit.at:50)

libgfs2 unit tests

 35: meta.c                                          FAILED (libgfs2.at:4)
 36: rgrp.c                                          ok

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: All 36 tests were run,
29 failed unexpectedly.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##

Please send `tests/testsuite.log' and all information you think might
help:

   To: <linux-cluster@redhat.com>
   Subject: [gfs2-utils master] testsuite: 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35 failed

-- 
Valentin
-------------- next part --------------
## ----------------------------- ##
## gfs2-utils master test suite. ##
## ----------------------------- ##

testsuite: command line was:
  $ testsuite ENABLE_UNIT_TESTS=yes

## --------- ##
## Platform. ##
## --------- ##

hostname = gavran
uname -m = x86_64
uname -r = 4.15.0-2-amd64
uname -s = Linux
uname -v = #1 SMP Debian 4.15.11-1 (2018-03-20)

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/vvidic/deb/github/gfs2-utils/gfs2/libgfs2
PATH: /home/vvidic/deb/github/gfs2-utils/gfs2/mkfs
PATH: /home/vvidic/deb/github/gfs2-utils/gfs2/fsck
PATH: /home/vvidic/deb/github/gfs2-utils/gfs2/edit
PATH: /home/vvidic/deb/github/gfs2-utils/gfs2/convert
PATH: /home/vvidic/deb/github/gfs2-utils/gfs2/tune
PATH: /home/vvidic/deb/github/gfs2-utils/tests
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/games

testsuite: atconfig:
| # Configurable variable values for building test suites.
| # Generated by ./config.status.
| # Copyright (C) 2012 Free Software Foundation, Inc.
| 
| # The test suite will define top_srcdir=/../.. etc.
| at_testdir='tests'
| abs_builddir='/home/vvidic/deb/github/gfs2-utils/tests'
| at_srcdir='.'
| abs_srcdir='/home/vvidic/deb/github/gfs2-utils/tests'
| at_top_srcdir='..'
| abs_top_srcdir='/home/vvidic/deb/github/gfs2-utils'
| at_top_build_prefix='../'
| abs_top_builddir='/home/vvidic/deb/github/gfs2-utils'
| 
| # Backward compatibility with Autotest <= 2.59b:
| at_top_builddir=$at_top_build_prefix
| 
| AUTOTEST_PATH='gfs2/libgfs2:gfs2/mkfs:gfs2/fsck:gfs2/edit:gfs2/convert:gfs2/tune:tests'
| 
| SHELL=${CONFIG_SHELL-'/bin/sh'}

testsuite: atlocal:
| GFS_TGT="$abs_builddir/testvol"
| GFS_TGT_SZ=10
| GFS_MKFS="mkfs.gfs2 -O -D"
| 
| gfs_max_blocks()
| {
| 	printf $((GFS_TGT_SZ*1073741824/$1))
| }

## ---------------- ##
## Tested programs. ##
## ---------------- ##

./testsuite.at:46: /home/vvidic/deb/github/gfs2-utils/gfs2/mkfs/mkfs.gfs2 --version
/home/vvidic/deb/github/gfs2-utils/gfs2/mkfs/mkfs.gfs2: invalid option -- '-'
Please use '-h' for help.

./testsuite.at:46: /home/vvidic/deb/github/gfs2-utils/gfs2/fsck/fsck.gfs2 --version
/home/vvidic/deb/github/gfs2-utils/gfs2/fsck/fsck.gfs2: invalid option -- '-'
Please use '-h' for help.

./testsuite.at:46: /home/vvidic/deb/github/gfs2-utils/gfs2/edit/gfs2_edit --version
can't open (null): Bad address

## ------------------ ##
## Running the tests. ##
## ------------------ ##
testsuite: starting at: Fri May  4 12:16:14 CEST 2018
1. Locking protocol validation (mkfs.at:4): ok     (0m0.002s 0m0.000s)
2. Resource group size validation (mkfs.at:9): ok     (0m0.004s 0m0.000s)
3. Journal size validation (mkfs.at:15): ok     (0m0.003s 0m0.000s)
4. Block count validation (mkfs.at:21): ok     (0m0.008s 0m0.001s)
5. Quota change file size validation (mkfs.at:28): ok     (0m0.004s 0m0.001s)
23. Conflicting options (fsck.at:4): ok     (0m0.012s 0m0.001s)
36. rgrp.c (libgfs2.at:7): ok     (0m3.798s 0m0.328s)
testsuite: ending at: Fri May  4 12:16:40 CEST 2018
testsuite: test suite duration: 0h 0m 26s

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: All 36 tests were run,
29 failed unexpectedly.

## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
gfs2-utils master test suite test groups:

 NUM: FILE-NAME:LINE     TEST-GROUP-NAME
      KEYWORDS

   6: mkfs.at:34         Locking protocols
      mkfs.gfs2 mkfs
   7: mkfs.at:40         Valid block sizes 512-4096
      mkfs.gfs2 mkfs
   8: mkfs.at:48         Max. blocks, min. block size
      mkfs.gfs2 mkfs
   9: mkfs.at:53         Max. blocks, max. block size
      mkfs.gfs2 mkfs
  10: mkfs.at:58         Max. resource group size
      mkfs.gfs2 mkfs
  11: mkfs.at:63         Min. resource group size
      mkfs.gfs2 mkfs
  12: mkfs.at:68         Max. resource group size, min. block size
      mkfs.gfs2 mkfs
  13: mkfs.at:73         Max. journal size
      mkfs.gfs2 mkfs
  14: mkfs.at:78         Min. journal size
      mkfs.gfs2 mkfs
  15: mkfs.at:83         Max. quota change file size
      mkfs.gfs2 mkfs
  16: mkfs.at:88         Min. quota change file size
      mkfs.gfs2 mkfs
  17: mkfs.at:93         Lock table validation
      mkfs.gfs2 mkfs
  18: mkfs.at:112        Device i/o limits handling
      mkfs.gfs2 mkfs
  19: mkfs.at:120        Resource group alignment
      mkfs.gfs2 mkfs
  20: mkfs.at:127        Values of rg_skip
      mkfs.gfs2 mkfs
  21: mkfs.at:143        Values of rg_data0, rg_data, rg_bitbytes
      mkfs.gfs2 mkfs
  22: mkfs.at:159        Small filesystems
      mkfs.gfs2 mkfs
  24: fsck.at:15         Fix invalid block sizes
      fsck.gfs2 fsck
  25: fsck.at:24         Fix invalid goal blocks
      fsck.gfs2 fsck
  26: fsck.at:29         Fix bad resource group #0
      fsck.gfs2 fsck
  27: fsck.at:34         Fix bad resource group #1
      fsck.gfs2 fsck
  28: fsck.at:44         Fix bad rindex entry #1
      fsck.gfs2 fsck
  29: fsck.at:49         Rebuild bad journal
      fsck.gfs2 fsck
  30: edit.at:4          Save/restoremeta, defaults
      gfs2_edit edit
  31: edit.at:17         Save/restoremeta, no compression
      gfs2_edit edit
  32: edit.at:27         Save/restoremeta, min. block size
      gfs2_edit edit
  33: edit.at:37         Save/restoremeta, 4 journals
      gfs2_edit edit
  34: edit.at:47         Save/restoremeta, min. block size, 4 journals
      gfs2_edit edit
  35: libgfs2.at:3       meta.c
      libgfs2

## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##

#                             -*- compilation -*-
6. mkfs.at:34: testing Locking protocols ...
./mkfs.at:36: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./mkfs.at:36: $GFS_MKFS -p lock_nolock $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 64
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 19  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 67108864  di_blocks: 16418  di_atime: 1525428974  di_mtime: 1525428974  di_ctime: 1525428974  di_major: 0  di_minor: 0  di_goal_meta: 52  di_goal_data: 16436  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 2  ri_data0: 19  ri_data: 16420  ri_bitbytes: 4105
Done
Building resource groups:   ri_addr: 16439  ri_length: 5  ri_data0: 16444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 81564  ri_length: 5  ri_data0: 81569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 146689  ri_length: 5  ri_data0: 146694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 211814  ri_length: 5  ri_data0: 211819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 276939  ri_length: 5  ri_data0: 276944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 342064  ri_length: 5  ri_data0: 342069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 407189  ri_length: 5  ri_data0: 407194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 472314  ri_length: 5  ri_data0: 472319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 537439  ri_length: 5  ri_data0: 537444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 602564  ri_length: 5  ri_data0: 602569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 667689  ri_length: 5  ri_data0: 667694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 732814  ri_length: 5  ri_data0: 732819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 797939  ri_length: 5  ri_data0: 797944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 863064  ri_length: 5  ri_data0: 863069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 928189  ri_length: 5  ri_data0: 928194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 993314  ri_length: 5  ri_data0: 993319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1058439  ri_length: 5  ri_data0: 1058444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1123564  ri_length: 5  ri_data0: 1123569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1188689  ri_length: 5  ri_data0: 1188694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1253814  ri_length: 5  ri_data0: 1253819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1318939  ri_length: 5  ri_data0: 1318944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1384064  ri_length: 5  ri_data0: 1384069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1449189  ri_length: 5  ri_data0: 1449194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1514314  ri_length: 5  ri_data0: 1514319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1579439  ri_length: 5  ri_data0: 1579444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1644564  ri_length: 5  ri_data0: 1644569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1709689  ri_length: 5  ri_data0: 1709694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1774814  ri_length: 5  ri_data0: 1774819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1839939  ri_length: 5  ri_data0: 1839944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1905064  ri_length: 5  ri_data0: 1905069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1970189  ri_length: 5  ri_data0: 1970194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2035314  ri_length: 5  ri_data0: 2035319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2100439  ri_length: 5  ri_data0: 2100444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2165564  ri_length: 5  ri_data0: 2165569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2230689  ri_length: 5  ri_data0: 2230694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2295814  ri_length: 5  ri_data0: 2295819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2360939  ri_length: 5  ri_data0: 2360944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2426064  ri_length: 5  ri_data0: 2426069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2491189  ri_length: 5  ri_data0: 2491194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2556314  ri_length: 5  ri_data0: 2556319  ri_data: 65120  ri_bitbytes: 16280
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 19  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428974  di_mtime: 1525428974  di_ctime: 1525428974  di_major: 0  di_minor: 0  di_goal_meta: 19  di_goal_data: 19  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./mkfs.at:36: exit code was 1, expected 0
6. mkfs.at:34: 6. Locking protocols (mkfs.at:34): FAILED (mkfs.at:36)

#                             -*- compilation -*-
7. mkfs.at:40: testing Valid block sizes 512-4096 ...
./mkfs.at:42: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./mkfs.at:42: $GFS_MKFS -p lock_nolock -b 512 $GFS_TGT
stderr:
/home/vvidic/deb/github/gfs2-utils/tests/testsuite.dir/at-groups/7/test-source: line 179: 13062 Segmentation fault      $GFS_MKFS -p lock_nolock -b 512 $GFS_TGT
stdout:
File system options:
  bsize = 512
  qcsize = 1
  jsize = 16
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 147  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 16777216  di_blocks: 33316  di_atime: 1525428974  di_mtime: 1525428974  di_ctime: 1525428974  di_major: 0  di_minor: 0  di_goal_meta: 694  di_goal_data: 33462  di_flags: 0x00000200  di_payload_format: 0  di_height: 3  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 129  ri_length: 18  ri_data0: 147  ri_data: 33316  ri_bitbytes: 8329
Done
Building resource groups: ./mkfs.at:42: exit code was 139, expected 0
7. mkfs.at:40: 7. Valid block sizes 512-4096 (mkfs.at:40): FAILED (mkfs.at:42)

#                             -*- compilation -*-
8. mkfs.at:48: testing Max. blocks, min. block size ...
./mkfs.at:50: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./mkfs.at:50: $GFS_MKFS -p lock_nolock -b 512 $GFS_TGT $(gfs_max_blocks 512)
stderr:
/home/vvidic/deb/github/gfs2-utils/tests/testsuite.dir/at-groups/8/test-source: line 53: 13080 Segmentation fault      $GFS_MKFS -p lock_nolock -b 512 $GFS_TGT $(gfs_max_blocks 512)
stdout:
File system options:
  bsize = 512
  qcsize = 1
  jsize = 16
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 20971520
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 147  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 16777216  di_blocks: 33316  di_atime: 1525428975  di_mtime: 1525428975  di_ctime: 1525428975  di_major: 0  di_minor: 0  di_goal_meta: 694  di_goal_data: 33462  di_flags: 0x00000200  di_payload_format: 0  di_height: 3  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 129  ri_length: 18  ri_data0: 147  ri_data: 33316  ri_bitbytes: 8329
Done
Building resource groups: ./mkfs.at:50: exit code was 139, expected 0
8. mkfs.at:48: 8. Max. blocks, min. block size (mkfs.at:48): FAILED (mkfs.at:50)

#                             -*- compilation -*-
9. mkfs.at:53: testing Max. blocks, max. block size ...
./mkfs.at:55: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./mkfs.at:55: $GFS_MKFS -p lock_nolock -b 4096 $GFS_TGT $(util_max_blocks 4096)
stderr:
/home/vvidic/deb/github/gfs2-utils/tests/testsuite.dir/at-groups/9/test-source: line 28: util_max_blocks: command not found
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 64
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 19  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 67108864  di_blocks: 16418  di_atime: 1525428975  di_mtime: 1525428975  di_ctime: 1525428975  di_major: 0  di_minor: 0  di_goal_meta: 52  di_goal_data: 16436  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 2  ri_data0: 19  ri_data: 16420  ri_bitbytes: 4105
Done
Building resource groups:   ri_addr: 16439  ri_length: 5  ri_data0: 16444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 81564  ri_length: 5  ri_data0: 81569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 146689  ri_length: 5  ri_data0: 146694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 211814  ri_length: 5  ri_data0: 211819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 276939  ri_length: 5  ri_data0: 276944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 342064  ri_length: 5  ri_data0: 342069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 407189  ri_length: 5  ri_data0: 407194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 472314  ri_length: 5  ri_data0: 472319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 537439  ri_length: 5  ri_data0: 537444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 602564  ri_length: 5  ri_data0: 602569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 667689  ri_length: 5  ri_data0: 667694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 732814  ri_length: 5  ri_data0: 732819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 797939  ri_length: 5  ri_data0: 797944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 863064  ri_length: 5  ri_data0: 863069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 928189  ri_length: 5  ri_data0: 928194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 993314  ri_length: 5  ri_data0: 993319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1058439  ri_length: 5  ri_data0: 1058444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1123564  ri_length: 5  ri_data0: 1123569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1188689  ri_length: 5  ri_data0: 1188694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1253814  ri_length: 5  ri_data0: 1253819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1318939  ri_length: 5  ri_data0: 1318944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1384064  ri_length: 5  ri_data0: 1384069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1449189  ri_length: 5  ri_data0: 1449194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1514314  ri_length: 5  ri_data0: 1514319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1579439  ri_length: 5  ri_data0: 1579444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1644564  ri_length: 5  ri_data0: 1644569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1709689  ri_length: 5  ri_data0: 1709694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1774814  ri_length: 5  ri_data0: 1774819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1839939  ri_length: 5  ri_data0: 1839944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1905064  ri_length: 5  ri_data0: 1905069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1970189  ri_length: 5  ri_data0: 1970194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2035314  ri_length: 5  ri_data0: 2035319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2100439  ri_length: 5  ri_data0: 2100444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2165564  ri_length: 5  ri_data0: 2165569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2230689  ri_length: 5  ri_data0: 2230694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2295814  ri_length: 5  ri_data0: 2295819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2360939  ri_length: 5  ri_data0: 2360944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2426064  ri_length: 5  ri_data0: 2426069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2491189  ri_length: 5  ri_data0: 2491194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2556314  ri_length: 5  ri_data0: 2556319  ri_data: 65120  ri_bitbytes: 16280
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 19  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428975  di_mtime: 1525428975  di_ctime: 1525428975  di_major: 0  di_minor: 0  di_goal_meta: 19  di_goal_data: 19  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./mkfs.at:55: exit code was 1, expected 0
9. mkfs.at:53: 9. Max. blocks, max. block size (mkfs.at:53): FAILED (mkfs.at:55)

#                             -*- compilation -*-
10. mkfs.at:58: testing Max. resource group size ...
./mkfs.at:60: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./mkfs.at:60: $GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 64
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 2048
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 19  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 67108864  di_blocks: 16418  di_atime: 1525428975  di_mtime: 1525428975  di_ctime: 1525428975  di_major: 0  di_minor: 0  di_goal_meta: 52  di_goal_data: 16436  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 2  ri_data0: 19  ri_data: 16420  ri_bitbytes: 4105
Done
Building resource groups:   ri_addr: 16439  ri_length: 33  ri_data0: 16472  ri_data: 520964  ri_bitbytes: 130241
  ri_addr: 537439  ri_length: 33  ri_data0: 537472  ri_data: 520964  ri_bitbytes: 130241
  ri_addr: 1058439  ri_length: 33  ri_data0: 1058472  ri_data: 520964  ri_bitbytes: 130241
  ri_addr: 1579439  ri_length: 33  ri_data0: 1579472  ri_data: 520964  ri_bitbytes: 130241
  ri_addr: 2100439  ri_length: 33  ri_data0: 2100472  ri_data: 520964  ri_bitbytes: 130241
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 19  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428975  di_mtime: 1525428975  di_ctime: 1525428975  di_major: 0  di_minor: 0  di_goal_meta: 19  di_goal_data: 19  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./mkfs.at:60: exit code was 1, expected 0
10. mkfs.at:58: 10. Max. resource group size (mkfs.at:58): FAILED (mkfs.at:60)

#                             -*- compilation -*-
11. mkfs.at:63: testing Min. resource group size ...
./mkfs.at:65: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./mkfs.at:65: $GFS_MKFS -p lock_nolock -r 32 $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 64
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 32
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 19  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 67108864  di_blocks: 16418  di_atime: 1525428976  di_mtime: 1525428976  di_ctime: 1525428976  di_major: 0  di_minor: 0  di_goal_meta: 52  di_goal_data: 16436  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 2  ri_data0: 19  ri_data: 16420  ri_bitbytes: 4105
Done
Building resource groups:   ri_addr: 16439  ri_length: 1  ri_data0: 16440  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 24631  ri_length: 1  ri_data0: 24632  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 32823  ri_length: 1  ri_data0: 32824  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 41015  ri_length: 1  ri_data0: 41016  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 49207  ri_length: 1  ri_data0: 49208  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 57399  ri_length: 1  ri_data0: 57400  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 65591  ri_length: 1  ri_data0: 65592  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 73783  ri_length: 1  ri_data0: 73784  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 81975  ri_length: 1  ri_data0: 81976  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 90167  ri_length: 1  ri_data0: 90168  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 98359  ri_length: 1  ri_data0: 98360  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 106551  ri_length: 1  ri_data0: 106552  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 114743  ri_length: 1  ri_data0: 114744  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 122935  ri_length: 1  ri_data0: 122936  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 131127  ri_length: 1  ri_data0: 131128  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 139319  ri_length: 1  ri_data0: 139320  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 147511  ri_length: 1  ri_data0: 147512  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 155703  ri_length: 1  ri_data0: 155704  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 163895  ri_length: 1  ri_data0: 163896  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 172087  ri_length: 1  ri_data0: 172088  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 180279  ri_length: 1  ri_data0: 180280  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 188471  ri_length: 1  ri_data0: 188472  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 196663  ri_length: 1  ri_data0: 196664  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 204855  ri_length: 1  ri_data0: 204856  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 213047  ri_length: 1  ri_data0: 213048  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 221239  ri_length: 1  ri_data0: 221240  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 229431  ri_length: 1  ri_data0: 229432  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 237623  ri_length: 1  ri_data0: 237624  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 245815  ri_length: 1  ri_data0: 245816  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 254007  ri_length: 1  ri_data0: 254008  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 262199  ri_length: 1  ri_data0: 262200  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 270391  ri_length: 1  ri_data0: 270392  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 278583  ri_length: 1  ri_data0: 278584  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 286775  ri_length: 1  ri_data0: 286776  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 294967  ri_length: 1  ri_data0: 294968  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 303159  ri_length: 1  ri_data0: 303160  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 311351  ri_length: 1  ri_data0: 311352  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 319543  ri_length: 1  ri_data0: 319544  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 327735  ri_length: 1  ri_data0: 327736  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 335927  ri_length: 1  ri_data0: 335928  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 344119  ri_length: 1  ri_data0: 344120  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 352311  ri_length: 1  ri_data0: 352312  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 360503  ri_length: 1  ri_data0: 360504  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 368695  ri_length: 1  ri_data0: 368696  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 376887  ri_length: 1  ri_data0: 376888  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 385079  ri_length: 1  ri_data0: 385080  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 393271  ri_length: 1  ri_data0: 393272  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 401463  ri_length: 1  ri_data0: 401464  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 409655  ri_length: 1  ri_data0: 409656  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 417847  ri_length: 1  ri_data0: 417848  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 426039  ri_length: 1  ri_data0: 426040  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 434231  ri_length: 1  ri_data0: 434232  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 442423  ri_length: 1  ri_data0: 442424  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 450615  ri_length: 1  ri_data0: 450616  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 458807  ri_length: 1  ri_data0: 458808  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 466999  ri_length: 1  ri_data0: 467000  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 475191  ri_length: 1  ri_data0: 475192  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 483383  ri_length: 1  ri_data0: 483384  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 491575  ri_length: 1  ri_data0: 491576  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 499767  ri_length: 1  ri_data0: 499768  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 507959  ri_length: 1  ri_data0: 507960  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 516151  ri_length: 1  ri_data0: 516152  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 524343  ri_length: 1  ri_data0: 524344  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 532535  ri_length: 1  ri_data0: 532536  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 540727  ri_length: 1  ri_data0: 540728  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 548919  ri_length: 1  ri_data0: 548920  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 557111  ri_length: 1  ri_data0: 557112  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 565303  ri_length: 1  ri_data0: 565304  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 573495  ri_length: 1  ri_data0: 573496  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 581687  ri_length: 1  ri_data0: 581688  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 589879  ri_length: 1  ri_data0: 589880  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 598071  ri_length: 1  ri_data0: 598072  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 606263  ri_length: 1  ri_data0: 606264  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 614455  ri_length: 1  ri_data0: 614456  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 622647  ri_length: 1  ri_data0: 622648  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 630839  ri_length: 1  ri_data0: 630840  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 639031  ri_length: 1  ri_data0: 639032  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 647223  ri_length: 1  ri_data0: 647224  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 655415  ri_length: 1  ri_data0: 655416  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 663607  ri_length: 1  ri_data0: 663608  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 671799  ri_length: 1  ri_data0: 671800  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 679991  ri_length: 1  ri_data0: 679992  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 688183  ri_length: 1  ri_data0: 688184  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 696375  ri_length: 1  ri_data0: 696376  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 704567  ri_length: 1  ri_data0: 704568  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 712759  ri_length: 1  ri_data0: 712760  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 720951  ri_length: 1  ri_data0: 720952  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 729143  ri_length: 1  ri_data0: 729144  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 737335  ri_length: 1  ri_data0: 737336  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 745527  ri_length: 1  ri_data0: 745528  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 753719  ri_length: 1  ri_data0: 753720  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 761911  ri_length: 1  ri_data0: 761912  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 770103  ri_length: 1  ri_data0: 770104  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 778295  ri_length: 1  ri_data0: 778296  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 786487  ri_length: 1  ri_data0: 786488  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 794679  ri_length: 1  ri_data0: 794680  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 802871  ri_length: 1  ri_data0: 802872  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 811063  ri_length: 1  ri_data0: 811064  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 819255  ri_length: 1  ri_data0: 819256  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 827447  ri_length: 1  ri_data0: 827448  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 835639  ri_length: 1  ri_data0: 835640  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 843831  ri_length: 1  ri_data0: 843832  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 852023  ri_length: 1  ri_data0: 852024  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 860215  ri_length: 1  ri_data0: 860216  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 868407  ri_length: 1  ri_data0: 868408  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 876599  ri_length: 1  ri_data0: 876600  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 884791  ri_length: 1  ri_data0: 884792  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 892983  ri_length: 1  ri_data0: 892984  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 901175  ri_length: 1  ri_data0: 901176  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 909367  ri_length: 1  ri_data0: 909368  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 917559  ri_length: 1  ri_data0: 917560  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 925751  ri_length: 1  ri_data0: 925752  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 933943  ri_length: 1  ri_data0: 933944  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 942135  ri_length: 1  ri_data0: 942136  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 950327  ri_length: 1  ri_data0: 950328  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 958519  ri_length: 1  ri_data0: 958520  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 966711  ri_length: 1  ri_data0: 966712  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 974903  ri_length: 1  ri_data0: 974904  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 983095  ri_length: 1  ri_data0: 983096  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 991287  ri_length: 1  ri_data0: 991288  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 999479  ri_length: 1  ri_data0: 999480  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1007671  ri_length: 1  ri_data0: 1007672  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1015863  ri_length: 1  ri_data0: 1015864  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1024055  ri_length: 1  ri_data0: 1024056  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1032247  ri_length: 1  ri_data0: 1032248  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1040439  ri_length: 1  ri_data0: 1040440  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1048631  ri_length: 1  ri_data0: 1048632  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1056823  ri_length: 1  ri_data0: 1056824  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1065015  ri_length: 1  ri_data0: 1065016  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1073207  ri_length: 1  ri_data0: 1073208  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1081399  ri_length: 1  ri_data0: 1081400  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1089591  ri_length: 1  ri_data0: 1089592  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1097783  ri_length: 1  ri_data0: 1097784  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1105975  ri_length: 1  ri_data0: 1105976  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1114167  ri_length: 1  ri_data0: 1114168  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1122359  ri_length: 1  ri_data0: 1122360  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1130551  ri_length: 1  ri_data0: 1130552  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1138743  ri_length: 1  ri_data0: 1138744  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1146935  ri_length: 1  ri_data0: 1146936  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1155127  ri_length: 1  ri_data0: 1155128  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1163319  ri_length: 1  ri_data0: 1163320  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1171511  ri_length: 1  ri_data0: 1171512  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1179703  ri_length: 1  ri_data0: 1179704  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1187895  ri_length: 1  ri_data0: 1187896  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1196087  ri_length: 1  ri_data0: 1196088  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1204279  ri_length: 1  ri_data0: 1204280  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1212471  ri_length: 1  ri_data0: 1212472  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1220663  ri_length: 1  ri_data0: 1220664  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1228855  ri_length: 1  ri_data0: 1228856  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1237047  ri_length: 1  ri_data0: 1237048  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1245239  ri_length: 1  ri_data0: 1245240  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1253431  ri_length: 1  ri_data0: 1253432  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1261623  ri_length: 1  ri_data0: 1261624  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1269815  ri_length: 1  ri_data0: 1269816  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1278007  ri_length: 1  ri_data0: 1278008  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1286199  ri_length: 1  ri_data0: 1286200  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1294391  ri_length: 1  ri_data0: 1294392  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1302583  ri_length: 1  ri_data0: 1302584  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1310775  ri_length: 1  ri_data0: 1310776  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1318967  ri_length: 1  ri_data0: 1318968  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1327159  ri_length: 1  ri_data0: 1327160  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1335351  ri_length: 1  ri_data0: 1335352  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1343543  ri_length: 1  ri_data0: 1343544  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1351735  ri_length: 1  ri_data0: 1351736  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1359927  ri_length: 1  ri_data0: 1359928  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1368119  ri_length: 1  ri_data0: 1368120  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1376311  ri_length: 1  ri_data0: 1376312  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1384503  ri_length: 1  ri_data0: 1384504  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1392695  ri_length: 1  ri_data0: 1392696  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1400887  ri_length: 1  ri_data0: 1400888  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1409079  ri_length: 1  ri_data0: 1409080  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1417271  ri_length: 1  ri_data0: 1417272  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1425463  ri_length: 1  ri_data0: 1425464  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1433655  ri_length: 1  ri_data0: 1433656  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1441847  ri_length: 1  ri_data0: 1441848  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1450039  ri_length: 1  ri_data0: 1450040  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1458231  ri_length: 1  ri_data0: 1458232  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1466423  ri_length: 1  ri_data0: 1466424  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1474615  ri_length: 1  ri_data0: 1474616  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1482807  ri_length: 1  ri_data0: 1482808  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1490999  ri_length: 1  ri_data0: 1491000  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1499191  ri_length: 1  ri_data0: 1499192  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1507383  ri_length: 1  ri_data0: 1507384  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1515575  ri_length: 1  ri_data0: 1515576  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1523767  ri_length: 1  ri_data0: 1523768  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1531959  ri_length: 1  ri_data0: 1531960  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1540151  ri_length: 1  ri_data0: 1540152  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1548343  ri_length: 1  ri_data0: 1548344  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1556535  ri_length: 1  ri_data0: 1556536  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1564727  ri_length: 1  ri_data0: 1564728  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1572919  ri_length: 1  ri_data0: 1572920  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1581111  ri_length: 1  ri_data0: 1581112  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1589303  ri_length: 1  ri_data0: 1589304  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1597495  ri_length: 1  ri_data0: 1597496  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1605687  ri_length: 1  ri_data0: 1605688  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1613879  ri_length: 1  ri_data0: 1613880  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1622071  ri_length: 1  ri_data0: 1622072  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1630263  ri_length: 1  ri_data0: 1630264  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1638455  ri_length: 1  ri_data0: 1638456  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1646647  ri_length: 1  ri_data0: 1646648  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1654839  ri_length: 1  ri_data0: 1654840  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1663031  ri_length: 1  ri_data0: 1663032  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1671223  ri_length: 1  ri_data0: 1671224  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1679415  ri_length: 1  ri_data0: 1679416  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1687607  ri_length: 1  ri_data0: 1687608  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1695799  ri_length: 1  ri_data0: 1695800  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1703991  ri_length: 1  ri_data0: 1703992  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1712183  ri_length: 1  ri_data0: 1712184  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1720375  ri_length: 1  ri_data0: 1720376  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1728567  ri_length: 1  ri_data0: 1728568  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1736759  ri_length: 1  ri_data0: 1736760  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1744951  ri_length: 1  ri_data0: 1744952  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1753143  ri_length: 1  ri_data0: 1753144  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1761335  ri_length: 1  ri_data0: 1761336  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1769527  ri_length: 1  ri_data0: 1769528  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1777719  ri_length: 1  ri_data0: 1777720  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1785911  ri_length: 1  ri_data0: 1785912  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1794103  ri_length: 1  ri_data0: 1794104  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1802295  ri_length: 1  ri_data0: 1802296  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1810487  ri_length: 1  ri_data0: 1810488  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1818679  ri_length: 1  ri_data0: 1818680  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1826871  ri_length: 1  ri_data0: 1826872  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1835063  ri_length: 1  ri_data0: 1835064  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1843255  ri_length: 1  ri_data0: 1843256  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1851447  ri_length: 1  ri_data0: 1851448  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1859639  ri_length: 1  ri_data0: 1859640  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1867831  ri_length: 1  ri_data0: 1867832  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1876023  ri_length: 1  ri_data0: 1876024  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1884215  ri_length: 1  ri_data0: 1884216  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1892407  ri_length: 1  ri_data0: 1892408  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1900599  ri_length: 1  ri_data0: 1900600  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1908791  ri_length: 1  ri_data0: 1908792  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1916983  ri_length: 1  ri_data0: 1916984  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1925175  ri_length: 1  ri_data0: 1925176  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1933367  ri_length: 1  ri_data0: 1933368  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1941559  ri_length: 1  ri_data0: 1941560  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1949751  ri_length: 1  ri_data0: 1949752  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1957943  ri_length: 1  ri_data0: 1957944  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1966135  ri_length: 1  ri_data0: 1966136  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1974327  ri_length: 1  ri_data0: 1974328  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1982519  ri_length: 1  ri_data0: 1982520  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1990711  ri_length: 1  ri_data0: 1990712  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 1998903  ri_length: 1  ri_data0: 1998904  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2007095  ri_length: 1  ri_data0: 2007096  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2015287  ri_length: 1  ri_data0: 2015288  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2023479  ri_length: 1  ri_data0: 2023480  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2031671  ri_length: 1  ri_data0: 2031672  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2039863  ri_length: 1  ri_data0: 2039864  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2048055  ri_length: 1  ri_data0: 2048056  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2056247  ri_length: 1  ri_data0: 2056248  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2064439  ri_length: 1  ri_data0: 2064440  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2072631  ri_length: 1  ri_data0: 2072632  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2080823  ri_length: 1  ri_data0: 2080824  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2089015  ri_length: 1  ri_data0: 2089016  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2097207  ri_length: 1  ri_data0: 2097208  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2105399  ri_length: 1  ri_data0: 2105400  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2113591  ri_length: 1  ri_data0: 2113592  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2121783  ri_length: 1  ri_data0: 2121784  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2129975  ri_length: 1  ri_data0: 2129976  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2138167  ri_length: 1  ri_data0: 2138168  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2146359  ri_length: 1  ri_data0: 2146360  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2154551  ri_length: 1  ri_data0: 2154552  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2162743  ri_length: 1  ri_data0: 2162744  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2170934  ri_length: 1  ri_data0: 2170935  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2179125  ri_length: 1  ri_data0: 2179126  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2187316  ri_length: 1  ri_data0: 2187317  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2195507  ri_length: 1  ri_data0: 2195508  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2203698  ri_length: 1  ri_data0: 2203699  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2211889  ri_length: 1  ri_data0: 2211890  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2220080  ri_length: 1  ri_data0: 2220081  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2228271  ri_length: 1  ri_data0: 2228272  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2236462  ri_length: 1  ri_data0: 2236463  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2244653  ri_length: 1  ri_data0: 2244654  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2252844  ri_length: 1  ri_data0: 2252845  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2261035  ri_length: 1  ri_data0: 2261036  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2269226  ri_length: 1  ri_data0: 2269227  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2277417  ri_length: 1  ri_data0: 2277418  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2285608  ri_length: 1  ri_data0: 2285609  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2293799  ri_length: 1  ri_data0: 2293800  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2301990  ri_length: 1  ri_data0: 2301991  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2310181  ri_length: 1  ri_data0: 2310182  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2318372  ri_length: 1  ri_data0: 2318373  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2326563  ri_length: 1  ri_data0: 2326564  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2334754  ri_length: 1  ri_data0: 2334755  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2342945  ri_length: 1  ri_data0: 2342946  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2351136  ri_length: 1  ri_data0: 2351137  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2359327  ri_length: 1  ri_data0: 2359328  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2367518  ri_length: 1  ri_data0: 2367519  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2375709  ri_length: 1  ri_data0: 2375710  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2383900  ri_length: 1  ri_data0: 2383901  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2392091  ri_length: 1  ri_data0: 2392092  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2400282  ri_length: 1  ri_data0: 2400283  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2408473  ri_length: 1  ri_data0: 2408474  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2416664  ri_length: 1  ri_data0: 2416665  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2424855  ri_length: 1  ri_data0: 2424856  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2433046  ri_length: 1  ri_data0: 2433047  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2441237  ri_length: 1  ri_data0: 2441238  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2449428  ri_length: 1  ri_data0: 2449429  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2457619  ri_length: 1  ri_data0: 2457620  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2465810  ri_length: 1  ri_data0: 2465811  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2474001  ri_length: 1  ri_data0: 2474002  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2482192  ri_length: 1  ri_data0: 2482193  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2490383  ri_length: 1  ri_data0: 2490384  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2498574  ri_length: 1  ri_data0: 2498575  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2506765  ri_length: 1  ri_data0: 2506766  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2514956  ri_length: 1  ri_data0: 2514957  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2523147  ri_length: 1  ri_data0: 2523148  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2531338  ri_length: 1  ri_data0: 2531339  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2539529  ri_length: 1  ri_data0: 2539530  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2547720  ri_length: 1  ri_data0: 2547721  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2555911  ri_length: 1  ri_data0: 2555912  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2564102  ri_length: 1  ri_data0: 2564103  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2572293  ri_length: 1  ri_data0: 2572294  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2580484  ri_length: 1  ri_data0: 2580485  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2588675  ri_length: 1  ri_data0: 2588676  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2596866  ri_length: 1  ri_data0: 2596867  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2605057  ri_length: 1  ri_data0: 2605058  ri_data: 8188  ri_bitbytes: 2047
  ri_addr: 2613248  ri_length: 1  ri_data0: 2613249  ri_data: 8188  ri_bitbytes: 2047
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 19  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428976  di_mtime: 1525428976  di_ctime: 1525428976  di_major: 0  di_minor: 0  di_goal_meta: 19  di_goal_data: 19  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./mkfs.at:65: exit code was 1, expected 0
11. mkfs.at:63: 11. Min. resource group size (mkfs.at:63): FAILED (mkfs.at:65)

#                             -*- compilation -*-
12. mkfs.at:68: testing Max. resource group size, min. block size ...
./mkfs.at:70: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./mkfs.at:70: $GFS_MKFS -p lock_nolock -r 2048 -b 512 $GFS_TGT
stderr:
/home/vvidic/deb/github/gfs2-utils/tests/testsuite.dir/at-groups/12/test-source: line 53: 13150 Segmentation fault      $GFS_MKFS -p lock_nolock -r 2048 -b 512 $GFS_TGT
stdout:
File system options:
  bsize = 512
  qcsize = 1
  jsize = 16
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 2048
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 147  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 16777216  di_blocks: 33316  di_atime: 1525428977  di_mtime: 1525428977  di_ctime: 1525428977  di_major: 0  di_minor: 0  di_goal_meta: 694  di_goal_data: 33462  di_flags: 0x00000200  di_payload_format: 0  di_height: 3  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 129  ri_length: 18  ri_data0: 147  ri_data: 33316  ri_bitbytes: 8329
Done
Building resource groups: ./mkfs.at:70: exit code was 139, expected 0
12. mkfs.at:68: 12. Max. resource group size, min. block size (mkfs.at:68): FAILED (mkfs.at:70)

#                             -*- compilation -*-
13. mkfs.at:73: testing Max. journal size ...
./mkfs.at:75: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./mkfs.at:75: $GFS_MKFS -p lock_nolock -J 1024 $GFS_TGT
stderr:
/home/vvidic/deb/github/gfs2-utils/tests/testsuite.dir/at-groups/13/test-source: line 53: 13167 Segmentation fault      $GFS_MKFS -p lock_nolock -J 1024 $GFS_TGT
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 1024
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 34  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 1073741824  di_blocks: 262663  di_atime: 1525428977  di_mtime: 1525428977  di_ctime: 1525428977  di_major: 0  di_minor: 0  di_goal_meta: 552  di_goal_data: 262696  di_flags: 0x00000200  di_payload_format: 0  di_height: 3  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 17  ri_data0: 34  ri_data: 262664  ri_bitbytes: 65666
Done
Building resource groups: ./mkfs.at:75: exit code was 139, expected 0
13. mkfs.at:73: 13. Max. journal size (mkfs.at:73): FAILED (mkfs.at:75)

#                             -*- compilation -*-
14. mkfs.at:78: testing Min. journal size ...
./mkfs.at:80: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./mkfs.at:80: $GFS_MKFS -p lock_nolock -J 8 $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 8
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 18  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 8388608  di_blocks: 2054  di_atime: 1525428987  di_mtime: 1525428987  di_ctime: 1525428987  di_major: 0  di_minor: 0  di_goal_meta: 23  di_goal_data: 2071  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 1  ri_data0: 18  ri_data: 2056  ri_bitbytes: 514
Done
Building resource groups:   ri_addr: 2074  ri_length: 5  ri_data0: 2079  ri_data: 65480  ri_bitbytes: 16370
  ri_addr: 67559  ri_length: 5  ri_data0: 67564  ri_data: 65480  ri_bitbytes: 16370
  ri_addr: 133044  ri_length: 5  ri_data0: 133049  ri_data: 65480  ri_bitbytes: 16370
  ri_addr: 198529  ri_length: 5  ri_data0: 198534  ri_data: 65480  ri_bitbytes: 16370
  ri_addr: 264014  ri_length: 5  ri_data0: 264019  ri_data: 65480  ri_bitbytes: 16370
  ri_addr: 329499  ri_length: 5  ri_data0: 329504  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 394983  ri_length: 5  ri_data0: 394988  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 460467  ri_length: 5  ri_data0: 460472  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 525951  ri_length: 5  ri_data0: 525956  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 591435  ri_length: 5  ri_data0: 591440  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 656919  ri_length: 5  ri_data0: 656924  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 722403  ri_length: 5  ri_data0: 722408  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 787887  ri_length: 5  ri_data0: 787892  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 853371  ri_length: 5  ri_data0: 853376  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 918855  ri_length: 5  ri_data0: 918860  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 984339  ri_length: 5  ri_data0: 984344  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1049823  ri_length: 5  ri_data0: 1049828  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1115307  ri_length: 5  ri_data0: 1115312  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1180791  ri_length: 5  ri_data0: 1180796  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1246275  ri_length: 5  ri_data0: 1246280  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1311759  ri_length: 5  ri_data0: 1311764  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1377243  ri_length: 5  ri_data0: 1377248  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1442727  ri_length: 5  ri_data0: 1442732  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1508211  ri_length: 5  ri_data0: 1508216  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1573695  ri_length: 5  ri_data0: 1573700  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1639179  ri_length: 5  ri_data0: 1639184  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1704663  ri_length: 5  ri_data0: 1704668  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1770147  ri_length: 5  ri_data0: 1770152  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1835631  ri_length: 5  ri_data0: 1835636  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1901115  ri_length: 5  ri_data0: 1901120  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 1966599  ri_length: 5  ri_data0: 1966604  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 2032083  ri_length: 5  ri_data0: 2032088  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 2097567  ri_length: 5  ri_data0: 2097572  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 2163051  ri_length: 5  ri_data0: 2163056  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 2228535  ri_length: 5  ri_data0: 2228540  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 2294019  ri_length: 5  ri_data0: 2294024  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 2359503  ri_length: 5  ri_data0: 2359508  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 2424987  ri_length: 5  ri_data0: 2424992  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 2490471  ri_length: 5  ri_data0: 2490476  ri_data: 65476  ri_bitbytes: 16369
  ri_addr: 2555955  ri_length: 5  ri_data0: 2555960  ri_data: 65476  ri_bitbytes: 16369
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 18  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428987  di_mtime: 1525428987  di_ctime: 1525428987  di_major: 0  di_minor: 0  di_goal_meta: 18  di_goal_data: 18  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./mkfs.at:80: exit code was 1, expected 0
14. mkfs.at:78: 14. Min. journal size (mkfs.at:78): FAILED (mkfs.at:80)

#                             -*- compilation -*-
15. mkfs.at:83: testing Max. quota change file size ...
./mkfs.at:85: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./mkfs.at:85: $GFS_MKFS -p lock_nolock -c 64 $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 64
  jsize = 64
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 19  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 67108864  di_blocks: 16418  di_atime: 1525428987  di_mtime: 1525428987  di_ctime: 1525428987  di_major: 0  di_minor: 0  di_goal_meta: 52  di_goal_data: 16436  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 2  ri_data0: 19  ri_data: 16420  ri_bitbytes: 4105
Done
Building resource groups:   ri_addr: 16439  ri_length: 5  ri_data0: 16444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 81564  ri_length: 5  ri_data0: 81569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 146689  ri_length: 5  ri_data0: 146694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 211814  ri_length: 5  ri_data0: 211819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 276939  ri_length: 5  ri_data0: 276944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 342064  ri_length: 5  ri_data0: 342069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 407189  ri_length: 5  ri_data0: 407194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 472314  ri_length: 5  ri_data0: 472319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 537439  ri_length: 5  ri_data0: 537444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 602564  ri_length: 5  ri_data0: 602569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 667689  ri_length: 5  ri_data0: 667694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 732814  ri_length: 5  ri_data0: 732819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 797939  ri_length: 5  ri_data0: 797944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 863064  ri_length: 5  ri_data0: 863069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 928189  ri_length: 5  ri_data0: 928194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 993314  ri_length: 5  ri_data0: 993319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1058439  ri_length: 5  ri_data0: 1058444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1123564  ri_length: 5  ri_data0: 1123569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1188689  ri_length: 5  ri_data0: 1188694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1253814  ri_length: 5  ri_data0: 1253819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1318939  ri_length: 5  ri_data0: 1318944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1384064  ri_length: 5  ri_data0: 1384069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1449189  ri_length: 5  ri_data0: 1449194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1514314  ri_length: 5  ri_data0: 1514319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1579439  ri_length: 5  ri_data0: 1579444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1644564  ri_length: 5  ri_data0: 1644569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1709689  ri_length: 5  ri_data0: 1709694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1774814  ri_length: 5  ri_data0: 1774819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1839939  ri_length: 5  ri_data0: 1839944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1905064  ri_length: 5  ri_data0: 1905069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1970189  ri_length: 5  ri_data0: 1970194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2035314  ri_length: 5  ri_data0: 2035319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2100439  ri_length: 5  ri_data0: 2100444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2165564  ri_length: 5  ri_data0: 2165569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2230689  ri_length: 5  ri_data0: 2230694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2295814  ri_length: 5  ri_data0: 2295819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2360939  ri_length: 5  ri_data0: 2360944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2426064  ri_length: 5  ri_data0: 2426069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2491189  ri_length: 5  ri_data0: 2491194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2556314  ri_length: 5  ri_data0: 2556319  ri_data: 65120  ri_bitbytes: 16280
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 19  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428987  di_mtime: 1525428987  di_ctime: 1525428987  di_major: 0  di_minor: 0  di_goal_meta: 19  di_goal_data: 19  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./mkfs.at:85: exit code was 1, expected 0
15. mkfs.at:83: 15. Max. quota change file size (mkfs.at:83): FAILED (mkfs.at:85)

#                             -*- compilation -*-
16. mkfs.at:88: testing Min. quota change file size ...
./mkfs.at:90: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./mkfs.at:90: $GFS_MKFS -p lock_nolock -c 1 $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 64
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 19  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 67108864  di_blocks: 16418  di_atime: 1525428987  di_mtime: 1525428987  di_ctime: 1525428987  di_major: 0  di_minor: 0  di_goal_meta: 52  di_goal_data: 16436  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 2  ri_data0: 19  ri_data: 16420  ri_bitbytes: 4105
Done
Building resource groups:   ri_addr: 16439  ri_length: 5  ri_data0: 16444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 81564  ri_length: 5  ri_data0: 81569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 146689  ri_length: 5  ri_data0: 146694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 211814  ri_length: 5  ri_data0: 211819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 276939  ri_length: 5  ri_data0: 276944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 342064  ri_length: 5  ri_data0: 342069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 407189  ri_length: 5  ri_data0: 407194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 472314  ri_length: 5  ri_data0: 472319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 537439  ri_length: 5  ri_data0: 537444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 602564  ri_length: 5  ri_data0: 602569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 667689  ri_length: 5  ri_data0: 667694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 732814  ri_length: 5  ri_data0: 732819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 797939  ri_length: 5  ri_data0: 797944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 863064  ri_length: 5  ri_data0: 863069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 928189  ri_length: 5  ri_data0: 928194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 993314  ri_length: 5  ri_data0: 993319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1058439  ri_length: 5  ri_data0: 1058444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1123564  ri_length: 5  ri_data0: 1123569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1188689  ri_length: 5  ri_data0: 1188694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1253814  ri_length: 5  ri_data0: 1253819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1318939  ri_length: 5  ri_data0: 1318944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1384064  ri_length: 5  ri_data0: 1384069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1449189  ri_length: 5  ri_data0: 1449194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1514314  ri_length: 5  ri_data0: 1514319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1579439  ri_length: 5  ri_data0: 1579444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1644564  ri_length: 5  ri_data0: 1644569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1709689  ri_length: 5  ri_data0: 1709694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1774814  ri_length: 5  ri_data0: 1774819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1839939  ri_length: 5  ri_data0: 1839944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1905064  ri_length: 5  ri_data0: 1905069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1970189  ri_length: 5  ri_data0: 1970194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2035314  ri_length: 5  ri_data0: 2035319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2100439  ri_length: 5  ri_data0: 2100444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2165564  ri_length: 5  ri_data0: 2165569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2230689  ri_length: 5  ri_data0: 2230694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2295814  ri_length: 5  ri_data0: 2295819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2360939  ri_length: 5  ri_data0: 2360944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2426064  ri_length: 5  ri_data0: 2426069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2491189  ri_length: 5  ri_data0: 2491194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2556314  ri_length: 5  ri_data0: 2556319  ri_data: 65120  ri_bitbytes: 16280
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 19  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428987  di_mtime: 1525428987  di_ctime: 1525428987  di_major: 0  di_minor: 0  di_goal_meta: 19  di_goal_data: 19  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./mkfs.at:90: exit code was 1, expected 0
16. mkfs.at:88: 16. Min. quota change file size (mkfs.at:88): FAILED (mkfs.at:90)

#                             -*- compilation -*-
17. mkfs.at:93: testing Lock table validation ...
./mkfs.at:95: $GFS_MKFS -p lock_nolock -t "" $GFS_TGT
stderr:
Lock table is empty.
stdout:
./mkfs.at:96: $GFS_MKFS -p lock_nolock -t "123456789012345678901234567890123:12345678" $GFS_TGT
stderr:
Invalid lock table: cluster name is too long
stdout:
./mkfs.at:97: $GFS_MKFS -p lock_nolock -t "12345678901234567:1234567890123456789012345678901" $GFS_TGT
stderr:
Invalid lock table: file system name is too long
stdout:
./mkfs.at:98: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./mkfs.at:98: $GFS_MKFS -p lock_nolock -t "12345678901234567890123456789012:123456789012345678901234567890" $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 64
  journals = 1
  proto = lock_nolock
  table = 12345678901234567890123456789012:123456789012345678901234567890
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 19  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 67108864  di_blocks: 16418  di_atime: 1525428988  di_mtime: 1525428988  di_ctime: 1525428988  di_major: 0  di_minor: 0  di_goal_meta: 52  di_goal_data: 16436  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 2  ri_data0: 19  ri_data: 16420  ri_bitbytes: 4105
Done
Building resource groups:   ri_addr: 16439  ri_length: 5  ri_data0: 16444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 81564  ri_length: 5  ri_data0: 81569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 146689  ri_length: 5  ri_data0: 146694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 211814  ri_length: 5  ri_data0: 211819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 276939  ri_length: 5  ri_data0: 276944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 342064  ri_length: 5  ri_data0: 342069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 407189  ri_length: 5  ri_data0: 407194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 472314  ri_length: 5  ri_data0: 472319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 537439  ri_length: 5  ri_data0: 537444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 602564  ri_length: 5  ri_data0: 602569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 667689  ri_length: 5  ri_data0: 667694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 732814  ri_length: 5  ri_data0: 732819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 797939  ri_length: 5  ri_data0: 797944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 863064  ri_length: 5  ri_data0: 863069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 928189  ri_length: 5  ri_data0: 928194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 993314  ri_length: 5  ri_data0: 993319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1058439  ri_length: 5  ri_data0: 1058444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1123564  ri_length: 5  ri_data0: 1123569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1188689  ri_length: 5  ri_data0: 1188694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1253814  ri_length: 5  ri_data0: 1253819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1318939  ri_length: 5  ri_data0: 1318944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1384064  ri_length: 5  ri_data0: 1384069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1449189  ri_length: 5  ri_data0: 1449194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1514314  ri_length: 5  ri_data0: 1514319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1579439  ri_length: 5  ri_data0: 1579444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1644564  ri_length: 5  ri_data0: 1644569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1709689  ri_length: 5  ri_data0: 1709694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1774814  ri_length: 5  ri_data0: 1774819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1839939  ri_length: 5  ri_data0: 1839944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1905064  ri_length: 5  ri_data0: 1905069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1970189  ri_length: 5  ri_data0: 1970194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2035314  ri_length: 5  ri_data0: 2035319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2100439  ri_length: 5  ri_data0: 2100444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2165564  ri_length: 5  ri_data0: 2165569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2230689  ri_length: 5  ri_data0: 2230694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2295814  ri_length: 5  ri_data0: 2295819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2360939  ri_length: 5  ri_data0: 2360944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2426064  ri_length: 5  ri_data0: 2426069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2491189  ri_length: 5  ri_data0: 2491194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2556314  ri_length: 5  ri_data0: 2556319  ri_data: 65120  ri_bitbytes: 16280
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 19  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428988  di_mtime: 1525428988  di_ctime: 1525428988  di_major: 0  di_minor: 0  di_goal_meta: 19  di_goal_data: 19  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./mkfs.at:98: exit code was 1, expected 0
17. mkfs.at:93: 17. Lock table validation (mkfs.at:93): FAILED (mkfs.at:98)

#                             -*- compilation -*-
18. mkfs.at:112: testing Device i/o limits handling ...
./mkfs.at:114: $GFS_MKFS -p lock_nolock -o test_topology=0:0:0:0:0 $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 64
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 19  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 67108864  di_blocks: 16418  di_atime: 1525428989  di_mtime: 1525428989  di_ctime: 1525428989  di_major: 0  di_minor: 0  di_goal_meta: 52  di_goal_data: 16436  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 2  ri_data0: 19  ri_data: 16420  ri_bitbytes: 4105
Done
Building resource groups:   ri_addr: 16439  ri_length: 5  ri_data0: 16444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 81564  ri_length: 5  ri_data0: 81569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 146689  ri_length: 5  ri_data0: 146694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 211814  ri_length: 5  ri_data0: 211819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 276939  ri_length: 5  ri_data0: 276944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 342064  ri_length: 5  ri_data0: 342069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 407189  ri_length: 5  ri_data0: 407194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 472314  ri_length: 5  ri_data0: 472319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 537439  ri_length: 5  ri_data0: 537444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 602564  ri_length: 5  ri_data0: 602569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 667689  ri_length: 5  ri_data0: 667694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 732814  ri_length: 5  ri_data0: 732819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 797939  ri_length: 5  ri_data0: 797944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 863064  ri_length: 5  ri_data0: 863069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 928189  ri_length: 5  ri_data0: 928194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 993314  ri_length: 5  ri_data0: 993319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1058439  ri_length: 5  ri_data0: 1058444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1123564  ri_length: 5  ri_data0: 1123569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1188689  ri_length: 5  ri_data0: 1188694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1253814  ri_length: 5  ri_data0: 1253819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1318939  ri_length: 5  ri_data0: 1318944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1384064  ri_length: 5  ri_data0: 1384069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1449189  ri_length: 5  ri_data0: 1449194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1514314  ri_length: 5  ri_data0: 1514319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1579439  ri_length: 5  ri_data0: 1579444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1644564  ri_length: 5  ri_data0: 1644569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1709689  ri_length: 5  ri_data0: 1709694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1774814  ri_length: 5  ri_data0: 1774819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1839939  ri_length: 5  ri_data0: 1839944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1905064  ri_length: 5  ri_data0: 1905069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 1970189  ri_length: 5  ri_data0: 1970194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2035314  ri_length: 5  ri_data0: 2035319  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2100439  ri_length: 5  ri_data0: 2100444  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2165564  ri_length: 5  ri_data0: 2165569  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2230689  ri_length: 5  ri_data0: 2230694  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2295814  ri_length: 5  ri_data0: 2295819  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2360939  ri_length: 5  ri_data0: 2360944  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2426064  ri_length: 5  ri_data0: 2426069  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2491189  ri_length: 5  ri_data0: 2491194  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 2556314  ri_length: 5  ri_data0: 2556319  ri_data: 65120  ri_bitbytes: 16280
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 19  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428989  di_mtime: 1525428989  di_ctime: 1525428989  di_major: 0  di_minor: 0  di_goal_meta: 19  di_goal_data: 19  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./mkfs.at:114: exit code was 1, expected 0
18. mkfs.at:112: 18. Device i/o limits handling (mkfs.at:112): FAILED (mkfs.at:114)

#                             -*- compilation -*-
19. mkfs.at:120: testing Resource group alignment ...
./mkfs.at:122: $GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT
stderr:
/home/vvidic/deb/github/gfs2-utils/tests/testsuite.dir/at-groups/19/test-source: line 38: 13283 Segmentation fault      $GFS_MKFS -p lock_nolock -o test_topology=0:512:65536:393216:512 $GFS_TGT
stdout:
alignment_offset: 0
logical_sector_size: 512
minimum_io_size: 65536
optimal_io_size: 393216
physical_sector_size: 512
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 64
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = 96+16 blocks
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 98  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 67108864  di_blocks: 16418  di_atime: 1525428989  di_mtime: 1525428989  di_ctime: 1525428989  di_major: 0  di_minor: 0  di_goal_meta: 131  di_goal_data: 16515  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 96  ri_length: 2  ri_data0: 98  ri_data: 16524  ri_bitbytes: 4131
Done
Building resource groups: ./mkfs.at:122: exit code was 139, expected 0
19. mkfs.at:120: 19. Resource group alignment (mkfs.at:120): FAILED (mkfs.at:122)

#                             -*- compilation -*-
20. mkfs.at:127: testing Values of rg_skip ...
./mkfs.at:129: $GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 64
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 2048
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 19  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 67108864  di_blocks: 16418  di_atime: 1525428990  di_mtime: 1525428990  di_ctime: 1525428990  di_major: 0  di_minor: 0  di_goal_meta: 52  di_goal_data: 16436  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 2  ri_data0: 19  ri_data: 16420  ri_bitbytes: 4105
Done
Building resource groups:   ri_addr: 16439  ri_length: 33  ri_data0: 16472  ri_data: 520964  ri_bitbytes: 130241
  ri_addr: 537439  ri_length: 33  ri_data0: 537472  ri_data: 520964  ri_bitbytes: 130241
  ri_addr: 1058439  ri_length: 33  ri_data0: 1058472  ri_data: 520964  ri_bitbytes: 130241
  ri_addr: 1579439  ri_length: 33  ri_data0: 1579472  ri_data: 520964  ri_bitbytes: 130241
  ri_addr: 2100439  ri_length: 33  ri_data0: 2100472  ri_data: 520964  ri_bitbytes: 130241
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 19  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428990  di_mtime: 1525428990  di_ctime: 1525428990  di_major: 0  di_minor: 0  di_goal_meta: 19  di_goal_data: 19  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./mkfs.at:129: exit code was 1, expected 0
20. mkfs.at:127: 20. Values of rg_skip (mkfs.at:127): FAILED (mkfs.at:129)

#                             -*- compilation -*-
21. mkfs.at:143: testing Values of rg_data0, rg_data, rg_bitbytes ...
./mkfs.at:145: $GFS_MKFS -p lock_nolock -r 2048 $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 64
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 2048
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 19  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 67108864  di_blocks: 16418  di_atime: 1525428990  di_mtime: 1525428990  di_ctime: 1525428990  di_major: 0  di_minor: 0  di_goal_meta: 52  di_goal_data: 16436  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 2  ri_data0: 19  ri_data: 16420  ri_bitbytes: 4105
Done
Building resource groups:   ri_addr: 16439  ri_length: 33  ri_data0: 16472  ri_data: 520964  ri_bitbytes: 130241
  ri_addr: 537439  ri_length: 33  ri_data0: 537472  ri_data: 520964  ri_bitbytes: 130241
  ri_addr: 1058439  ri_length: 33  ri_data0: 1058472  ri_data: 520964  ri_bitbytes: 130241
  ri_addr: 1579439  ri_length: 33  ri_data0: 1579472  ri_data: 520964  ri_bitbytes: 130241
  ri_addr: 2100439  ri_length: 33  ri_data0: 2100472  ri_data: 520964  ri_bitbytes: 130241
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 19  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428990  di_mtime: 1525428990  di_ctime: 1525428990  di_major: 0  di_minor: 0  di_goal_meta: 19  di_goal_data: 19  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./mkfs.at:145: exit code was 1, expected 0
21. mkfs.at:143: 21. Values of rg_data0, rg_data, rg_bitbytes (mkfs.at:143): FAILED (mkfs.at:145)

#                             -*- compilation -*-
22. mkfs.at:159: testing Small filesystems ...
./mkfs.at:161: rm -f $GFS_TGT && truncate -s 32M ${GFS_TGT}
stderr:
stdout:
./mkfs.at:162: $GFS_MKFS -p lock_nolock $GFS_TGT
stderr:
/home/vvidic/deb/github/gfs2-utils/tests/testsuite.dir/at-groups/22/test-source: line 95: 13322 Segmentation fault      $GFS_MKFS -p lock_nolock $GFS_TGT
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 8
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 18  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 8388608  di_blocks: 2054  di_atime: 1525428991  di_mtime: 1525428991  di_ctime: 1525428991  di_major: 0  di_minor: 0  di_goal_meta: 23  di_goal_data: 2071  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 1  ri_data0: 18  ri_data: 2056  ri_bitbytes: 514
Done
Building resource groups: ./mkfs.at:162: exit code was 139, expected 0
22. mkfs.at:159: 22. Small filesystems (mkfs.at:159): FAILED (mkfs.at:162)

#                             -*- compilation -*-
24. fsck.at:15: testing Fix invalid block sizes ...
./fsck.at:17: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./fsck.at:17: mkfs.gfs2 -O -p lock_nolock $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Done
Building resource groups: Done
./fsck.at:17: exit code was 1, expected 0
24. fsck.at:15: 24. Fix invalid block sizes (fsck.at:15): FAILED (fsck.at:17)

#                             -*- compilation -*-
25. fsck.at:24: testing Fix invalid goal blocks ...
./fsck.at:26: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./fsck.at:26: mkfs.gfs2 -O -p lock_nolock $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Done
Building resource groups: Done
./fsck.at:26: exit code was 1, expected 0
25. fsck.at:24: 25. Fix invalid goal blocks (fsck.at:24): FAILED (fsck.at:26)

#                             -*- compilation -*-
26. fsck.at:29: testing Fix bad resource group #0 ...
./fsck.at:31: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./fsck.at:31: mkfs.gfs2 -O -p lock_nolock $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Done
Building resource groups: Done
./fsck.at:31: exit code was 1, expected 0
26. fsck.at:29: 26. Fix bad resource group #0 (fsck.at:29): FAILED (fsck.at:31)

#                             -*- compilation -*-
27. fsck.at:34: testing Fix bad resource group #1 ...
./fsck.at:36: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./fsck.at:36: mkfs.gfs2 -O -p lock_nolock $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Done
Building resource groups: Done
./fsck.at:36: exit code was 1, expected 0
27. fsck.at:34: 27. Fix bad resource group #1 (fsck.at:34): FAILED (fsck.at:36)

#                             -*- compilation -*-
28. fsck.at:44: testing Fix bad rindex entry #1 ...
./fsck.at:46: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./fsck.at:46: mkfs.gfs2 -O -p lock_nolock $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Done
Building resource groups: Done
./fsck.at:46: exit code was 1, expected 0
28. fsck.at:44: 28. Fix bad rindex entry #1 (fsck.at:44): FAILED (fsck.at:46)

#                             -*- compilation -*-
29. fsck.at:49: testing Rebuild bad journal ...
./fsck.at:51: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./fsck.at:52: mkfs.gfs2 -O -p lock_nolock $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Done
Building resource groups: Done
./fsck.at:52: exit code was 1, expected 0
29. fsck.at:49: 29. Rebuild bad journal (fsck.at:49): FAILED (fsck.at:52)

#                             -*- compilation -*-
30. edit.at:4: testing Save/restoremeta, defaults ...
./edit.at:6: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./edit.at:7: $GFS_MKFS -p lock_nolock $GFS_TGT $(($(gfs_max_blocks 4096)/2))
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 32
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 1310720
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 18  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 33554432  di_blocks: 8210  di_atime: 1525428995  di_mtime: 1525428995  di_ctime: 1525428995  di_major: 0  di_minor: 0  di_goal_meta: 35  di_goal_data: 8227  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 1  ri_data0: 18  ri_data: 8212  ri_bitbytes: 2053
Done
Building resource groups:   ri_addr: 8230  ri_length: 5  ri_data0: 8235  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 73355  ri_length: 5  ri_data0: 73360  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 138480  ri_length: 5  ri_data0: 138485  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 203605  ri_length: 5  ri_data0: 203610  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 268730  ri_length: 5  ri_data0: 268735  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 333855  ri_length: 5  ri_data0: 333860  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 398980  ri_length: 5  ri_data0: 398985  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 464105  ri_length: 5  ri_data0: 464110  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 529230  ri_length: 5  ri_data0: 529235  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 594355  ri_length: 5  ri_data0: 594360  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 659479  ri_length: 5  ri_data0: 659484  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 724603  ri_length: 5  ri_data0: 724608  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 789727  ri_length: 5  ri_data0: 789732  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 854851  ri_length: 5  ri_data0: 854856  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 919975  ri_length: 5  ri_data0: 919980  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 985099  ri_length: 5  ri_data0: 985104  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 1050223  ri_length: 5  ri_data0: 1050228  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 1115347  ri_length: 5  ri_data0: 1115352  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 1180471  ri_length: 5  ri_data0: 1180476  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 1245595  ri_length: 5  ri_data0: 1245600  ri_data: 65116  ri_bitbytes: 16279
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 18  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428995  di_mtime: 1525428995  di_ctime: 1525428995  di_major: 0  di_minor: 0  di_goal_meta: 18  di_goal_data: 18  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./edit.at:7: exit code was 1, expected 0
30. edit.at:4: 30. Save/restoremeta, defaults (edit.at:4): FAILED (edit.at:7)

#                             -*- compilation -*-
31. edit.at:17: testing Save/restoremeta, no compression ...
./edit.at:19: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./edit.at:20: $GFS_MKFS -p lock_nolock $GFS_TGT $(($(gfs_max_blocks 4096)/2))
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 32
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 1310720
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 18  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 33554432  di_blocks: 8210  di_atime: 1525428995  di_mtime: 1525428995  di_ctime: 1525428995  di_major: 0  di_minor: 0  di_goal_meta: 35  di_goal_data: 8227  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 1  ri_data0: 18  ri_data: 8212  ri_bitbytes: 2053
Done
Building resource groups:   ri_addr: 8230  ri_length: 5  ri_data0: 8235  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 73355  ri_length: 5  ri_data0: 73360  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 138480  ri_length: 5  ri_data0: 138485  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 203605  ri_length: 5  ri_data0: 203610  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 268730  ri_length: 5  ri_data0: 268735  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 333855  ri_length: 5  ri_data0: 333860  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 398980  ri_length: 5  ri_data0: 398985  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 464105  ri_length: 5  ri_data0: 464110  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 529230  ri_length: 5  ri_data0: 529235  ri_data: 65120  ri_bitbytes: 16280
  ri_addr: 594355  ri_length: 5  ri_data0: 594360  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 659479  ri_length: 5  ri_data0: 659484  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 724603  ri_length: 5  ri_data0: 724608  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 789727  ri_length: 5  ri_data0: 789732  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 854851  ri_length: 5  ri_data0: 854856  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 919975  ri_length: 5  ri_data0: 919980  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 985099  ri_length: 5  ri_data0: 985104  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 1050223  ri_length: 5  ri_data0: 1050228  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 1115347  ri_length: 5  ri_data0: 1115352  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 1180471  ri_length: 5  ri_data0: 1180476  ri_data: 65116  ri_bitbytes: 16279
  ri_addr: 1245595  ri_length: 5  ri_data0: 1245600  ri_data: 65116  ri_bitbytes: 16279
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 18  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428995  di_mtime: 1525428995  di_ctime: 1525428995  di_major: 0  di_minor: 0  di_goal_meta: 18  di_goal_data: 18  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./edit.at:20: exit code was 1, expected 0
31. edit.at:17: 31. Save/restoremeta, no compression (edit.at:17): FAILED (edit.at:20)

#                             -*- compilation -*-
32. edit.at:27: testing Save/restoremeta, min. block size ...
./edit.at:29: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./edit.at:30: $GFS_MKFS -p lock_nolock -b512 $GFS_TGT
stderr:
/home/vvidic/deb/github/gfs2-utils/tests/testsuite.dir/at-groups/32/test-source: line 95: 13511 Segmentation fault      $GFS_MKFS -p lock_nolock -b512 $GFS_TGT
stdout:
File system options:
  bsize = 512
  qcsize = 1
  jsize = 16
  journals = 1
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 147  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 16777216  di_blocks: 33316  di_atime: 1525428996  di_mtime: 1525428996  di_ctime: 1525428996  di_major: 0  di_minor: 0  di_goal_meta: 694  di_goal_data: 33462  di_flags: 0x00000200  di_payload_format: 0  di_height: 3  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 129  ri_length: 18  ri_data0: 147  ri_data: 33316  ri_bitbytes: 8329
Done
Building resource groups: ./edit.at:30: exit code was 139, expected 0
32. edit.at:27: 32. Save/restoremeta, min. block size (edit.at:27): FAILED (edit.at:30)

#                             -*- compilation -*-
33. edit.at:37: testing Save/restoremeta, 4 journals ...
./edit.at:39: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./edit.at:40: $GFS_MKFS -p lock_nolock -j4 -J8 $GFS_TGT
stderr:
Error building 'jindex': Invalid argument
stdout:
File system options:
  bsize = 4096
  qcsize = 1
  jsize = 8
  journals = 4
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 18  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 8388608  di_blocks: 2054  di_atime: 1525428996  di_mtime: 1525428996  di_ctime: 1525428996  di_major: 0  di_minor: 0  di_goal_meta: 23  di_goal_data: 2071  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 17  ri_length: 1  ri_data0: 18  ri_data: 2056  ri_bitbytes: 514
Placing resource group for journal1
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 2075  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 8388608  di_blocks: 2054  di_atime: 1525428996  di_mtime: 1525428996  di_ctime: 1525428996  di_major: 0  di_minor: 0  di_goal_meta: 2080  di_goal_data: 4128  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 2074  ri_length: 1  ri_data0: 2075  ri_data: 2056  ri_bitbytes: 514
Placing resource group for journal2
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 3  no_addr: 4132  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 8388608  di_blocks: 2054  di_atime: 1525428996  di_mtime: 1525428996  di_ctime: 1525428996  di_major: 0  di_minor: 0  di_goal_meta: 4137  di_goal_data: 6185  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 4131  ri_length: 1  ri_data0: 4132  ri_data: 2056  ri_bitbytes: 514
Placing resource group for journal3
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 4  no_addr: 6189  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 8388608  di_blocks: 2054  di_atime: 1525428996  di_mtime: 1525428996  di_ctime: 1525428996  di_major: 0  di_minor: 0  di_goal_meta: 6194  di_goal_data: 8242  di_flags: 0x00000200  di_payload_format: 0  di_height: 2  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 6188  ri_length: 1  ri_data0: 6189  ri_data: 2056  ri_bitbytes: 514
Done
Building resource groups:   ri_addr: 8245  ri_length: 5  ri_data0: 8250  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 73575  ri_length: 5  ri_data0: 73580  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 138905  ri_length: 5  ri_data0: 138910  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 204235  ri_length: 5  ri_data0: 204240  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 269565  ri_length: 5  ri_data0: 269570  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 334895  ri_length: 5  ri_data0: 334900  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 400225  ri_length: 5  ri_data0: 400230  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 465555  ri_length: 5  ri_data0: 465560  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 530885  ri_length: 5  ri_data0: 530890  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 596215  ri_length: 5  ri_data0: 596220  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 661545  ri_length: 5  ri_data0: 661550  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 726875  ri_length: 5  ri_data0: 726880  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 792205  ri_length: 5  ri_data0: 792210  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 857535  ri_length: 5  ri_data0: 857540  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 922865  ri_length: 5  ri_data0: 922870  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 988195  ri_length: 5  ri_data0: 988200  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1053525  ri_length: 5  ri_data0: 1053530  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1118855  ri_length: 5  ri_data0: 1118860  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1184185  ri_length: 5  ri_data0: 1184190  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1249515  ri_length: 5  ri_data0: 1249520  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1314845  ri_length: 5  ri_data0: 1314850  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1380175  ri_length: 5  ri_data0: 1380180  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1445505  ri_length: 5  ri_data0: 1445510  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1510835  ri_length: 5  ri_data0: 1510840  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1576165  ri_length: 5  ri_data0: 1576170  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1641495  ri_length: 5  ri_data0: 1641500  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1706825  ri_length: 5  ri_data0: 1706830  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1772155  ri_length: 5  ri_data0: 1772160  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1837485  ri_length: 5  ri_data0: 1837490  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1902815  ri_length: 5  ri_data0: 1902820  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 1968145  ri_length: 5  ri_data0: 1968150  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 2033475  ri_length: 5  ri_data0: 2033480  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 2098805  ri_length: 5  ri_data0: 2098810  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 2164135  ri_length: 5  ri_data0: 2164140  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 2229465  ri_length: 5  ri_data0: 2229470  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 2294794  ri_length: 5  ri_data0: 2294799  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 2360123  ri_length: 5  ri_data0: 2360128  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 2425452  ri_length: 5  ri_data0: 2425457  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 2490781  ri_length: 5  ri_data0: 2490786  ri_data: 65324  ri_bitbytes: 16331
  ri_addr: 2556110  ri_length: 5  ri_data0: 2556115  ri_data: 65324  ri_bitbytes: 16331
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 5  no_addr: 18  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 3864  di_blocks: 1  di_atime: 1525428996  di_mtime: 1525428996  di_ctime: 1525428996  di_major: 0  di_minor: 0  di_goal_meta: 18  di_goal_data: 18  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth: 0  di_entries: 2  di_eattr: 0./edit.at:40: exit code was 1, expected 0
33. edit.at:37: 33. Save/restoremeta, 4 journals (edit.at:37): FAILED (edit.at:40)

#                             -*- compilation -*-
34. edit.at:47: testing Save/restoremeta, min. block size, 4 journals ...
./edit.at:49: rm -f $GFS_TGT && truncate -s ${GFS_TGT_SZ}G ${GFS_TGT}
stderr:
stdout:
./edit.at:50: $GFS_MKFS -p lock_nolock -b512 -j4 -J8 $GFS_TGT
stderr:
/home/vvidic/deb/github/gfs2-utils/tests/testsuite.dir/at-groups/34/test-source: line 95: 13545 Segmentation fault      $GFS_MKFS -p lock_nolock -b512 -j4 -J8 $GFS_TGT
stdout:
File system options:
  bsize = 512
  qcsize = 1
  jsize = 8
  journals = 4
  proto = lock_nolock
  table = 
  rgsize = 256
  fssize = 0
  sunit = 0
  swidth = 0
  rgrp align = (disabled)
This will destroy any data on /home/vvidic/deb/github/gfs2-utils/tests/testvol
Adding journals: Placing resource group for journal0
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 1  no_addr: 138  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 8388608  di_blocks: 16659  di_atime: 1525428996  di_mtime: 1525428996  di_ctime: 1525428996  di_major: 0  di_minor: 0  di_goal_meta: 412  di_goal_data: 16796  di_flags: 0x00000200  di_payload_format: 0  di_height: 3  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 129  ri_length: 9  ri_data0: 138  ri_data: 16660  ri_bitbytes: 4165
Placing resource group for journal1
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 2  no_addr: 16807  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 8388608  di_blocks: 16659  di_atime: 1525428996  di_mtime: 1525428996  di_ctime: 1525428996  di_major: 0  di_minor: 0  di_goal_meta: 17081  di_goal_data: 33465  di_flags: 0x00000200  di_payload_format: 0  di_height: 3  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 16798  ri_length: 9  ri_data0: 16807  ri_data: 16660  ri_bitbytes: 4165
Placing resource group for journal2
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 3  no_addr: 33476  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 8388608  di_blocks: 16659  di_atime: 1525428996  di_mtime: 1525428996  di_ctime: 1525428996  di_major: 0  di_minor: 0  di_goal_meta: 33750  di_goal_data: 50134  di_flags: 0x00000200  di_payload_format: 0  di_height: 3  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 33467  ri_length: 9  ri_data0: 33476  ri_data: 16660  ri_bitbytes: 4165
Placing resource group for journal3
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 4  no_addr: 50145  di_mode: 0100600  di_uid: 0  di_gid: 0  di_nlink: 1  di_size: 8388608  di_blocks: 16659  di_atime: 1525428996  di_mtime: 1525428996  di_ctime: 1525428996  di_major: 0  di_minor: 0  di_goal_meta: 50419  di_goal_data: 66803  di_flags: 0x00000200  di_payload_format: 0  di_height: 3  di_depth: 0  di_entries: 0  di_eattr: 0  ri_addr: 50136  ri_length: 9  ri_data0: 50145  ri_data: 16660  ri_bitbytes: 4165
Done
Building resource groups:   ri_addr: 66805  ri_length: 268  ri_data0: 67073  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 589423  ri_length: 268  ri_data0: 589691  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 1112041  ri_length: 268  ri_data0: 1112309  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 1634659  ri_length: 268  ri_data0: 1634927  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 2157277  ri_length: 268  ri_data0: 2157545  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 2679895  ri_length: 268  ri_data0: 2680163  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 3202513  ri_length: 268  ri_data0: 3202781  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 3725131  ri_length: 268  ri_data0: 3725399  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 4247749  ri_length: 268  ri_data0: 4248017  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 4770367  ri_length: 268  ri_data0: 4770635  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 5292985  ri_length: 268  ri_data0: 5293253  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 5815603  ri_length: 268  ri_data0: 5815871  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 6338221  ri_length: 268  ri_data0: 6338489  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 6860839  ri_length: 268  ri_data0: 6861107  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 7383457  ri_length: 268  ri_data0: 7383725  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 7906075  ri_length: 268  ri_data0: 7906343  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 8428693  ri_length: 268  ri_data0: 8428961  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 8951311  ri_length: 268  ri_data0: 8951579  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 9473929  ri_length: 268  ri_data0: 9474197  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 9996547  ri_length: 268  ri_data0: 9996815  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 10519165  ri_length: 268  ri_data0: 10519433  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 11041783  ri_length: 268  ri_data0: 11042051  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 11564401  ri_length: 268  ri_data0: 11564669  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 12087019  ri_length: 268  ri_data0: 12087287  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 12609637  ri_length: 268  ri_data0: 12609905  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 13132255  ri_length: 268  ri_data0: 13132523  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 13654873  ri_length: 268  ri_data0: 13655141  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 14177491  ri_length: 268  ri_data0: 14177759  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 14700109  ri_length: 268  ri_data0: 14700377  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 15222727  ri_length: 268  ri_data0: 15222995  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 15745345  ri_length: 268  ri_data0: 15745613  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 16267963  ri_length: 268  ri_data0: 16268231  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 16790581  ri_length: 268  ri_data0: 16790849  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 17313199  ri_length: 268  ri_data0: 17313467  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 17835817  ri_length: 268  ri_data0: 17836085  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 18358434  ri_length: 268  ri_data0: 18358702  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 18881051  ri_length: 268  ri_data0: 18881319  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 19403668  ri_length: 268  ri_data0: 19403936  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 19926285  ri_length: 268  ri_data0: 19926553  ri_data: 522348  ri_bitbytes: 130587
  ri_addr: 20448902  ri_length: 268  ri_data0: 20449170  ri_data: 522348  ri_bitbytes: 130587
Done

Master dir:
  mh_magic: 0x01161970  mh_type: 4  mh_format: 400  no_formal_ino: 5  no_addr: 138  di_mode: 040755  di_uid: 0  di_gid: 0  di_nlink: 2  di_size: 280  di_blocks: 1  di_atime: 1525428996  di_mtime: 1525428996  di_ctime: 1525428996  di_major: 0  di_minor: 0  di_goal_meta: 138  di_goal_data: 138  di_flags: 0x00000201  di_payload_format: 1200  di_height: 0  di_depth:./edit.at:50: exit code was 139, expected 0
34. edit.at:47: 34. Save/restoremeta, min. block size, 4 journals (edit.at:47): FAILED (edit.at:50)

#                             -*- compilation -*-
35. libgfs2.at:3: testing meta.c ...
./libgfs2.at:3: test x"$ENABLE_UNIT_TESTS" = "xyes" || exit 77
./libgfs2.at:4: check_meta
stderr:
gfs2_rgrp: rg_reserved: offset is 68, expected 48
gfs2_rgrp: size mismatch between struct 128 and fields 108
gfs2_log_header: size mismatch between struct 120 and fields 48
stdout:
Running suite(s): libgfs2
0%: Checks: 1, Failures: 1, Errors: 0
check_meta.c:9:F:Meta:test_lgfs2_meta:0: Assertion 'lgfs2_selfcheck() == 0' failed
./libgfs2.at:4: exit code was 1, expected 0
35. libgfs2.at:3: 35. meta.c (libgfs2.at:3): FAILED (libgfs2.at:4)


## ------------- ##
## ../config.log ##
## ------------- ##
| This file contains any messages produced by compilers while
| running configure, to aid debugging if configure makes a mistake.
| 
| It was created by gfs2-utils configure master, which was
| generated by GNU Autoconf 2.69.  Invocation command line was
| 
|   $ ./configure 
| 
| ## --------- ##
| ## Platform. ##
| ## --------- ##
| 
| hostname = gavran
| uname -m = x86_64
| uname -r = 4.15.0-2-amd64
| uname -s = Linux
| uname -v = #1 SMP Debian 4.15.11-1 (2018-03-20)
| 
| /usr/bin/uname -p = unknown
| /bin/uname -X     = unknown
| 
| /bin/arch              = unknown
| /usr/bin/arch -k       = unknown
| /usr/convex/getsysinfo = unknown
| /usr/bin/hostinfo      = unknown
| /bin/machine           = unknown
| /usr/bin/oslevel       = unknown
| /bin/universe          = unknown
| 
| PATH: /usr/local/bin
| PATH: /usr/bin
| PATH: /bin
| PATH: /usr/games
| 
| 
| ## ----------- ##
| ## Core tests. ##
| ## ----------- ##
| 
| configure:2418: checking for a BSD-compatible install
| configure:2486: result: /usr/bin/install -c
| configure:2497: checking whether build environment is sane
| configure:2552: result: yes
| configure:2703: checking for a thread-safe mkdir -p
| configure:2742: result: /bin/mkdir -p
| configure:2749: checking for gawk
| configure:2765: found /usr/bin/gawk
| configure:2776: result: gawk
| configure:2787: checking whether make sets $(MAKE)
| configure:2809: result: yes
| configure:2838: checking whether make supports nested variables
| configure:2855: result: yes
| configure:2992: checking whether make supports nested variables
| configure:3009: result: yes
| configure:3050: checking build system type
| configure:3064: result: x86_64-pc-linux-gnu
| configure:3084: checking host system type
| configure:3097: result: x86_64-pc-linux-gnu
| configure:3138: checking how to print strings
| configure:3165: result: printf
| configure:3198: checking for style of include used by make
| configure:3226: result: GNU
| configure:3297: checking for gcc
| configure:3313: found /usr/bin/gcc
| configure:3324: result: gcc
| configure:3553: checking for C compiler version
| configure:3562: gcc --version >&5
| gcc (Debian 7.3.0-17) 7.3.0
| Copyright (C) 2017 Free Software Foundation, Inc.
| This is free software; see the source for copying conditions.  There is NO
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
| 
| configure:3573: $? = 0
| configure:3562: gcc -v >&5
| Using built-in specs.
| COLLECT_GCC=gcc
| COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
| OFFLOAD_TARGET_NAMES=nvptx-none
| OFFLOAD_TARGET_DEFAULT=1
| Target: x86_64-linux-gnu
| Configured with: ../src/configure -v --with-pkgversion='Debian 7.3.0-17' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
| Thread model: posix
| gcc version 7.3.0 (Debian 7.3.0-17) 
| configure:3573: $? = 0
| configure:3562: gcc -V >&5
| gcc: error: unrecognized command line option '-V'
| gcc: fatal error: no input files
| compilation terminated.
| configure:3573: $? = 1
| configure:3562: gcc -qversion >&5
| gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
| gcc: fatal error: no input files
| compilation terminated.
| configure:3573: $? = 1
| configure:3593: checking whether the C compiler works
| configure:3615: gcc    conftest.c  >&5
| configure:3619: $? = 0
| configure:3667: result: yes
| configure:3670: checking for C compiler default output file name
| configure:3672: result: a.out
| configure:3678: checking for suffix of executables
| configure:3685: gcc -o conftest    conftest.c  >&5
| configure:3689: $? = 0
| configure:3711: result: 
| configure:3733: checking whether we are cross compiling
| configure:3741: gcc -o conftest    conftest.c  >&5
| configure:3745: $? = 0
| configure:3752: ./conftest
| configure:3756: $? = 0
| configure:3771: result: no
| configure:3776: checking for suffix of object files
| configure:3798: gcc -c   conftest.c >&5
| configure:3802: $? = 0
| configure:3823: result: o
| configure:3827: checking whether we are using the GNU C compiler
| configure:3846: gcc -c   conftest.c >&5
| configure:3846: $? = 0
| configure:3855: result: yes
| configure:3864: checking whether gcc accepts -g
| configure:3884: gcc -c -g  conftest.c >&5
| configure:3884: $? = 0
| configure:3925: result: yes
| configure:3942: checking for gcc option to accept ISO C89
| configure:4005: gcc  -c -g -O2  conftest.c >&5
| configure:4005: $? = 0
| configure:4018: result: none needed
| configure:4043: checking whether gcc understands -c and -o together
| configure:4065: gcc -c conftest.c -o conftest2.o
| configure:4068: $? = 0
| configure:4065: gcc -c conftest.c -o conftest2.o
| configure:4068: $? = 0
| configure:4080: result: yes
| configure:4099: checking dependency style of gcc
| configure:4210: result: gcc3
| configure:4225: checking for a sed that does not truncate output
| configure:4289: result: /bin/sed
| configure:4307: checking for grep that handles long lines and -e
| configure:4365: result: /bin/grep
| configure:4370: checking for egrep
| configure:4432: result: /bin/grep -E
| configure:4437: checking for fgrep
| configure:4499: result: /bin/grep -F
| configure:4534: checking for ld used by gcc
| configure:4601: result: /usr/bin/x86_64-linux-gnu-ld
| configure:4608: checking if the linker (/usr/bin/x86_64-linux-gnu-ld) is GNU ld
| configure:4623: result: yes
| configure:4635: checking for BSD- or MS-compatible name lister (nm)
| configure:4689: result: /usr/bin/nm -B
| configure:4819: checking the name lister (/usr/bin/nm -B) interface
| configure:4826: gcc -c -g -O2  conftest.c >&5
| configure:4829: /usr/bin/nm -B "conftest.o"
| configure:4832: output
| 0000000000000000 B some_variable
| configure:4839: result: BSD nm
| configure:4842: checking whether ln -s works
| configure:4846: result: yes
| configure:4854: checking the maximum length of command line arguments
| configure:4985: result: 1572864
| configure:5033: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
| configure:5073: result: func_convert_file_noop
| configure:5080: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
| configure:5100: result: func_convert_file_noop
| configure:5107: checking for /usr/bin/x86_64-linux-gnu-ld option to reload object files
| configure:5114: result: -r
| configure:5188: checking for objdump
| configure:5204: found /usr/bin/objdump
| configure:5215: result: objdump
| configure:5247: checking how to recognize dependent libraries
| configure:5447: result: pass_all
| configure:5532: checking for dlltool
| configure:5562: result: no
| configure:5592: checking how to associate runtime and link libraries
| configure:5619: result: printf %s\n
| configure:5680: checking for ar
| configure:5696: found /usr/bin/ar
| configure:5707: result: ar
| configure:5744: checking for archiver @FILE support
| configure:5761: gcc -c -g -O2  conftest.c >&5
| configure:5761: $? = 0
| configure:5764: ar cru libconftest.a @conftest.lst >&5
| ar: `u' modifier ignored since `D' is the default (see `U')
| configure:5767: $? = 0
| configure:5772: ar cru libconftest.a @conftest.lst >&5
| ar: `u' modifier ignored since `D' is the default (see `U')
| ar: conftest.o: No such file or directory
| configure:5775: $? = 1
| configure:5787: result: @
| configure:5845: checking for strip
| configure:5861: found /usr/bin/strip
| configure:5872: result: strip
| configure:5944: checking for ranlib
| configure:5960: found /usr/bin/ranlib
| configure:5971: result: ranlib
| configure:6073: checking command to parse /usr/bin/nm -B output from gcc object
| configure:6226: gcc -c -g -O2  conftest.c >&5
| configure:6229: $? = 0
| configure:6233: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
| configure:6236: $? = 0
| configure:6302: gcc -o conftest -g -O2   conftest.c conftstm.o >&5
| configure:6305: $? = 0
| configure:6343: result: ok
| configure:6390: checking for sysroot
| configure:6420: result: no
| configure:6427: checking for a working dd
| configure:6465: result: /bin/dd
| configure:6469: checking how to truncate binary pipes
| configure:6484: result: /bin/dd bs=4096 count=1
| configure:6620: gcc -c -g -O2  conftest.c >&5
| configure:6623: $? = 0
| configure:6813: checking for mt
| configure:6829: found /bin/mt
| configure:6840: result: mt
| configure:6863: checking if mt is a manifest tool
| configure:6869: mt '-?'
| configure:6877: result: no
| configure:7554: checking how to run the C preprocessor
| configure:7585: gcc -E  conftest.c
| configure:7585: $? = 0
| configure:7599: gcc -E  conftest.c
| conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
|  #include <ac_nonexistent.h>
|           ^~~~~~~~~~~~~~~~~~
| compilation terminated.
| configure:7599: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "gfs2-utils"
| | #define PACKAGE_TARNAME "gfs2-utils"
| | #define PACKAGE_VERSION "master"
| | #define PACKAGE_STRING "gfs2-utils master"
| | #define PACKAGE_BUGREPORT "linux-cluster at redhat.com"
| | #define PACKAGE_URL ""
| | #define PACKAGE "gfs2-utils"
| | #define VERSION "master"
| | /* end confdefs.h.  */
| | #include <ac_nonexistent.h>
| configure:7624: result: gcc -E
| configure:7644: gcc -E  conftest.c
| configure:7644: $? = 0
| configure:7658: gcc -E  conftest.c
| conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
|  #include <ac_nonexistent.h>
|           ^~~~~~~~~~~~~~~~~~
| compilation terminated.
| configure:7658: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "gfs2-utils"
| | #define PACKAGE_TARNAME "gfs2-utils"
| | #define PACKAGE_VERSION "master"
| | #define PACKAGE_STRING "gfs2-utils master"
| | #define PACKAGE_BUGREPORT "linux-cluster at redhat.com"
| | #define PACKAGE_URL ""
| | #define PACKAGE "gfs2-utils"
| | #define VERSION "master"
| | /* end confdefs.h.  */
| | #include <ac_nonexistent.h>
| configure:7687: checking for ANSI C header files
| configure:7707: gcc -c -g -O2  conftest.c >&5
| configure:7707: $? = 0
| configure:7780: gcc -o conftest -g -O2   conftest.c  >&5
| configure:7780: $? = 0
| configure:7780: ./conftest
| configure:7780: $? = 0
| configure:7791: result: yes
| configure:7804: checking for sys/types.h
| configure:7804: gcc -c -g -O2  conftest.c >&5
| configure:7804: $? = 0
| configure:7804: result: yes
| configure:7804: checking for sys/stat.h
| configure:7804: gcc -c -g -O2  conftest.c >&5
| configure:7804: $? = 0
| configure:7804: result: yes
| configure:7804: checking for stdlib.h
| configure:7804: gcc -c -g -O2  conftest.c >&5
| configure:7804: $? = 0
| configure:7804: result: yes
| configure:7804: checking for string.h
| configure:7804: gcc -c -g -O2  conftest.c >&5
| configure:7804: $? = 0
| configure:7804: result: yes
| configure:7804: checking for memory.h
| configure:7804: gcc -c -g -O2  conftest.c >&5
| configure:7804: $? = 0
| configure:7804: result: yes
| configure:7804: checking for strings.h
| configure:7804: gcc -c -g -O2  conftest.c >&5
| configure:7804: $? = 0
| configure:7804: result: yes
| configure:7804: checking for inttypes.h
| configure:7804: gcc -c -g -O2  conftest.c >&5
| configure:7804: $? = 0
| configure:7804: result: yes
| configure:7804: checking for stdint.h
| configure:7804: gcc -c -g -O2  conftest.c >&5
| configure:7804: $? = 0
| configure:7804: result: yes
| configure:7804: checking for unistd.h
| configure:7804: gcc -c -g -O2  conftest.c >&5
| configure:7804: $? = 0
| configure:7804: result: yes
| configure:7818: checking for dlfcn.h
| configure:7818: gcc -c -g -O2  conftest.c >&5
| configure:7818: $? = 0
| configure:7818: result: yes
| configure:8074: checking for objdir
| configure:8089: result: .libs
| configure:8353: checking if gcc supports -fno-rtti -fno-exceptions
| configure:8371: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
| cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
| configure:8375: $? = 0
| configure:8388: result: no
| configure:8746: checking for gcc option to produce PIC
| configure:8753: result: -fPIC -DPIC
| configure:8761: checking if gcc PIC flag -fPIC -DPIC works
| configure:8779: gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
| configure:8783: $? = 0
| configure:8796: result: yes
| configure:8825: checking if gcc static flag -static works
| configure:8853: result: yes
| configure:8868: checking if gcc supports -c -o file.o
| configure:8889: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
| configure:8893: $? = 0
| configure:8915: result: yes
| configure:8923: checking if gcc supports -c -o file.o
| configure:8970: result: yes
| configure:9003: checking whether the gcc linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries
| configure:10266: result: yes
| configure:10303: checking whether -lc should be explicitly linked in
| configure:10311: gcc -c -g -O2  conftest.c >&5
| configure:10314: $? = 0
| configure:10329: gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep  -lc  \>/dev/null 2\>\&1
| configure:10332: $? = 0
| configure:10346: result: no
| configure:10506: checking dynamic linker characteristics
| configure:11087: gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
| configure:11087: $? = 0
| configure:11336: result: GNU/Linux ld.so
| configure:11458: checking how to hardcode library paths into programs
| configure:11483: result: immediate
| configure:12031: checking whether stripping libraries is possible
| configure:12036: result: yes
| configure:12071: checking if libtool supports shared libraries
| configure:12073: result: yes
| configure:12076: checking whether to build shared libraries
| configure:12101: result: yes
| configure:12104: checking whether to build static libraries
| configure:12108: result: yes
| configure:12170: checking whether NLS is requested
| configure:12179: result: yes
| configure:12220: checking for msgfmt
| configure: trying /usr/bin/msgfmt...
| 0 translated messages.
| configure:12252: result: /usr/bin/msgfmt
| configure:12261: checking for gmsgfmt
| configure:12292: result: /usr/bin/msgfmt
| configure:12343: checking for xgettext
| configure: trying /usr/bin/xgettext...
| /usr/bin/xgettext: warning: file '/dev/null' extension '' is unknown; will try C
| configure:12375: result: /usr/bin/xgettext
| configure:12421: checking for msgmerge
| configure: trying /usr/bin/msgmerge...
| configure:12452: result: /usr/bin/msgmerge
| configure:12509: checking for ld used by GCC
| configure:12573: result: /usr/bin/x86_64-linux-gnu-ld -m elf_x86_64
| configure:12580: checking if the linker (/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64) is GNU ld
| configure:12593: result: yes
| configure:12600: checking for shared library run path origin
| configure:12613: result: done
| configure:13185: checking for CFPreferencesCopyAppValue
| configure:13203: gcc -o conftest -g -O2   conftest.c  -Wl,-framework -Wl,CoreFoundation >&5
| conftest.c:23:10: fatal error: CoreFoundation/CFPreferences.h: No such file or directory
|  #include <CoreFoundation/CFPreferences.h>
|           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| configure:13203: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "gfs2-utils"
| | #define PACKAGE_TARNAME "gfs2-utils"
| | #define PACKAGE_VERSION "master"
| | #define PACKAGE_STRING "gfs2-utils master"
| | #define PACKAGE_BUGREPORT "linux-cluster at redhat.com"
| | #define PACKAGE_URL ""
| | #define PACKAGE "gfs2-utils"
| | #define VERSION "master"
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | /* end confdefs.h.  */
| | #include <CoreFoundation/CFPreferences.h>
| | int
| | main ()
| | {
| | CFPreferencesCopyAppValue(NULL, NULL)
| |   ;
| |   return 0;
| | }
| configure:13212: result: no
| configure:13219: checking for CFLocaleCopyCurrent
| configure:13237: gcc -o conftest -g -O2   conftest.c  -Wl,-framework -Wl,CoreFoundation >&5
| conftest.c:23:10: fatal error: CoreFoundation/CFLocale.h: No such file or directory
|  #include <CoreFoundation/CFLocale.h>
|           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
| configure:13237: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "gfs2-utils"
| | #define PACKAGE_TARNAME "gfs2-utils"
| | #define PACKAGE_VERSION "master"
| | #define PACKAGE_STRING "gfs2-utils master"
| | #define PACKAGE_BUGREPORT "linux-cluster at redhat.com"
| | #define PACKAGE_URL ""
| | #define PACKAGE "gfs2-utils"
| | #define VERSION "master"
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | /* end confdefs.h.  */
| | #include <CoreFoundation/CFLocale.h>
| | int
| | main ()
| | {
| | CFLocaleCopyCurrent();
| |   ;
| |   return 0;
| | }
| configure:13246: result: no
| configure:13295: checking for GNU gettext in libc
| configure:13315: gcc -o conftest -g -O2   conftest.c  >&5
| configure:13315: $? = 0
| configure:13324: result: yes
| configure:14115: checking whether to use NLS
| configure:14117: result: yes
| configure:14120: checking where the gettext function comes from
| configure:14131: result: libc
| configure:14269: checking for gcc
| configure:14296: result: gcc
| configure:14525: checking for C compiler version
| configure:14534: gcc --version >&5
| gcc (Debian 7.3.0-17) 7.3.0
| Copyright (C) 2017 Free Software Foundation, Inc.
| This is free software; see the source for copying conditions.  There is NO
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
| 
| configure:14545: $? = 0
| configure:14534: gcc -v >&5
| Using built-in specs.
| COLLECT_GCC=gcc
| COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
| OFFLOAD_TARGET_NAMES=nvptx-none
| OFFLOAD_TARGET_DEFAULT=1
| Target: x86_64-linux-gnu
| Configured with: ../src/configure -v --with-pkgversion='Debian 7.3.0-17' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --with-as=/usr/bin/x86_64-linux-gnu-as --with-ld=/usr/bin/x86_64-linux-gnu-ld --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
| Thread model: posix
| gcc version 7.3.0 (Debian 7.3.0-17) 
| configure:14545: $? = 0
| configure:14534: gcc -V >&5
| gcc: error: unrecognized command line option '-V'
| gcc: fatal error: no input files
| compilation terminated.
| configure:14545: $? = 1
| configure:14534: gcc -qversion >&5
| gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
| gcc: fatal error: no input files
| compilation terminated.
| configure:14545: $? = 1
| configure:14549: checking whether we are using the GNU C compiler
| configure:14577: result: yes
| configure:14586: checking whether gcc accepts -g
| configure:14647: result: yes
| configure:14664: checking for gcc option to accept ISO C89
| configure:14740: result: none needed
| configure:14765: checking whether gcc understands -c and -o together
| configure:14802: result: yes
| configure:14821: checking dependency style of gcc
| configure:14932: result: gcc3
| configure:14948: checking whether ln -s works
| configure:14952: result: yes
| configure:14960: checking whether make sets $(MAKE)
| configure:14982: result: yes
| configure:14995: checking for flex
| configure:15011: found /usr/bin/flex
| configure:15022: result: flex
| configure:15060: flex conftest.l
| configure:15064: $? = 0
| configure:15066: checking lex output file root
| configure:15080: result: lex.yy
| configure:15085: checking lex library
| configure:15099: gcc -o conftest -g -O2   conftest.c   >&5
| /tmp/ccGHOSeG.o: In function `input':
| /home/vvidic/deb/github/gfs2-utils/lex.yy.c:1180: undefined reference to `yywrap'
| /tmp/ccGHOSeG.o: In function `yylex':
| /home/vvidic/deb/github/gfs2-utils/lex.yy.c:871: undefined reference to `yywrap'
| /tmp/ccGHOSeG.o: In function `main':
| /home/vvidic/deb/github/gfs2-utils/conftest.l:17: undefined reference to `yywrap'
| collect2: error: ld returned 1 exit status
| configure:15099: $? = 1
| configure: failed program was:
| | /* confdefs.h */
| | #define PACKAGE_NAME "gfs2-utils"
| | #define PACKAGE_TARNAME "gfs2-utils"
| | #define PACKAGE_VERSION "master"
| | #define PACKAGE_STRING "gfs2-utils master"
| | #define PACKAGE_BUGREPORT "linux-cluster at redhat.com"
| | #define PACKAGE_URL ""
| | #define PACKAGE "gfs2-utils"
| | #define VERSION "master"
| | #define STDC_HEADERS 1
| | #define HAVE_SYS_TYPES_H 1
| | #define HAVE_SYS_STAT_H 1
| | #define HAVE_STDLIB_H 1
| | #define HAVE_STRING_H 1
| | #define HAVE_MEMORY_H 1
| | #define HAVE_STRINGS_H 1
| | #define HAVE_INTTYPES_H 1
| | #define HAVE_STDINT_H 1
| | #define HAVE_UNISTD_H 1
| | #define HAVE_DLFCN_H 1
| | #define LT_OBJDIR ".libs/"
| | #define ENABLE_NLS 1
| | #define HAVE_GETTEXT 1
| | #define HAVE_DCGETTEXT 1
| | /* end confdefs.h.  */
| | 
| | #line 3 "lex.yy.c"
| | 
| | #define  YY_INT_ALIGNED short int
| | 
| | /* A lexical scanner generated by flex */
| | 
| | #define FLEX_SCANNER
| | #define YY_FLEX_MAJOR_VERSION 2
| | #define YY_FLEX_MINOR_VERSION 6
| | #define YY_FLEX_SUBMINOR_VERSION 4
| | #if YY_FLEX_SUBMINOR_VERSION > 0
| | #define FLEX_BETA
| | #endif
| | 
| | /* First, we deal with  platform-specific or compiler-specific issues. */
| | 
| | /* begin standard C headers. */
| | #include <stdio.h>
| | #include <string.h>
| | #include <errno.h>
| | #include <stdlib.h>
| | 
| | /* end standard C headers. */
| | 
| | /* flex integer type definitions */
| | 
| | #ifndef FLEXINT_H
| | #define FLEXINT_H
| | 
| | /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
| | 
| | #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
| | 
| | /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
| |  * if you want the limit (max/min) macros for int types. 
| |  */
| | #ifndef __STDC_LIMIT_MACROS
| | #define __STDC_LIMIT_MACROS 1
| | #endif
| | 
| | #include <inttypes.h>
| | typedef int8_t flex_int8_t;
| | typedef uint8_t flex_uint8_t;
| | typedef int16_t flex_int16_t;
| | typedef uint16_t flex_uint16_t;
| | typedef int32_t flex_int32_t;
| | typedef uint32_t flex_uint32_t;
| | #else
| | typedef signed char flex_int8_t;
| | typedef short int flex_int16_t;
| | typedef int flex_int32_t;
| | typedef unsigned char flex_uint8_t; 
| | typedef unsigned short int flex_uint16_t;
| | typedef unsigned int flex_uint32_t;
| | 
| | /* Limits of integral types. */
| | #ifndef INT8_MIN
| | #define INT8_MIN               (-128)
| | #endif
| | #ifndef INT16_MIN
| | #define INT16_MIN              (-32767-1)
| | #endif
| | #ifndef INT32_MIN
| | #define INT32_MIN              (-2147483647-1)
| | #endif
| | #ifndef INT8_MAX
| | #define INT8_MAX               (127)
| | #endif
| | #ifndef INT16_MAX
| | #define INT16_MAX              (32767)
| | #endif
| | #ifndef INT32_MAX
| | #define INT32_MAX              (2147483647)
| | #endif
| | #ifndef UINT8_MAX
| | #define UINT8_MAX              (255U)
| | #endif
| | #ifndef UINT16_MAX
| | #define UINT16_MAX             (65535U)
| | #endif
| | #ifndef UINT32_MAX
| | #define UINT32_MAX             (4294967295U)
| | #endif
| | 
| | #ifndef SIZE_MAX
| | #define SIZE_MAX               (~(size_t)0)
| | #endif
| | 
| | #endif /* ! C99 */
| | 
| | #endif /* ! FLEXINT_H */
| | 
| | /* begin standard C++ headers. */
| | 
| | /* TODO: this is always defined, so inline it */
| | #define yyconst const
| | 
| | #if defined(__GNUC__) && __GNUC__ >= 3
| | #define yynoreturn __attribute__((__noreturn__))
| | #else
| | #define yynoreturn
| | #endif
| | 
| | /* Returned upon end-of-file. */
| | #define YY_NULL 0
| | 
| | /* Promotes a possibly negative, possibly signed char to an
| |  *   integer in range [0..255] for use as an array index.
| |  */
| | #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
| | 
| | /* Enter a start condition.  This macro really ought to take a parameter,
| |  * but we do it the disgusting crufty way forced on us by the ()-less
| |  * definition of BEGIN.
| |  */
| | #define BEGIN (yy_start) = 1 + 2 *
| | /* Translate the current start state into a value that can be later handed
| |  * to BEGIN to return to the state.  The YYSTATE alias is for lex
| |  * compatibility.
| |  */
| | #define YY_START (((yy_start) - 1) / 2)
| | #define YYSTATE YY_START
| | /* Action number for EOF rule of a given start state. */
| | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
| | /* Special action meaning "start processing a new file". */
| | #define YY_NEW_FILE yyrestart( yyin  )
| | #define YY_END_OF_BUFFER_CHAR 0
| | 
| | /* Size of default input buffer. */
| | #ifndef YY_BUF_SIZE
| | #ifdef __ia64__
| | /* On IA-64, the buffer size is 16k, not 8k.
| |  * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
| |  * Ditto for the __ia64__ case accordingly.
| |  */
| | #define YY_BUF_SIZE 32768
| | #else
| | #define YY_BUF_SIZE 16384
| | #endif /* __ia64__ */
| | #endif
| | 
| | /* The state buf must be large enough to hold one state per character in the main buffer.
| |  */
| | #define YY_STATE_BUF_SIZE   ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
| | 
| | #ifndef YY_TYPEDEF_YY_BUFFER_STATE
| | #define YY_TYPEDEF_YY_BUFFER_STATE
| | typedef struct yy_buffer_state *YY_BUFFER_STATE;
| | #endif
| | 
| | #ifndef YY_TYPEDEF_YY_SIZE_T
| | #define YY_TYPEDEF_YY_SIZE_T
| | typedef size_t yy_size_t;
| | #endif
| | 
| | extern int yyleng;
| | 
| | extern FILE *yyin, *yyout;
| | 
| | #define EOB_ACT_CONTINUE_SCAN 0
| | #define EOB_ACT_END_OF_FILE 1
| | #define EOB_ACT_LAST_MATCH 2
| |     
| |     #define YY_LESS_LINENO(n)
| |     #define YY_LINENO_REWIND_TO(ptr)
| |     
| | /* Return all but the first "n" matched characters back to the input stream. */
| | #define yyless(n) \
| | 	do \
| | 		{ \
| | 		/* Undo effects of setting up yytext. */ \
| |         int yyless_macro_arg = (n); \
| |         YY_LESS_LINENO(yyless_macro_arg);\
| | 		*yy_cp = (yy_hold_char); \
| | 		YY_RESTORE_YY_MORE_OFFSET \
| | 		(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
| | 		YY_DO_BEFORE_ACTION; /* set up yytext again */ \
| | 		} \
| | 	while ( 0 )
| | #define unput(c) yyunput( c, (yytext_ptr)  )
| | 
| | #ifndef YY_STRUCT_YY_BUFFER_STATE
| | #define YY_STRUCT_YY_BUFFER_STATE
| | struct yy_buffer_state
| | 	{
| | 	FILE *yy_input_file;
| | 
| | 	char *yy_ch_buf;		/* input buffer */
| | 	char *yy_buf_pos;		/* current position in input buffer */
| | 
| | 	/* Size of input buffer in bytes, not including room for EOB
| | 	 * characters.
| | 	 */
| | 	int yy_buf_size;
| | 
| | 	/* Number of characters read into yy_ch_buf, not including EOB
| | 	 * characters.
| | 	 */
| | 	int yy_n_chars;
| | 
| | 	/* Whether we "own" the buffer - i.e., we know we created it,
| | 	 * and can realloc() it to grow it, and should free() it to
| | 	 * delete it.
| | 	 */
| | 	int yy_is_our_buffer;
| | 
| | 	/* Whether this is an "interactive" input source; if so, and
| | 	 * if we're using stdio for input, then we want to use getc()
| | 	 * instead of fread(), to make sure we stop fetching input after
| | 	 * each newline.
| | 	 */
| | 	int yy_is_interactive;
| | 
| | 	/* Whether we're considered to be at the beginning of a line.
| | 	 * If so, '^' rules will be active on the next match, otherwise
| | 	 * not.
| | 	 */
| | 	int yy_at_bol;
| | 
| |     int yy_bs_lineno; /**< The line count. */
| |     int yy_bs_column; /**< The column count. */
| | 
| | 	/* Whether to try to fill the input buffer when we reach the
| | 	 * end of it.
| | 	 */
| | 	int yy_fill_buffer;
| | 
| | 	int yy_buffer_status;
| | 
| | #define YY_BUFFER_NEW 0
| | #define YY_BUFFER_NORMAL 1
| | 	/* When an EOF's been seen but there's still some text to process
| | 	 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
| | 	 * shouldn't try reading from the input source any more.  We might
| | 	 * still have a bunch of tokens to match, though, because of
| | 	 * possible backing-up.
| | 	 *
| | 	 * When we actually see the EOF, we change the status to "new"
| | 	 * (via yyrestart()), so that the user can continue scanning by
| | 	 * just pointing yyin@a new input file.
| | 	 */
| | #define YY_BUFFER_EOF_PENDING 2
| | 
| | 	};
| | #endif /* !YY_STRUCT_YY_BUFFER_STATE */
| | 
| | /* Stack of input buffers. */
| | static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
| | static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
| | static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
| | 
| | /* We provide macros for accessing buffer states in case in the
| |  * future we want to put the buffer states in a more general
| |  * "scanner state".
| |  *
| |  * Returns the top of the stack, or NULL.
| |  */
| | #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
| |                           ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
| |                           : NULL)
| | /* Same as previous macro, but useful when we know that the buffer stack is not
| |  * NULL or when we need an lvalue. For internal use only.
| |  */
| | #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
| | 
| | /* yy_hold_char holds the character lost when yytext is formed. */
| | static char yy_hold_char;
| | static int yy_n_chars;		/* number of characters read into yy_ch_buf */
| | int yyleng;
| | 
| | /* Points to current character in buffer. */
| | static char *yy_c_buf_p = NULL;
| | static int yy_init = 0;		/* whether we need to initialize */
| | static int yy_start = 0;	/* start state number */
| | 
| | /* Flag which is used to allow yywrap()'s to do buffer switches
| |  * instead of setting up a fresh yyin.  A bit of a hack ...
| |  */
| | static int yy_did_buffer_switch_on_eof;
| | 
| | void yyrestart ( FILE *input_file  );
| | void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer  );
| | YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size  );
| | void yy_delete_buffer ( YY_BUFFER_STATE b  );
| | void yy_flush_buffer ( YY_BUFFER_STATE b  );
| | void yypush_buffer_state ( YY_BUFFER_STATE new_buffer  );
| | void yypop_buffer_state ( void );
| | 
| | static void yyensure_buffer_stack ( void );
| | static void yy_load_buffer_state ( void );
| | static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file  );
| | #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
| | 
| | YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size  );
| | YY_BUFFER_STATE yy_scan_string ( const char *yy_str  );
| | YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len  );
| | 
| | void *yyalloc ( yy_size_t  );
| | void *yyrealloc ( void *, yy_size_t  );
| | void yyfree ( void *  );
| | 
| | #define yy_new_buffer yy_create_buffer
| | #define yy_set_interactive(is_interactive) \
| | 	{ \
| | 	if ( ! YY_CURRENT_BUFFER ){ \
| |         yyensure_buffer_stack (); \
| | 		YY_CURRENT_BUFFER_LVALUE =    \
| |             yy_create_buffer( yyin, YY_BUF_SIZE ); \
| | 	} \
| | 	YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
| | 	}
| | #define yy_set_bol(at_bol) \
| | 	{ \
| | 	if ( ! YY_CURRENT_BUFFER ){\
| |         yyensure_buffer_stack (); \
| | 		YY_CURRENT_BUFFER_LVALUE =    \
| |             yy_create_buffer( yyin, YY_BUF_SIZE ); \
| | 	} \
| | 	YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
| | 	}
| | #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
| | 
| | /* Begin user sect3 */
| | typedef flex_uint8_t YY_CHAR;
| | 
| | FILE *yyin = NULL, *yyout = NULL;
| | 
| | typedef int yy_state_type;
| | 
| | extern int yylineno;
| | int yylineno = 1;
| | 
| | extern char *yytext;
| | #ifdef yytext_ptr
| | #undef yytext_ptr
| | #endif
| | #define yytext_ptr yytext
| | 
| | static yy_state_type yy_get_previous_state ( void );
| | static yy_state_type yy_try_NUL_trans ( yy_state_type current_state  );
| | static int yy_get_next_buffer ( void );
| | static void yynoreturn yy_fatal_error ( const char* msg  );
| | 
| | /* Done after the current pattern has been matched and before the
| |  * corresponding action - sets up yytext.
| |  */
| | #define YY_DO_BEFORE_ACTION \
| | 	(yytext_ptr) = yy_bp; \
| | 	(yytext_ptr) -= (yy_more_len); \
| | 	yyleng = (int) (yy_cp - (yytext_ptr)); \
| | 	(yy_hold_char) = *yy_cp; \
| | 	*yy_cp = '\0'; \
| | 	(yy_c_buf_p) = yy_cp;
| | #define YY_NUM_RULES 8
| | #define YY_END_OF_BUFFER 9
| | /* This struct is not used in this scanner,
| |    but its presence is necessary. */
| | struct yy_trans_info
| | 	{
| | 	flex_int32_t yy_verify;
| | 	flex_int32_t yy_nxt;
| | 	};
| | static const flex_int16_t yy_acclist[23] =
| |     {   0,
| |         9,    7,    8,    8,    1,    7,    8,    2,    7,    8,
| |         3,    7,    8,    4,    7,    8,    5,    7,    8,    6,
| |         7,    8
| |     } ;
| | 
| | static const flex_int16_t yy_accept[14] =
| |     {   0,
| |         1,    1,    1,    2,    4,    5,    8,   11,   14,   17,
| |        20,   23,   23
| |     } ;
| | 
| | static const YY_CHAR yy_ec[256] =
| |     {   0,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    2,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    3,    4,    5,    6,
| | 
| |         7,    8,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| | 
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
| |         1,    1,    1,    1,    1
| |     } ;
| | 
| | static const YY_CHAR yy_meta[9] =
| |     {   0,
| |         1,    1,    1,    1,    1,    1,    1,    1
| |     } ;
| | 
| | static const flex_int16_t yy_base[13] =
| |     {   0,
| |         0,    0,    9,   10,   10,   10,   10,   10,   10,   10,
| |        10,   10
| |     } ;
| | 
| | static const flex_int16_t yy_def[13] =
| |     {   0,
| |        12,    1,   12,   12,   12,   12,   12,   12,   12,   12,
| |        12,    0
| |     } ;
| | 
| | static const flex_int16_t yy_nxt[19] =
| |     {   0,
| |         4,    5,    6,    7,    8,    9,   10,   11,   12,    3,
| |        12,   12,   12,   12,   12,   12,   12,   12
| |     } ;
| | 
| | static const flex_int16_t yy_chk[19] =
| |     {   0,
| |         1,    1,    1,    1,    1,    1,    1,    1,    3,   12,
| |        12,   12,   12,   12,   12,   12,   12,   12
| |     } ;
| | 
| | extern int yy_flex_debug;
| | int yy_flex_debug = 0;
| | 
| | static yy_state_type *yy_state_buf=0, *yy_state_ptr=0;
| | static char *yy_full_match;
| | static int yy_lp;
| | #define REJECT \
| | { \
| | *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \
| | yy_cp = (yy_full_match); /* restore poss. backed-over text */ \
| | ++(yy_lp); \
| | goto find_rule; \
| | }
| | 
| | static int yy_more_flag = 0;
| | static int yy_more_len = 0;
| | #define yymore() ((yy_more_flag) = 1)
| | #define YY_MORE_ADJ (yy_more_len)
| | #define YY_RESTORE_YY_MORE_OFFSET
| | char *yytext;
| | #line 1 "conftest.l"
| | #line 460 "lex.yy.c"
| | 
| | #define INITIAL 0
| | 
| | #ifndef YY_NO_UNISTD_H
| | /* Special case for "unistd.h", since it is non-ANSI. We include it way
| |  * down here because we want the user's section 1 to have been scanned first.
| |  * The user has a chance to override it with an option.
| |  */
| | #include <unistd.h>
| | #endif
| | 
| | #ifndef YY_EXTRA_TYPE
| | #define YY_EXTRA_TYPE void *
| | #endif
| | 
| | static int yy_init_globals ( void );
| | 
| | /* Accessor methods to globals.
| |    These are made visible to non-reentrant scanners for convenience. */
| | 
| | int yylex_destroy ( void );
| | 
| | int yyget_debug ( void );
| | 
| | void yyset_debug ( int debug_flag  );
| | 
| | YY_EXTRA_TYPE yyget_extra ( void );
| | 
| | void yyset_extra ( YY_EXTRA_TYPE user_defined  );
| | 
| | FILE *yyget_in ( void );
| | 
| | void yyset_in  ( FILE * _in_str  );
| | 
| | FILE *yyget_out ( void );
| | 
| | void yyset_out  ( FILE * _out_str  );
| | 
| | 			int yyget_leng ( void );
| | 
| | char *yyget_text ( void );
| | 
| | int yyget_lineno ( void );
| | 
| | void yyset_lineno ( int _line_number  );
| | 
| | /* Macros after this point can all be overridden by user definitions in
| |  * section 1.
| |  */
| | 
| | #ifndef YY_SKIP_YYWRAP
| | #ifdef __cplusplus
| | extern "C" int yywrap ( void );
| | #else
| | extern int yywrap ( void );
| | #endif
| | #endif
| | 
| | #ifndef YY_NO_UNPUT
| |     
| |     static void yyunput ( int c, char *buf_ptr  );
| |     
| | #endif
| | 
| | #ifndef yytext_ptr
| | static void yy_flex_strncpy ( char *, const char *, int );
| | #endif
| | 
| | #ifdef YY_NEED_STRLEN
| | static int yy_flex_strlen ( const char * );
| | #endif
| | 
| | #ifndef YY_NO_INPUT
| | #ifdef __cplusplus
| | static int yyinput ( void );
| | #else
| | static int input ( void );
| | #endif
| | 
| | #endif
| | 
| | /* Amount of stuff to slurp up with each read. */
| | #ifndef YY_READ_BUF_SIZE
| | #ifdef __ia64__
| | /* On IA-64, the buffer size is 16k, not 8k */
| | #define YY_READ_BUF_SIZE 16384
| | #else
| | #define YY_READ_BUF_SIZE 8192
| | #endif /* __ia64__ */
| | #endif
| | 
| | /* Copy whatever the last rule matched to the standard output. */
| | #ifndef ECHO
| | /* This used to be an fputs(), but since the string might contain NUL's,
| |  * we now use fwrite().
| |  */
| | #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
| | #endif
| | 
| | /* Gets input and stuffs it into "buf".  number of characters read, or YY_NULL,
| |  * is returned in "result".
| |  */
| | #ifndef YY_INPUT
| | #define YY_INPUT(buf,result,max_size) \
| | 	if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
| | 		{ \
| | 		int c = '*'; \
| | 		int n; \
| | 		for ( n = 0; n < max_size && \
| | 			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
| | 			buf[n] = (char) c; \
| | 		if ( c == '\n' ) \
| | 			buf[n++] = (char) c; \
| | 		if ( c == EOF && ferror( yyin ) ) \
| | 			YY_FATAL_ERROR( "input in flex scanner failed" ); \
| | 		result = n; \
| | 		} \
| | 	else \
| | 		{ \
| | 		errno=0; \
| | 		while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
| | 			{ \
| | 			if( errno != EINTR) \
| | 				{ \
| | 				YY_FATAL_ERROR( "input in flex scanner failed" ); \
| | 				break; \
| | 				} \
| | 			errno=0; \
| | 			clearerr(yyin); \
| | 			} \
| | 		}\
| | \
| | 
| | #endif
| | 
| | /* No semi-colon after return; correct usage is to write "yyterminate();" -
| |  * we don't want an extra ';' after the "return" because that will cause
| |  * some compilers to complain about unreachable statements.
| |  */
| | #ifndef yyterminate
| | #define yyterminate() return YY_NULL
| | #endif
| | 
| | /* Number of entries by which start-condition stack grows. */
| | #ifndef YY_START_STACK_INCR
| | #define YY_START_STACK_INCR 25
| | #endif
| | 
| | /* Report a fatal error. */
| | #ifndef YY_FATAL_ERROR
| | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
| | #endif
| | 
| | /* end tables serialization structures and prototypes */
| | 
| | /* Default declaration of generated scanner - a define so the user can
| |  * easily add parameters.
| |  */
| | #ifndef YY_DECL
| | #define YY_DECL_IS_OURS 1
| | 
| | extern int yylex (void);
| | 
| | #define YY_DECL int yylex (void)
| | #endif /* !YY_DECL */
| | 
| | /* Code executed at the beginning of each rule, after yytext and yyleng
| |  * have been set up.
| |  */
| | #ifndef YY_USER_ACTION
| | #define YY_USER_ACTION
| | #endif
| | 
| | /* Code executed@the end of each rule. */
| | #ifndef YY_BREAK
| | #define YY_BREAK /*LINTED*/break;
| | #endif
| | 
| | #define YY_RULE_SETUP \
| | 	YY_USER_ACTION
| | 
| | /** The main scanner function which does all the work.
| |  */
| | YY_DECL
| | {
| | 	yy_state_type yy_current_state;
| | 	char *yy_cp, *yy_bp;
| | 	int yy_act;
| |     
| | 	if ( !(yy_init) )
| | 		{
| | 		(yy_init) = 1;
| | 
| | #ifdef YY_USER_INIT
| | 		YY_USER_INIT;
| | #endif
| | 
| |         /* Create the reject buffer large enough to save one state per allowed character. */
| |         if ( ! (yy_state_buf) )
| |             (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE  );
| |             if ( ! (yy_state_buf) )
| |                 YY_FATAL_ERROR( "out of dynamic memory in yylex()" );
| | 
| | 		if ( ! (yy_start) )
| | 			(yy_start) = 1;	/* first start state */
| | 
| | 		if ( ! yyin )
| | 			yyin = stdin;
| | 
| | 		if ( ! yyout )
| | 			yyout = stdout;
| | 
| | 		if ( ! YY_CURRENT_BUFFER ) {
| | 			yyensure_buffer_stack ();
| | 			YY_CURRENT_BUFFER_LVALUE =
| | 				yy_create_buffer( yyin, YY_BUF_SIZE );
| | 		}
| | 
| | 		yy_load_buffer_state(  );
| | 		}
| | 
| | 	{
| | #line 1 "conftest.l"
| | 
| | #line 685 "lex.yy.c"
| | 
| | 	while ( /*CONSTCOND*/1 )		/* loops until end-of-file is reached */
| | 		{
| | 		(yy_more_len) = 0;
| | 		if ( (yy_more_flag) )
| | 			{
| | 			(yy_more_len) = (int) ((yy_c_buf_p) - (yytext_ptr));
| | 			(yy_more_flag) = 0;
| | 			}
| | 		yy_cp = (yy_c_buf_p);
| | 
| | 		/* Support of yytext. */
| | 		*yy_cp = (yy_hold_char);
| | 
| | 		/* yy_bp points to the position in yy_ch_buf of the start of
| | 		 * the current run.
| | 		 */
| | 		yy_bp = yy_cp;
| | 
| | 		yy_current_state = (yy_start);
| | 
| | 		(yy_state_ptr) = (yy_state_buf);
| | 		*(yy_state_ptr)++ = yy_current_state;
| | 
| | yy_match:
| | 		do
| | 			{
| | 			YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
| | 			while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | 				{
| | 				yy_current_state = (int) yy_def[yy_current_state];
| | 				if ( yy_current_state >= 13 )
| | 					yy_c = yy_meta[yy_c];
| | 				}
| | 			yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
| | 			*(yy_state_ptr)++ = yy_current_state;
| | 			++yy_cp;
| | 			}
| | 		while ( yy_base[yy_current_state] != 10 );
| | 
| | yy_find_action:
| | 		yy_current_state = *--(yy_state_ptr);
| | 		(yy_lp) = yy_accept[yy_current_state];
| | 
| | find_rule: /* we branch to this label when backing up */
| | 
| | 		for ( ; ; ) /* until we find what rule we matched */
| | 			{
| | 			if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
| | 				{
| | 				yy_act = yy_acclist[(yy_lp)];
| | 					{
| | 					(yy_full_match) = yy_cp;
| | 					break;
| | 					}
| | 				}
| | 			--yy_cp;
| | 			yy_current_state = *--(yy_state_ptr);
| | 			(yy_lp) = yy_accept[yy_current_state];
| | 			}
| | 
| | 		YY_DO_BEFORE_ACTION;
| | 
| | do_action:	/* This label is used only to access EOF actions. */
| | 
| | 		switch ( yy_act )
| | 	{ /* beginning of action switch */
| | case 1:
| | YY_RULE_SETUP
| | #line 2 "conftest.l"
| | { ECHO; }
| | 	YY_BREAK
| | case 2:
| | YY_RULE_SETUP
| | #line 3 "conftest.l"
| | { REJECT; }
| | 	YY_BREAK
| | case 3:
| | YY_RULE_SETUP
| | #line 4 "conftest.l"
| | { yymore (); }
| | 	YY_BREAK
| | case 4:
| | YY_RULE_SETUP
| | #line 5 "conftest.l"
| | { yyless (1); }
| | 	YY_BREAK
| | case 5:
| | YY_RULE_SETUP
| | #line 6 "conftest.l"
| | { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
| |     yyless ((input () != 0)); }
| | 	YY_BREAK
| | case 6:
| | YY_RULE_SETUP
| | #line 8 "conftest.l"
| | { unput (yytext[0]); }
| | 	YY_BREAK
| | case 7:
| | YY_RULE_SETUP
| | #line 9 "conftest.l"
| | { BEGIN INITIAL; }
| | 	YY_BREAK
| | case 8:
| | YY_RULE_SETUP
| | #line 10 "conftest.l"
| | ECHO;
| | 	YY_BREAK
| | #line 794 "lex.yy.c"
| | 			case YY_STATE_EOF(INITIAL):
| | 				yyterminate();
| | 
| | 	case YY_END_OF_BUFFER:
| | 		{
| | 		/* Amount of text matched not including the EOB char. */
| | 		int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1;
| | 
| | 		/* Undo the effects of YY_DO_BEFORE_ACTION. */
| | 		*yy_cp = (yy_hold_char);
| | 		YY_RESTORE_YY_MORE_OFFSET
| | 
| | 		if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
| | 			{
| | 			/* We're scanning a new file or input source.  It's
| | 			 * possible that this happened because the user
| | 			 * just pointed yyin at a new source and called
| | 			 * yylex().  If so, then we have to assure
| | 			 * consistency between YY_CURRENT_BUFFER and our
| | 			 * globals.  Here is the right place to do so, because
| | 			 * this is the first action (other than possibly a
| | 			 * back-up) that will match for the new input source.
| | 			 */
| | 			(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
| | 			YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
| | 			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
| | 			}
| | 
| | 		/* Note that here we test for yy_c_buf_p "<=" to the position
| | 		 * of the first EOB in the buffer, since yy_c_buf_p will
| | 		 * already have been incremented past the NUL character
| | 		 * (since all states make transitions on EOB to the
| | 		 * end-of-buffer state).  Contrast this with the test
| | 		 * in input().
| | 		 */
| | 		if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
| | 			{ /* This was really a NUL. */
| | 			yy_state_type yy_next_state;
| | 
| | 			(yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text;
| | 
| | 			yy_current_state = yy_get_previous_state(  );
| | 
| | 			/* Okay, we're now positioned to make the NUL
| | 			 * transition.  We couldn't have
| | 			 * yy_get_previous_state() go ahead and do it
| | 			 * for us because it doesn't know how to deal
| | 			 * with the possibility of jamming (and we don't
| | 			 * want to build jamming into it because then it
| | 			 * will run more slowly).
| | 			 */
| | 
| | 			yy_next_state = yy_try_NUL_trans( yy_current_state );
| | 
| | 			yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| | 
| | 			if ( yy_next_state )
| | 				{
| | 				/* Consume the NUL. */
| | 				yy_cp = ++(yy_c_buf_p);
| | 				yy_current_state = yy_next_state;
| | 				goto yy_match;
| | 				}
| | 
| | 			else
| | 				{
| | 				yy_cp = (yy_c_buf_p);
| | 				goto yy_find_action;
| | 				}
| | 			}
| | 
| | 		else switch ( yy_get_next_buffer(  ) )
| | 			{
| | 			case EOB_ACT_END_OF_FILE:
| | 				{
| | 				(yy_did_buffer_switch_on_eof) = 0;
| | 
| | 				if ( yywrap(  ) )
| | 					{
| | 					/* Note: because we've taken care in
| | 					 * yy_get_next_buffer() to have set up
| | 					 * yytext, we can now set up
| | 					 * yy_c_buf_p so that if some total
| | 					 * hoser (like flex itself) wants to
| | 					 * call the scanner after we return the
| | 					 * YY_NULL, it'll still work - another
| | 					 * YY_NULL will get returned.
| | 					 */
| | 					(yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ;
| | 
| | 					yy_act = YY_STATE_EOF(YY_START);
| | 					goto do_action;
| | 					}
| | 
| | 				else
| | 					{
| | 					if ( ! (yy_did_buffer_switch_on_eof) )
| | 						YY_NEW_FILE;
| | 					}
| | 				break;
| | 				}
| | 
| | 			case EOB_ACT_CONTINUE_SCAN:
| | 				(yy_c_buf_p) =
| | 					(yytext_ptr) + yy_amount_of_matched_text;
| | 
| | 				yy_current_state = yy_get_previous_state(  );
| | 
| | 				yy_cp = (yy_c_buf_p);
| | 				yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| | 				goto yy_match;
| | 
| | 			case EOB_ACT_LAST_MATCH:
| | 				(yy_c_buf_p) =
| | 				&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)];
| | 
| | 				yy_current_state = yy_get_previous_state(  );
| | 
| | 				yy_cp = (yy_c_buf_p);
| | 				yy_bp = (yytext_ptr) + YY_MORE_ADJ;
| | 				goto yy_find_action;
| | 			}
| | 		break;
| | 		}
| | 
| | 	default:
| | 		YY_FATAL_ERROR(
| | 			"fatal flex scanner internal error--no action found" );
| | 	} /* end of action switch */
| | 		} /* end of scanning one token */
| | 	} /* end of user's declarations */
| | } /* end of yylex */
| | 
| | /* yy_get_next_buffer - try to read in a new buffer
| |  *
| |  * Returns a code representing an action:
| |  *	EOB_ACT_LAST_MATCH -
| |  *	EOB_ACT_CONTINUE_SCAN - continue scanning from current position
| |  *	EOB_ACT_END_OF_FILE - end of file
| |  */
| | static int yy_get_next_buffer (void)
| | {
| |     	char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
| | 	char *source = (yytext_ptr);
| | 	int number_to_move, i;
| | 	int ret_val;
| | 
| | 	if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
| | 		YY_FATAL_ERROR(
| | 		"fatal flex scanner internal error--end of buffer missed" );
| | 
| | 	if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
| | 		{ /* Don't try to fill the buffer, so this is an EOF. */
| | 		if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 )
| | 			{
| | 			/* We matched a single character, the EOB, so
| | 			 * treat this as a final EOF.
| | 			 */
| | 			return EOB_ACT_END_OF_FILE;
| | 			}
| | 
| | 		else
| | 			{
| | 			/* We matched some text prior to the EOB, first
| | 			 * process it.
| | 			 */
| | 			return EOB_ACT_LAST_MATCH;
| | 			}
| | 		}
| | 
| | 	/* Try to read more data. */
| | 
| | 	/* First move last chars to start of buffer. */
| | 	number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1);
| | 
| | 	for ( i = 0; i < number_to_move; ++i )
| | 		*(dest++) = *(source++);
| | 
| | 	if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
| | 		/* don't do the read, it's not guaranteed to return an EOF,
| | 		 * just force an EOF
| | 		 */
| | 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0;
| | 
| | 	else
| | 		{
| | 			int num_to_read =
| | 			YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
| | 
| | 		while ( num_to_read <= 0 )
| | 			{ /* Not enough room in the buffer - grow it. */
| | 
| | 			YY_FATAL_ERROR(
| | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
| | 
| | 			}
| | 
| | 		if ( num_to_read > YY_READ_BUF_SIZE )
| | 			num_to_read = YY_READ_BUF_SIZE;
| | 
| | 		/* Read in more data. */
| | 		YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
| | 			(yy_n_chars), num_to_read );
| | 
| | 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | 		}
| | 
| | 	if ( (yy_n_chars) == 0 )
| | 		{
| | 		if ( number_to_move == YY_MORE_ADJ )
| | 			{
| | 			ret_val = EOB_ACT_END_OF_FILE;
| | 			yyrestart( yyin  );
| | 			}
| | 
| | 		else
| | 			{
| | 			ret_val = EOB_ACT_LAST_MATCH;
| | 			YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
| | 				YY_BUFFER_EOF_PENDING;
| | 			}
| | 		}
| | 
| | 	else
| | 		ret_val = EOB_ACT_CONTINUE_SCAN;
| | 
| | 	if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
| | 		/* Extend the array by 50%, plus the number we really need. */
| | 		int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
| | 		YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
| | 			(void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size  );
| | 		if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
| | 			YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
| | 		/* "- 2" to take care of EOB's */
| | 		YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2);
| | 	}
| | 
| | 	(yy_n_chars) += number_to_move;
| | 	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR;
| | 	YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR;
| | 
| | 	(yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
| | 
| | 	return ret_val;
| | }
| | 
| | /* yy_get_previous_state - get the state just before the EOB char was reached */
| | 
| |     static yy_state_type yy_get_previous_state (void)
| | {
| | 	yy_state_type yy_current_state;
| | 	char *yy_cp;
| |     
| | 	yy_current_state = (yy_start);
| | 
| | 	(yy_state_ptr) = (yy_state_buf);
| | 	*(yy_state_ptr)++ = yy_current_state;
| | 
| | 	for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
| | 		{
| | 		YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
| | 		while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | 			{
| | 			yy_current_state = (int) yy_def[yy_current_state];
| | 			if ( yy_current_state >= 13 )
| | 				yy_c = yy_meta[yy_c];
| | 			}
| | 		yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
| | 		*(yy_state_ptr)++ = yy_current_state;
| | 		}
| | 
| | 	return yy_current_state;
| | }
| | 
| | /* yy_try_NUL_trans - try to make a transition on the NUL character
| |  *
| |  * synopsis
| |  *	next_state = yy_try_NUL_trans( current_state );
| |  */
| |     static yy_state_type yy_try_NUL_trans  (yy_state_type yy_current_state )
| | {
| | 	int yy_is_jam;
| |     
| | 	YY_CHAR yy_c = 1;
| | 	while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
| | 		{
| | 		yy_current_state = (int) yy_def[yy_current_state];
| | 		if ( yy_current_state >= 13 )
| | 			yy_c = yy_meta[yy_c];
| | 		}
| | 	yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
| | 	yy_is_jam = (yy_current_state == 12);
| | 	if ( ! yy_is_jam )
| | 		*(yy_state_ptr)++ = yy_current_state;
| | 
| | 		return yy_is_jam ? 0 : yy_current_state;
| | }
| | 
| | #ifndef YY_NO_UNPUT
| | 
| |     static void yyunput (int c, char * yy_bp )
| | {
| | 	char *yy_cp;
| |     
| |     yy_cp = (yy_c_buf_p);
| | 
| | 	/* undo effects of setting up yytext */
| | 	*yy_cp = (yy_hold_char);
| | 
| | 	if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
| | 		{ /* need to shift things up to make room */
| | 		/* +2 for EOB chars. */
| | 		int number_to_move = (yy_n_chars) + 2;
| | 		char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[
| | 					YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2];
| | 		char *source =
| | 				&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move];
| | 
| | 		while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
| | 			*--dest = *--source;
| | 
| | 		yy_cp += (int) (dest - source);
| | 		yy_bp += (int) (dest - source);
| | 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars =
| | 			(yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
| | 
| | 		if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
| | 			YY_FATAL_ERROR( "flex scanner push-back overflow" );
| | 		}
| | 
| | 	*--yy_cp = (char) c;
| | 
| | 	(yytext_ptr) = yy_bp;
| | 	(yy_hold_char) = *yy_cp;
| | 	(yy_c_buf_p) = yy_cp;
| | }
| | 
| | #endif
| | 
| | #ifndef YY_NO_INPUT
| | #ifdef __cplusplus
| |     static int yyinput (void)
| | #else
| |     static int input  (void)
| | #endif
| | 
| | {
| | 	int c;
| |     
| | 	*(yy_c_buf_p) = (yy_hold_char);
| | 
| | 	if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR )
| | 		{
| | 		/* yy_c_buf_p now points to the character we want to return.
| | 		 * If this occurs *before* the EOB characters, then it's a
| | 		 * valid NUL; if not, then we've hit the end of the buffer.
| | 		 */
| | 		if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] )
| | 			/* This was really a NUL. */
| | 			*(yy_c_buf_p) = '\0';
| | 
| | 		else
| | 			{ /* need more input */
| | 			int offset = (int) ((yy_c_buf_p) - (yytext_ptr));
| | 			++(yy_c_buf_p);
| | 
| | 			switch ( yy_get_next_buffer(  ) )
| | 				{
| | 				case EOB_ACT_LAST_MATCH:
| | 					/* This happens because yy_g_n_b()
| | 					 * sees that we've accumulated a
| | 					 * token and flags that we need to
| | 					 * try matching the token before
| | 					 * proceeding.  But for input(),
| | 					 * there's no matching to consider.
| | 					 * So convert the EOB_ACT_LAST_MATCH
| | 					 * to EOB_ACT_END_OF_FILE.
| | 					 */
| | 
| | 					/* Reset buffer status. */
| | 					yyrestart( yyin );
| | 
| | 					/*FALLTHROUGH*/
| | 
| | 				case EOB_ACT_END_OF_FILE:
| | 					{
| | 					if ( yywrap(  ) )
| | 						return 0;
| | 
| | 					if ( ! (yy_did_buffer_switch_on_eof) )
| | 						YY_NEW_FILE;
| | #ifdef __cplusplus
| | 					return yyinput();
| | #else
| | 					return input();
| | #endif
| | 					}
| | 
| | 				case EOB_ACT_CONTINUE_SCAN:
| | 					(yy_c_buf_p) = (yytext_ptr) + offset;
| | 					break;
| | 				}
| | 			}
| | 		}
| | 
| | 	c = *(unsigned char *) (yy_c_buf_p);	/* cast for 8-bit char's */
| | 	*(yy_c_buf_p) = '\0';	/* preserve yytext */
| | 	(yy_hold_char) = *++(yy_c_buf_p);
| | 
| | 	return c;
| | }
| | #endif	/* ifndef YY_NO_INPUT */
| | 
| | /** Immediately switch to a different input stream.
| |  * @param input_file A readable stream.
| |  * 
| |  * @note This function does not reset the start condition to @c INITIAL .
| |  */
| |     void yyrestart  (FILE * input_file )
| | {
| |     
| | 	if ( ! YY_CURRENT_BUFFER ){
| |         yyensure_buffer_stack ();
| | 		YY_CURRENT_BUFFER_LVALUE =
| |             yy_create_buffer( yyin, YY_BUF_SIZE );
| | 	}
| | 
| | 	yy_init_buffer( YY_CURRENT_BUFFER, input_file );
| | 	yy_load_buffer_state(  );
| | }
| | 
| | /** Switch to a different input buffer.
| |  * @param new_buffer The new input buffer.
| |  * 
| |  */
| |     void yy_switch_to_buffer  (YY_BUFFER_STATE  new_buffer )
| | {
| |     
| | 	/* TODO. We should be able to replace this entire function body
| | 	 * with
| | 	 *		yypop_buffer_state();
| | 	 *		yypush_buffer_state(new_buffer);
| |      */
| | 	yyensure_buffer_stack ();
| | 	if ( YY_CURRENT_BUFFER == new_buffer )
| | 		return;
| | 
| | 	if ( YY_CURRENT_BUFFER )
| | 		{
| | 		/* Flush out information for old buffer. */
| | 		*(yy_c_buf_p) = (yy_hold_char);
| | 		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
| | 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | 		}
| | 
| | 	YY_CURRENT_BUFFER_LVALUE = new_buffer;
| | 	yy_load_buffer_state(  );
| | 
| | 	/* We don't actually know whether we did this switch during
| | 	 * EOF (yywrap()) processing, but the only time this flag
| | 	 * is looked at is after yywrap() is called, so it's safe
| | 	 * to go ahead and always set it.
| | 	 */
| | 	(yy_did_buffer_switch_on_eof) = 1;
| | }
| | 
| | static void yy_load_buffer_state  (void)
| | {
| |     	(yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
| | 	(yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
| | 	yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
| | 	(yy_hold_char) = *(yy_c_buf_p);
| | }
| | 
| | /** Allocate and initialize an input buffer state.
| |  * @param file A readable stream.
| |  * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
| |  * 
| |  * @return the allocated buffer state.
| |  */
| |     YY_BUFFER_STATE yy_create_buffer  (FILE * file, int  size )
| | {
| | 	YY_BUFFER_STATE b;
| |     
| | 	b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state )  );
| | 	if ( ! b )
| | 		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
| | 
| | 	b->yy_buf_size = size;
| | 
| | 	/* yy_ch_buf has to be 2 characters longer than the size given because
| | 	 * we need to put in 2 end-of-buffer characters.
| | 	 */
| | 	b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2)  );
| | 	if ( ! b->yy_ch_buf )
| | 		YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
| | 
| | 	b->yy_is_our_buffer = 1;
| | 
| | 	yy_init_buffer( b, file );
| | 
| | 	return b;
| | }
| | 
| | /** Destroy the buffer.
| |  * @param b a buffer created with yy_create_buffer()
| |  * 
| |  */
| |     void yy_delete_buffer (YY_BUFFER_STATE  b )
| | {
| |     
| | 	if ( ! b )
| | 		return;
| | 
| | 	if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
| | 		YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
| | 
| | 	if ( b->yy_is_our_buffer )
| | 		yyfree( (void *) b->yy_ch_buf  );
| | 
| | 	yyfree( (void *) b  );
| | }
| | 
| | /* Initializes or reinitializes a buffer.
| |  * This function is sometimes called more than once on the same buffer,
| |  * such as during a yyrestart() or at EOF.
| |  */
| |     static void yy_init_buffer  (YY_BUFFER_STATE  b, FILE * file )
| | 
| | {
| | 	int oerrno = errno;
| |     
| | 	yy_flush_buffer( b );
| | 
| | 	b->yy_input_file = file;
| | 	b->yy_fill_buffer = 1;
| | 
| |     /* If b is the current buffer, then yy_init_buffer was _probably_
| |      * called from yyrestart() or through yy_get_next_buffer.
| |      * In that case, we don't want to reset the lineno or column.
| |      */
| |     if (b != YY_CURRENT_BUFFER){
| |         b->yy_bs_lineno = 1;
| |         b->yy_bs_column = 0;
| |     }
| | 
| |         b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
| |     
| | 	errno = oerrno;
| | }
| | 
| | /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
| |  * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
| |  * 
| |  */
| |     void yy_flush_buffer (YY_BUFFER_STATE  b )
| | {
| |     	if ( ! b )
| | 		return;
| | 
| | 	b->yy_n_chars = 0;
| | 
| | 	/* We always need two end-of-buffer characters.  The first causes
| | 	 * a transition to the end-of-buffer state.  The second causes
| | 	 * a jam in that state.
| | 	 */
| | 	b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
| | 	b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
| | 
| | 	b->yy_buf_pos = &b->yy_ch_buf[0];
| | 
| | 	b->yy_at_bol = 1;
| | 	b->yy_buffer_status = YY_BUFFER_NEW;
| | 
| | 	if ( b == YY_CURRENT_BUFFER )
| | 		yy_load_buffer_state(  );
| | }
| | 
| | /** Pushes the new state onto the stack. The new state becomes
| |  *  the current state. This function will allocate the stack
| |  *  if necessary.
| |  *  @param new_buffer The new state.
| |  *  
| |  */
| | void yypush_buffer_state (YY_BUFFER_STATE new_buffer )
| | {
| |     	if (new_buffer == NULL)
| | 		return;
| | 
| | 	yyensure_buffer_stack();
| | 
| | 	/* This block is copied from yy_switch_to_buffer. */
| | 	if ( YY_CURRENT_BUFFER )
| | 		{
| | 		/* Flush out information for old buffer. */
| | 		*(yy_c_buf_p) = (yy_hold_char);
| | 		YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p);
| | 		YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars);
| | 		}
| | 
| | 	/* Only push if top exists. Otherwise, replace top. */
| | 	if (YY_CURRENT_BUFFER)
| | 		(yy_buffer_stack_top)++;
| | 	YY_CURRENT_BUFFER_LVALUE = new_buffer;
| | 
| | 	/* copied from yy_switch_to_buffer. */
| | 	yy_load_buffer_state(  );
| | 	(yy_did_buffer_switch_on_eof) = 1;
| | }
| | 
| | /** Removes and deletes the top of the stack, if present.
| |  *  The next element becomes the new top.
| |  *  
| |  */
| | void yypop_buffer_state (void)
| | {
| |     	if (!YY_CURRENT_BUFFER)
| | 		return;
| | 
| | 	yy_delete_buffer(YY_CURRENT_BUFFER );
| | 	YY_CURRENT_BUFFER_LVALUE = NULL;
| | 	if ((yy_buffer_stack_top) > 0)
| | 		--(yy_buffer_stack_top);
| | 
| | 	if (YY_CURRENT_BUFFER) {
| | 		yy_load_buffer_state(  );
| | 		(yy_did_buffer_switch_on_eof) = 1;
| | 	}
| | }
| | 
| | /* Allocates the stack if it does not exist.
| |  *  Guarantees space for at least one push.
| |  */
| | static void yyensure_buffer_stack (void)
| | {
| | 	yy_size_t num_to_alloc;
| |     
| | 	if (!(yy_buffer_stack)) {
| | 
| | 		/* First allocation is just for 2 elements, since we don't know if this
| | 		 * scanner will even need a stack. We use 2 instead of 1 to avoid an
| | 		 * immediate realloc on the next call.
| |          */
| |       num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
| | 		(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
| | 								(num_to_alloc * sizeof(struct yy_buffer_state*)
| | 								);
| | 		if ( ! (yy_buffer_stack) )
| | 			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
| | 
| | 		memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*));
| | 
| | 		(yy_buffer_stack_max) = num_to_alloc;
| | 		(yy_buffer_stack_top) = 0;
| | 		return;
| | 	}
| | 
| | 	if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
| | 
| | 		/* Increase the buffer to prepare for a possible push. */
| | 		yy_size_t grow_size = 8 /* arbitrary grow size */;
| | 
| | 		num_to_alloc = (yy_buffer_stack_max) + grow_size;
| | 		(yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
| | 								((yy_buffer_stack),
| | 								num_to_alloc * sizeof(struct yy_buffer_state*)
| | 								);
| | 		if ( ! (yy_buffer_stack) )
| | 			YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" );
| | 
| | 		/* zero only the new slots.*/
| | 		memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*));
| | 		(yy_buffer_stack_max) = num_to_alloc;
| | 	}
| | }
| | 
| | /** Setup the input buffer state to scan directly from a user-specified character buffer.
| |  * @param base the character buffer
| |  * @param size the size in bytes of the character buffer
| |  * 
| |  * @return the newly allocated buffer state object.
| |  */
| | YY_BUFFER_STATE yy_scan_buffer  (char * base, yy_size_t  size )
| | {
| | 	YY_BUFFER_STATE b;
| |     
| | 	if ( size < 2 ||
| | 	     base[size-2] != YY_END_OF_BUFFER_CHAR ||
| | 	     base[size-1] != YY_END_OF_BUFFER_CHAR )
| | 		/* They forgot to leave room for the EOB's. */
| | 		return NULL;
| | 
| | 	b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state )  );
| | 	if ( ! b )
| | 		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
| | 
| | 	b->yy_buf_size = (int) (size - 2);	/* "- 2" to take care of EOB's */
| | 	b->yy_buf_pos = b->yy_ch_buf = base;
| | 	b->yy_is_our_buffer = 0;
| | 	b->yy_input_file = NULL;
| | 	b->yy_n_chars = b->yy_buf_size;
| | 	b->yy_is_interactive = 0;
| | 	b->yy_at_bol = 1;
| | 	b->yy_fill_buffer = 0;
| | 	b->yy_buffer_status = YY_BUFFER_NEW;
| | 
| | 	yy_switch_to_buffer( b  );
| | 
| | 	return b;
| | }
| | 
| | /** Setup the input buffer state to scan a string. The next call to yylex() will
| |  * scan from a @e copy of @a str.
| |  * @param yystr a NUL-terminated string to scan
| |  * 
| |  * @return the newly allocated buffer state object.
| |  * @note If you want to scan bytes that may contain NUL values, then use
| |  *       yy_scan_bytes() instead.
| |  */
| | YY_BUFFER_STATE yy_scan_string (const char * yystr )
| | {
| |     
| | 	return yy_scan_bytes( yystr, (int) strlen(yystr) );
| | }
| | 
| | /** Setup the input buffer state to scan the given bytes. The next call to yylex() will
| |  * scan from a @e copy of @a bytes.
| |  * @param yybytes the byte buffer to scan
| |  * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
| |  * 
| |  * @return the newly allocated buffer state object.
| |  */
| | YY_BUFFER_STATE yy_scan_bytes  (const char * yybytes, int  _yybytes_len )
| | {
| | 	YY_BUFFER_STATE b;
| | 	char *buf;
| | 	yy_size_t n;
| | 	int i;
| |     
| | 	/* Get memory for full buffer, including space for trailing EOB's. */
| | 	n = (yy_size_t) (_yybytes_len + 2);
| | 	buf = (char *) yyalloc( n  );
| | 	if ( ! buf )
| | 		YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
| | 
| | 	for ( i = 0; i < _yybytes_len; ++i )
| | 		buf[i] = yybytes[i];
| | 
| | 	buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
| | 
| | 	b = yy_scan_buffer( buf, n );
| | 	if ( ! b )
| | 		YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
| | 
| | 	/* It's okay to grow etc. this buffer, and we should throw it
| | 	 * away when we're done.
| | 	 */
| | 	b->yy_is_our_buffer = 1;
| | 
| | 	return b;
| | }
| | 
| | #ifndef YY_EXIT_FAILURE
| | #define YY_EXIT_FAILURE 2
| | #endif
| | 
| | static void yynoreturn yy_fatal_error (const char* msg )
| | {
| | 			fprintf( stderr, "%s\n", msg );
| | 	exit( YY_EXIT_FAILURE );
| | }
| | 
| | /* Redefine yyless() so it works in section 3 code. */
| | 
| | #undef yyless
| | #define yyless(n) \
| | 	do \
| | 		{ \
| | 		/* Undo effects of setting up yytext. */ \
| |         int yyless_macro_arg = (n); \
| |         YY_LESS_LINENO(yyless_macro_arg);\
| | 		yytext[yyleng] = (yy_hold_char); \
| | 		(yy_c_buf_p) = yytext + yyless_macro_arg; \
| | 		(yy_hold_char) = *(yy_c_buf_p); \
| | 		*(yy_c_buf_p) = '\0'; \
| | 		yyleng = yyless_macro_arg; \
| | 		} \
| | 	while ( 0 )
| | 
| | /* Accessor  methods (get/set functions) to struct members. */
| | 
| | /** Get the current line number.
| |  * 
| |  */
| | int yyget_lineno  (void)
| | {
| |     
| |     return yylineno;
| | }
| | 
| | /** Get the input stream.
| |  * 
| |  */
| | FILE *yyget_in  (void)
| | {
| |         return yyin;
| | }
| | 
| | /** Get the output stream.
| |  * 
| |  */
| | FILE *yyget_out  (void)
| | {
| |         return yyout;
| | }
| | 
| | /** Get the length of the current token.
| |  * 
| |  */
| | int yyget_leng  (void)
| | {
| |         return yyleng;
| | }
| | 
| | /** Get the current token.
| |  * 
| |  */
| | 
| | char *yyget_text  (void)
| | {
| |         return yytext;
| | }
| | 
| | /** Set the current line number.
| |  * @param _line_number line number
| |  * 
| |  */
| | void yyset_lineno (int  _line_number )
| | {
| |     
| |     yylineno = _line_number;
| | }
| | 
| | /** Set the input stream. This does not discard the current
| |  * input buffer.
| |  * @param _in_str A readable stream.
| |  * 
| |  * @see yy_switch_to_buffer
| |  */
| | void yyset_in (FILE *  _in_str )
| | {
| |         yyin = _in_str ;
| | }
| | 
| | void yyset_out (FILE *  _out_str )
| | {
| |         yyout = _out_str ;
| | }
| | 
| | int yyget_debug  (void)
| | {
| |         return yy_flex_debug;
| | }
| | 
| | void yyset_debug (int  _bdebug )
| | {
| |         yy_flex_debug = _bdebug ;
| | }
| | 
| | static int yy_init_globals (void)
| | {
| |         /* Initialization is the same as for the non-reentrant scanner.
| |      * This function is called from yylex_destroy(), so don't allocate here.
| |      */
| | 
| |     (yy_buffer_stack) = NULL;
| |     (yy_buffer_stack_top) = 0;
| |     (yy_buffer_stack_max) = 0;
| |     (yy_c_buf_p) = NULL;
| |     (yy_init) = 0;
| |     (yy_start) = 0;
| | 
| |     (yy_state_buf) = 0;
| |     (yy_state_ptr) = 0;
| |     (yy_full_match) = 0;
| |     (yy_lp) = 0;
| | 
| | /* Defined in main.c */
| | #ifdef YY_STDINIT
| |     yyin = stdin;
| |     yyout = stdout;
| | #else
| |     yyin = NULL;
| |     yyout = NULL;
| | #endif
| | 
| |     /* For future reference: Set errno on error, since we are called by
| |      * yylex_init()
| |      */
| |     return 0;
| | }
| | 
| | /* yylex_destroy is for both reentrant and non-reentrant scanners. */
| | int yylex_destroy  (void)
| | {
| |     
| |     /* Pop the buffer stack, destroying each element. */
| | 	while(YY_CURRENT_BUFFER){
| | 		yy_delete_buffer( YY_CURRENT_BUFFER  );
| | 		YY_CURRENT_BUFFER_LVALUE = NULL;
| | 		yypop_buffer_state();
| | 	}
| | 
| | 	/* Destroy the stack itself. */
| | 	yyfree((yy_buffer_stack) );
| | 	(yy_buffer_stack) = NULL;
| | 
| |     yyfree ( (yy_state_buf) );
| |     (yy_state_buf)  = NULL;
| | 
| |     /* Reset the globals. This is important in a non-reentrant scanner so the next time
| |      * yylex() is called, initialization will occur. */
| |     yy_init_globals( );
| | 
| |     return 0;
| | }
| | 
| | /*
| |  * Internal utility routines.
| |  */
| | 
| | #ifndef yytext_ptr
| | static void yy_flex_strncpy (char* s1, const char * s2, int n )
| | {
| | 		
| | 	int i;
| | 	for ( i = 0; i < n; ++i )
| | 		s1[i] = s2[i];
| | }
| | #endif
| | 
| | #ifdef YY_NEED_STRLEN
| | static int yy_flex_strlen (const char * s )
| | {
| | 	int n;
| | 	for ( n = 0; s[n]; ++n )
| | 		;
| | 
| | 	return n;
| | }
| | #endif
| | 
| | void *yyalloc (yy_size_t  size )
| | {
| | 			return malloc(size);
| | }
| | 
| | void *yyrealloc  (void * ptr, yy_size_t  size )
| | {
| | 		
| | 	/* The cast to (char *) in the following accommodates both
| | 	 * implementations that use char* generic pointers, and those
| | 	 * that use void* generic pointers.  It works with the latter
| | 	 * because both ANSI C and C++ allow castless assignment from
| | 	 * any pointer type to void*, and deal with argument conversions
| | 	 * as though doing an assignment.
| | 	 */
| | 	return realloc(ptr, size);
| | }
| | 
| | void yyfree (void * ptr )
| | {
| | 			free( (char *) ptr );	/* see yyrealloc() for (char *) cast */
| | }
| | 
| | #define YYTABLES_NAME "yytables"
| | 
| | #line 10 "conftest.l"
| | 
| | #ifdef YYTEXT_POINTER
| | extern char *yytext;
| | #endif
| | int
| | main (void)
| | {
| |   return ! yylex () + ! yywrap ();
| | }
| configure:15099: gcc -o conftest -g -O2   conftest.c -lfl  >&5
| configure:15099: $? = 0
| configure:15109: result: -lfl
| configure:15115: checking whether yytext is a pointer
| configure:15132: gcc -o conftest -g -O2   conftest.c -lfl  >&5
| configure:15132: $? = 0
| configure:15140: result: yes
| configure:15153: checking for bison
| configure:15169: found /usr/bin/bison
| configure:15180: result: bison -y
| configure:15349: checking for pkg-config
| configure:15367: found /usr/bin/pkg-config
| configure:15379: result: /usr/bin/pkg-config
| configure:15404: checking pkg-config is at least version 0.9.0
| configure:15407: result: yes
| configure:15417: checking for check
| configure:15424: $PKG_CONFIG --exists --print-errors "check >= 0.9.8"
| configure:15427: $? = 0
| configure:15441: $PKG_CONFIG --exists --print-errors "check >= 0.9.8"
| configure:15444: $? = 0
| configure:15482: result: yes
| configure:15497: checking for zlib
| configure:15504: $PKG_CONFIG --exists --print-errors "zlib"
| configure:15507: $? = 0
| configure:15521: $PKG_CONFIG --exists --print-errors "zlib"
| configure:15524: $? = 0
| configure:15582: result: yes
| configure:15588: checking for blkid
| configure:15595: $PKG_CONFIG --exists --print-errors "blkid"
| configure:15598: $? = 0
| configure:15612: $PKG_CONFIG --exists --print-errors "blkid"
| configure:15615: $? = 0
| configure:15673: result: yes
| configure:15679: checking for uuid
| configure:15686: $PKG_CONFIG --exists --print-errors "uuid"
| configure:15689: $? = 0
| configure:15703: $PKG_CONFIG --exists --print-errors "uuid"
| configure:15706: $? = 0
| configure:15744: result: yes
| configure:15752: checking for ncurses
| configure:15759: $PKG_CONFIG --exists --print-errors "ncurses"
| configure:15762: $? = 0
| configure:15776: $PKG_CONFIG --exists --print-errors "ncurses"
| configure:15779: $? = 0
| configure:15817: result: yes
| configure:15841: checking fcntl.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking fcntl.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for fcntl.h
| configure:15841: result: yes
| configure:15841: checking libintl.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking libintl.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for libintl.h
| configure:15841: result: yes
| configure:15841: checking limits.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking limits.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for limits.h
| configure:15841: result: yes
| configure:15841: checking locale.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking locale.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for locale.h
| configure:15841: result: yes
| configure:15841: checking mntent.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking mntent.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for mntent.h
| configure:15841: result: yes
| configure:15841: checking stddef.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking stddef.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for stddef.h
| configure:15841: result: yes
| configure:15841: checking sys/file.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking sys/file.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for sys/file.h
| configure:15841: result: yes
| configure:15841: checking sys/ioctl.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking sys/ioctl.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for sys/ioctl.h
| configure:15841: result: yes
| configure:15841: checking sys/mount.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking sys/mount.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for sys/mount.h
| configure:15841: result: yes
| configure:15841: checking sys/time.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking sys/time.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for sys/time.h
| configure:15841: result: yes
| configure:15841: checking sys/vfs.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking sys/vfs.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for sys/vfs.h
| configure:15841: result: yes
| configure:15841: checking syslog.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking syslog.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for syslog.h
| configure:15841: result: yes
| configure:15841: checking termios.h usability
| configure:15841: gcc -c -g -O2  conftest.c >&5
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking termios.h presence
| configure:15841: gcc -E  conftest.c
| configure:15841: $? = 0
| configure:15841: result: yes
| configure:15841: checking for termios.h
| configure:15841: result: yes
| configure:15851: checking linux/fs.h usability
| configure:15851: gcc -c -g -O2  conftest.c >&5
| configure:15851: $? = 0
| configure:15851: result: yes
| configure:15851: checking linux/fs.h presence
| configure:15851: gcc -E  conftest.c
| configure:15851: $? = 0
| configure:15851: result: yes
| configure:15851: checking for linux/fs.h
| configure:15851: result: yes
| configure:15859: checking linux/types.h usability
| configure:15859: gcc -c -g -O2  conftest.c >&5
| configure:15859: $? = 0
| configure:15859: result: yes
| configure:15859: checking linux/types.h presence
| configure:15859: gcc -E  conftest.c
| configure:15859: $? = 0
| configure:15859: result: yes
| configure:15859: checking for linux/types.h
| configure:15859: result: yes
| configure:15867: checking linux/limits.h usability
| configure:15867: gcc -c -g -O2  conftest.c >&5
| configure:15867: $? = 0
| configure:15867: result: yes
| configure:15867: checking linux/limits.h presence
| configure:15867: gcc -E  conftest.c
| configure:15867: $? = 0
| configure:15867: result: yes
| configure:15867: checking for linux/limits.h
| configure:15867: result: yes
| configure:15875: checking linux/gfs2_ondisk.h usability
| configure:15875: gcc -c -g -O2  conftest.c >&5
| configure:15875: $? = 0
| configure:15875: result: yes
| configure:15875: checking linux/gfs2_ondisk.h presence
| configure:15875: gcc -E  conftest.c
| configure:15875: $? = 0
| configure:15875: result: yes
| configure:15875: checking for linux/gfs2_ondisk.h
| configure:15875: result: yes
| configure:15883: checking for struct gfs2_sb.sb_uuid
| configure:15883: gcc -c -g -O2  conftest.c >&5
| configure:15883: $? = 0
| configure:15883: result: yes
| configure:15891: checking for struct gfs2_leaf.lf_inode
| configure:15891: gcc -c -g -O2  conftest.c >&5
| configure:15891: $? = 0
| configure:15891: result: yes
| configure:15899: checking for struct gfs2_dirent.de_rahead
| configure:15899: gcc -c -g -O2  conftest.c >&5
| configure:15899: $? = 0
| configure:15899: result: yes
| configure:15907: checking for struct gfs2_dirent.de_cookie
| configure:15907: gcc -c -g -O2  conftest.c >&5
| configure:15907: $? = 0
| configure:15907: result: yes
| configure:15915: checking for struct gfs2_rgrp.rg_skip
| configure:15915: gcc -c -g -O2  conftest.c >&5
| configure:15915: $? = 0
| configure:15915: result: yes
| configure:15923: checking for struct gfs2_rgrp.rg_data0
| configure:15923: gcc -c -g -O2  conftest.c >&5
| configure:15923: $? = 0
| configure:15923: result: yes
| configure:15931: checking for struct gfs2_log_header.lh_crc
| configure:15931: gcc -c -g -O2  conftest.c >&5
| configure:15931: $? = 0
| configure:15931: result: yes
| configure:15196: checking whether gcc supports -Wall
| configure:15202: gcc -c -Wall  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wshadow
| configure:15202: gcc -c -Wshadow  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wmissing-prototypes
| configure:15202: gcc -c -Wmissing-prototypes  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wmissing-declarations
| configure:15202: gcc -c -Wmissing-declarations  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wstrict-prototypes
| configure:15202: gcc -c -Wstrict-prototypes  conftest.c >&5
| conftest.c:46:5: warning: function declaration isn't a prototype [-Wstrict-prototypes]
|  int main(){return 0;}
|      ^~~~
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wdeclaration-after-statement
| configure:15202: gcc -c -Wdeclaration-after-statement  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wpointer-arith
| configure:15202: gcc -c -Wpointer-arith  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wwrite-strings
| configure:15202: gcc -c -Wwrite-strings  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wcast-align
| configure:15202: gcc -c -Wcast-align  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wbad-function-cast
| configure:15202: gcc -c -Wbad-function-cast  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wmissing-format-attribute
| configure:15202: gcc -c -Wmissing-format-attribute  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wformat=2
| configure:15202: gcc -c -Wformat=2  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wformat-security
| configure:15202: gcc -c -Wformat-security  conftest.c >&5
| cc1: warning: -Wformat-security ignored without -Wformat [-Wformat-security]
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wformat-nonliteral
| configure:15202: gcc -c -Wformat-nonliteral  conftest.c >&5
| cc1: warning: -Wformat-nonliteral ignored without -Wformat [-Wformat-nonliteral]
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wno-long-long
| configure:15202: gcc -c -Wno-long-long  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:15196: checking whether gcc supports -Wno-strict-aliasing
| configure:15202: gcc -c -Wno-strict-aliasing  conftest.c >&5
| configure:15202: $? = 0
| configure:15203: result: yes
| configure:16137: checking that generated files are newer than configure
| configure:16143: result: done
| configure:16174: creating ./config.status
| 
| ## ---------------------- ##
| ## Running config.status. ##
| ## ---------------------- ##
| 
| This file was extended by gfs2-utils config.status master, which was
| generated by GNU Autoconf 2.69.  Invocation command line was
| 
|   CONFIG_FILES    = 
|   CONFIG_HEADERS  = 
|   CONFIG_LINKS    = 
|   CONFIG_COMMANDS = 
|   $ ./config.status 
| 
| on gavran
| 
| config.status:1171: creating Makefile
| config.status:1171: creating gfs2/Makefile
| config.status:1171: creating gfs2/include/Makefile
| config.status:1171: creating gfs2/libgfs2/Makefile
| config.status:1171: creating gfs2/convert/Makefile
| config.status:1171: creating gfs2/edit/Makefile
| config.status:1171: creating gfs2/fsck/Makefile
| config.status:1171: creating gfs2/mkfs/Makefile
| config.status:1171: creating gfs2/tune/Makefile
| config.status:1171: creating gfs2/man/Makefile
| config.status:1171: creating gfs2/scripts/Makefile
| config.status:1171: creating gfs2/glocktop/Makefile
| config.status:1171: creating doc/Makefile
| config.status:1171: creating tests/Makefile
| config.status:1171: creating tests/atlocal
| config.status:1171: creating po/Makefile.in
| config.status:1171: creating make/clusterautoconfig.h
| config.status:1352: make/clusterautoconfig.h is unchanged
| config.status:1400: executing depfiles commands
| config.status:1400: executing libtool commands
| config.status:1400: executing po-directories commands
| config.status:1400: executing tests/atconfig commands
| 
| ## ---------------- ##
| ## Cache variables. ##
| ## ---------------- ##
| 
| ac_cv_build=x86_64-pc-linux-gnu
| ac_cv_c_compiler_gnu=yes
| ac_cv_env_CC_set=
| ac_cv_env_CC_value=
| ac_cv_env_CFLAGS_set=
| ac_cv_env_CFLAGS_value=
| ac_cv_env_CPPFLAGS_set=
| ac_cv_env_CPPFLAGS_value=
| ac_cv_env_CPP_set=
| ac_cv_env_CPP_value=
| ac_cv_env_LDFLAGS_set=
| ac_cv_env_LDFLAGS_value=
| ac_cv_env_LIBS_set=
| ac_cv_env_LIBS_value=
| ac_cv_env_LT_SYS_LIBRARY_PATH_set=
| ac_cv_env_LT_SYS_LIBRARY_PATH_value=
| ac_cv_env_PKG_CONFIG_LIBDIR_set=
| ac_cv_env_PKG_CONFIG_LIBDIR_value=
| ac_cv_env_PKG_CONFIG_PATH_set=
| ac_cv_env_PKG_CONFIG_PATH_value=
| ac_cv_env_PKG_CONFIG_set=
| ac_cv_env_PKG_CONFIG_value=
| ac_cv_env_blkid_CFLAGS_set=
| ac_cv_env_blkid_CFLAGS_value=
| ac_cv_env_blkid_LIBS_set=
| ac_cv_env_blkid_LIBS_value=
| ac_cv_env_build_alias_set=
| ac_cv_env_build_alias_value=
| ac_cv_env_check_CFLAGS_set=
| ac_cv_env_check_CFLAGS_value=
| ac_cv_env_check_LIBS_set=
| ac_cv_env_check_LIBS_value=
| ac_cv_env_host_alias_set=
| ac_cv_env_host_alias_value=
| ac_cv_env_ncurses_CFLAGS_set=
| ac_cv_env_ncurses_CFLAGS_value=
| ac_cv_env_ncurses_LIBS_set=
| ac_cv_env_ncurses_LIBS_value=
| ac_cv_env_target_alias_set=
| ac_cv_env_target_alias_value=
| ac_cv_env_uuid_CFLAGS_set=
| ac_cv_env_uuid_CFLAGS_value=
| ac_cv_env_uuid_LIBS_set=
| ac_cv_env_uuid_LIBS_value=
| ac_cv_env_zlib_CFLAGS_set=
| ac_cv_env_zlib_CFLAGS_value=
| ac_cv_env_zlib_LIBS_set=
| ac_cv_env_zlib_LIBS_value=
| ac_cv_header_dlfcn_h=yes
| ac_cv_header_fcntl_h=yes
| ac_cv_header_inttypes_h=yes
| ac_cv_header_libintl_h=yes
| ac_cv_header_limits_h=yes
| ac_cv_header_linux_fs_h=yes
| ac_cv_header_linux_gfs2_ondisk_h=yes
| ac_cv_header_linux_limits_h=yes
| ac_cv_header_linux_types_h=yes
| ac_cv_header_locale_h=yes
| ac_cv_header_memory_h=yes
| ac_cv_header_mntent_h=yes
| ac_cv_header_stdc=yes
| ac_cv_header_stddef_h=yes
| ac_cv_header_stdint_h=yes
| ac_cv_header_stdlib_h=yes
| ac_cv_header_string_h=yes
| ac_cv_header_strings_h=yes
| ac_cv_header_sys_file_h=yes
| ac_cv_header_sys_ioctl_h=yes
| ac_cv_header_sys_mount_h=yes
| ac_cv_header_sys_stat_h=yes
| ac_cv_header_sys_time_h=yes
| ac_cv_header_sys_types_h=yes
| ac_cv_header_sys_vfs_h=yes
| ac_cv_header_syslog_h=yes
| ac_cv_header_termios_h=yes
| ac_cv_header_unistd_h=yes
| ac_cv_host=x86_64-pc-linux-gnu
| ac_cv_lib_lex=-lfl
| ac_cv_member_struct_gfs2_dirent_de_cookie=yes
| ac_cv_member_struct_gfs2_dirent_de_rahead=yes
| ac_cv_member_struct_gfs2_leaf_lf_inode=yes
| ac_cv_member_struct_gfs2_log_header_lh_crc=yes
| ac_cv_member_struct_gfs2_rgrp_rg_data0=yes
| ac_cv_member_struct_gfs2_rgrp_rg_skip=yes
| ac_cv_member_struct_gfs2_sb_sb_uuid=yes
| ac_cv_objext=o
| ac_cv_path_EGREP='/bin/grep -E'
| ac_cv_path_FGREP='/bin/grep -F'
| ac_cv_path_GMSGFMT=/usr/bin/msgfmt
| ac_cv_path_GREP=/bin/grep
| ac_cv_path_MSGFMT=/usr/bin/msgfmt
| ac_cv_path_MSGMERGE=/usr/bin/msgmerge
| ac_cv_path_SED=/bin/sed
| ac_cv_path_XGETTEXT=/usr/bin/xgettext
| ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
| ac_cv_path_install='/usr/bin/install -c'
| ac_cv_path_lt_DD=/bin/dd
| ac_cv_path_mkdir=/bin/mkdir
| ac_cv_prog_AWK=gawk
| ac_cv_prog_CPP='gcc -E'
| ac_cv_prog_LEX=flex
| ac_cv_prog_YACC='bison -y'
| ac_cv_prog_ac_ct_AR=ar
| ac_cv_prog_ac_ct_CC=gcc
| ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
| ac_cv_prog_ac_ct_OBJDUMP=objdump
| ac_cv_prog_ac_ct_RANLIB=ranlib
| ac_cv_prog_ac_ct_STRIP=strip
| ac_cv_prog_cc_c89=
| ac_cv_prog_cc_g=yes
| ac_cv_prog_lex_root=lex.yy
| ac_cv_prog_lex_yytext_pointer=yes
| ac_cv_prog_make_make_set=yes
| acl_cv_hardcode_direct=no
| acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
| acl_cv_hardcode_libdir_separator=
| acl_cv_hardcode_minus_L=no
| acl_cv_libext=a
| acl_cv_libname_spec='lib$name'
| acl_cv_library_names_spec='$libname$shrext'
| acl_cv_path_LD='/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64'
| acl_cv_prog_gnu_ld=yes
| acl_cv_rpath=done
| acl_cv_shlibext=so
| acl_cv_wl=-Wl,
| am_cv_CC_dependencies_compiler_type=gcc3
| am_cv_make_support_nested_variables=yes
| am_cv_prog_cc_c_o=yes
| gt_cv_func_CFLocaleCopyCurrent=no
| gt_cv_func_CFPreferencesCopyAppValue=no
| gt_cv_func_gnugettext1_libc=yes
| lt_cv_ar_at_file=@
| lt_cv_archive_cmds_need_lc=no
| lt_cv_deplibs_check_method=pass_all
| lt_cv_file_magic_cmd='$MAGIC_CMD'
| lt_cv_file_magic_test_file=
| lt_cv_ld_reload_flag=-r
| lt_cv_nm_interface='BSD nm'
| lt_cv_objdir=.libs
| lt_cv_path_LD=/usr/bin/x86_64-linux-gnu-ld
| lt_cv_path_NM='/usr/bin/nm -B'
| lt_cv_path_mainfest_tool=no
| lt_cv_prog_compiler_c_o=yes
| lt_cv_prog_compiler_pic='-fPIC -DPIC'
| lt_cv_prog_compiler_pic_works=yes
| lt_cv_prog_compiler_rtti_exceptions=no
| lt_cv_prog_compiler_static_works=yes
| lt_cv_prog_gnu_ld=yes
| lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
| lt_cv_shlibpath_overrides_runpath=yes
| lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[	 ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[	 ][	 ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
| lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
| lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
| lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
| lt_cv_sys_global_symbol_to_import=
| lt_cv_sys_max_cmd_len=1572864
| lt_cv_to_host_file_cmd=func_convert_file_noop
| lt_cv_to_tool_file_cmd=func_convert_file_noop
| lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
| pkg_cv_blkid_CFLAGS='-I/usr/include/blkid -I/usr/include/uuid'
| pkg_cv_blkid_LIBS=-lblkid
| pkg_cv_check_CFLAGS=-pthread
| pkg_cv_check_LIBS='-lcheck_pic -pthread -lrt -lm -lsubunit'
| pkg_cv_ncurses_CFLAGS='-D_GNU_SOURCE -D_DEFAULT_SOURCE'
| pkg_cv_ncurses_LIBS='-lncurses -ltinfo'
| pkg_cv_uuid_CFLAGS=-I/usr/include/uuid
| pkg_cv_uuid_LIBS=-luuid
| pkg_cv_zlib_CFLAGS=
| pkg_cv_zlib_LIBS=-lz
| 
| ## ----------------- ##
| ## Output variables. ##
| ## ----------------- ##
| 
| ACLOCAL='${SHELL} /home/vvidic/deb/github/gfs2-utils/missing aclocal-1.15'
| AMDEPBACKSLASH='\'
| AMDEP_FALSE='#'
| AMDEP_TRUE=''
| AMTAR='$${TAR-tar}'
| AM_BACKSLASH='\'
| AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
| AM_DEFAULT_VERBOSITY='0'
| AM_V='$(V)'
| AR='ar'
| AUTOCONF='${SHELL} /home/vvidic/deb/github/gfs2-utils/missing autoconf'
| AUTOHEADER='${SHELL} /home/vvidic/deb/github/gfs2-utils/missing autoheader'
| AUTOMAKE='${SHELL} /home/vvidic/deb/github/gfs2-utils/missing automake-1.15'
| AWK='gawk'
| CC='gcc'
| CCDEPMODE='depmode=gcc3'
| CFLAGS='-g -O2 -O2 -ggdb3  -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing '
| CPP='gcc -E'
| CPPFLAGS='-I$(top_builddir)/make -I$(top_srcdir)/make -I.  -D_FORTIFY_SOURCE=2'
| CYGPATH_W='echo'
| DEFS='-DHAVE_CONFIG_H'
| DEPDIR='.deps'
| DLLTOOL='false'
| DSYMUTIL=''
| DUMPBIN=''
| ECHO_C=''
| ECHO_N='-n'
| ECHO_T=''
| EGREP='/bin/grep -E'
| EXEEXT=''
| FGREP='/bin/grep -F'
| GETTEXT_MACRO_VERSION='0.18'
| GMSGFMT='/usr/bin/msgfmt'
| GMSGFMT_015='/usr/bin/msgfmt'
| GREP='/bin/grep'
| HAVE_CHECK_FALSE='#'
| HAVE_CHECK_TRUE=''
| INSTALL_DATA='${INSTALL} -m 644'
| INSTALL_PROGRAM='${INSTALL}'
| INSTALL_SCRIPT='${INSTALL}'
| INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
| INTLLIBS=''
| INTL_MACOSX_LIBS=''
| LD='/usr/bin/x86_64-linux-gnu-ld -m elf_x86_64'
| LDFLAGS=''
| LEX='flex'
| LEXLIB='-lfl'
| LEX_OUTPUT_ROOT='lex.yy'
| LIBICONV='-liconv'
| LIBINTL=''
| LIBOBJS=''
| LIBS=''
| LIBTOOL='$(SHELL) $(top_builddir)/libtool'
| LIPO=''
| LN_S='ln -s'
| LTLIBICONV='-liconv'
| LTLIBINTL=''
| LTLIBOBJS=''
| LT_SYS_LIBRARY_PATH=''
| MAKEINFO='${SHELL} /home/vvidic/deb/github/gfs2-utils/missing makeinfo'
| MANIFEST_TOOL=':'
| MKDIR_P='/bin/mkdir -p'
| MSGFMT='/usr/bin/msgfmt'
| MSGFMT_015='/usr/bin/msgfmt'
| MSGMERGE='/usr/bin/msgmerge'
| NM='/usr/bin/nm -B'
| NMEDIT=''
| OBJDUMP='objdump'
| OBJEXT='o'
| OTOOL64=''
| OTOOL=''
| PACKAGE='gfs2-utils'
| PACKAGE_BUGREPORT='linux-cluster at redhat.com'
| PACKAGE_NAME='gfs2-utils'
| PACKAGE_STRING='gfs2-utils master'
| PACKAGE_TARNAME='gfs2-utils'
| PACKAGE_URL=''
| PACKAGE_VERSION='master'
| PATH_SEPARATOR=':'
| PKG_CONFIG='/usr/bin/pkg-config'
| PKG_CONFIG_LIBDIR=''
| PKG_CONFIG_PATH=''
| POSUB='po'
| RANLIB='ranlib'
| SED='/bin/sed'
| SET_MAKE=''
| SHELL='/bin/sh'
| STRIP='strip'
| USE_NLS='yes'
| VERSION='master'
| XGETTEXT='/usr/bin/xgettext'
| XGETTEXT_015='/usr/bin/xgettext'
| XGETTEXT_EXTRA_OPTIONS=''
| YACC='bison -y'
| ac_ct_AR='ar'
| ac_ct_CC='gcc'
| ac_ct_DUMPBIN=''
| am__EXEEXT_FALSE=''
| am__EXEEXT_TRUE='#'
| am__fastdepCC_FALSE='#'
| am__fastdepCC_TRUE=''
| am__include='include'
| am__isrc=''
| am__leading_dot='.'
| am__nodep='_no'
| am__quote=''
| am__tar='$${TAR-tar} chof - "$$tardir"'
| am__untar='$${TAR-tar} xf -'
| bindir='${exec_prefix}/bin'
| blkid_CFLAGS='-I/usr/include/blkid -I/usr/include/uuid'
| blkid_LIBS='-lblkid'
| build='x86_64-pc-linux-gnu'
| build_alias=''
| build_cpu='x86_64'
| build_os='linux-gnu'
| build_vendor='pc'
| check_CFLAGS='-pthread'
| check_LIBS='-lcheck_pic -pthread -lrt -lm -lsubunit'
| datadir='${datarootdir}'
| datarootdir='${prefix}/share'
| docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
| dvidir='${docdir}'
| exec_prefix='/usr'
| host='x86_64-pc-linux-gnu'
| host_alias=''
| host_cpu='x86_64'
| host_os='linux-gnu'
| host_vendor='pc'
| htmldir='${docdir}'
| includedir='${prefix}/include'
| infodir='${datarootdir}/info'
| install_sh='${SHELL} /home/vvidic/deb/github/gfs2-utils/install-sh'
| libdir='/usr/lib'
| libexecdir='${exec_prefix}/libexec'
| localedir='${datarootdir}/locale'
| localstatedir='/var'
| mandir='${datarootdir}/man'
| mkdir_p='/bin/mkdir -p'
| ncurses_CFLAGS='-D_GNU_SOURCE -D_DEFAULT_SOURCE'
| ncurses_LIBS='-lncurses -ltinfo'
| oldincludedir='/usr/include'
| pdfdir='${docdir}'
| prefix='/usr'
| program_transform_name='s,x,x,'
| psdir='${docdir}'
| runstatedir='${localstatedir}/run'
| sbindir='${exec_prefix}/sbin'
| sharedstatedir='${prefix}/com'
| sysconfdir='/etc'
| target_alias=''
| udevdir='${prefix}/lib/udev'
| uuid_CFLAGS='-I/usr/include/uuid'
| uuid_LIBS='-luuid'
| zlib_CFLAGS=''
| zlib_LIBS='-lz'
| 
| ## ----------- ##
| ## confdefs.h. ##
| ## ----------- ##
| 
| /* confdefs.h */
| #define PACKAGE_NAME "gfs2-utils"
| #define PACKAGE_TARNAME "gfs2-utils"
| #define PACKAGE_VERSION "master"
| #define PACKAGE_STRING "gfs2-utils master"
| #define PACKAGE_BUGREPORT "linux-cluster at redhat.com"
| #define PACKAGE_URL ""
| #define PACKAGE "gfs2-utils"
| #define VERSION "master"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define YYTEXT_POINTER 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIBINTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_MNTENT_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_VFS_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_TERMIOS_H 1
| #define GFS2_HAS_LEAF_HINTS /**/
| #define GFS2_HAS_DE_RAHEAD /**/
| #define GFS2_HAS_DE_COOKIE /**/
| #define GFS2_HAS_RG_SKIP /**/
| #define GFS2_HAS_RG_RI_FIELDS /**/
| #define GFS2_HAS_LH_V2 /**/
| 
| configure: exit 0


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04 10:21     ` Valentin Vidic
@ 2018-05-04 10:27       ` Andrew Price
  2018-05-04 10:42         ` Valentin Vidic
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Price @ 2018-05-04 10:27 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On 04/05/18 11:21, Valentin Vidic wrote:
> On Fri, May 04, 2018 at 11:06:59AM +0100, Andrew Price wrote:
>> Can you reproduce it with the master branch? Also, what is the size of your
>> test file? And what architecture is this on?
> 
> Master branch seems to fail too.  Test file was 200 MB on amd64.
> Also attaching testsuite.log now in case it helps.

Ok thanks, I'll look into it.

One other thing to check is whether ./configure was re-run after 
gfs2_ondisk.h was upgraded.

Andy

> 
> ## ----------------------------- ##
> ## gfs2-utils master test suite. ##
> ## ----------------------------- ##
> 
> mkfs.gfs2 tests
> 
>    1: Locking protocol validation                     ok
>    2: Resource group size validation                  ok
>    3: Journal size validation                         ok
>    4: Block count validation                          ok
>    5: Quota change file size validation               ok
>    6: Locking protocols                               FAILED (mkfs.at:36)
>    7: Valid block sizes 512-4096                      FAILED (mkfs.at:42)
>    8: Max. blocks, min. block size                    FAILED (mkfs.at:50)
>    9: Max. blocks, max. block size                    FAILED (mkfs.at:55)
>   10: Max. resource group size                        FAILED (mkfs.at:60)
>   11: Min. resource group size                        FAILED (mkfs.at:65)
>   12: Max. resource group size, min. block size       FAILED (mkfs.at:70)
>   13: Max. journal size                               FAILED (mkfs.at:75)
>   14: Min. journal size                               FAILED (mkfs.at:80)
>   15: Max. quota change file size                     FAILED (mkfs.at:85)
>   16: Min. quota change file size                     FAILED (mkfs.at:90)
>   17: Lock table validation                           FAILED (mkfs.at:98)
>   18: Device i/o limits handling                      FAILED (mkfs.at:114)
>   19: Resource group alignment                        FAILED (mkfs.at:122)
>   20: Values of rg_skip                               FAILED (mkfs.at:129)
>   21: Values of rg_data0, rg_data, rg_bitbytes        FAILED (mkfs.at:145)
>   22: Small filesystems                               FAILED (mkfs.at:162)
> 
> fsck.gfs2 tests
> 
>   23: Conflicting options                             ok
>   24: Fix invalid block sizes                         FAILED (fsck.at:17)
>   25: Fix invalid goal blocks                         FAILED (fsck.at:26)
>   26: Fix bad resource group #0                       FAILED (fsck.at:31)
>   27: Fix bad resource group #1                       FAILED (fsck.at:36)
>   28: Fix bad rindex entry #1                         FAILED (fsck.at:46)
>   29: Rebuild bad journal                             FAILED (fsck.at:52)
> 
> gfs2_edit tests
> 
>   30: Save/restoremeta, defaults                      FAILED (edit.at:7)
>   31: Save/restoremeta, no compression                FAILED (edit.at:20)
>   32: Save/restoremeta, min. block size               FAILED (edit.at:30)
>   33: Save/restoremeta, 4 journals                    FAILED (edit.at:40)
>   34: Save/restoremeta, min. block size, 4 journals   FAILED (edit.at:50)
> 
> libgfs2 unit tests
> 
>   35: meta.c                                          FAILED (libgfs2.at:4)
>   36: rgrp.c                                          ok
> 
> ## ------------- ##
> ## Test results. ##
> ## ------------- ##
> 
> ERROR: All 36 tests were run,
> 29 failed unexpectedly.
> ## -------------------------- ##
> ## testsuite.log was created. ##
> ## -------------------------- ##
> 
> Please send `tests/testsuite.log' and all information you think might
> help:
> 
>     To: <linux-cluster@redhat.com>
>     Subject: [gfs2-utils master] testsuite: 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 25 26 27 28 29 30 31 32 33 34 35 failed
> 



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04 10:27       ` Andrew Price
@ 2018-05-04 10:42         ` Valentin Vidic
  2018-05-04 10:46           ` Andrew Price
  0 siblings, 1 reply; 18+ messages in thread
From: Valentin Vidic @ 2018-05-04 10:42 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On Fri, May 04, 2018 at 11:27:35AM +0100, Andrew Price wrote:
> One other thing to check is whether ./configure was re-run after
> gfs2_ondisk.h was upgraded.

Yes, just restoring the previous version (4.15) of

  /usr/include/linux/gfs2_ondisk.h

fixes the tests.

-- 
Valentin



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04 10:42         ` Valentin Vidic
@ 2018-05-04 10:46           ` Andrew Price
  2018-05-04 10:54             ` Valentin Vidic
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Price @ 2018-05-04 10:46 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On 04/05/18 11:42, Valentin Vidic wrote:
> On Fri, May 04, 2018 at 11:27:35AM +0100, Andrew Price wrote:
>> One other thing to check is whether ./configure was re-run after
>> gfs2_ondisk.h was upgraded.
> 
> Yes, just restoring the previous version (4.15) of
> 
>    /usr/include/linux/gfs2_ondisk.h
> 
> fixes the tests.
> 

Ok, so just to be clear, after installing the 4.16 gfs2_ondisk.h and 
then doing "./configure && make clean && make" the bug still occurs?

Andy



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04 10:46           ` Andrew Price
@ 2018-05-04 10:54             ` Valentin Vidic
  2018-05-04 11:07               ` Andrew Price
  0 siblings, 1 reply; 18+ messages in thread
From: Valentin Vidic @ 2018-05-04 10:54 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On Fri, May 04, 2018 at 11:46:08AM +0100, Andrew Price wrote:
> Ok, so just to be clear, after installing the 4.16 gfs2_ondisk.h and then
> doing "./configure && make clean && make" the bug still occurs?

That is correct, attaching 4.16 gfs2_ondisk.h so you can test.

-- 
Valentin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gfs2_ondisk.h
Type: text/x-chdr
Size: 14651 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20180504/420d8c7d/attachment.bin>

^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04 10:54             ` Valentin Vidic
@ 2018-05-04 11:07               ` Andrew Price
  2018-05-04 12:01                 ` Valentin Vidic
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Price @ 2018-05-04 11:07 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On 04/05/18 11:54, Valentin Vidic wrote:
> On Fri, May 04, 2018 at 11:46:08AM +0100, Andrew Price wrote:
>> Ok, so just to be clear, after installing the 4.16 gfs2_ondisk.h and then
>> doing "./configure && make clean && make" the bug still occurs?

Hm curious. I *can* reproduce the same segfaults but only if I build 
with the 4.15 header and then rebuild with the 4.16 header *without* 
first running ./configure. If I run ./configure the problem resolves itself.

> That is correct, attaching 4.16 gfs2_ondisk.h so you can test.

Thanks, it matches the mainline version.

Andy



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04 11:07               ` Andrew Price
@ 2018-05-04 12:01                 ` Valentin Vidic
  2018-05-04 13:01                   ` Andrew Price
  0 siblings, 1 reply; 18+ messages in thread
From: Valentin Vidic @ 2018-05-04 12:01 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On Fri, May 04, 2018 at 12:07:01PM +0100, Andrew Price wrote:
> Hm curious. I *can* reproduce the same segfaults but only if I build with
> the 4.15 header and then rebuild with the 4.16 header *without* first
> running ./configure. If I run ./configure the problem resolves itself.

Thanks, I removed all traces of 4.15 from the system, did a clean
checkout of the repo and master does not segfault anymore :)

I will try to fix 3.1.10 now...

-- 
Valentin



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04 12:01                 ` Valentin Vidic
@ 2018-05-04 13:01                   ` Andrew Price
  2018-05-04 13:16                     ` Andrew Price
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Price @ 2018-05-04 13:01 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On 04/05/18 13:01, Valentin Vidic wrote:
> On Fri, May 04, 2018 at 12:07:01PM +0100, Andrew Price wrote:
>> Hm curious. I *can* reproduce the same segfaults but only if I build with
>> the 4.15 header and then rebuild with the 4.16 header *without* first
>> running ./configure. If I run ./configure the problem resolves itself.
> 
> Thanks, I removed all traces of 4.15 from the system, did a clean
> checkout of the repo and master does not segfault anymore :)

Ok good, we're on the same page :)

> I will try to fix 3.1.10 now...

I suspect you'll find the problem in gfs2/libgfs2/ondisk.h where 
gfs2_rgrp_{in,out} copies the reserved data fields. As the field is 
smaller in the new gfs2_ondisk.h, the copies could write past the end of 
the struct into subsequent fields of the containing structure (the 
rgrp_tree). We should probably use sizeof() there. Same with 
gfs2_rindex_{in,out}.

Andy



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04 13:01                   ` Andrew Price
@ 2018-05-04 13:16                     ` Andrew Price
  2018-05-04 14:00                       ` Valentin Vidic
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Price @ 2018-05-04 13:16 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On 04/05/18 14:01, Andrew Price wrote:
> On 04/05/18 13:01, Valentin Vidic wrote:
>> On Fri, May 04, 2018 at 12:07:01PM +0100, Andrew Price wrote:
>>> Hm curious. I *can* reproduce the same segfaults but only if I build 
>>> with
>>> the 4.15 header and then rebuild with the 4.16 header *without* first
>>> running ./configure. If I run ./configure the problem resolves itself.
>>
>> Thanks, I removed all traces of 4.15 from the system, did a clean
>> checkout of the repo and master does not segfault anymore :)
> 
> Ok good, we're on the same page :)
> 
>> I will try to fix 3.1.10 now...
> 
> I suspect you'll find the problem in gfs2/libgfs2/ondisk.h where 
> gfs2_rgrp_{in,out} copies the reserved data fields. As the field is 
> smaller in the new gfs2_ondisk.h, the copies could write past the end of 
> the struct into subsequent fields of the containing structure (the 
> rgrp_tree). We should probably use sizeof() there. Same with 
> gfs2_rindex_{in,out}.

Try this.

Andy

diff --git a/gfs2/libgfs2/ondisk.c b/gfs2/libgfs2/ondisk.c
index 66de2234..bf3c6638 100644
--- a/gfs2/libgfs2/ondisk.c
+++ b/gfs2/libgfs2/ondisk.c
@@ -189,7 +189,7 @@ void gfs2_rindex_in(struct gfs2_rindex *ri, char *buf)
         CPIN_64(ri, str, ri_data0);
         CPIN_32(ri, str, ri_data);
         CPIN_32(ri, str, ri_bitbytes);
-       CPIN_08(ri, str, ri_reserved, 64);
+       CPIN_08(ri, str, ri_reserved, sizeof(ri->ri_reserved));
  }

  void gfs2_rindex_out(const struct gfs2_rindex *ri, char *buf)
@@ -205,7 +205,7 @@ void gfs2_rindex_out(const struct gfs2_rindex *ri, 
char *buf)

         CPOUT_32(ri, str, ri_bitbytes);

-       CPOUT_08(ri, str, ri_reserved, 64);
+       CPOUT_08(ri, str, ri_reserved, sizeof(ri->ri_reserved));
  }

  void gfs2_rindex_print(const struct gfs2_rindex *ri)
@@ -228,7 +228,7 @@ void gfs2_rgrp_in(struct gfs2_rgrp *rg, struct 
gfs2_buffer_head *bh)
         CPIN_32(rg, str, rg_free);
         CPIN_32(rg, str, rg_dinodes);

-       CPIN_08(rg, str, rg_reserved, 80);
+       CPIN_08(rg, str, rg_reserved, sizeof(rg->rg_reserved));
  }

  void gfs2_rgrp_out(const struct gfs2_rgrp *rg, char *buf)
@@ -240,7 +240,7 @@ void gfs2_rgrp_out(const struct gfs2_rgrp *rg, char 
*buf)
         CPOUT_32(rg, str, rg_free);
         CPOUT_32(rg, str, rg_dinodes);

-       CPOUT_08(rg, str, rg_reserved, 80);
+       CPOUT_08(rg, str, rg_reserved, sizeof(rg->rg_reserved));
  }

  void gfs2_rgrp_out_bh(const struct gfs2_rgrp *rg, struct 
gfs2_buffer_head *bh)



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04 13:16                     ` Andrew Price
@ 2018-05-04 14:00                       ` Valentin Vidic
  2018-05-09 16:53                         ` Andrew Price
  0 siblings, 1 reply; 18+ messages in thread
From: Valentin Vidic @ 2018-05-04 14:00 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On Fri, May 04, 2018 at 02:16:24PM +0100, Andrew Price wrote:
> Try this.

Thanks, only meta test fails now, probably size check in some other place:

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: All 30 tests were run,
1 failed unexpectedly.

## ------------------------ ##
## Summary of the failures. ##
## ------------------------ ##
Failed tests:
gfs2-utils master test suite test groups:

 NUM: FILE-NAME:LINE     TEST-GROUP-NAME
      KEYWORDS

  29: libgfs2.at:3       meta.c
      libgfs2

## ---------------------- ##
## Detailed failed tests. ##
## ---------------------- ##

#                             -*- compilation -*-
29. libgfs2.at:3: testing meta.c ...
./libgfs2.at:3: test x"$ENABLE_UNIT_TESTS" = "xyes" || exit 77
./libgfs2.at:4: check_meta
stderr:
gfs2_rgrp: rg_reserved: offset is 68, expected 48
gfs2_rgrp: size mismatch between struct 128 and fields 108
gfs2_log_header: size mismatch between struct 120 and fields 48
stdout:
Running suite(s): libgfs2
0%: Checks: 1, Failures: 1, Errors: 0
check_meta.c:9:F:Meta:test_lgfs2_meta:0: Assertion 'lgfs2_selfcheck() == 0' failed
./libgfs2.at:4: exit code was 1, expected 0
29. libgfs2.at:3: 29. meta.c (libgfs2.at:3): FAILED (libgfs2.at:4)

-- 
Valentin



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-04 14:00                       ` Valentin Vidic
@ 2018-05-09 16:53                         ` Andrew Price
  2018-05-10 19:47                           ` Valentin Vidic
  2018-05-13  9:13                           ` Valentin Vidic
  0 siblings, 2 replies; 18+ messages in thread
From: Andrew Price @ 2018-05-09 16:53 UTC (permalink / raw)
  To: cluster-devel.redhat.com

(Sorry for the delay, I've been away.)

On 04/05/18 15:00, Valentin Vidic wrote:> 29. libgfs2.at:3: testing 
meta.c ...
> ./libgfs2.at:3: test x"$ENABLE_UNIT_TESTS" = "xyes" || exit 77
> ./libgfs2.at:4: check_meta
> stderr:
> gfs2_rgrp: rg_reserved: offset is 68, expected 48
> gfs2_rgrp: size mismatch between struct 128 and fields 108
> gfs2_log_header: size mismatch between struct 120 and fields 48
> stdout:
> Running suite(s): libgfs2
> 0%: Checks: 1, Failures: 1, Errors: 0
> check_meta.c:9:F:Meta:test_lgfs2_meta:0: Assertion 'lgfs2_selfcheck() == 0' failed
> ./libgfs2.at:4: exit code was 1, expected 0
> 29. libgfs2.at:3: 29. meta.c (libgfs2.at:3): FAILED (libgfs2.at:4)

You should be able to fix this by using the configure.ac and 
gfs2/libgfs2/meta.c files from master. The diff should be very small. 
It'll need an ./autogen.sh to rebuild the configure script.

The downside of that approach is that the new fields will be recognised 
but not used in the utils. The next release of gfs2-utils will add that 
functionality.

Andy



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-09 16:53                         ` Andrew Price
@ 2018-05-10 19:47                           ` Valentin Vidic
  2018-05-13  9:13                           ` Valentin Vidic
  1 sibling, 0 replies; 18+ messages in thread
From: Valentin Vidic @ 2018-05-10 19:47 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On Wed, May 09, 2018 at 05:53:19PM +0100, Andrew Price wrote:
> You should be able to fix this by using the configure.ac and
> gfs2/libgfs2/meta.c files from master. The diff should be very small. It'll
> need an ./autogen.sh to rebuild the configure script.
> 
> The downside of that approach is that the new fields will be recognised but
> not used in the utils. The next release of gfs2-utils will add that
> functionality.

Thanks for the help, the testsuite is working now with a small patch
like you suggested.  I still want to check if there are any issues
mounting a filesystem created with the tools and hopefully this can
be used until the release :)

-- 
Valentin



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-09 16:53                         ` Andrew Price
  2018-05-10 19:47                           ` Valentin Vidic
@ 2018-05-13  9:13                           ` Valentin Vidic
  2018-05-14 13:24                             ` Andrew Price
  1 sibling, 1 reply; 18+ messages in thread
From: Valentin Vidic @ 2018-05-13  9:13 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On Wed, May 09, 2018 at 05:53:19PM +0100, Andrew Price wrote:
> You should be able to fix this by using the configure.ac and
> gfs2/libgfs2/meta.c files from master. The diff should be very small. It'll
> need an ./autogen.sh to rebuild the configure script.
> 
> The downside of that approach is that the new fields will be recognised but
> not used in the utils. The next release of gfs2-utils will add that
> functionality.

As I feared, the gfs2 kernel module does not want to mount the
filesystem created with patched gfs2-utils. I guess that I will
need to take the current master branch to get it working again?

[   51.435041] gfs2: GFS2 installed
[   51.435534] gfs2: fsid=debian:test: Trying to join cluster "lock_dlm", "debian:test"
[   51.438526] dlm: Using TCP for communications
[   51.438945] dlm: test: joining the lockspace group...
[   51.443191] dlm: test: group event done 0 0
[   51.443555] dlm: test: dlm_recover 1
[   51.443859] dlm: test: add member 2130706433
[   51.444484] dlm: test: dlm_recover_members 1 nodes
[   51.444882] dlm: test: join complete
[   51.445204] dlm: test: generation 1 slots 1 1:2130706433
[   51.445630] dlm: test: dlm_recover_directory
[   51.445975] dlm: test: dlm_recover_directory 0 in 0 new
[   51.446395] dlm: test: dlm_recover_directory 0 out 0 messages
[   51.447376] dlm: test: dlm_recover 1 generation 1 done: 0 ms
[   51.968133] gfs2: fsid=debian:test: first mounter control generation 0
[   51.968882] gfs2: fsid=debian:test: Joined cluster. Now mounting FS...
[   51.969802] gfs2: fsid=debian:test.0: journal 0 mapped with 1 extents
[   51.970365] gfs2: fsid=debian:test.0: jid=0, already locked for use
[   51.970851] gfs2: fsid=debian:test.0: jid=0: Looking at journal...
[   52.025589] gfs2: fsid=debian:test.0: fatal: filesystem consistency error
                 inode = 1 18
                 function = find_good_lh, file = /build/linux-hny3SU/linux-4.16.5/fs/gfs2/recovery.c, line = 200
[   52.027113] gfs2: fsid=debian:test.0: about to withdraw this file system
[   52.030045] gfs2: fsid=debian:test.0: telling LM to unmount
[   52.030496] dlm: test: leaving the lockspace group...
[   52.032696] dlm: test: group event done 0 0
[   52.033093] dlm: test: release_lockspace final free
[   52.033595] gfs2: fsid=debian:test.0: withdrawn
[   52.033978] CPU: 0 PID: 109 Comm: kworker/0:2 Not tainted 4.16.0-1-amd64 #1 Debian 4.16.5-1
[   52.034619] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.1-1 04/01/2014
[   52.035270] Workqueue: gfs_recovery gfs2_recover_func [gfs2]
[   52.035710] Call Trace:
[   52.036326]  dump_stack+0x5c/0x85
[   52.037073]  gfs2_lm_withdraw+0x15f/0x170 [gfs2]
[   52.037841]  gfs2_consist_inode_i+0x35/0x40 [gfs2]
[   52.038605]  find_good_lh+0x6d/0x80 [gfs2]
[   52.039307]  gfs2_find_jhead+0x8a/0x170 [gfs2]
[   52.040036]  gfs2_recover_func+0x426/0x910 [gfs2]
[   52.040781]  ? sysfs_slab_add+0x257/0x270
[   52.041494]  ? update_load_avg+0x563/0x6c0
[   52.042182]  ? update_load_avg+0x563/0x6c0
[   52.042857]  ? set_next_entity+0x96/0x1b0
[   52.043570]  ? pick_next_task_fair+0x2fc/0x5f0
[   52.044322]  ? __switch_to+0xa2/0x450
[   52.044988]  ? process_one_work+0x17b/0x360
[   52.045675]  ? gfs2_find_jhead+0x170/0x170 [gfs2]
[   52.046388]  process_one_work+0x17b/0x360
[   52.047068]  worker_thread+0x2e/0x390
[   52.047704]  ? process_one_work+0x360/0x360
[   52.048369]  kthread+0x113/0x130
[   52.048958]  ? kthread_create_worker_on_cpu+0x70/0x70
[   52.049708]  ? kthread_create_worker_on_cpu+0x70/0x70
[   52.050428]  ret_from_fork+0x35/0x40
[   52.051059] gfs2: fsid=debian:test.0: jid=0: Failed
[   52.055033] gfs2: fsid=debian:test.0: error recovering journal 0: -5
[   52.421441] dlm: closing connection to node 2130706433

-- 
Valentin



^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-13  9:13                           ` Valentin Vidic
@ 2018-05-14 13:24                             ` Andrew Price
  2018-05-14 13:48                               ` Valentin Vidic
  0 siblings, 1 reply; 18+ messages in thread
From: Andrew Price @ 2018-05-14 13:24 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On 13/05/18 10:13, Valentin Vidic wrote:
> On Wed, May 09, 2018 at 05:53:19PM +0100, Andrew Price wrote:
>> You should be able to fix this by using the configure.ac and
>> gfs2/libgfs2/meta.c files from master. The diff should be very small. It'll
>> need an ./autogen.sh to rebuild the configure script.
>>
>> The downside of that approach is that the new fields will be recognised but
>> not used in the utils. The next release of gfs2-utils will add that
>> functionality.
> 
> As I feared, the gfs2 kernel module does not want to mount the
> filesystem created with patched gfs2-utils. I guess that I will
> need to take the current master branch to get it working again?

We can still keep this minimal if that's better for the Debian package.

The issue is due to the log header checksum (lh_hash) being calculated 
using sizeof(struct gfs2_log_header) and that size has increased in the 
latest kernel gfs2_ondisk.h.

For the purposes of the package we can fix that by replacing those 
sizeof's with the correct value, as below.

Andy

diff --git a/gfs2/libgfs2/recovery.c b/gfs2/libgfs2/recovery.c
index cad723f0..7326574f 100644
--- a/gfs2/libgfs2/recovery.c
+++ b/gfs2/libgfs2/recovery.c
@@ -66,7 +66,7 @@ int get_log_header(struct gfs2_inode *ip, unsigned int 
blk,
         tmp = (struct gfs2_log_header *)bh->b_data;
         saved_hash = tmp->lh_hash;
         tmp->lh_hash = 0;
-       hash = gfs2_disk_hash(bh->b_data, sizeof(struct gfs2_log_header));
+       hash = gfs2_disk_hash(bh->b_data, 48);
         tmp->lh_hash = saved_hash;
         gfs2_log_header_in(&lh, bh);
         brelse(bh);
@@ -234,7 +234,7 @@ int clean_journal(struct gfs2_inode *ip, struct 
gfs2_log_header *head)
         lh->lh_sequence = cpu_to_be64(head->lh_sequence + 1);
         lh->lh_flags = cpu_to_be32(GFS2_LOG_HEAD_UNMOUNT);
         lh->lh_blkno = cpu_to_be32(lblock);
-       hash = gfs2_disk_hash((const char *)lh, sizeof(struct 
gfs2_log_header));
+       hash = gfs2_disk_hash((const char *)lh, 48);
         lh->lh_hash = cpu_to_be32(hash);
         bmodified(bh);
         brelse(bh);
diff --git a/gfs2/libgfs2/structures.c b/gfs2/libgfs2/structures.c
index 1cc88b50..a8da4a0c 100644
--- a/gfs2/libgfs2/structures.c
+++ b/gfs2/libgfs2/structures.c
@@ -133,7 +133,7 @@ int lgfs2_write_journal_data(struct gfs2_inode *ip)
                 lh.lh_sequence = seq;
                 lh.lh_blkno = bh->b_blocknr - jext0;
                 gfs2_log_header_out(&lh, bh);
-               hash = gfs2_disk_hash(bh->b_data, sizeof(struct 
gfs2_log_header));
+               hash = gfs2_disk_hash(bh->b_data, 48);
                 ((struct gfs2_log_header *)bh->b_data)->lh_hash = 
cpu_to_be32(hash);

                 if (bwrite(bh)) {
@@ -185,7 +185,7 @@ int write_journal(struct gfs2_inode *jnl, unsigned 
bsize, unsigned int blocks)
                 lh.lh_sequence = seq;
                 lh.lh_blkno = x;
                 gfs2_log_header_out(&lh, bh);
-               hash = gfs2_disk_hash(bh->b_data, sizeof(struct 
gfs2_log_header));
+               hash = gfs2_disk_hash(bh->b_data, 48);
                 ((struct gfs2_log_header *)bh->b_data)->lh_hash = 
cpu_to_be32(hash);

                 bmodified(bh);



^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel
  2018-05-14 13:24                             ` Andrew Price
@ 2018-05-14 13:48                               ` Valentin Vidic
  0 siblings, 0 replies; 18+ messages in thread
From: Valentin Vidic @ 2018-05-14 13:48 UTC (permalink / raw)
  To: cluster-devel.redhat.com

On Mon, May 14, 2018 at 02:24:38PM +0100, Andrew Price wrote:
> We can still keep this minimal if that's better for the Debian package.
> 
> The issue is due to the log header checksum (lh_hash) being calculated using
> sizeof(struct gfs2_log_header) and that size has increased in the latest
> kernel gfs2_ondisk.h.
> 
> For the purposes of the package we can fix that by replacing those sizeof's
> with the correct value, as below.

Thanks again, mount is working now.  I will test some more and release
a new package if all is good.

-- 
Valentin



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-05-14 13:48 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-04  9:42 [Cluster-devel] gfs2-utils: mkfs segfault with 4.16 kernel Valentin Vidic
2018-05-04  9:50 ` Valentin Vidic
2018-05-04 10:06   ` Andrew Price
2018-05-04 10:21     ` Valentin Vidic
2018-05-04 10:27       ` Andrew Price
2018-05-04 10:42         ` Valentin Vidic
2018-05-04 10:46           ` Andrew Price
2018-05-04 10:54             ` Valentin Vidic
2018-05-04 11:07               ` Andrew Price
2018-05-04 12:01                 ` Valentin Vidic
2018-05-04 13:01                   ` Andrew Price
2018-05-04 13:16                     ` Andrew Price
2018-05-04 14:00                       ` Valentin Vidic
2018-05-09 16:53                         ` Andrew Price
2018-05-10 19:47                           ` Valentin Vidic
2018-05-13  9:13                           ` Valentin Vidic
2018-05-14 13:24                             ` Andrew Price
2018-05-14 13:48                               ` Valentin Vidic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.