Compile UFS module to support rw with kernel 3.19.0-26-generic
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
However, I get ufs.ko under ufs_rw/fs/ufs and when I modprobe it, it brings to a kernel panic easily with below command
modprobe nbd
qemu-nbd -c /dev/nbd0 freebsd10u1x64
mount -t ufs -o ufstype=ufs2,rw /dev/nbd0p2 /mnt
Thus, pls help tell me if I mistake some steps above.
Thanks a lot!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu linux Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask bjcheny for more information if necessary.