QUOTE(enclose789 @ Oct 27 2007, 07:13 AM)
Thanks for your reply, it works!!! I have backup the original files!!
However, I have further question: How could I replace the original sharp_mmcsd_m.o to the fixed one under /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/drivers/block/ ??
Do you mean "put the original sharp rom module back in case this new one doesn't work?" All you need to do is re-link the one from the /lib/modiles.rom folders.
I guess that I may replace the original file by the following methods, please tell me which one is correct:
1. Delete the original sharp_mmcsd_m.o under /lib/modules/, and use Tree!Explorer copy and paste the fixed one to the same directory, reboot??
That will work just fine. There is a way to get it working without rebooting but the simplest way is to just reboot.
2. Using Terminal to replace the original file. But I do not know how to do it, could you tell me the method??
--if the new module is on your sd card:
cp /mnt/card/sharp_mmcsd_m.o .
--if the module is on your cf card:
cp /mnt/cf/sharp_mmcsd_m.o .
--Of course, if you have the new module anywhere else just find out where (zaurus documents directory: /home/zaurus/Documents) and like cybersphinx said, just press the TAB key to see available folders or to autocomplete the name of a file or directory.
Then type "reboot" to restart the zaurus.
3. Should I re-link the fixed file to the original sharp_mmcsd_m.o under /lib/modules.rom/?? Or I have to create a new link?? If I have to create the new link, how to create the new link??
No relink needed. Think of all the .rom directories as "installation files". They are basically the whole original factory OS. If you are installing an updated or modified version of a file linked from these directories you don't need the original .rom version any more and can just ignore it.
If you were to totally screw up your zaurus to the point it is unusable or if you just wanted to restore it to its factory defaults, you would just run the format command in the zaurus' secret maintenance menu which would relink all those .rom files so you have a fresh insatall.