Rockbox Technical Forums

Installation / Removal => Manual Installation => Sandisk - Installation/Removal => Topic started by: tofmin on May 26, 2012, 04:12:48 AM

Title: Library is broken (c240, Panic).
Post by: tofmin on May 26, 2012, 04:12:48 AM
First, I want to apologize for my poor English.

After a few months, I wanted to upgrade my Rockbox (c240 v2). Update was successful but when I tried to rebuild the library, Sansa displayed "Panic" and started to reboot over and over again.

Of course, I tried reinstall. Many times. Both way, using the Utility and manually (mkamsboot, patching firmware, etc etc). The result was always the same - Panic.

All I can do to help resolve this problem is:
(http://i.imgur.com/CKpwY.jpg)

Sansa c240 ver2 1GB
Kingston uSD 2GB
Firmware 3.02.05a
Rockbox build 3f72ba0


edit: I tried almost all build from here:
http://www.rockbox.org/dl.cgi?bin=sansac200v2
Same problem as above. Panic. Maybe my Sansa is dying?
Title: Re: Library is broken (c240, Panic).
Post by: bertrik on May 26, 2012, 05:07:31 AM
tofmin, I'm pretty sure this is a software problem and your sansa is not dying. Other players seem to have a similar problem, see for example http://www.rockbox.org/tracker/task/12684 . We'll hopefully fix this in a few days/weeks.
Title: Re: Library is broken (c240, Panic).
Post by: tofmin on May 26, 2012, 05:11:36 AM
Oh, thanks God :)

And good to know that you know about the problem and are working on a solution. You are doing a great job!
Title: Re: Library is broken (c240, Panic).
Post by: bertrik on May 27, 2012, 06:09:36 PM
Possibly the same problem as http://www.rockbox.org/tracker/task/12684
Title: Re: Library is broken (c240, Panic).
Post by: tofmin on June 01, 2012, 05:21:44 PM
FYI build 87bb747 works great. After few hours of testing - no PANIC anymore.

Thanks guys!

edit:
I noticed only one problem: sometimes I must rebuild the database several times to Sansa showed all the songs (i.e.  update #1 - 3 folders, update #2 - 5 folders, update #3 - all 11 folders).
Title: Re: Library is broken (c240, Panic).
Post by: saratoga on June 02, 2012, 12:18:43 AM
I noticed only one problem: sometimes I must rebuild the database several times to Sansa showed all the songs (i.e.  update #1 - 3 folders, update #2 - 5 folders, update #3 - all 11 folders).

I wonder if the c200v2 has insufficient memory for some database updates.  I'm not sure how it would handle running out of memory...
Title: Re: Library is broken (c240, Panic).
Post by: tofmin on July 06, 2012, 12:55:22 PM
Hi.

Library is broken, again. Stuck on "Building database... 28x".

Tried:
- reinstaling (manualy and via Utility),
- with uSD and without uSD.

Also, with uSD insterted, device do not boot with Sansa firmware (tested with 4 cards).

If I can somehow help you, please ask / tell how.

Thanks.

edit: Where I can find older releases? Older than these http://www.rockbox.org/dl.cgi?bin=sansac200v2

edit 2: The problem occurs only when there is no uSD card and when the card is empty. But the original software does not start ever if the card is inserted.
Title: Re: Library is broken (c240, Panic).
Post by: AlexP on July 06, 2012, 01:38:25 PM
edit: Where I can find older releases? Older than these http://www.rockbox.org/dl.cgi?bin=sansac200v2

http://download.rockbox.org/release/ for old releases.

For old development versions you'll need to build them yourself.
Title: Re: Library is broken (c240, Panic).
Post by: saratoga on July 06, 2012, 01:59:28 PM
We don't have old releases for the c200v2, so you'll have to compile.
Title: Re: Library is broken (c240, Panic).
Post by: tofmin on July 06, 2012, 02:04:54 PM
Darn... Nothing works.
No card (or empty card), RB stuck on "rebuild". With card inserted, OF don't start.

I'll wait and every few days I'll testing the new builds.

Thanks.
Title: Re: Library is broken (c240, Panic).
Post by: saratoga on July 06, 2012, 02:12:44 PM
If this is a large database you may just have run out of free RAM. 
Title: Re: Library is broken (c240, Panic).
Post by: tofmin on July 06, 2012, 02:24:26 PM
If this is a large database you may just have run out of free RAM. 

Nope. Even if card is empty and i made a "fresh installation" of RB, device always stuck.

As I said, no/empty card = stuck. With card = no OF.
Title: Re: Library is broken (c240, Panic).
Post by: saratoga on July 06, 2012, 02:38:51 PM
If this is a large database you may just have run out of free RAM. 

Nope. Even if card is empty and i made a "fresh installation" of RB, device always stuck.

As I said, no/empty card = stuck. With card = no OF.

Maybe I misunderstand you, but you must have at least one music file to build the database.  If there is no music at all on the player I think the parser fails. 
Title: Re: Library is broken (c240, Panic).
Post by: tofmin on July 06, 2012, 02:59:59 PM
Maybe I misunderstand you, but you must have at least one music file to build the database.  If there is no music at all on the player I think the parser fails. 

Ah, don't know that. In that case - RB works like a charm. Only one problem left: card inserted - can't boot to OF (hangs on SanDisk welcome screen).
Title: Re: Library is broken (c240, Panic).
Post by: saratoga on July 06, 2012, 03:01:00 PM
Maybe I misunderstand you, but you must have at least one music file to build the database.  If there is no music at all on the player I think the parser fails. 

Ah, don't know that. In that case - RB works like a charm. Only one problem left: card inserted - can't boot to OF (hangs on SanDisk welcome screen).

Talk to sandisk I guess.
Title: Re: Library is broken (c240, Panic).
Post by: tofmin on July 06, 2012, 03:07:28 PM
Talk to sandisk I guess.

IMHO it is not Sandisk fault. With original firmware WITHOUT RockBox i don't have any problems with uSD cards. When I install RB (and patch the bootloader), Sandisk firmware don't start when card is inserted.
Title: Re: Library is broken (c240, Panic).
Post by: bluebrother on July 06, 2012, 03:43:46 PM
Nope. Even if card is empty and i made a "fresh installation" of RB, device always stuck.

Since you've been using quotes, what do you mean by "fresh installation"? Did you erase the .rockbox folder before reinstalling? If not I'd remove all database files from the player first (/.rockbox/*.tcd). I'd also check both player and card for filesystem errors.
Title: Re: Library is broken (c240, Panic).
Post by: saratoga on July 06, 2012, 03:57:11 PM
IMHO it is not Sandisk fault. With original firmware WITHOUT RockBox i don't have any problems with uSD cards. When I install RB (and patch the bootloader), Sandisk firmware don't start when card is inserted.

Patching the firmware has literally zero impact on the OF, so its probably not related.
Title: Re: Library is broken (c240, Panic).
Post by: tofmin on July 06, 2012, 04:06:44 PM
Since you've been using quotes, what do you mean by "fresh installation"? Did you erase the .rockbox folder before reinstalling? If not I'd remove all database files from the player first (/.rockbox/*.tcd). I'd also check both player and card for filesystem errors.

Fresh means: I format Sansa and made a clean install. Tried both way: Utility and manual. Cards are fine - tested 4 different cards (2x 1GB, 2x 2GB). Card insterted = no Sandisk firmware.
But it's OK (for me), I very rarely use the Sandisk software so it's not a big problem.


Quote
Patching the firmware has literally zero impact on the OF, so its probably not related.

Sorry, I'm just saying how it is with me.

1. RB installed + uSD inserted = Sandisk firmware don't boot (stuck at "SanDisk").
2. Only OF installed = no problem with firmware and uSD cards.
Title: Re: Library is broken (c240, Panic).
Post by: saratoga on July 06, 2012, 04:44:12 PM
1. RB installed + uSD inserted = Sandisk firmware don't boot (stuck at "SanDisk").
2. Only OF installed = no problem with firmware and uSD cards.

Probably once you uninstall the rockbox bootloader you will find that it still doesn't work.
Title: Re: Library is broken (c240, Panic).
Post by: tofmin on July 06, 2012, 04:57:48 PM
Probably once you uninstall the rockbox bootloader you will find that it still doesn't work.

Darn, my poor english... Nope! OF means NO RB, NO BOOTLOADER, NOTHING. Only clean, new, fresh firmware from Sandisk.

Rockbox BL + RB installed + card in slot = Sandisk firmware don't start.
Original BL + original soft + card in slot = no problems.

Let it go, it's important that the RB is working well :)
Title: Re: Library is broken (c240, Panic).
Post by: saratoga on July 06, 2012, 05:06:55 PM
Probably once you uninstall the rockbox bootloader you will find that it still doesn't work.

Darn, my poor english... Nope! OF means NO RB, NO BOOTLOADER, NOTHING. Only clean, new, fresh firmware from Sandisk.

Yes I understood you.  I'm saying if you try it again you'll probably find that it doesn't work.   
Title: Re: Library is broken (c240, Panic).
Post by: tofmin on July 06, 2012, 05:17:23 PM
Yes I understood you.  I'm saying if you try it again you'll probably find that it doesn't work.   

I'm trying since yesterday. I installing RB and OF about 20+ times. Different builds, different methods, different uSD cards. Moreover, even checked 3 different computers :)

RB works well and i'm happy. Apparently, my Sansa has a temper.