M Lu, Thanks for the info, you may have just found my issue. I have regularly been mounting my CF on a folder I create each time (/cf) so that I can edit things like leaf.cfg and others. I never unmount it before rebooting (did not know I needed to)!
Do you have your setup now configured to auto unmount your CF? Any pointers on that? Regardless, now I know what is likely the issue! Thanks! Richard > -----Original Message----- > From: M Lu [mailto:[EMAIL PROTECTED] > A couple of weeks ago I got a small file 'leaf.cfg' corrupted after > modifying it directly (mount /hda1 on /mnt). As other folks > here said that I > may forget to un-mount /mnt before rebooting. So now I always > checked to > make sure the CF is umounted before rebooting and so far no > more corruptions > eventhough I modified a lot a lot of things day after day > because of my new > setup. > > Do you think you may mount the CF somehow? Just check the > mountpoints before > rebooting. Maybe some script did that and you do not know about it. > > I use Lexar 64M. I also used Canon 32M and it was OK but very > short time so > I cannot say if its quality is good. > > Hope your CF is not bad. You probably can test its quality > inside another > machine. > > ----- Original Message ----- > From: "Richard Amerman" <[EMAIL PROTECTED]> > > > I have a Lex NEO CV863A from Hacom. I bought my CF card based > on recommendations for Lexar on this page: > http://www.openbrick.org/openbrick/wiki/cf/view > > I have a Lexar Media 512MB CF card p/n 2175 Rev A. > > Everything was going very well, installed a uClibc system > primarily using the CD ISO on the CF card and the firewall > was working fine, though not in production yet. > > Recently I made some Shorewall changes and backed them up but > when I rebooted the next time there was no shorewall. It > turned out that the shorwall.lrp file was corrupt. > > When I try: tar zxvf shorwall.lrp > I get: tar: Invalid gzip magic > > Soon after I made a new folder called lrpbackup on the CF > card. It shows up though as lrpbacku Also when I try ls in > that folder my whole SSH session gets corrupted. I also can > not delete the folder or its contents. > > Also when I now try to write to the CF card in this machine, > everything > returns: > Cannot create directory `lrpb': Read-only file system > > Now I know that I have multiple things that could be wrong, > but since my timeline is very short, I'm supposed to put this > FW in production in a few days, I'm pursuing them in parallel. > > One possibility is that the CF card I bought is not ideal. > Another is that the Machine has an issue. Another is that > this CF card may be bad. > > Some questions: > Does any one have any specific recommendations on a CF card? > Does anyone have an alternate LRP backup script that keeps > backups kind of like rotating logs (backing up the existing > LRP to another folder and renaming *.lrp.0 type thing)? Is > there anything in hdsupp.lrp to check the health of a drive, > like scandisk? > > Any help, ideas, or shared experiences would be helpful. > > I did call Hacom and the do use Lexar but mainly use Kingston > Elite Pro CF cards now. I'm thinking of just buying two of them. > > Thanks, > > Richard Amerman ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
