Rockbox Technical Forums

Support and General Use => Recording => Topic started by: dwonk on September 20, 2006, 12:47:17 AM

Title: Improper buffer flush?
Post by: dwonk on September 20, 2006, 12:47:17 AM
I am running CVS 20060717 with SONY SBM as an outboard A/D (@44.1 WAV).  I recorded a long set the other day (2hour 15min).....there is one passage where you can hear 5-7 seconds of music missing.  Happened just once as far as I can tell....about 42-43 minutes into the recording.  The HD was maybe 10G full from stuff I recorded from Fuji Rock and Metamorphose, no MP3s or extraneous files...never had an issue before.  This is a H120 that I replaced the HD and battery myself.  I am stunned and sort of feeling badly about selling my JB3!

What are people setting the HD spin up time and other general settings variables that could help alleviate the problem?  I have another H120, that has not done this yet.  Again, this is a one off thing...never had it happen before.
Title: Re: Improper buffer flush?
Post by: petur on September 20, 2006, 03:28:27 AM
The harddisk you replaced, was this a new one? Did you buy the player second-hand because it was broken? Was the battery charged ok?

I'm certainly going to test this to verify everything is ok
Title: Re: Improper buffer flush?
Post by: pabouk on September 20, 2006, 06:34:57 AM
I am running CVS 20060717
This is a pretty old build. Please try the newest CVS build. Although there were several serious bugs in the recording code recently.

As Petur said the problem could also be caused by a faulty harddisk (long spin up time, long seek time - shaking with the player?...).

I recorded a long set the other day (2hour 15min).....there is one passage where you can hear 5-7 seconds of music missing.
Today one bug which could cause missing parts of recorded sound was probably fixed. See also FS #5952 (http://www.rockbox.org/tracker/task/5952).
Title: Re: Improper buffer flush?
Post by: dwonk on September 20, 2006, 06:42:20 AM
New HD MK2004GAL verfified and tested for bad sectors w/ chk dsk.  I should format the disk again and verify this, though.  The player had a bad HD in it but looked like it was hardly used (the remote was still in the wrapper), not a scratch on the body.  I got the previous owner to kick in $100 for a new HD, which I bot along with a replacement ipod 2g batt.  

I have used this H120 pretty extensively.  8 hours at Fuji Rock, 5 hours at Metamorphose Festy...a few hours doing in-stores and a friend's jazz performance.  No problems, I have listened to all those recording and not noticed a glitch.  Taped about 3.5 hours yesterday and I noticed this.

I have another H120 (used too but the HD verified ok with chk dsk)...I have only used it for 8 hours total...no problems.  I really hope I can resolve this.

These are the settings I have for the Disk:

Disk Spindown: 5s
Disk Poweroff: No
Directory cache: No

Should I be setting things up differently in the general settings?

The player was in a bag on the ground.  Also, it was running out of a mod Edirol UA-5, not a mod SBM.  Sorry.  
Title: Re: Improper buffer flush?
Post by: petur on September 20, 2006, 07:28:04 AM
I am running CVS 20060717
This is a pretty old build. Please try the newest CVS build. Although there were several serious bugs in the recording code recently.

Ouch! I completely misread that date, thinking it was september 17 - just a few days ago.

Yes, do move on to a more recent build

These are the settings I have for the Disk:

Disk Spindown: 5s
Disk Poweroff: No
Directory cache: No

these are mine:
Disk Spindown: 5s
Disk Poweroff: Yes
Directory cache: Yes

It shouldn't really matter, disk poweroff will save you more battery and dirctory cache will speed up things a bit when browsing.