Waiting for root device when kernel cache used; only with some disks +FIX
Started by bcc9, Jun 25 2012 11:06 PM
148 replies to this topic
#81
Posted 13 September 2012 - 04:56 PM
Adjust installer for 10.8.2
#82
Posted 13 September 2012 - 05:11 PM
netgear, on 13 September 2012 - 04:56 PM, said:
Adjust installer for 10.8.2 
You are welcome to patch it yourself and post an updated version here if you'd like.
I tried to make the ongoing maintenance of this patch fairly easy by breaking it down in the script to 4 things: maintaining the 2 relocation table indexes, the patch point address, and some fuzz that insures the patch is correctly being applied.
#83
Posted 15 September 2012 - 07:22 AM
#84
Posted 17 September 2012 - 03:15 PM
@bcc9 -
sorry for the delay in response.
1) no i did not try the debug=8... approach as the bin patch method worked.
2) i too was thinking that longer delay may solve it for 10.8.1. but i was not sure what that string would look like? if you can provide the patch string for say 500 ms? i will test that out.
thanks. (for now rollback 10.8.0 exec is working on 10.8.1 kernel)
t
sorry for the delay in response.
1) no i did not try the debug=8... approach as the bin patch method worked.
2) i too was thinking that longer delay may solve it for 10.8.1. but i was not sure what that string would look like? if you can provide the patch string for say 500 ms? i will test that out.
thanks. (for now rollback 10.8.0 exec is working on 10.8.1 kernel)
t
#85
Posted 17 September 2012 - 06:30 PM
tluck, on 17 September 2012 - 03:15 PM, said:
1) no i did not try the debug=8... approach as the bin patch method worked.
2) i too was thinking that longer delay may solve it for 10.8.1. but i was not sure what that string would look like? if you can provide the patch string for say 500 ms? i will test that out.
2) i too was thinking that longer delay may solve it for 10.8.1. but i was not sure what that string would look like? if you can provide the patch string for say 500 ms? i will test that out.
In any case I've updated the script to version 0.2 which allows you to specify whatever delay you wish, with a default of 200ms.
The delay is in units of ms. So:
./patch-ahci-mlion.pl -d 100
for 100ms
./patch-ahci-mlion.pl -d 1000
for 1 second
#86
Posted 18 September 2012 - 06:22 AM
Patch worked for me after updating to 10.8.1 thanks again bcc9.
#87
Posted 19 September 2012 - 06:25 PM
10.8.2 released hope that you bcc9 make universal patch for it so do it directly
#88
Posted 19 September 2012 - 06:26 PM
10.8.2 is live with the size increase to 180192 bytes.
#89
Posted 19 September 2012 - 09:21 PM
Could someone report whether or not the problem remains after upgrading to 10.8.2?
#90
Posted 19 September 2012 - 09:42 PM
I'm unable to boot to 10.8.2 without -f, and the binary has changed since 10.8.1 - your patch doesn't apply, as the bytes have changed.
#91
Posted 19 September 2012 - 11:09 PM
Ok, I've updated the script to version 0.3, which includes osx 10.8.2 support. The new version is in post #1.
#92
Posted 20 September 2012 - 12:39 AM
@bcc9
ok good news. your revised method (script 0.2) with variable sleep time worked with the 10.8.1 kext. I had to go up to 600ms for 10.8.1. well 400 did not work, and 600 did. so i call that success.
also i tried your early method of boot args ahcidisk=1 debug=8 and that did not work with the sto.
as soon as i upgrade to 10.8.2 I will post the results with (the 0.3 script) etc.
thanks much!
t
PS. this is on a Lenovo T420 with 320GB 7200rpm sata as single device.
ok good news. your revised method (script 0.2) with variable sleep time worked with the 10.8.1 kext. I had to go up to 600ms for 10.8.1. well 400 did not work, and 600 did. so i call that success.
also i tried your early method of boot args ahcidisk=1 debug=8 and that did not work with the sto.
as soon as i upgrade to 10.8.2 I will post the results with (the 0.3 script) etc.
thanks much!
t
PS. this is on a Lenovo T420 with 320GB 7200rpm sata as single device.
#93
Posted 20 September 2012 - 07:39 AM
bcc9, on 19 September 2012 - 09:21 PM, said:
Could someone report whether or not the problem remains after upgrading to 10.8.2?
Just installed 10.8.2 and booted > sadly the problem persists. I'm going to patch the kext now with upgraded script...
Updated patch is working perfectly for 10.8.2 - thanks again bcc9.
I'm wondering what Apple is updating in detail in the kext every time :/
#94
Posted 20 September 2012 - 08:07 AM
Vahan, on 19 September 2012 - 09:42 PM, said:
I'm unable to boot to 10.8.2 without -f, and the binary has changed since 10.8.1 - your patch doesn't apply, as the bytes have changed.
pls guide me. thanks.
#95
Posted 20 September 2012 - 08:33 AM
bcc9, on 19 September 2012 - 11:09 PM, said:
Ok, I've updated the script to version 0.3, which includes osx 10.8.2 support. The new version is in post #1.
Confirming successful boot after the running the updated patch. I believe people reporting failures need to increase the default delay for their particular case.
#96
Posted 20 September 2012 - 01:25 PM
10.8.2 perfect for me, thanks...
#98
Posted 21 September 2012 - 03:40 PM
Updated to 10.8.2 and can confirm the new version works perfectly. Thanks bcc9, very glad you are a part of the mhack community.
#99
Posted 21 September 2012 - 04:07 PM
Working fine here, thanks bcc9
#100
Posted 21 September 2012 - 11:36 PM
BugsB, on 21 September 2012 - 09:27 AM, said:
bcc9, would you be able to locate the bytes in AppleIntelPIIXATA to delay its getting loaded? This one (by Detrich 2010-03-29, still the same we're using these days for L & ML)?
I guess the bug over there relates to using intel ICH in IDE mode? I would never use a hackintosh that way - AHCI mode has superior performance.
I can't really (don't have time to) start developing fixes for problems that don't pertain to hardware I use.
tluck, on 20 September 2012 - 12:39 AM, said:
@bcc9
ok good news. your revised method (script 0.2) with variable sleep time worked with the 10.8.1 kext. I had to go up to 600ms for 10.8.1. well 400 did not work, and 600 did. so i call that success.
ok good news. your revised method (script 0.2) with variable sleep time worked with the 10.8.1 kext. I had to go up to 600ms for 10.8.1. well 400 did not work, and 600 did. so i call that success.
I guess variance in how long disk drives take to initialize/answer async requests is making the difference.
Oh and thanks everyone for the compliments.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account








