Solved Problem with automount after upgrade 12 -> 12.1

cyrille

Member

Reaction score: 10
Messages: 95

Hi
I've upgraded my freeBSD 12 to 12.1. All run fine except automount .
I use the vermanden automount method before and this works very well ( https://vermaden.wordpress.com/2018/10/11/freebsd-desktop-part-17-automount-removable-media/ )
After upgrade, I reinstall the port packages but the package fusefs-ext4fuse is no more present in the port of the 12.1 freebsd (not really a problem, I don't use removal media with ext4.
When I connect now a usb stick or external disk all run fine but when I connect a SD card, the system shutdown and so I was not possible to read the card.
If I look the dmesg, I can see this error :
Code:
dmesg | grep error

g_vfs_done():mmcsd0s1[WRITE(offset=16384, length=4096)]error = 30

g_vfs_done():mmcsd0s1[WRITE(offset=16384, length=4096)]error = 30

fsync: giving up on dirty (error = 30) 0xfffff8014cfb4b40: tag devfs, type VCHR

g_vfs_done():mmcsd0s1[WRITE(offset=16384, length=4096)]error = 30

g_vfs_done():mmcsd0s1[WRITE(offset=16384, length=4096)]error = 30

g_vfs_done():mmcsd0s1[WRITE(offset=16384, length=4096)]error = 30

fsync: giving up on dirty (error = 30) 0xfffff8014cfb4b40: tag devfs, type VCHR

g_vfs_done():mmcsd0s1[WRITE(offset=16384, length=4096)]error = 30

g_vfs_done():mmcsd0s1[WRITE(offset=16384, length=4096)]error = 30

g_vfs_done():mmcsd0s1[WRITE(offset=16384, length=4096)]error = 30

fsync: giving up on dirty (error = 30) 0xfffff8014cfb4b40: tag devfs, type VCHR

module_register_init: MOD_LOAD (vesa, 0xffffffff8112e0f0, 0) error 19

(probe0:umass-sim0:0:0:0): Error 22, Unretryable error

Anyone have an idea of this problem ?

Thanks
 
OP
cyrille

cyrille

Member

Reaction score: 10
Messages: 95

And this is the ouput of
Code:
cat /vat/log/automount.log

020-04-18 11:57:00 /dev/mmcsd0: attach

2020-04-18 11:57:00 /dev/mmcsd0s1: attach

2020-04-18 11:57:00 /dev/mmcsd0: not a block device

2020-04-18 11:57:00 /dev/mmcsd0s1: create '/media/mmcsd0s1' dir

2020-04-18 11:57:02 /dev/mmcsd0s1: fsck_msdosfs ** /dev/mmcsd0s1

2020-04-18 11:57:02 /dev/mmcsd0s1: fsck_msdosfs ** Phase 1 - Read and Compare FATs

2020-04-18 11:57:02 /dev/mmcsd0s1: fsck_msdosfs ** Phase 2 - Check Cluster Chains

2020-04-18 11:57:02 /dev/mmcsd0s1: fsck_msdosfs ** Phase 3 - Checking Directories

2020-04-18 11:57:02 /dev/mmcsd0s1: fsck_msdosfs ** Phase 4 - Checking for Lost Files

2020-04-18 11:57:02 /dev/mmcsd0s1: fsck_msdosfs 11384 files, 2755712 free (868752 clusters)

2020-04-18 11:57:02 /dev/mmcsd0s1: fsck_msdosfs MARK FILE SYSTEM CLEAN? yes

2020-04-18 11:57:02 /dev/mmcsd0s1: fsck_msdosfs MARKING FILE SYSTEM CLEAN

2020-04-18 11:57:04 /dev/mmcsd0s1: filesystem mount retry: 1/3

2020-04-18 11:57:05 /dev/mmcsd0s1: filesystem mount retry: 2/3

2020-04-18 11:57:06 /dev/mmcsd0s1: filesystem mount retry: 3/3

2020-04-18 11:57:06 /dev/mmcsd0s1: mount FAIL: 'mount_msdosfs -o longnames -m 644 -M 775 -D cp437 -L en_US.UTF-8 -u 1001 -g 0 -o noatime  /dev/mmcsd0s1 /media/mmcsd0s1'

2020-04-18 11:58:01 /dev/cd0: attach

2020-04-18 11:58:01 /dev/ugen0.2: attach

2020-04-18 11:58:01 /dev/ugen2.2: attach

2020-04-18 11:58:01 /dev/ugen1.2: attach

2020-04-18 11:58:01 /dev/ugen1.3: attach

2020-04-18 11:58:01 /dev/ugen0.2: no MTP devices found

2020-04-18 11:58:01 /dev/ugen2.2: no MTP devices found

2020-04-18 11:58:01 /dev/ugen1.2: no MTP devices found

2020-04-18 11:58:01 /dev/ugen1.3: no MTP devices found

2020-04-18 11:58:02 /dev/cd0: wait for device retry 1/3

2020-04-18 11:58:03 /dev/cd0: wait for device retry 2/3

2020-04-18 11:58:03 /dev/cd0: filesystem not supported or no filesystem
 
OP
cyrille

cyrille

Member

Reaction score: 10
Messages: 95

I'm a stupid idiot, the SD card was protected on WRITE (locked).
Run fine now, sorry for this post...
Only a question : is it problematic thaht fusefs-ext4fuse is not available in freebsd 12.1 ?
 
Top