Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Ipod Nano 2G : Not working after upgrade
« previous next »
  • Print
Pages: [1] 2

Author Topic: Ipod Nano 2G : Not working after upgrade  (Read 4472 times)

Offline Monkeytree

  • Member
  • *
  • Posts: 7
Ipod Nano 2G : Not working after upgrade
« on: January 28, 2010, 02:59:29 PM »
Hello,

I had rockbox running on my nano 2g very well.
But then after upgrading its not working properly.
Here are the errors:
- Database is not ready not initialized
- can't open folders
- If i want to open something it says something like: "Cant open : /.rockbox/rocks/viewers/...."

Sometimes when I connect the Ipod to my Pc(ubuntu) it is a read-only filesystem.
At the moment it is r24079M-091219 but I have already tested the newest version with no success.

Sry for my bad english.

Thanks Monkeytree
Logged

Offline epithetless

  • Member
  • *
  • Posts: 195
    • Dour Times
Re: Ipod Nano 2G : Not working after upgrade
« Reply #1 on: January 28, 2010, 10:44:29 PM »
This occurs with my new 8GB nano 2g as well (and has for the couple of weeks that I've owned it), so nano 2g support is definitely buggy at the moment, as least for certain devices. I'm hopeful that this patch, if completed and committed to SVN, will solve the bulk of our issues...but I haven't yet been able to set up a build environment to test it. I also experience "Panic" messages and data corruption on the device whenever I (safely) disconnect it from my Windows XP SP3 computer -- I'm not sure if that behavior is also addressed in the patch, or perhaps in this one...but, regardless, the 2nd-gen nano is currently bug central for some of us.

What build were you using prior to upgrading that worked fine on your nano?
« Last Edit: January 28, 2010, 10:48:28 PM by epithetless »
Logged
Rockboxed: Apple iPod 3G â€¢ Apple iPod nano 2G • iriver H120 • Sansa c250 v1 • Sansa Clip v1 • Sansa Clip v2 • Sansa Clip+ • Sansa e280 v1 • Sansa e280v2 • Sansa Fuze v1  |  non-Rockboxed: HTC Incredible [Android 2.2] • Sansa Fuze v2

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Ipod Nano 2G : Not working after upgrade
« Reply #2 on: January 29, 2010, 04:57:25 AM »
From www.rockbox.org:

Quote
Unstable ports

Rockbox runs on these players, but is incomplete, less usable or has problems that limit it to advanced users:

Apple: iPod Nano 2g

Now of course we want to fix these issues, but it is marked as unstable for a reason.  If you can identify the build when problems occur that previously were fine, then that would help the developers find the problem.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline Monkeytree

  • Member
  • *
  • Posts: 7
Re: Ipod Nano 2G : Not working after upgrade
« Reply #3 on: January 29, 2010, 04:47:16 PM »
Quote from: epithetless on January 28, 2010, 10:44:29 PM
What build were you using prior to upgrading that worked fine on your nano?

Sry but I don't know what build I was using. I think it was in September or November last year.
Is there a way to download old builds?? I've looked everywhere but found nothing.

Is it normal that the Ipod sometimes is a read-only filesystem?

Thanks

Monkeytree


Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Ipod Nano 2G : Not working after upgrade
« Reply #4 on: January 29, 2010, 09:01:46 PM »
Quote from: epithetless on January 28, 2010, 10:44:29 PM
I also experience "Panic" messages and data corruption on the device whenever I (safely) disconnect it from my Windows XP SP3 computer

I was speaking to TheSeven on IRC the other day about this specific issue...and it seems there are two ways to mitigate this. One is easy, the other not so much (unless you have a build environment set up already).

1: If you aren't too bothered by losing DirCache you can simple turn it off.

2: If you want to keep DirCache (and have no problems editing/compiling the Rockbox Source) you can change line 77 of "Root"/firmware/common in the rockbox source code from:

static long dircache_stack[(DEFAULT_STACK_SIZE + 0x900)/sizeof(long)];

to

static long dircache_stack[(DEFAULT_STACK_SIZE + 0x1900)/sizeof(long)];

Apparently a value smaller than 1900 can be specified, but this value is known to work.
I was having the "Safely Remove Hardware/Data Corruption" thing happen every other day and it was driving me mental!!! I can verify however that this fix works like a charm.

So, thanks TheSeven  ;)


[St.]

PS: Monkeytree,

I noticed that you have mentioned that your build revision is r24079M-091219, the "M" (as you may well know) means "Modified"....I'm not going to gripe about how your post should be in "Unsupported Builds" but I will however ask this:

"Have you verified that the problems you are experiencing still occur with a "clean" (unmodified) version of the latest build?"

You can find that here
« Last Edit: January 29, 2010, 09:16:42 PM by [St.] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline epithetless

  • Member
  • *
  • Posts: 195
    • Dour Times
Re: Ipod Nano 2G : Not working after upgrade
« Reply #5 on: January 29, 2010, 10:30:18 PM »
Quote from: [St.] on January 29, 2010, 09:01:46 PM
Quote from: epithetless on January 28, 2010, 10:44:29 PM
I also experience "Panic" messages and data corruption on the device whenever I (safely) disconnect it from my Windows XP SP3 computer

I was speaking to TheSeven on IRC the other day about this specific issue...and it seems there are two ways to mitigate this. One is easy, the other not so much (unless you have a build environment set up already).

1: If you aren't too bothered by losing DirCache you can simple turn it off.

Thanks for the post, [St.]. I wish the first suggestion worked for me, but I've had the "Panic" messages and data corruption occur even after a completely fresh install (with no opportunity to even enable DirCache). Perhaps I'll give the second solution a shot sometime in the future. There are enough problems with the nano 2g right now for me to wait it out, though.
Logged
Rockboxed: Apple iPod 3G â€¢ Apple iPod nano 2G • iriver H120 • Sansa c250 v1 • Sansa Clip v1 • Sansa Clip v2 • Sansa Clip+ • Sansa e280 v1 • Sansa e280v2 • Sansa Fuze v1  |  non-Rockboxed: HTC Incredible [Android 2.2] • Sansa Fuze v2

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Ipod Nano 2G : Not working after upgrade
« Reply #6 on: January 29, 2010, 10:54:31 PM »
Quote from: epithetless on January 29, 2010, 10:30:18 PM
Thanks for the post, [St.]. I wish the first suggestion worked for me, but I've had the "Panic" messages and data corruption occur even after a completely fresh install (with no opportunity to even enable DirCache).

You *could* always modify the config file before you boot into Rockbox for the first time....seems to me that should work.
But it also sounds as though you have more issues than just DirCache.

Just try changing:

dircache: on

to

dircache: off

EDIT: I've realised the error in my suggestion there...DirCache isn't enabled by default...Sorry.  ::)


[St.]
« Last Edit: January 29, 2010, 11:13:24 PM by [St.] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Monkeytree

  • Member
  • *
  • Posts: 7
Re: Ipod Nano 2G : Not working after upgrade
« Reply #7 on: January 30, 2010, 03:51:21 AM »
Quote from: [St.] on January 29, 2010, 09:01:46 PM
PS: Monkeytree,

I noticed that you have mentioned that your build revision is r24079M-091219, the "M" (as you may well know) means "Modified"....I'm not going to gripe about how your post should be in "Unsupported Builds" but I will however ask this:

"Have you verified that the problems you are experiencing still occur with a "clean" (unmodified) version of the latest build?"

You can find that here

I have also tested the latest unmodified Build same error.
Is there nothing like a archive with all the old builds?? I want to test the one which worked.

Thanks

Monkeytree
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Ipod Nano 2G : Not working after upgrade
« Reply #8 on: January 30, 2010, 04:54:56 AM »
Quote from: Monkeytree on January 30, 2010, 03:51:21 AM
I have also tested the latest unmodified Build same error.
Is there nothing like a archive with all the old builds?? I want to test the one which worked.

I *assume* that because your revision number is/was r24079M-091219 that you have a build environment set up?
What I mean is, I'm guessing that you applied the patch/patches and then compiled the build yourself?
If so, you can use SVN to checkout a previous revision by using the command:

svn update -r XXXXX (where XXXXX is the desired revision number)

I hope this helps,


[St.]
« Last Edit: January 30, 2010, 04:59:47 AM by [St.] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Monkeytree

  • Member
  • *
  • Posts: 7
Re: Ipod Nano 2G : Not working after upgrade
« Reply #9 on: January 30, 2010, 05:18:23 AM »
No I downloaded it from a site because it was the oldest build I found.

And I don't know how to build my own build .

Sry :)

Is there no other way to get older builds?? Are they deleted?

Thanks
Monkeytree
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Ipod Nano 2G : Not working after upgrade
« Reply #10 on: January 30, 2010, 05:42:59 AM »
Quote from: Monkeytree on January 30, 2010, 05:18:23 AM
Is there no other way to get older builds

Not that I am aware of.

Quote from: Monkeytree on January 30, 2010, 05:18:23 AM
And I don't know how to build my own build .

It really isn't that difficult to set up a build environment


[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Monkeytree

  • Member
  • *
  • Posts: 7
Re: Ipod Nano 2G : Not working after upgrade
« Reply #11 on: January 30, 2010, 06:33:40 AM »
Ok now I have set up the environment.

But I don't know which build it was in September or November 2009.

Thanks

Monkeytree
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Ipod Nano 2G : Not working after upgrade
« Reply #12 on: January 30, 2010, 08:50:24 AM »
Monkeytree,

Unfortunately I can't give you an exact revision number, or I would.

However, you can use the search feature in the SVN Repository to narrow the possibilities down to a range.

When you load the page linked above, simply enter the dates you wish to search between in the "From:" and "To:" sections (don't worry about the other fields, only the from/to dates are required in this case).
*It is important to note that there will be 100's (if not 1000's) of possible revisions in the field of "September to November" but it's a lot better than guessing.

I hope this helps you in some way (I'm trying...believe me  ;D), learning to compile Rockbox and apply patches is definitely a worthwhile experience.


[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Monkeytree

  • Member
  • *
  • Posts: 7
Re: Ipod Nano 2G : Not working after upgrade
« Reply #13 on: January 30, 2010, 09:35:19 AM »
OK now I've compiled r23365 .
In the beginning with the same problems.
Database not ready .
Can't open folders and plugins.

Then I changed some things in general settings.
- Sort Case Sensitive = Yes
- Directory Cache = Yes
- USB HID = No

Finally I can open folders an play music.

When I open a music file (mp3) there is an error which says "error accsessing playlist control"
If I now start My Ipod there comes " No partition found. Insert USB Cable and fix it"
If I now want to open a plugin it says Incompatible model.
After some Hard resets it starts normally.

Thanks Monkeytree
« Last Edit: January 30, 2010, 09:38:00 AM by Monkeytree »
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Ipod Nano 2G : Not working after upgrade
« Reply #14 on: January 30, 2010, 08:30:39 PM »
Hmmmmmm,

I really don't know what else to say...
My iPod Nano 2nd Gen seems to work absolutely fine with the current build (r24393 as of now) with only two minor changes to the default settings, those being:

1: Changing line 77 of "Root"/firmware/common in the rockbox source code from:

static long dircache_stack[(DEFAULT_STACK_SIZE + 0x900)/sizeof(long)];

to

static long dircache_stack[(DEFAULT_STACK_SIZE + 0x1900)/sizeof(long)];


2: USB HID = OFF (USB HID = ON has *never* worked for me in any revision that I've tried...)

Perhaps these settings will work for you as well?
All the other setting I have in my config file are either purely cosmetic, or personal preference.
From my experience with the Nano 2nd Gen port, I really can't understand why some people seem to have so many problems with it...Some even describe it as "Unusably Buggy". I've had some problems with it, sure, but USB HID and DirCache have been the only persistent annoyances (for me anyway) and both of those may be turned off.

Am I just lucky?!?


[St.]

PS: If you choose to edit the Rockbox Source files, you will need an editor that does not change the line endings of the files. I use SciTE which you can get from here
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Ipod Nano 2G : Not working after upgrade
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.09 seconds with 15 queries.