OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

vfat kernel mod not loading

 
Learn about scoring Download Discussion's Raw Score: 101674.0
November 26, 2010 05:12 AM
Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

BV

Member

Is anyone else having issues mounting FAT32 partitions on the latest Kong build?

Output:

root@DD-WRT:~# fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes255 heads, 63 sectors/track, 38913 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk identifier: 0x00052a77
   Device Boot      Start         End      Blocks   Id  System/dev/sda1               1          39      307200   83  LinuxPartition 1 does not end on cylinder boundary./dev/sda2              39          47       65536   82  Linux swap / SolarisPartition 2 does not end on cylinder boundary./dev/sda3              47          66      153600   83  LinuxPartition 3 does not end on cylinder boundary./dev/sda4              66       38914   312043520    b  W95 FAT32

...

root@DD-WRT:~# mount -t vfat /dev/sda4 /mnt 

              mount: unknown filesystem type 'vfat'

...

root@DD-WRT:~# lsmod

 Module Size  Used by    Not tainted

 nf_nat_pptp 4096 0 - Live 0x8316c000nf_conntrack_pptp 4096 1 nf_nat_pptp, Live 0x83190000nf_nat_proto_gre 4096 1 nf_nat_pptp, Live 0x8314a000nf_conntrack_proto_gre 4096 1 nf_conntrack_pptp, Live 0x83148000ipt_layer7 12288 0 - Live 0x83444000imq 4096 0 - Live 0x8358e000xt_mark 4096 0 - Live 0x83ff8000ipt_IMQ 4096 0 - Live 0x83cc2000ext3 106496 2 - Live 0x83b80000jbd 57344 1 ext3, Live 0x83a90000ext2 40960 0 - Live 0x83b00000mbcache 8192 1 ext3, Live 0x839e8000etherip 8192 0 - Live 0x83934000usb_storage 32768 3 - Live 0x83c80000sd_mod 20480 4 - Live 0x807c0000scsi_wait_scan 416 0 - Live 0x80773000scsi_mod 73728 3 usb_storage,sd_mod,scsi_wait_scan, Live 0x83c60000ehci_hcd 32768 0 - Live 0x83c20000usbcore 106496 3 usb_storage,ehci_hcd, Live 0x83c00000switch_robo 8192 0 - Live 0x80710000switch_core 8192 1 switch_robo, Live 0x80744000bcm57xx 110592 0 - Live 0x80780000

...

root@DD-WRT:~# insmod vfat

insmod: cannot insert '/lib/modules/2.6.24.111/kernel/fs/vfat/vfat.ko': invalid parameters

...

dmesg output...

fat: Unknown symbol utf8_wcstombsfat: Unknown symbol load_nlsfat: Unknown symbol unload_nlsvfat: Unknown symbol fat_dir_emptyvfat: Unknown symbol fat_fs_panicvfat: Unknown symbol fat_get_dotdot_entryvfat: Unknown symbol fat_free_clustersvfat: Unknown symbol fat_scanvfat: Unknown symbol fat_date_unix2dosvfat: Unknown symbol fat_search_longvfat: Unknown symbol utf8_mbstowcsvfat: Unknown symbol fat_getattrvfat: Unknown symbol fat_attachvfat: Unknown symbol fat_build_inodevfat: Unknown symbol fat_fill_supervfat: Unknown symbol fat_alloc_new_dirvfat: Unknown symbol fat_notify_changevfat: Unknown symbol fat_remove_entriesvfat: Unknown symbol fat_add_entriesvfat: Unknown symbol fat_sync_inodevfat: Unknown symbol fat_detach

Discussion:    Add a Comment | Comments 1-6 of 6 | Latest Comment

November 26, 2010 5:41 AM

Disk info:

--- /dev/discs/disc0/disc
Block device, size 298.1 GiB (320072933376 bytes)
DOS/MBR partition map
Partition 1: 300 MiB (314572800 bytes, 614400 sectors from 2048)
Type 0x83 (Linux)
Ext3 file system
Volume name "Optware"
UUID 0FE8EAFA-9ECE-4A84-ABCD-576D611C1689 (DCE, v4)
Volume size 300 MiB (314572800 bytes, 307200 blocks of 1 KiB)
Partition 2: 64 MiB (67108864 bytes, 131072 sectors from 616448)
Type 0x82 (Linux swap / Solaris)
Linux swap, version 2, subversion 1, 4 KiB pages, little-endian
Swap size 63.99 MiB (67100672 bytes, 16382 pages of 4 KiB)
Partition 3: 150 MiB (157286400 bytes, 307200 sectors from 747520)
Type 0x83 (Linux)
Ext3 file system
Volume name "JFFS"
UUID 42D74DDD-6DA2-4C24-AB78-26AD21A790A2 (DCE, v4)
Volume size 150 MiB (157286400 bytes, 153600 blocks of 1 KiB)
Partition 4: 297.6 GiB (319532564480 bytes, 624087040 sectors from 1054720)
Type 0x0B (Win95 FAT32)
FAT32 file system (hints score 4 of 5)
Volume size 297.4 GiB (319376539648 bytes, 19493197 clusters of 16 KiB)
Status: Mounted on /opt

November 26, 2010 5:50 AM

See: http://svn.dd-wrt.com:8000/dd-wrt/ticket/1863#comment:1

November 26, 2010 6:06 AM

Your right Kong modules are fine.... but why are they not loading when I automount my drive?

November 26, 2010 6:27 AM

Besides the modules listed in the ticket, I also had to load two more module ....

nls_cp437 and nls_iso8859-1

Do I have to do this every time I reboot?

November 26, 2010 7:29 AM

I'm not 100% sure, but I think the current behaviour is to automount only the first partition, in your case the ext3 partition. The rest has to be done manually.

To automatically load these drivers on every boot just add the insmod commands to:

Administration->Commands

and press "Save Startup"

November 26, 2010 11:56 AM

Thanks for all your hard work Kong.

Discussion:    Add a Comment | Back to Top | Comments 1-6 of 6 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window