RHEL7/Centos7 Update kernel built/4.13 with exfat module without fuse

RHEL with built 4.13 kernel 

Refer to RHEL7/Centos7 Update kernel built/4.13 with GRUB2 (https://blog.csdn.net/hushui/article/details/80048676)

lake@localhost:~/lfs/exfat-nofuse$  uname -a 
Linux localhost.localdomain 4.13.0+ #6 SMP Thu Oct 25 22:11:52 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux
lake@localhost:~/lfs/exfat-nofuse$ 

 

##  exfat module without fuse on Linux kernel  !!  kernel version  >3.8

lake@localhost:~/lfs$ git clone  https://github.com/dorimanx/exfat-nofuse
Cloning into 'exfat-nofuse'...
remote: Enumerating objects: 605, done.
remote: Total 605 (delta 0), reused 0 (delta 0), pack-reused 605
Receiving objects: 100% (605/605), 312.34 KiB | 201.00 KiB/s, done.
Resolving deltas: 100% (366/366), done.
lake@localhost:~/lfs$ cd exfat-nofuse/
lake@localhost:~/lfs/exfat-nofuse$ ls
dkms.conf    exfat_bitmap.c  exfat_blkdev.h  exfat_config.h  exfat_data.c  exfat_nls.c  exfat_oal.h    exfat_upcase.c   LICENSE
exfat_api.c  exfat_bitmap.h  exfat_cache.c   exfat_core.c    exfat_data.h  exfat_nls.h  exfat_super.c  exfat_version.h  Makefile
exfat_api.h  exfat_blkdev.c  exfat_cache.h   exfat_core.h    exfat-km.mk   exfat_oal.c  exfat_super.h  Kconfig          README.md
lake@localhost:~/lfs/exfat-nofuse$ make 
make -C /lib/modules/4.13.0+/build M=/home/lake/lfs/exfat-nofuse modules
make[1]: Entering directory `/home/lake/lfs/linux-git'
  CC [M]  /home/lake/lfs/exfat-nofuse/exfat_core.o
  CC [M]  /home/lake/lfs/exfat-nofuse/exfat_super.o
  CC [M]  /home/lake/lfs/exfat-nofuse/exfat_api.o
  CC [M]  /home/lake/lfs/exfat-nofuse/exfat_blkdev.o
  CC [M]  /home/lake/lfs/exfat-nofuse/exfat_cache.o
  CC [M]  /home/lake/lfs/exfat-nofuse/exfat_data.o
  CC [M]  /home/lake/lfs/exfat-nofuse/exfat_bitmap.o
  CC [M]  /home/lake/lfs/exfat-nofuse/exfat_nls.o
  CC [M]  /home/lake/lfs/exfat-nofuse/exfat_oal.o
  CC [M]  /home/lake/lfs/exfat-nofuse/exfat_upcase.o
  LD [M]  /home/lake/lfs/exfat-nofuse/exfat.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/lake/lfs/exfat-nofuse/exfat.mod.o
  LD [M]  /home/lake/lfs/exfat-nofuse/exfat.ko
make[1]: Leaving directory `/home/lake/lfs/linux-git'
lake@localhost:~/lfs/exfat-nofuse$ make install 
rm -f /lib/modules/4.13.0+/kernel/fs/exfat/exfat.ko
install -m644 -b -D exfat.ko /lib/modules/4.13.0+/kernel/fs/exfat/exfat.ko
install: cannot create directory /lib/modules/4.13.0+/kernel/fs/exfat: Permission denied
make: *** [install] Error 1
lake@localhost:~/lfs/exfat-nofuse$ sudo  make install 
[sudo] password for lake: 
rm -f /lib/modules/4.13.0+/kernel/fs/exfat/exfat.ko
install -m644 -b -D exfat.ko /lib/modules/4.13.0+/kernel/fs/exfat/exfat.ko
depmod -aq
lake@localhost:~/lfs/exfat-nofuse$ sudo mount /dev/sdc1  /mnt/temp 
lake@localhost:~/lfs/exfat-nofuse$ dmesg  |tail  -n  15
[    7.486707] device-mapper: uevent: version 1.0.3
[    7.486948] device-mapper: ioctl: 4.36.0-ioctl (2017-06-09) initialised: [email protected]
[    7.813326] nf_conntrack version 0.5.0 (65536 buckets, 262144 max)
[   10.987995] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[   16.640208] nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables CT target to attach helpers instead.
[   16.869141] NFSD: starting 90-second grace period (net ffffffffa5408f00)
[  277.265061] loop: module loaded
[  277.345296] ISO 9660 Extensions: Microsoft Joliet Level 3
[  277.345387] ISO 9660 Extensions: Microsoft Joliet Level 3
[  277.345502] ISO 9660 Extensions: RRIP_1991A
[  762.954033] exfat: loading out-of-tree module taints kernel.
[  762.954099] exfat: module verification failed: signature and/or required key missing - tainting kernel
[  762.954636] exFAT: Version 1.2.9
[  762.954959] [EXFAT] trying to mount...
[  763.038127] [EXFAT] mounted successfully
lake@localhost:~/lfs/exfat-nofuse$ lsmod |grep ex
exfat                 131072  1 
lake@localhost:~/lfs/exfat-nofuse$ 

你可能感兴趣的:(RHEL,Kernel)