Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
So I've got an interesting situation here....
I must prepend this with the following: I don't have a DNS-323.... However, I have a DNS-343.
I do have a rather big problem though, and it has to do with the usb-storage kernel module -- and that help on the 343 forum is rather slow...
Basically, I need to recompile it. 1.03beta70 has kernel 2.6.22.7, and the usb-storage kernel modules (the various versions here) don't sit happy with that kernel version. I'm running the 1.03beta70 simply because of the massive number of problems that it fixes...
Soooo.... How do I go about recompiling the kernel module? I would really like to be able to put ffp on a USB flash drive, since right now my drives never spin down
I'm also running XP on my system, so I'm really hoping that I would be able to compile it on the NAS. I've done some basic application compiling (i've installed gentoo manually), however - with kernel module compiling, i have no clue where to start.
-nate
Offline
For kernel module compiling, directly on the NAS (I assume you have already installed all the building tools, since you have already tried compiling application ...), all you need is to download kernel 2.6.22.7 source (from Dlink if it is available, or directly from kernel.org if you can't ...), then
extract the kernel source, and type in the source folder :
make menuconfig
check that "usb-storage" is chosen to be built as module (M)
then run
make modules
You should be able to find information about kernel module building, on the web.
Last edited by Electrocut (2009-06-23 23:25:39)
Offline
Fantastic. thanks
-nate
Offline
Just to provide more information:
- in "menuconfig", usb-storage option is located in "Device driver > USB Support > USB Mass Storage support"
- after make modules, you can find usb-storage.ko in ./drivers/usb/storage directory
Offline
well boo.
That didn't go well at all. Since ffp 0.5 is based off an older kernel (2.6.12.6 i think)... all sorts of things are buggered.
=========================
root@Core:/mnt/HD_a2/packages_make/linux-2.6.22.7# make menuconfig
HOSTCC scripts/basic/fixdep
In file included from /ffp/include/bits/posix1_lim.h:153,
from /ffp/include/limits.h:144,
from /mnt/HD_a2/ffp/bin/../lib/gcc/arm-unknown-linux-uclibc/4.1.3/include/limits.h:122,
from /mnt/HD_a2/ffp/bin/../lib/gcc/arm-unknown-linux-uclibc/4.1.3/include/syslimits.h:7,
from /mnt/HD_a2/ffp/bin/../lib/gcc/arm-unknown-linux-uclibc/4.1.3/include/limits.h:11,
from scripts/basic/fixdep.c:115:
/ffp/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /ffp/include/sys/socket.h:35,
from /ffp/include/netinet/in.h:25,
from /ffp/include/arpa/inet.h:23,
from scripts/basic/fixdep.c:117:
/ffp/include/bits/socket.h:322:24: error: asm/socket.h: No such file or directory
scripts/basic/fixdep.c: In function 'use_config':
scripts/basic/fixdep.c:206: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:206: error: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:206: error: for each function it appears in.)
scripts/basic/fixdep.c:206: warning: unused variable 's'
scripts/basic/fixdep.c: In function 'parse_dep_file':
scripts/basic/fixdep.c:306: error: 'PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:306: warning: unused variable 's'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
Offline
i suggest you find a gcc-3 cross-compiler, and not compile it natively.
PS: My DNS-343 has a working usb-storage.ko in /sys/crfs/driver. Maybe it's included in the latest beta firmwares?
PPS: Your error message above means: Install uclibc and kernel-headers packages.
Last edited by fonz (2009-06-24 10:25:51)
Offline
I'll check into that. Thanks!
-nate
Offline
I'll be damned. It's there!!
Thanks fonz! (you've saved me quite the headache!)
-nate
Offline