This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8397 - Insane disk activity on ipod video 5.5g
Attached to Project:
Rockbox
Opened by Adam Felson (adamf663) - Thursday, 03 January 2008, 18:13 GMT+2
Last edited by Nils Wallménius (nls) - Sunday, 23 March 2008, 12:40 GMT+2
Opened by Adam Felson (adamf663) - Thursday, 03 January 2008, 18:13 GMT+2
Last edited by Nils Wallménius (nls) - Sunday, 23 March 2008, 12:40 GMT+2
|
DetailsI recently switched from an IAudio X5 to an Ipod video 5.5Gen. I've noticed that often it'll get into a state where the disk activity goes crazy and it'll take anywhere from a couple up to 20+ reboots to regain control. I thought maybe I had bad hardware.
While the disk activity is going crazy, it is impossible to fast-forward/rewind. Playback will continue, unstoppable. Any attempt to fastforward/rewind will move the progress indicator, but playback doesn't pause while repositioning and the progress bar will resume like nothing happened when the buttons are released. IE: playback at 50% of the track; rewind to 5%, let go and the bar goes back to 50%. While this is going on, the disk activity is *insane*. Sometimes after 5-10 minutes, it'll settle down and control can be regained. Last time when I upgraded to the january 3rd release, I couldn't regain control no matter what. After 15 minutes of disk thrashing, I rebooted to apple mode, plugged in a USB cable, and loaded the oldest version on the rockbox site (10/22/2007). Now, everything is working perfectly. |
This task depends upon
Closed by Nils Wallménius (nls)
Sunday, 23 March 2008, 12:40 GMT+2
Reason for closing: Fixed
Additional comments about closing: Appears to be fixed now. (Probably by jhMikeS' kernel changes in feb?)
Sunday, 23 March 2008, 12:40 GMT+2
Reason for closing: Fixed
Additional comments about closing: Appears to be fixed now. (Probably by jhMikeS' kernel changes in feb?)
If you really think it's a Rockbox issue, despite being the only person experiencing something that sounds like it happens to you on such a frequent basis that if it weren't hardware we should have plenty of reports, the best thing you can do is narrow it down to *exactly* which build does it rather than saying "The 10/22/07 build does not while the 1/03/08 build does" as, if none of us experience it, we can't actually test to see which builds it happens in.
With the october release, it hasn't happened again. If it was a hardware problem that was occurring 19 out of
twenty reboots, wouldn't it also occur with old software? Sounds to me that a bad hard drive wouldn't care what was installed and would be unresponsive with any release.
I intend to run it for a week to be sure then start putting on newer and newer releases every few days until it starts occurring again.
It is possible the reason others haven't reported it is due to the kinds of files I play. I play audiobooks mostly at variable bit rates averaging 64kbps and they often have tracks that are 70 minutes long and sometimes more than 600 minutes long. Maybe it doesn't ever occur with the typical 128kbps 3 minute track.
FS#8429also reports the same problem.To me it looks like some sort of re buffering problem as my ipod video's buffer never fills unless I pause playback on startup.
Reverting to any build before "2007-10-25: Metadata-on-Buffer committed; this involves a largely rewritten playback buffering engine." fixes the problem.
As I have been running Rockbox without problems on my ipod video since 80GB ipods were supported I would say its not a hardware problem.
As part of my testing I have checked, built and tested an SVN from 2007-10-24 which works perfectly as expected.
The first build I tried after the new buffering engine was introduced is from the 2007-11-27 and shows the problem, so do all builds I have tried since.
Does album art have any bearing on this? i.e. if you have AA on your WPS, try one without.
Also, if you have database auto-update enabled, try again with it disabled.
Make sure you have dircache enabled.
Does the problem happen if you Reset Settings back to default and reboot? Resist the temptation to change to a larger font or anything... ;)
FS#8448(along withFS#8429) also reports a similar problem.This makes me think that the problem could be database-related. More specifically, I think it could be with the "gather runtime data" feature, which makes the playback code call DB functions on each track (un)buffering event.
- Switching the IPOD on does lead to exessive disk activity (All *.tcd files still deleted).
- Auto resumeing the flac audio after switching on is still full of gaps.
- Selecting a new track (even flac) will play the track without gaps and disk activity stops in a shorter time (much longer than in elder releases, ~ 1min).
- I don't use the "gather runtime data" feature either and keep it disabled.
- I don't use Album art or large fonts and use the cabbie v1 wps (which is much better than the new v2 version).
- I use the resume playback on startup option and the player dose boost as expected on startup to try and fill the buffer but for some reason the buffer never seems to fill unless I pause playback.
If I try to pause playback right away strait after after boost playback continues for about 30 seconds or more before pausing and if I press any more button in that time all other key presses are ignored for a few minutes. The screen lights up as expected but the WPS screen dose not update.
I have tried clearing the config on boot then selecting the cabbie wps, enabling resume on startup, disabling audio fade on pause and resume, pause and resume on headphone unplug & enabling recent bookmarks and I still get the same problem if I shutdown them startup rockbox again as normal.
The problem is also not limited to FLAC files as I use mono mp3's (audio books) and stereo Ogg Vorbis files (music) encoded at q5 on my iPod video.
I am getting the buffering and boost information from the "View buffering thread" screen in the Debug menu incase anyone else with the disk activity wishes to have a look and see if they really have the same problem or if its a different related problem.
While the player is buffering if I try to pause playback nothing happens for a few seconds.
Resume also seems to be broken for mp3's with playback starting at the beginning of the file not the point were playback was stopped last time. Loading bookmarks also have the same problem with playback resarting at the beginning of the file not at the bookmarked location, but I am also having this problem with my flash basted e280 as well as my ipod so its not an ipod 5.5G 60/80GB only problem.
all variations of config setups but to no avail. (and the restart doesn't stop the problem).
I've also noticed that it skips songs in my directory if I press next but not if I listen sequentially. not sure if that's related though.
in late dec/early jan the bug appeared but can't be 100% sure of it. If there are older archives I'll be happy to test them. I just don't have them handy to check sadly :(
I've installed tdtooke's underground build and it has removed the problem disk spin issue and the track skipping issues I had. Maybe a diff between the two would be effective (or has there been too many changes to make this feasible?)
Knowing when the build you used was built would help a bit, but really not much. A diff between binaries is impossible, and even with the sources, there would be far too many changes for it to be of any help.
I think we can close the ticket. If I see it resurface in the course of further testing, I can always reopen the ticket.