> When I tried to use riocp, I ran into no end of problems until I > eventually discovered that it needed a file called device_settings to > exist on the Karma itself. Is this documented somewhere that I missed? > It's definitely going into the README.Debian and manpage...
If you don't, it shouldn't matter. What sort of problems did you run into? I don't use it myself, but then I only use riocp for uploading, haven't tried queries recently. > However, subsequent queries did not work -- although adding the -b > option made it work again (much slower though). Eventually, I unplugged > the Karma and it wasn't happy... I think it's something of a WTF that it rewrites the database even when you just do a query. But that aside... looking at the error paths in lk_properties_write_smalldb I can't find a case that exists after the previous smalldb has been truncated, at least without spewing another error. Unless a malloc failed somewhere... doubtful. > So, where do I go from here? I feel like I'm so close, yet so far... 1. Do you have anything in your dmesg from omfs? 2. Can you try omfsck (don't fix anything) on the unmounted device via omfsprogs from http://bobcopeland.com/karma/ 3. Can you send the corrupt smalldb to the list? (/media/karma/var/smalldb) 4. Also try, perhaps (your line numbers may be different): --- karmaUsb.c.old 2007-01-10 16:52:12.000000000 -0500 +++ karmaUsb.c 2007-01-10 16:53:02.000000000 -0500 @@ -925,7 +925,9 @@ int32_t lk_karmaUsb_delete_file(int rio, /* -------------------------------------------------------------------------- */ int lk_karmaUsb_write_smalldb(void) { - return lk_properties_write_smalldb(usbMountPoint, db); + int val = lk_properties_write_smalldb(usbMountPoint, db); + perror("write error"); + return val; } /* -------------------------------------------------------------------------- */ -- Bob Copeland %% www.bobcopeland.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-karma-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-karma-devel
