UFS rw support fails with 3.19.0-26-generic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
High
|
Unassigned | ||
Vivid |
Expired
|
High
|
Unassigned |
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://
sudo apt-get build-dep --no-install-
mkdir ufs_rw
cd ufs_rw
apt-get source linux-image-$(uname -r)
cp -v /usr/src/
cd linux-*/
cp -v /boot/config-
make EXTRAVERSION=-4 O=~/ufs_rw oldconfig
sed -i 's/# CONFIG_UFS_FS_WRITE is not set/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-
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.
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1501623
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.