Posted on 11-10-2015 10:19 AM
@bentoms and other AutoCasperNBI users... I am having trouble figuring out how to solve this. Issue is when when applying a 10.11.1 image (15B42 created with autoDMG..no addl pkgs) and utilizing v1.3.0 of AutoCasperNBI. The process seems to kick off fine, runs for a while and write a fair amount of data ... but then after a while, the process halts with "Error: Generating Kernel cache"
I have looked through the logs...(snippet below)
Mon Nov 9 19:00:05 PST 2015 Language Code is: en
Mon Nov 9 19:00:05 PST 2015 Trying to set NetBoot's OS Language
Mon Nov 9 19:00:05 PST 2015 NetBoot's OS Language set
Mon Nov 9 19:00:05 PST 2015 Trying to get input layout id for: U.S.
Mon Nov 9 19:00:05 PST 2015 Keyboard Layout ID set to 0
Mon Nov 9 19:00:05 PST 2015 Trying to set NetBoot's Input Language
Mon Nov 9 19:00:06 PST 2015 NetBoot's Input Language set
Mon Nov 9 19:00:06 PST 2015 Trying to disable Spotlight on /Volumes/2016-Q1_10111_981 1
Mon Nov 9 19:00:06 PST 2015 Disabled Spotlight on /Volumes/2016-Q1_10111_981 1
Mon Nov 9 19:00:06 PST 2015 Creating dyld shared cache files on: /Volumes/2016-Q1_10111_981 1
Mon Nov 9 19:01:37 PST 2015 Successfully created dyld caches
Mon Nov 9 19:01:38 PST 2015 Trying to create folder /Library/NetBoot/NetBootSP0/2016-Q1_10111_981.nbi/i386/x86_64
Mon Nov 9 19:01:39 PST 2015 Created folder /Library/NetBoot/NetBootSP0/2016-Q1_10111_981.nbi/i386/x86_64
Mon Nov 9 19:01:40 PST 2015 Touching /Volumes/2016-Q1_10111_981 1/System/Library/Extensions/
Mon Nov 9 19:01:40 PST 2015 Touched /Volumes/2016-Q1_10111_981 1/System/Library/Extensions/
Mon Nov 9 19:01:40 PST 2015 Updating kernel cache on: /Volumes/2016-Q1_10111_981 1
Mon Nov 9 19:02:30 PST 2015 Updated kernel cache on: /Volumes/2016-Q1_10111_981 1
Mon Nov 9 19:02:30 PST 2015 Generating kernel cache
Mon Nov 9 19:02:34 PST 2015 Generated kernel cache on: /Volumes/2016-Q1_10111_981 1
Mon Nov 9 19:02:35 PST 2015 Copying updated kernel cache to: /Volumes/2016-Q1_10111_981 1/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
Mon Nov 9 19:02:35 PST 2015 Error: Generating kernel cache
...I see the error, but I am not sure for what reason that the kernelcache kext couldn't be used/written. The NBI directory that is written is 10.26GB in size so there is certainly a payload. I am looking through the code: https://github.com/macmule/AutoCasperNBI/blob/master/AutoCasperNBI/AutoCasperNBIAppDelegate.applescript
but I am not understanding where the problem is. This is the area of the code I was trying to look through, but I'm not exactly sure what I am looking for.
-- Generate the Kernel cache
on generateKernelCache_(sender)
try
---- MAKE x86_64 FOLDER ----
-- Update Build Process Window's Text Field
set my buildProcessTextField to "Creating x84_64 folder"
delay 0.1
-- Update build Process ProgressBar
set my buildProcessProgressBar to buildProcessProgressBar + 1
...
Anyone have any ideas or able to help me decipher what I'm looking at? I appreciate the help in advance!
Solved! Go to Solution.
Posted on 11-16-2015 10:18 AM
I have a pre-release of AutoCasperNBI 1.3.1 available: here.
Can you please test & feedback?
Posted on 11-10-2015 01:26 PM
Posted on 11-10-2015 02:51 PM
No sir, I installed AutoCasperNBI per update pop-up (running 1.2 previously). I suppose I could re-download it if you think this may be the culprit ... I am having issues in the scenario I listed on 2 separate Dist. Pts. Would DP's OS matter at all? These two happens to be running 10.9.5... that's the only oddity that I can think of
Posted on 11-10-2015 03:52 PM
@ryan.s nope the host OS does not need to match the NBI's OS.
Hmm. I'll try something tomorrow & will report back.
I've created 10.11.x NBI's fine on my 10.10.5 Mac.
Posted on 11-10-2015 04:25 PM
Sounds good -- let me know if you need any more info or log files! I won't post all details here, but I am happy to email them to you if you want any additional info. Thanks!!
Posted on 11-12-2015 09:19 AM
@ryan.s I cannot recreate the issue :(
Posted on 11-12-2015 10:05 AM
Posted on 11-16-2015 10:18 AM
Posted on 11-16-2015 11:31 AM
@bentoms I just tested and was able to create a AutocasperNBI w/o error now. Haven't tried booting to it yet, but got no error during the build process this time.
I can provide log if you would like but should be good to go!
Thanks!
Posted on 11-17-2015 01:33 PM
@bentoms I can certainly throw any additional log files your way like I mentioned before... just let me know if you need anything.
Anyway, I downloaded the pre-release (1.3.1) and re-building right now! I'll update you later today
EDIT: @bentoms -- 1.3.1 did the trick! I am no longer receiving the error and was able to build our new NBI; tested deployment as well...all good! Thanks for the help on this sir
Posted on 11-18-2015 10:34 AM
@ryan.s awesome!
I'll release it soon then. :)
Had a couple of other issues that have been resolved in it too.