← Back to team overview

kernel-packages team mailing list archive

[Bug 1501623] Re: UFS rw support fails with 3.19.0-26-generic


[Expired for linux (Ubuntu) because there has been no activity for 60

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

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.

  UFS rw support fails with 3.19.0-26-generic

Status in linux package in Ubuntu:
Status in linux source package in Vivid:

Bug description:
  Hi guys,

  I'd like to enable rw support for ufs file system with kernel

  Basically, I follow steps as below from

  sudo apt-get build-dep --no-install-recommends linux-image-$(uname -r)

  mkdir ufs_rw
  cd ufs_rw

  apt-get source linux-image-$(uname -r)
  cp -v /usr/src/linux-headers-$(uname -r)/Module.symvers .

  cd linux-*/
  cp -v /boot/config-$(uname -r) .

  make  EXTRAVERSION=-4 O=~/ufs_rw  oldconfig

  sed -i 's/# CONFIG_UFS_FS_WRITE is not set/CONFIG_UFS_FS_WRITE=y/'

  make  EXTRAVERSION=-4 O=~/ufs_rw prepare

  make  EXTRAVERSION=-4 O=~/ufs_rw outputmakefile

  make  EXTRAVERSION=-4 O=~/ufs_rw archprepare

  make  EXTRAVERSION=-4 O=~/ufs_rw modules SUBDIRS=scripts

  make  EXTRAVERSION=-4 O=~/ufs_rw modules SUBDIRS=fs/ufs

  I get ufs.ko under ufs_rw/fs/ufs and try it with below commands.

  modprobe nbd

  qemu-nbd -c /dev/nbd0 freebsd10u1x64

  mount -t ufs -o ufstype=ufs2,rw /dev/nbd0p2 /mnt

  There is no error or warning when I run

  mount -t ufs -o ufstype=ufs2,rw /dev/nbd0p2 /mnt

  However, when I try to write something to /mnt or even umount /mnt,
  there is kernel panic.

  And further more, the way above works for

  That means I can read/write correctly with ufs2 file system.

  It breaks with 3.19.0-26-generic, from my view.

  Please let me know if more info is needed.

To manage notifications about this bug go to: