nicktf
April 13, 2020, 3:52pm
1
Hi,
I'm having trouble working out what is wrong.
I have installed kmod-usb-storage, and block mount but the actual mount command fails with
dmesg shows:
4155.864398] scsi 0:0:0:0: Direct-Access USB Flash Disk 1100 PQ: 0 ANSI: 0 CCS
[ 4155.876839] sd 0:0:0:0: [sda] 1957888 512-byte logical blocks: (1.00 GB/956 MiB)
[ 4155.885841] sd 0:0:0:0: [sda] Write Protect is off
[ 4155.890662] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 4155.891957] sd 0:0:0:0: [sda] No Caching mode page found
[ 4155.897331] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 4155.910707] sda: sda1
[ 4155.918669] sd 0:0:0:0: [sda] Attached SCSI removable disk
fdisk -l gives
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 512 1957887 1957376 955.8M 6 FAT16
do I need another kmod driver for msdos or vfat?
Thanks very much
nick
nicktf
April 13, 2020, 3:55pm
2
Sorry, missed mount output
root@OpenWrt:/etc# mount /dev/sda1 /mnt/sda1
mount: mounting /dev/sda1 on /mnt/sda1 failed: Invalid argument
root@OpenWrt:/etc# ls /mnt
sda1
Did you create the mount target? mkdir/mnt/sda1
You may need to install the kmods for the file system you are trying to mount.
mk24
April 13, 2020, 7:00pm
4
I think that kmod-fs-vfat
handles FAT16 and FAT32 formats. kmod-usb-storage only attaches the drive into a raw /dev/sd block device, but an additional driver is needed to understand the filesystem.
1 Like
nicktf
April 15, 2020, 3:04pm
5
Hi,
Thanks to every one.
I manged to get this to work by including in the image:
kmod-fs-vfat, kmod-fs-msdos, kmod-block2mtd, kmod-usb-core, kmod-usb-storage, and when the device has the new image 'opkg install block-mount'!
nick
system
Closed
April 25, 2020, 3:13pm
6
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.