MacMan, I get that you're busy. You frequently get confused / mistaken bug reports. And who knows, maybe this is one of them. But, you wouldn't be able to reproduce it, because without the presence of my otherwise perfectly readable time machine drive (when hooked up to other machines via external dock), Chimera boots just fine.
When the drive is present, it fails on the text spinner... I believe the one powered by the below code:
Code:
/Users/timcharper/src/projects/cham/Release/i386/boot2/graphics.c
1167 | //==========================================================================
1168 | // Display and clear the activity indicator.
1169 |
1170 | static char indicator[] = {'-', '\\', '|', '/', '-', '\\', '|', '/', '\0'};
1171 |
1172 | // To prevent a ridiculously fast-spinning indicator,
1173 | // ensure a minimum of 1/9 sec between animation frames.
1174 | #define MIN_TICKS 2
1175 |
1176 | void
1177 | spinActivityIndicator(int sectors)
1178 | {
1179 | static unsigned long lastTickTime = 0, currentTickTime;
1180 |
1181 | if (previewTotalSectors && previewSaveunder)
My hunch is that it is the code that scans for available drives and populates the boot menu which is freezing up. It sees my TimeMachine drive, and something about it just causes it to freak out and crash.
I can `dd` my TimeMachine header if that would help... not sure if it has an MBR record written or not.
Whether I boot from a USB Hackintosh Mountain Lion installer, or my primary drive (which works when the TimeMachine drive is not connected), it still freezes. I've had the TimeMachine drive connected internally via SATA and backing up for over a year. This problem suddenly cropped up. Something about the state of the drive is causing Chimera to crash. I've upgraded to the latest Chimera release, and it still crashes when the drive is connected.
I have another identically 2TB drive, same brand and model, also used for TimeMachine, but for a different computer. If I connect THAT one internally (in place of the offending TimeMachine drive), the bootloader DOES NOT crash. In my mind, this narrows the issue down to some sequence of bytes contained on the offending drive that is causing Chimera to crash, and not a failing SATA cable, controller, etc. The offending TimeMachine drive reads perfectly well, scans perfectly well, does not show any sign of disk failure.
Even still, should disk failure be able to cause the bootloader to freeze?
I am tempted to wipe the drive clean, reformat, and repartition it. I'm confident that by so doing I will be back in working order. But I will also miss an opportunity to help locate and fix a bug.
If you really don't care, then I'll just do that. It's fine with me, I'd just like to contribute to the project.
Speaking of which... what is the magic invocation to build Chimera? If I run `make`, I get the following:
Code:
timcharper@timcharper:~/src/projects/cham/Release $ make
[MKDIR] /Users/timcharper/src/projects/cham/Release/sym
[MKDIR] /Users/timcharper/src/projects/cham/Release/obj
[MAKE] config
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
================= make config for i386 =================
/bin/sh: line 0: cd: i386: No such file or directory
(I'd like to build Chimera and add some additionally debug statements to see whereabouts the code is halting.)
I've recorded a video showing the problem, and showing how it crashes with the presence of the TimeMachine drive, without the drive... it's like 2GB and is uploading to Youtube. I'll post it when it finishes.