This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1813727

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable
to run this command, please add a comment stating that fact and change
the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the
Ubuntu Kernel Team.

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

** Tags added: bionic

-- 
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/1813727

Title:
  kernel 4.15.0-44 cannot mount ext4 fs with meta_bg enabled

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Starting with kernel 4.15.0-44 ext4 filesystem with meta_bg feature
  enabled can no longer be mounted.

  Steps to reproduce:

  - create two empty file and setup loopback devices on these files
  dd if=/dev/zero of=/loop1 bs=1M count=50
  losetup /dev/loop1 /loop1
  dd if=/dev/zero of=/loop2 bs=1M count=50
  losetup /dev/loop2 /loop2

  - create a ext4 fs with meta_bg enabled on loop1:

  mkfs.ext4 -O ^resize_inode,+meta_bg /dev/loop1

  - create a ext4 fs without any options on loop2:

  mkfs.ext4 /dev/loop2

  - try to mount the filesystems

  mkdir /mnt/loop1
  mkdir /mnt/loop2
  mount /dev/loop1 /mnt/loop1
  mount /dev/loop1 /mnt/loop2

  
  Expected behaviour:
  All mounts succeed without error.

  Actual behaviour:

  root@xubu-18-04:~# mount /dev/loop1 /mnt/loop1
  mount: /mnt/loop1: mount(2) system call failed: Structure needs cleaning.

  
  See also a similar bug in fedora and debian:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903838

  
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903838

  with a suspected patch by Theodore Ts'o to fix the issue: (Not tested)

  
  
https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=903838;filename=ext4-fix-false-negatives-and-false-positives-in-ext4.patch;msg=26

  Additional info:

  root@xubu-18-04:~# lsb_release -rd
  Description:  Ubuntu 18.04.1 LTS
  Release:      18.04

  root@xubu-18-04:~# apt-cache policy linux-image-generic
  linux-image-generic:
    Installed: 4.15.0.44.46
    Candidate: 4.15.0.44.46
    Version table:
   *** 4.15.0.44.46 500
          500 http://de.archive.ubuntu.com/ubuntu bionic-updates/main amd64 
Packages
          500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 
Packages
          100 /var/lib/dpkg/status
       4.15.0.20.23 500
          500 http://de.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.9-0ubuntu7.5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  vagrant    1242 F.... pulseaudio
  CurrentDesktop: XFCE
  DistroRelease: Ubuntu 18.04
  InstallationDate: Installed on 2019-01-29 (0 days ago)
  InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 
(20180426)
  IwConfig:
   lo        no wireless extensions.
   
   enp0s3    no wireless extensions.
  Lsusb:
   Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
   Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: innotek GmbH VirtualBox
  Package: linux (not installed)
  ProcFB: 0 svgadrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-44-generic 
root=UUID=a335a238-56df-4705-90d6-6e644fcaf8f9 ro quiet splash
  ProcVersionSignature: Ubuntu 4.15.0-44.47-generic 4.15.18
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-44-generic N/A
   linux-backports-modules-4.15.0-44-generic  N/A
   linux-firmware                             1.173.3
  RfKill:
   
  StagingDrivers: vboxvideo
  Tags:  bionic staging
  Uname: Linux 4.15.0-44-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/01/2006
  dmi.bios.vendor: innotek GmbH
  dmi.bios.version: VirtualBox
  dmi.board.name: VirtualBox
  dmi.board.vendor: Oracle Corporation
  dmi.board.version: 1.2
  dmi.chassis.type: 1
  dmi.chassis.vendor: Oracle Corporation
  dmi.modalias: 
dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:rvnOracleCorporation:rnVirtualBox:rvr1.2:cvnOracleCorporation:ct1:cvr:
  dmi.product.family: Virtual Machine
  dmi.product.name: VirtualBox
  dmi.product.version: 1.2
  dmi.sys.vendor: innotek GmbH

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1813727/+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