Support and General Use > Hardware
iRiver ihp120 failed CF install
petur:
final answer: we suffer the same problem as ipod nano:
When perform_soft_reset() is done, the next read seems to fail - in my case all reads seem to fail.
As for the shutdown problem: I never saw that, but I see that shutdown occasionally takes longer to perform, none of my fixes ever corrected that. What did you do to prevent that?
magmaniac:
--- Quote from: Davide-NYC on February 18, 2008, 12:02:39 PM ---I ran battery_bench on a CF'ed H120 after applying FrankOtto's patch as well as on a standard (HD) H120. Both have the stock battery.
The CF-H120 lasted 16:18:05.
The HD-H120 lasted 14:05:52.
Note that this was not done on the same battery, just the same type of battery.
--- End quote ---
I ran battery benchmarks too (constant playing of MP3 320kb/s, stock battery, 3years old), and the runtime that battery_bench.txt reports is 13:51 with the HD and 18:06 with the CF... but scrap those numbers. In the HD case I'm pretty sure that the last lines of the battery_bench.txt were lost due to forced shutdown, while in the CF case I shut the device down voluntarily (it had been reporting "battery level 0%" for some time). Also, in the HD case I had used USB mode briefly before the test, which puts the HD benchmark at a slight disadvantage.
But! I can shift and scale those numbers until the curves coincide ;D
And this tells me that the mentioned disadvantage of the HD amounts to roughly 20 minutes, and that the battery drains approx. 14% slower with CF instead of HD. See attached PDF.
magmaniac:
--- Quote from: petur on February 19, 2008, 03:12:21 AM ---As for the shutdown problem: I never saw that, but I see that shutdown occasionally takes longer to perform, none of my fixes ever corrected that. What did you do to prevent that?
--- End quote ---
petur, I always get the shutdown problem when setting "sleeping=true" is disabled.
shutdown_hw() contains this loop:
--- Code: ---while(ata_disk_is_active())
sleep(HZ/10);
--- End code ---
and ata_disk_is_active() simply returns !sleeping. The only place where sleeping=true gets set is in ata_perform_sleep(). If you disable this entirely, then the loop in shutdown_hw() cannot finish. Eventually another thread forces the unclean shutdown.
petur:
interesting....so only disabling soft_reset should fix all this... to be tested :)
petur:
hrmpf... shutdown was ok, and then one of my last tests there was a freeze :(
Hard to reproduce, I tried a lot of stuff afterwards without freezing.
NOTE: cleaned up my code and removed some stuff that should have been removed before stability testing. So far no freezing and normal shutdowns....
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version