Dazu schrieb mwester im Channel #nslu2-general (irc://freenode.net:6667) folgendes:
From the logs, it appears that your NSLU2 is set to use "Western Europe/Latin 1 (850)" for the Language Support (this is set on the "Administration -> System" web page in the Linksys GUI. Since the NLS module for that language support is not in the base unslung 6.8-beta image, the FAT/NTFS volume cannot be mounted.
Solution 1: Change the Language Support to "USA (437)" in the Web GUI. Upon reboot, the drives should work as expected.
Solution 2: The kernel support for 850 was modularized (because otherwise the kernel crossed the 1MB limit); the language support can be restored to Unslung 6.8-beta by installing the "kernel-module-nls-cp850" kernel module, and arranging for it to be automagically loaded upon boot.
a) Install the kernel module: " ipkg install kernel-module-nls-cp850" Test by manually loading the module: "insmod nsl_cp850", and plugging in the FAT or NTFS drive - all should work as expected.
b) Arrange for the language support module to be automatically loaded at boot via a diversion script. See the wiki for information on diversion scripts, but typing the following commands when logged in (character for character) will do it.
First, make sure that there is no existing diversion script named "rc.modules". If there is, you'll have to ADD your settings to the existing script; following this procedure will erase your existing script and undo whatever it was set to do on your NSLU2:
{geshibot}ls -l /unslung/rc.modules{/geshibot}
If it says "No such file or directory", continue:
{geshibot}echo "#!/bin/sh" > /unslung/rc.modules"
echo "insmod nls_cp >> /unslung/rc.modules"
echo "return 1 >> /unslung/rc.modules"
chmod 755 /unslung/rc.modules" {/geshibot}
Now verify that your file is correct:
{geshibot}cat /unslung/rc.modules{/geshibot}
If it prints the following, you're in good shape (otherwise "rm /unslung/rc.modules" and try again).
Hier fehlt noch ein Stück Text...
{geshibot}!/bin/sh
insmod nls_cp850 return 1{/geshibot}
Now leave the FAT/NTFS drive attached, reboot the NSLU2, and you should see the drive automatically mount.
(it's easier to do than it sounds, believe me)
BTW, for those who are using something other than 437 or 850, you'll have to do the same procedure for whatever NLS module you'll need - but also be aware that you may need to restore some of the Samba code page files as well -- at present only the 437 and 850 files for Samba are provided with Unslung 6.8-beta.
Another BTW - please "vote" via a message to the list here if you need or wish language support other than 437; we really have no way of knowing how desirable this support really is and space is so very precious in the limited flash space on the NSLU2. Your opinions will influence the priorities for what's in the flash and what remains or becomes a separate ipkg install in the next release.
|