Item contains outdated info. Solution is found!!! Please read thread responses below!
I have compiled ntfs-3g for wl-500 Premium running kernel 2.4. It works with my 130 MB USB flash quite stable.
BusyBox v1.11.2 (2008-10-21 21:06:27 EEST) built-in shell (ash)
Enter 'help' for a list of built-in commands._______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
KAMIKAZE (bleeding edge, r12957) -------------------
* 10 oz Vodka Shake well with ice and strain
* 10 oz Triple sec mixture into 10 shot glasses.
* 10 oz lime juice Salute!
---------------------------------------------------
root@OpenWrt:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw)
/dev/mtdblock/4 on /jffs type jffs2 (rw)
mini_fo:/jffs on / type mini_fo (rw)
none on /proc/bus/usb type usbfs (rw)
/dev/scsi/host0/bus0/target0/lun0/part1 on /mnt type fuse (rw,user_id=0,group_id=0,allow_other)
root@OpenWrt:~# ps
PID USER VSZ STAT COMMAND
1 root 1912 S init
2 root 0 SW [keventd]
3 root 0 SWN [ksoftirqd_CPU0]
4 root 0 SW [kswapd]
5 root 0 SW [bdflush]
6 root 0 SW [kupdated]
9 root 0 SW [mtdblockd]
56 root 0 SWN [jffs2_gcd_mtd4]
68 root 1912 S init
89 root 1928 S syslogd -C16
91 root 1908 S klogd
242 root 1924 S udhcpc -t 0 -i eth0.1 -b -p /var/run/eth0.1.pid -R
258 root 0 SW [khubd]
401 root 0 SW [usb-storage-0]
403 root 0 SW [scsi_eh_0]
562 root 1868 S /usr/sbin/dropbear -p 22
565 root 1912 S /usr/sbin/httpd -p 80 -h /www -r OpenWrt
614 root 2388 S ntfs-3g /dev/discs/disc0/part1 /mnt/
698 root 1928 S /usr/sbin/dropbear -p 22
699 root 1916 S -ash
702 root 1928 S /usr/sbin/dropbear -p 22
703 root 1920 S -ash
706 root 1912 R ps
However when I try to mount my 160 GB external USB hard drive, happens pretty much the same as described here: http://www.nslu2-linux.org/wiki/HowTo/BuildNTFS3G
The ntfs-3g user-space executable locks up (or locks any process that attempts to access it) until reboot.
At first that happened also with my USB flash. Then I noticed that I have to wait some seconds before start to do something with mounted partition. I do not know how much time I should wait for USB HDD to work:)
It seems that mips or arm platforms even with kernel 2.6 doesn’t support ntfs-3g without patching the kernel: http://forum.ntfs-3g.org/viewtopic.php?t=115 Could anyone confirm that? Is there anyone who is using ntfs-3g with kernel 2.6 on mips or arm platform?
How did I compile my ntfs-3g package? First, I patched the kernel. Patch is here: http://www.abcsolutions.lv/openwrt/016- … mips.patch Put it in "trunk/target/linux/brcm-2.4/patches"
Second. ntfs-3g doesn't require the FUSE user space package anymore, but still needs FUSE kenel module. I added a new patch to FUSE package (http://www.abcsolutions.lv/openwrt/fuse … _BUG.patch). At http://www.abcsolutions.lv/openwrt/ you will find my FUSE kernel 2.4 package and ntfs-3g package. My FUSE package might conflict with the original fuse package for kernel 2.6. Remove the original one.
Copy my packages in "trunk/packages" , type
make menuconfig
and select FUSE kernel module and ntfs-3g packages. Then build the image.
After mounting NTFS partition, wait some seconds before start to do something with mounted partition. Notice that you wont see filenames with non-Ascii characters. For solution, please please look at http://ntfs-3g.org/support.html#locale .
I'm posting this info to rise discussion how to solve issue with large disks. Could it be FUSE or ntfs-3g issue? ntfs-3g page has info that:
FUSE kernel driver included in Linux kernels before version 2.6.9 are unsafe and prone to data loss.
(Last edited by MoD on 23 Oct 2008, 12:46)