[darwinbuild] booting xnu 8G32
Shantonu Sen
ssen at opendarwin.org
Thu Feb 2 14:24:38 PST 2006
What's the output of "nvram -p" after you run this kswap script?
Or you can paste the output of:
> sh -x kswap.sh --test mach_kernel.orig
In any event, be wary of shell scripts downloaded from the internet. ;-)
Shantonu
On Feb 2, 2006, at 12:57 PM, ritchie wrote:
> On 06-02-06, at 1545 , Shantonu Sen wrote:
>> No BootX changes should be needed to use universal kernels or kexts
>>
>> What copying program did you use? root:admin is a very serious
>> issue. All files produced by the xnu build should be owned by
>> root:wheel, not root:admin
>>
> the files were owned by root:wheel when finished building. I used
> cp to copy to /, at which point I re-grouped it in wheel.
>
>> What's the output of "cd /System/Library/Extensions/System.kext &&
>> find . -ls"?
>>
> everything there is owned by root:wheel, though I didn't muck with
> anything is System.kext when I installed the kernel, I _only moved
> the mach_kernel. however mark pauley's suggestion that the kernel
> isn't even being seen is leading somewhere. I was using the
> kswap.sh script (http://opendarwin.org/~jpm/naughty/darwin/
> kswap.sh) to install the kernel, but apparently it generates a boot-
> file variable that doesn't work on this machine (g5 dual2.7). if I
> copy the system-installed kernel:
>
> # cp /mach_kernel /mach_kernel.orig
> # chgrp wheel /mach_kernel.orig
> # kswap.sh --test mach_kernel.orig
>
> this doesn't boot. moving my custom kernel directly to /mach_kernel
> _does boot. I'm currently trying to figure out what an appropriate
> boot-file argument is for a g5.
>
> thanks for all your help.
>
> best,
> r.
> _______________________________________________
> darwinbuild mailing list
> darwinbuild at opendarwin.org
> http://www.opendarwin.org/mailman/listinfo/darwinbuild
More information about the darwinbuild-dev
mailing list