← Back to team overview

touch-packages team mailing list archive

[Bug 1487787] [NEW] mkfs.ext4: Could not allocate block

 

Public bug reported:

Making a new ext4 fs on a flaky 64G flash using read-write badblock
detection fails, UBUNTU 14.04 LTS with all updates:

dgp@dgp-p6803w:~
$ sudo mkfs.ext4 -v -cc -L Second64G /dev/sdd
mke2fs 1.42.9 (4-Feb-2014)
/dev/sdd is entire device, not just one partition!
Proceed anyway? (y,n) y
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=Second64G
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
4096000 inodes, 16384000 blocks
819200 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
500 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000, 7962624, 11239424

Running command: badblocks -b 4096 -X -s -w /dev/sdd 16383999
Testing with pattern 0xaa: done                                                 
Reading and comparing: done                                                 
Testing with pattern 0x55:Bad block 16384000 out of range; ignored.1457 errors)
Bad block 16384001 out of range; ignored.
Bad block 16384002 out of range; ignored.
Bad block 16384003 out of range; ignored.
Bad block 16384004 out of range; ignored.
Bad block 16384005 out of range; ignored.
Bad block 16384006 out of range; ignored.
Bad block 16384007 out of range; ignored.
Bad block 16384008 out of range; ignored.
Bad block 16384009 out of range; ignored.
Bad block 16384010 out of range; ignored.
Bad block 16384011 out of range; ignored.
Bad block 16384012 out of range; ignored.
Bad block 16384013 out of range; ignored.
Bad block 16384014 out of range; ignored.
Bad block 16384015 out of range; ignored.
Bad block 16384016 out of range; ignored.
Bad block 16384017 out of range; ignored.
Bad block 16384018 out of range; ignored.
Bad block 16384019 out of range; ignored.
Bad block 16384020 out of range; ignored.
Bad block 16384021 out of range; ignored.
Bad block 16384022 out of range; ignored.
Bad block 16384023 out of range; ignored.
Bad block 16384024 out of range; ignored.
Bad block 16384025 out of range; ignored.
Bad block 16384026 out of range; ignored.
Bad block 16384027 out of range; ignored.
Bad block 16384028 out of range; ignored.
Bad block 16384029 out of range; ignored.
Bad block 16384030 out of range; ignored.
Bad block 16384031 out of range; ignored.
Bad block 16384032 out of range; ignored.
Bad block 16384033 out of range; ignored.
Bad block 16384034 out of range; ignored.
Bad block 16384035 out of range; ignored.
Bad block 16384036 out of range; ignored.
Bad block 16384037 out of range; ignored.
Bad block 16384038 out of range; ignored.
Bad block 16384039 out of range; ignored.
Bad block 16384040 out of range; ignored.
Bad block 16384041 out of range; ignored.
Bad block 16384042 out of range; ignored.
Bad block 16384043 out of range; ignored.
Bad block 16384044 out of range; ignored.
Bad block 16384045 out of range; ignored.
Bad block 16384046 out of range; ignored.
Bad block 16384047 out of range; ignored.
Bad block 16384048 out of range; ignored.
Bad block 16384049 out of range; ignored.
Bad block 16384050 out of range; ignored.
Bad block 16384051 out of range; ignored.
Bad block 16384052 out of range; ignored.
Bad block 16384053 out of range; ignored.
Bad block 16384054 out of range; ignored.
done                                                 
Reading and comparing: done                                                 
Testing with pattern 0xff:   0.00% done, 16:08:39 elapsed. (0/0/14311457 errorsdone                                                 
Reading and comparing: done                                                 
Testing with pattern 0x00:   0.00% done, 24:13:23 elapsed. (0/0/14311457 errorsdone                                                 
Reading and comparing: done                                                 
Warning: the backup superblock/group descriptors at block 2097152 contain
        bad blocks.

Warning: the backup superblock/group descriptors at block 2129920 contain
        bad blocks.

Warning: the backup superblock/group descriptors at block 2162688 contain
        bad blocks.

 .
 .
 .
Warning: the backup superblock/group descriptors at block 16285696 contain
        bad blocks.

Warning: the backup superblock/group descriptors at block 16318464 contain
        bad blocks.

Warning: the backup superblock/group descriptors at block 16351232 contain
        bad blocks.

Allocating group tables: Illegal block number passed to ext2fs_test_block_bitmap #16383997 for block bitmap for /dev/sdd
mkfs.ext4: Could not allocate block in ext2 filesystem while trying to allocate filesystem tables
dgp@dgp-p6803w:~
$

** Affects: e2fsprogs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/1487787

Title:
  mkfs.ext4: Could not allocate block

Status in e2fsprogs package in Ubuntu:
  New

Bug description:
  Making a new ext4 fs on a flaky 64G flash using read-write badblock
  detection fails, UBUNTU 14.04 LTS with all updates:

  dgp@dgp-p6803w:~
  $ sudo mkfs.ext4 -v -cc -L Second64G /dev/sdd
  mke2fs 1.42.9 (4-Feb-2014)
  /dev/sdd is entire device, not just one partition!
  Proceed anyway? (y,n) y
  fs_types for mke2fs.conf resolution: 'ext4'
  Filesystem label=Second64G
  OS type: Linux
  Block size=4096 (log=2)
  Fragment size=4096 (log=2)
  Stride=0 blocks, Stripe width=0 blocks
  4096000 inodes, 16384000 blocks
  819200 blocks (5.00%) reserved for the super user
  First data block=0
  Maximum filesystem blocks=4294967296
  500 block groups
  32768 blocks per group, 32768 fragments per group
  8192 inodes per group
  Superblock backups stored on blocks: 
          32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
          4096000, 7962624, 11239424

  Running command: badblocks -b 4096 -X -s -w /dev/sdd 16383999
  Testing with pattern 0xaa: done                                                 
  Reading and comparing: done                                                 
  Testing with pattern 0x55:Bad block 16384000 out of range; ignored.1457 errors)
  Bad block 16384001 out of range; ignored.
  Bad block 16384002 out of range; ignored.
  Bad block 16384003 out of range; ignored.
  Bad block 16384004 out of range; ignored.
  Bad block 16384005 out of range; ignored.
  Bad block 16384006 out of range; ignored.
  Bad block 16384007 out of range; ignored.
  Bad block 16384008 out of range; ignored.
  Bad block 16384009 out of range; ignored.
  Bad block 16384010 out of range; ignored.
  Bad block 16384011 out of range; ignored.
  Bad block 16384012 out of range; ignored.
  Bad block 16384013 out of range; ignored.
  Bad block 16384014 out of range; ignored.
  Bad block 16384015 out of range; ignored.
  Bad block 16384016 out of range; ignored.
  Bad block 16384017 out of range; ignored.
  Bad block 16384018 out of range; ignored.
  Bad block 16384019 out of range; ignored.
  Bad block 16384020 out of range; ignored.
  Bad block 16384021 out of range; ignored.
  Bad block 16384022 out of range; ignored.
  Bad block 16384023 out of range; ignored.
  Bad block 16384024 out of range; ignored.
  Bad block 16384025 out of range; ignored.
  Bad block 16384026 out of range; ignored.
  Bad block 16384027 out of range; ignored.
  Bad block 16384028 out of range; ignored.
  Bad block 16384029 out of range; ignored.
  Bad block 16384030 out of range; ignored.
  Bad block 16384031 out of range; ignored.
  Bad block 16384032 out of range; ignored.
  Bad block 16384033 out of range; ignored.
  Bad block 16384034 out of range; ignored.
  Bad block 16384035 out of range; ignored.
  Bad block 16384036 out of range; ignored.
  Bad block 16384037 out of range; ignored.
  Bad block 16384038 out of range; ignored.
  Bad block 16384039 out of range; ignored.
  Bad block 16384040 out of range; ignored.
  Bad block 16384041 out of range; ignored.
  Bad block 16384042 out of range; ignored.
  Bad block 16384043 out of range; ignored.
  Bad block 16384044 out of range; ignored.
  Bad block 16384045 out of range; ignored.
  Bad block 16384046 out of range; ignored.
  Bad block 16384047 out of range; ignored.
  Bad block 16384048 out of range; ignored.
  Bad block 16384049 out of range; ignored.
  Bad block 16384050 out of range; ignored.
  Bad block 16384051 out of range; ignored.
  Bad block 16384052 out of range; ignored.
  Bad block 16384053 out of range; ignored.
  Bad block 16384054 out of range; ignored.
  done                                                 
  Reading and comparing: done                                                 
  Testing with pattern 0xff:   0.00% done, 16:08:39 elapsed. (0/0/14311457 errorsdone                                                 
  Reading and comparing: done                                                 
  Testing with pattern 0x00:   0.00% done, 24:13:23 elapsed. (0/0/14311457 errorsdone                                                 
  Reading and comparing: done                                                 
  Warning: the backup superblock/group descriptors at block 2097152 contain
          bad blocks.

  Warning: the backup superblock/group descriptors at block 2129920 contain
          bad blocks.

  Warning: the backup superblock/group descriptors at block 2162688 contain
          bad blocks.

   .
   .
   .
  Warning: the backup superblock/group descriptors at block 16285696 contain
          bad blocks.

  Warning: the backup superblock/group descriptors at block 16318464 contain
          bad blocks.

  Warning: the backup superblock/group descriptors at block 16351232 contain
          bad blocks.

  Allocating group tables: Illegal block number passed to ext2fs_test_block_bitmap #16383997 for block bitmap for /dev/sdd
  mkfs.ext4: Could not allocate block in ext2 filesystem while trying to allocate filesystem tables
  dgp@dgp-p6803w:~
  $

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/1487787/+subscriptions