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

2015-12-27 Thread Launchpad Bug Tracker
[Expired for linux (Ubuntu Vivid) because there has been no activity for
60 days.]

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

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

Title:
  UFS rw support fails with 3.19.0-26-generic

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

Bug description:
  Hi guys,

  I'd like to enable rw support for ufs file system with kernel
  3.19.0-26-generic.

  Basically, I follow steps as below from
  http://oz123.github.io/writings/2012-11-26-enable-ufs-write-support-
  debian/

  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/'
  ~/ufs_rw/.config

  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
  3.8.0-34-generic/3.11.0-26-generic.

  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:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501623/+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


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

2015-12-27 Thread Launchpad Bug Tracker
[Expired for linux (Ubuntu) because there has been no activity for 60
days.]

** 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.
https://bugs.launchpad.net/bugs/1501623

Title:
  UFS rw support fails with 3.19.0-26-generic

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

Bug description:
  Hi guys,

  I'd like to enable rw support for ufs file system with kernel
  3.19.0-26-generic.

  Basically, I follow steps as below from
  http://oz123.github.io/writings/2012-11-26-enable-ufs-write-support-
  debian/

  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/'
  ~/ufs_rw/.config

  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
  3.8.0-34-generic/3.11.0-26-generic.

  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:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501623/+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


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

2015-10-28 Thread Joseph Salisbury
** Tags added: kernel-da-key

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

Title:
  UFS rw support fails with 3.19.0-26-generic

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

Bug description:
  Hi guys,

  I'd like to enable rw support for ufs file system with kernel
  3.19.0-26-generic.

  Basically, I follow steps as below from
  http://oz123.github.io/writings/2012-11-26-enable-ufs-write-support-
  debian/

  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/'
  ~/ufs_rw/.config

  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
  3.8.0-34-generic/3.11.0-26-generic.

  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:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501623/+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


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

2015-10-12 Thread bjcheny
Hi guys,

I have got a patch migrating from 3.11 version, and it works for
3.19.25/26.

It could be a regression. The patch looks like:

--- ufs/super.c 2015-09-26 17:18:46.0 +0800
+++ work/super.c2015-10-12 23:46:40.964962685 +0800
@@ -805,6 +805,7 @@
UFSD("flag %u\n", (int)(sb->s_flags & MS_RDONLY));

mutex_init(>mutex);
+   mutex_init(>s_lock);
spin_lock_init(>work_lock);
INIT_DELAYED_WORK(>sync_work, delayed_sync_fs);
/*

Pls help review this patch.

Meanwhile, source tar downloaded by 3.19.0-26 quite matches what I get
from kernel, though they both look like 3.19.8.

root@compiler-14:~# diff linux-3.19.8/Makefile 
~/ufs_rw/linux-lts-vivid-3.19.0/Makefile
4,5c4,5
< EXTRAVERSION =
< NAME = Diseased Newt
---
> EXTRAVERSION = -ckt5
> NAME = Sedated Swine
/// ...


At least the header is different, which is related to this patch.
root@compiler-14:~# diff linux-3.19.8/fs/ufs/ufs.h 
~/ufs_rw/linux-lts-vivid-3.19.0/fs/ufs/
32a33
>   struct mutex s_lock;


Regards


** Patch added: "patch to enable ufs rw for 3.19.25/26"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501623/+attachment/4493043/+files/ufs_rw.patch

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

Title:
  UFS rw support fails with 3.19.0-26-generic

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

Bug description:
  Hi guys,

  I'd like to enable rw support for ufs file system with kernel
  3.19.0-26-generic.

  Basically, I follow steps as below from
  http://oz123.github.io/writings/2012-11-26-enable-ufs-write-support-
  debian/

  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/'
  ~/ufs_rw/.config

  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
  3.8.0-34-generic/3.11.0-26-generic.

  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:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501623/+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


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

2015-10-12 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

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

Title:
  UFS rw support fails with 3.19.0-26-generic

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

Bug description:
  Hi guys,

  I'd like to enable rw support for ufs file system with kernel
  3.19.0-26-generic.

  Basically, I follow steps as below from
  http://oz123.github.io/writings/2012-11-26-enable-ufs-write-support-
  debian/

  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/'
  ~/ufs_rw/.config

  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
  3.8.0-34-generic/3.11.0-26-generic.

  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:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501623/+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


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

2015-10-07 Thread bjcheny
Hi ,

Is there any progress?

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

Title:
  UFS rw support fails with 3.19.0-26-generic

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

Bug description:
  Hi guys,

  I'd like to enable rw support for ufs file system with kernel
  3.19.0-26-generic.

  Basically, I follow steps as below from
  http://oz123.github.io/writings/2012-11-26-enable-ufs-write-support-
  debian/

  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/'
  ~/ufs_rw/.config

  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
  3.8.0-34-generic/3.11.0-26-generic.

  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:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501623/+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


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

2015-10-02 Thread bjcheny
Sorry for late reply.

Attach call stack from var/log/syslog.

Please help review it.

** Attachment added: "syslog with ufs rw enabled"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501623/+attachment/4482445/+files/report.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/1501623

Title:
  UFS rw support fails with 3.19.0-26-generic

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

Bug description:
  Hi guys,

  I'd like to enable rw support for ufs file system with kernel
  3.19.0-26-generic.

  Basically, I follow steps as below from
  http://oz123.github.io/writings/2012-11-26-enable-ufs-write-support-
  debian/

  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/'
  ~/ufs_rw/.config

  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
  3.8.0-34-generic/3.11.0-26-generic.

  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:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501623/+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


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

2015-10-02 Thread bjcheny
One more log which is generated by remount command

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

Fyi.

** Attachment added: "another syslog when remount ufs with rw"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501623/+attachment/4482483/+files/report.jenkins1.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/1501623

Title:
  UFS rw support fails with 3.19.0-26-generic

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

Bug description:
  Hi guys,

  I'd like to enable rw support for ufs file system with kernel
  3.19.0-26-generic.

  Basically, I follow steps as below from
  http://oz123.github.io/writings/2012-11-26-enable-ufs-write-support-
  debian/

  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/'
  ~/ufs_rw/.config

  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
  3.8.0-34-generic/3.11.0-26-generic.

  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:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501623/+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


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

2015-10-01 Thread Joseph Salisbury
We would like to review the details of the panic. Do you have a screen
shot, digital image or the text details of the panic that you could
provide?

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

** Also affects: linux (Ubuntu Vivid)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Vivid)
   Importance: Undecided => High

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

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

Title:
  UFS rw support fails with 3.19.0-26-generic

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

Bug description:
  Hi guys,

  I'd like to enable rw support for ufs file system with kernel
  3.19.0-26-generic.

  Basically, I follow steps as below from
  http://oz123.github.io/writings/2012-11-26-enable-ufs-write-support-
  debian/

  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/'
  ~/ufs_rw/.config

  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
  3.8.0-34-generic/3.11.0-26-generic.

  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:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1501623/+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