You are not logged in.
After kernel upgrade to 5.5, I fount that the `exfat` module is not loaded by default.
So I create an entry to autoload this module:
$ cat /etc/modules-load.d/exfat.conf
exfat
After doing this, I can mount my exfat partition using `sudo mount`:
$ sudo mount /dev/sda1 /mnt
$ mount | grep sda1
/dev/sda1 on /mnt type exfat (rw,relatime,fmask=0022,dmask=0022,iocharset=utf8,bps=512,errors=remount-ro)
But I can't use `udisk2` to mount the same partition:
$ udisksctl mount -b /dev/sda1
Error mounting /dev/sda1: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error mounting /dev/sda1 at /run/media/abc/3615-8447: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error
`dmesg` shows an error after `udisk2` failed to mount:
[45918.252510] exfat: Unknown parameter 'namecase'
On kernel 5.4, the `exfat` module is loaded by default, and I can use both `sudo mount` and `udisk2` to mount the same partition without problem.
So how can fix this issue?
Thx.
Offline
After plugging in the exfat device, show the output of the end of 'journalct -b' where the event appears (not all the journal).
Here I could mount a exfat memory stick using udisks2, without loading the exfat module.
udisks2 uses fuse.
The memory stick appears as /dev/sdc :
$ mount |grep sdc
/dev/sdc on /run/media/berbae/540A-B27C type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
$ lsblk -nf |grep sdc
sdc exfat 1.0 540A-B27C 59,2G 1% /run/media/berbae/540A-B27C
there is no sdc1 partition.
Offline
After plugging in the exfat device, show the output of the end of 'journalct -b' where the event appears (not all the journal).
Here I could mount a exfat memory stick using udisks2, without loading the exfat module.
udisks2 uses fuse.
The memory stick appears as /dev/sdc :$ mount |grep sdc /dev/sdc on /run/media/berbae/540A-B27C type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2) $ lsblk -nf |grep sdc sdc exfat 1.0 540A-B27C 59,2G 1% /run/media/berbae/540A-B27C
there is no sdc1 partition.
Yes, I can mount exfat using the `fuse` driver in `exfat-utils` package with `udisk`, without any problem.
My problem is, on kernel 5.4 I can mount exfat with kernel module ( without `exfat-utils` package installed) with both `sudo mount` and `udisk2`; but on kernel 5.5 without `exfat-utils` package installed, only `sudo mount` can mount exfat, `udisk2` fails.
Here's the journal when I plugin my exfat usb drive, mount and unmount it with `sudo mount` successfully, and failed to mount it with `udisk2`:
2月 09 20:20:28 myarch kernel: usb 1-5: new high-speed USB device number 7 using xhci_hcd
2月 09 20:20:28 myarch vmware-usbarbitrator[934]: USBGL: kevent: adding USB device 1-5
2月 09 20:20:28 myarch kernel: usb 1-5: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.06
2月 09 20:20:28 myarch kernel: usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2月 09 20:20:28 myarch kernel: usb 1-5: Product: MiniKing
2月 09 20:20:28 myarch kernel: usb 1-5: Manufacturer: aigo
2月 09 20:20:28 myarch kernel: usb 1-5: SerialNumber: 90B8488F
2月 09 20:20:28 myarch kernel: usb-storage 1-5:1.0: USB Mass Storage device detected
2月 09 20:20:28 myarch kernel: scsi host2: usb-storage 1-5:1.0
2月 09 20:20:28 myarch mtp-probe[492870]: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"
2月 09 20:20:28 myarch mtp-probe[492870]: bus: 1, device: 7 was not an MTP device
2月 09 20:20:29 myarch vmware-hostd[1002]: 2020-02-09T20:20:29.237+08:00 info hostd[01120] [Originator@6876 sub=Vmsvc.USBDeviceManager] UsbEnumDevicesChange
2月 09 20:20:29 myarch vmware-hostd[1002]: 2020-02-09T20:20:29.238+08:00 verbose hostd[01120] [Originator@6876 sub=PropertyProvider] RecordOp ASSIGN: latestEvent, ha-eventmgr. Applied change to temp map.
2月 09 20:20:29 myarch vmware-hostd[1002]: 2020-02-09T20:20:29.238+08:00 info hostd[01120] [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 8 : event.esx.audit.usb.config.changed.fullFormat (esx.audit.usb.config.changed)
2月 09 20:20:29 myarch plasmashell[4775]: UdevQt: unhandled device action "bind"
2月 09 20:20:29 myarch dolphin[5377]: UdevQt: unhandled device action "bind"
2月 09 20:20:29 myarch dolphin[38066]: UdevQt: unhandled device action "bind"
2月 09 20:20:29 myarch org_kde_powerdevil[5412]: UdevQt: unhandled device action "bind"
2月 09 20:20:29 myarch mtp-probe[492917]: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5"
2月 09 20:20:29 myarch mtp-probe[492917]: bus: 1, device: 7 was not an MTP device
2月 09 20:20:29 myarch plasmashell[4775]: UdevQt: unhandled device action "bind"
2月 09 20:20:29 myarch dolphin[5377]: UdevQt: unhandled device action "bind"
2月 09 20:20:29 myarch org_kde_powerdevil[5412]: UdevQt: unhandled device action "bind"
2月 09 20:20:29 myarch dolphin[38066]: UdevQt: unhandled device action "bind"
2月 09 20:20:29 myarch kernel: scsi 2:0:0:0: Direct-Access aigo MiniKing 8.07 PQ: 0 ANSI: 4
2月 09 20:20:29 myarch kernel: sd 2:0:0:0: Attached scsi generic sg2 type 0
2月 09 20:20:29 myarch kernel: sd 2:0:0:0: [sdc] 30617600 512-byte logical blocks: (15.7 GB/14.6 GiB)
2月 09 20:20:29 myarch kernel: sd 2:0:0:0: [sdc] Write Protect is off
2月 09 20:20:29 myarch kernel: sd 2:0:0:0: [sdc] Mode Sense: 23 00 00 00
2月 09 20:20:29 myarch kernel: sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
2月 09 20:20:30 myarch kernel: sdc: sdc1
2月 09 20:20:30 myarch kernel: sd 2:0:0:0: [sdc] Attached SCSI removable disk
2月 09 20:21:17 myarch kwin_x11[4771]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 3701, resource id: 199229449, major code: 18 (ChangeProperty), minor code: 0
2月 09 20:21:28 myarch sudo[493824]: abc : TTY=pts/1 ; PWD=/home/abc ; USER=root ; COMMAND=/usr/bin/mount /dev/sdc1 /mnt
2月 09 20:21:28 myarch sudo[493824]: pam_unix(sudo:session): session opened for user root by abc(uid=0)
2月 09 20:21:29 myarch sudo[493824]: pam_unix(sudo:session): session closed for user root
2月 09 20:21:41 myarch sudo[493998]: abc : TTY=pts/1 ; PWD=/home/abc ; USER=root ; COMMAND=/usr/bin/umount /mnt
2月 09 20:21:41 myarch sudo[493998]: pam_unix(sudo:session): session opened for user root by abc(uid=0)
2月 09 20:21:41 myarch sudo[493998]: pam_unix(sudo:session): session closed for user root
2月 09 20:21:41 myarch systemd[4677]: mnt.mount: Succeeded.
2月 09 20:21:41 myarch systemd[1]: mnt.mount: Succeeded.
2月 09 20:21:50 myarch kernel: exfat: Unknown parameter 'namecase'
Last edited by huyizheng (2020-02-09 12:26:32)
Offline
Same issue here, I reverted back to exfat-utils for the time being.
Offline
Offline
@loqs thanks, that's quite relevant, but who is using those options? udisks2?
Offline
Yes udisks2 before https://github.com/storaged-project/udi … e78621c1de which is only applicable to 2.9+
going back to 2.8.4 which arch currently uses https://github.com/storaged-project/udi … tem.c#L412
Edit:
udisks2 2.9.0-1 in testing contains the commit fixing the issue.
Last edited by loqs (2020-05-29 13:23:59)
Offline