[00:12:07] *** el3ctrik is now known as el3ctrik-away [00:16:47] * user890104 looks at the code [00:20:55] TheSeven: did you commit it to the svn? [00:21:58] not yet [00:23:53] ah, that's why i can't find it :) [00:24:07] can you send it? [00:24:47] storage_ata.c: http://paste.pm/gkf.c [00:25:07] storage_ata-target.h: http://paste.pm/gkg.c [00:33:35] raw_cmd will return negative values if something went wrong, zero otherwise [00:33:47] details about an error can be derived from the task file data [00:34:13] if result_valid in the cmd struct is false, the command failed before useful information could be acquired [01:17:51] great, i'll test it tomorrow [01:18:05] no idea if it works :P [01:18:23] i just had a quick look now [01:18:35] well, as always i have a backup of my ipod's hdd [01:20:00] so it should be safe, unless i manage to make the heads scratch the surface with raw ata commands :) [01:20:04] * TheSeven wonders if hddscan2 could be vastly improved (speed wise) using the new code [01:20:56] there might be a way to reset the drive electronics without smashing the heads into the ramp, so we can do that much more aggressively if the drive stops responding [01:22:43] this reminds me again of my suggestion to pause booting if menu+select is held down [01:23:49] ah, there's a third way to perform a hdd reset [01:24:07] what's the difference between the hard one and powering off/on? [01:25:03] it's a physical reset pin on the HDD connector [01:25:54] I hope that stops the drive from retrying to read/write a sector without causing a spindown [02:10:23] user890104: http://theseven.homenet.org/~theseven/tmp/ipodstream.htm [02:11:41] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [02:11:42] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Remote host closed the connection) [02:25:09] user890104: hard resets seem to break most of the lockups, but not all of them [02:25:21] it's a big step forward though [02:27:44] scanning speed should hopefully more than double with this version [02:30:57] the remaining power cycles are cases where the drive didn't deassert BSY within 10 seconds after the soft reset [02:31:01] er, the hard reset [03:49:09] *** Joins: john3213 (john3213@static-72-66-66-50.washdc.fios.verizon.net) [03:54:11] *** Parts: john3213 (john3213@static-72-66-66-50.washdc.fios.verizon.net) () [06:41:44] *** Quits: TheSeven (~quassel@rockbox/developer/TheSeven) (Ping timeout: 245 seconds) [06:43:34] *** Joins: TheSeven (~quassel@rockbox/developer/TheSeven) [08:11:43] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [08:11:43] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Remote host closed the connection) [09:07:31] *** Quits: [Saint] (~saint@rockbox/staff/saint) (Remote host closed the connection) [09:08:41] *** Joins: [Saint] (~saint@rockbox/staff/saint) [12:50:32] *** el3ctrik-away is now known as el3ctrik [13:29:48] *** Joins: benedikt93 (~benedikt9@unaffiliated/benedikt93) [14:11:46] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [14:11:46] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Remote host closed the connection) [14:23:43] * TheSeven has a feeling that these drives somehow corrupt their servo information over time# [15:52:56] *** Joins: benedikt93_ (~benedikt9@frbg-5d84f82f.pool.mediaWays.net) [15:55:54] *** Quits: benedikt93 (~benedikt9@unaffiliated/benedikt93) (Ping timeout: 240 seconds) [15:56:02] *** Quits: benedikt93_ (~benedikt9@frbg-5d84f82f.pool.mediaWays.net) (Client Quit) [16:21:53] *** Joins: krnlyng (~liar@83.175.90.24) [18:53:57] *** Joins: n1s (~n1s@c-26d572d5.010-215-7570701.cust.bredbandsbolaget.se) [18:54:05] *** Quits: n1s (~n1s@c-26d572d5.010-215-7570701.cust.bredbandsbolaget.se) (Changing host) [18:54:05] *** Joins: n1s (~n1s@rockbox/developer/n1s) [20:11:42] *** Joins: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) [20:11:42] *** Quits: clustur (~logger@c-68-53-250-91.hsd1.tn.comcast.net) (Remote host closed the connection) [20:18:12] *** Quits: n1s (~n1s@rockbox/developer/n1s) (Quit: Ex-Chat) [21:18:57] *** el3ctrik is now known as el3ctrik-away [22:33:47] *** el3ctrik-away is now known as el3ctrik