--- Log opened Mon Nov 04 00:06:05 2013 04:38 -!- TheSeven [~quassel@rockbox/developer/TheSeven] has quit [Disconnected by services] 04:39 -!- [7] [~quassel@rockbox/developer/TheSeven] has joined #freemyipod-support 06:59 -!- jonoh [9665a6f1@gateway/web/freenode/ip.150.101.166.241] has joined #freemyipod-support 07:01 < jonoh> hi again, i posted here yesterday but had to leave. I am trying to install rockbox on my classic 6g but it gets stuck on the "formatting" page. Any Help? 07:08 < [Saint]> in theory if this stage stalls it should be possible to format it as a fat32 superfloppy manually 07:09 < [Saint]> Oh, hmm. Possibly not. 07:09 < [Saint]> I did see your post yesterday but I have no idea why this would be happening. 07:10 < [Saint]> Does the iPod function correctly in the original firmware, I assume so, yes? 07:11 < jonoh> yes it does. tried reformatting to fat using windows 07:13 < jonoh> when i boot the installer, i get an errror message "ATA: Error 8000000 while reading BBT" (not sure if thats the exact number) 07:13 < jonoh> but it is only there for a microsecond, then it goes to the "emcore installer" 07:14 < [Saint]> You would really want to talk to [7] about this. 07:14 < [Saint]> WHich may mean having to idle for some time. 07:15 < jonoh> ok. would it be easier to use the mailing list? or just wait here 07:16 < [Saint]> it would probably be easier to idle here. 07:16 < [Saint]> user890104 may be able to help you as well. 07:16 < [Saint]> They both will have been highlighted now, so its just a matter of time. 07:17 < jonoh> cool. thanks 07:39 < user890104> jonoh: smells like bad hard disk to me 07:40 < jonoh> yeah thats what i thought. I ran chkdsk on windows, and it gave no errors 07:40 < jonoh> is there a way to modify the code to ignore the error? 07:41 < user890104> well this error basicly means "we can't access your hard disk, there's some issue" 07:41 < user890104> the BBT (bad block table) is the first thing our firmware attempts to read 07:42 < user890104> so in your case, the hard disk is inaccessible, and any subsequent attempts to access it would also fail 07:42 < user890104> your best bet is to wait for [7] 07:42 < user890104> he might have an idea, but keep in mind that these devices are pretty fragile 07:43 < user890104> we also had a case, where a brand-new ipod classic had a bunch of bad sectors 07:43 < [Saint]> doesn't the installer use a badblocks file if its present? 07:44 < user890104> it does, but it needs to access the HDD first 07:44 < user890104> and if that fails, you see that error 07:44 < [Saint]> AH, right. Derp. 07:44 < user890104> so this doesn't mean "we can't access some sector, because it's damaged" 07:45 < user890104> it means "we can't access the hard disk at all" 07:45 < user890104> but anyway, wait for [7] 07:46 < user890104> what we suggest in these cases, is to replace the ipod in an apple store (if the warranty period hasn't expired) 07:46 < user890104> they usually check the hard disk, and replace the device if it's faulty 08:00 < jonoh> sorry, just doing something else. its a very old one, and i have already replaced the drive myself once. 08:09 < user890104> jonoh: i see. can you reboot it (menu+select), then immediately hold center+left, until you enter diagnostics mode? 08:14 < jonoh> yep 08:15 < jonoh> should i do manual or auto? 08:20 < user890104> manual 08:21 < user890104> go to IO - HardDrive - HDSmartData 08:21 < user890104> and tell me the numbers ()retracts, reallocs, etc. 08:23 < jonoh> retracts:5, reallocs: 0, pending secotrs:0, powerOn hours 892, startstops: 18484 08:25 < user890104> oh, that looks pretty well 08:25 < user890104> almost like a new one 08:26 < user890104> ok, scratch the bad hdd option, and wait for [7] 08:26 < jonoh> i did just do a deep format. would that have reset it? 08:26 < jonoh> okay. :) 08:26 < user890104> how did you format it? 08:26 < jonoh> in windows disk manager, and unticked quick format 08:27 < user890104> emcore formats it at a lower level (it repartitions it and erases apple's hidden firmware partition) 08:27 < jonoh> oh ok. 08:27 < jonoh> i'll keep waiting 08:27 < user890104> another case would be failing to access the last sectors of the hdd 08:28 < user890104> i don't know where the BBT is stored, but if it's at the end of the hard disk, there are some bugs with some hard disk firmwares 08:29 < user890104> you're either hitting one of these, or the sector where bbt should be stored, is somehow damaged 08:29 < user890104> so yes, please keep waiting here 08:29 < user890104> [7] is in GMT+1 time zone, and he usually appears online at the evening/night 08:46 < jonoh> ok. i'm in gmt +10 08:57 -!- STeeF [~STeeF@office.hostnetbv.nl] has joined #freemyipod-support 09:33 < [7]> jonoh: you said you replaced the HDD manually... with which type of HDD? 09:33 < [7]> and what's the exact error code? (focus on the last digits) 09:33 < [7]> user890104: BBT is sector 0 09:34 < [7]> if that one would be broken, the device couldn't even be partitioned 09:34 < jonoh> ummm. it was a few years ago, i think it was the same as the ones that are meant to be in there. ie a toshiba (i think) 160gb 09:34 < jonoh> let me have a look 09:34 < [7]> thick or thin model? 09:35 < jonoh> thick. it was the first classic (6g) 09:35 < [7]> so that's the CE-ATA beast 09:38 < jonoh> i think it was sector 0, count 1 09:40 < [7]> I mean that "error 80000XXX" code 09:40 < [7]> that one provides some technical info on what did actually go wrong 09:41 < jonoh> oh, its just 8 followed by all zeros 09:43 < jonoh> also, when i run the bootstrapper program to get the umsboot partition, i get an error "deviceiocontrol error", but it still works. Is this a problem 09:44 < [7]> that message is to be expected 09:45 < jonoh> ok. 09:45 < jonoh> yep. definately 80000000 09:47 < [7]> wtf 09:47 < [7]> that error seems to mean that this assertion failed: (sector + count <= ata_total_sectors) 09:48 < [7]> given the values from your error message, this means that ata_total_sectors must be 0 09:48 < jonoh> ok. that is wierd 09:49 < [7]> that in turn means that the relevant fields in the IDENTIFY response of the drive are zero 09:50 < [7]> ...or that code not even getting reached 09:51 < [7]> I just spotted a missing error check that could make it reach that point if ata_power_up failed 09:52 < [7]> the error code reported by it doesn't get shown anywhere :/ 09:52 < [7]> so it could be any one of these that's failing: mmc_init, ceata_init or ata_identify 09:54 < [7]> hm, this doesn't really help 09:54 < [7]> might be some timeout being too tight or something like that 09:54 < [7]> I've seen these CE-ATA drives take up to 10 seconds before responding after powerup 09:57 < jonoh> ok. so is there a way to increase this? I am looking at the source code, but i must admit my c skills are not that great 10:26 < [7]> walk through ata_power_on and its subroutines (always assume that ceata is true) 10:28 < [7]> hm, looks like this is already factored out properly 10:28 < [7]> http://websvn.freemyipod.org/filedetails.php?repname=freemyipod&path=%2Femcore%2Ftrunk%2Ftarget%2Fipodclassic%2Fstorage_ata.c 10:28 < [7]> these lines: 10:28 < [7]> #define CEATA_POWERUP_TIMEOUT 30000000 10:28 < [7]> #define CEATA_COMMAND_TIMEOUT 1000000 10:28 < [7]> #define CEATA_DAT_NONBUSY_TIMEOUT 5000000 10:28 < [7]> those values seem to be plenty though 10:28 < [7]> (those are microseconds) 10:29 < [Saint]> There's definitely some issue, I think I remember telling you it never sounds like the disk is being shut down properly. 10:30 < [Saint]> the ce-ata disk always sounds nasty when its powered down by either emcore or Rockbox. 10:30 < [Saint]> but with the of its nice and quiet. 10:31 < [7]> [Saint]: that sounds like the sleep(1000000); in ata_power_down should be increased 10:31 < [7]> it really shouldn't take more than a second for that drive to park its heads, but apparently it does 10:31 < [Saint]> where is the equivalent in Rockbox hiding? 10:31 < [Saint]> I'm not set up to build emcore. 10:31 < [7]> or the 0xe0 command above is being ignored by the drive 10:32 < [7]> http://git.rockbox.org/?p=rockbox.git;a=blob;f=firmware/target/arm/s5l8702/ipod6g/storage_ata-ipod6g.c;h=395c0f49e646199a3d16bbb5f63c33be2643c1e3;hb=refs/heads/master#l680 10:32 < [7]> bump that to 2*HZ or something 10:33 < [Saint]> thanks, I'll try in an hour or so. 10:47 < jonoh> thanks for looking into it guys. I really am out of my depth here 15:48 -!- Chief [b85bed7b@gateway/web/freenode/ip.184.91.237.123] has joined #freemyipod-support 15:50 -!- Chief [b85bed7b@gateway/web/freenode/ip.184.91.237.123] has quit [Client Quit] 17:56 -!- Major_ [b85bed7b@gateway/web/freenode/ip.184.91.237.123] has joined #freemyipod-support 17:58 -!- Major_ [b85bed7b@gateway/web/freenode/ip.184.91.237.123] has quit [Client Quit] 21:03 -!- Major__ [b85bed7b@gateway/web/freenode/ip.184.91.237.123] has joined #freemyipod-support 21:05 -!- Major__ [b85bed7b@gateway/web/freenode/ip.184.91.237.123] has quit [Client Quit] 21:30 -!- chief [b85bed7b@gateway/web/freenode/ip.184.91.237.123] has joined #freemyipod-support 21:43 -!- chief [b85bed7b@gateway/web/freenode/ip.184.91.237.123] has quit [Quit: Page closed] --- Log closed Tue Nov 05 00:06:06 2013