2007-01-27: Bob Copeland dixit:
> On Sat, Jan 27, 2007 at 01:27:19PM +0100, EV wrote:
> > Do you mean a 20GB back-up copy? or could it be just a small
> > chunk containing the firmware image (as I think you mentioned
> > long time ago).  In any case, I'm a bit lost now as I don't see
> > why Recovery Mode is needed to restore a "physical" back-up copy
> > of the RK disk...
> 
> It could be however little or much you want to rewrite.  The
> firmware uploader seems to only rewrite the zero and first
> partition, unless you ask it to format the music partition as
> well.  So yeah you could have just a small chunk to overwrite
> the firmware image, or just the second partition, or whatever.

Aha, that's good then.  BTW, how can I get the zero partition in
normal USB-storage mode?  Of course I can dd a chunk of the whole
/dev/sda, but how long should it be?  and, for the first
partition (sda1), it is enough to dd the whole of it?  or is it
better to dd a sufficiently large chunk of /dev/sda which
encompasses both the zero partition and sda1?
 
> IOW, recovery mode works pretty much the same as regular mode.  
> The only difference is that if your metadata on the music
> partition is trashed (corrupt smalldb for instance), the Karma
> will just reboot forever after the Rio logo is displayed, so
> you never get a chance to mount it in regular mode to fix it,
> whereas recovery mode doesn't try to read the stuff on disk.

I see.  But a corrupt smalldb does *not* cause the RK to "reboot
forever after the Rio logo is displayed".  While testing, I've
got a lot of smalldb corruptions in my test RK and it has always
recovered itself through autoinvoked Rescan Music after paperclip
reset...
 
> > Let me try to understand: you mean that once the dd restore is
> > finished, it is just a matter of unplugging the RK to get the
> > firmware copied to the RK flash.  I guess the RK should be in
> > Recovery Mode for that.  Am I right?
> 
> That's the gist of my guess, but I was wrong.
> 
> The host *does* send command 3 at the end, which seems to be
> 'rewrite flash'.  But I don't know how it works.  I tried it
> (from recovery mode), and the Karma switched to the 'Upgrading
> firmware' screen, but I didn't get the progress bars telling me
> that it was erasing flash etc.  I had to paperclip it after
> that (luckily it still boots).

Looks like killing a RK is not an easy job ;)  I wonder how so
many people out there have managed to kill theirs!

Best,
EV.


-------------------------------------------------------------------------
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

Reply via email to