I've tried to calculate somehow what block is on sector 50868652 and I
got 6291509. Badblocks program successfully recognize this block as bad.
And "dumpe2fs -b" shows it. But this block is touched again and again.
And I think that means that messages "Programming error? block #??????
claimed for no reason in process_bad_block" are irrelevant to this
issue. And that link I've mentioned is irrelevant too.

And I am going to attach full dumpe2fs output and "tune2fs -l". I hope
it will help somehow. (The name of the disk is changed from sdb2 to sdc2
after reboot.)

** Attachment added: "tune2fs-sdc2.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1723415/+attachment/4970164/+files/tune2fs-sdc2.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1723415

Title:
  ext4 filesystem does not use its badblock list

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  1) Ubuntu 4.13.0-15.16-generic 4.13.4
  2) Will be attached.
  Always, when I have /dev/sdb2 mounted, I get an errors in the system log, 
such as in the file dmesg.txt (attached)(there are i/o errors and something).

  Thus I ran fsck:
  {
  root@user:~# fsck.ext4 -fck /dev/sdb2
  e2fsck 1.43.5 (04-Aug-2017)
  Checking for bad blocks (read-only test):   0.24% done, 0:25done              
                                   
  /dev/sdb2: Updating bad block inode.
  Pass 1: Checking inodes, blocks, and sizes
  Programming error?  block #230376 claimed for no reason in process_bad_block.
  Programming error?  block #230385 claimed for no reason in process_bad_block.
  Pass 2: Checking directory structure
  Pass 3: Checking directory connectivity
  Pass 4: Checking reference counts
  Pass 5: Checking group summary information

  /dev/sdb2: ***** FILE SYSTEM WAS MODIFIED *****
  }

  But the errors did not disappear and I ran "badblocks -so ./bads-sdb2.txt -b 
4096 /dev/sdb2"
  Then I tried "fsck.ext4 -l ./bads-sdb2.txt /dev/sdb2" and it showed, among 
other typical things, this:
  {
  Programming error?  block #230376 claimed for no reason in process_bad_block.
  Programming error?  block #230385 claimed for no reason in process_bad_block.
  }

  Then I ran "dump2fs -b /dev/sdb2" and found that every block from
  bads-sdb2.txt is already included in there, but the errors keep
  appear.

  And while I was searching for a solution, I found this:
  https://sourceforge.net/p/e2fsprogs/bugs/187/

  I think this situation can be found on Ubuntu 16.04 too.
  Thank you.

  1) Ubuntu Artful Aardvark (development branch) 17.10
  2) 4.13.0.15.16

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: linux-image-4.13.0-15-generic 4.13.0-15.16
  ProcVersionSignature: Ubuntu 4.13.0-15.16-generic 4.13.4
  Uname: Linux 4.13.0-15-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  user       2193 F.... pulseaudio
   /dev/snd/controlC1:  user       2193 F.... pulseaudio
  CurrentDesktop: LXDE
  Date: Fri Oct 13 14:43:21 2017
  HibernationDevice: RESUME=UUID=726f52b2-474f-4c2d-b220-5db2446da453
  InstallationDate: Installed on 2017-10-06 (6 days ago)
  InstallationMedia: Lubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
  IwConfig:
   lo        no wireless extensions.
   
   enp2s0    no wireless extensions.
  MachineType: Gigabyte Technology Co., Ltd. GA-880GM-UD2H
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-4.13.0-15-generic 
root=UUID=a0d2d217-37b4-4153-bb5c-c489bf5eb886 ro rootflags=subvol=@ quiet 
ipv6.disable=1
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-15-generic N/A
   linux-backports-modules-4.13.0-15-generic  N/A
   linux-firmware                             1.169
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/11/2010
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F8
  dmi.board.name: GA-880GM-UD2H
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.modalias: 
dmi:bvnAwardSoftwareInternational,Inc.:bvrF8:bd10/11/2010:svnGigabyteTechnologyCo.,Ltd.:pnGA-880GM-UD2H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-880GM-UD2H:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
  dmi.product.name: GA-880GM-UD2H
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to