Lion kernel testing on AMD (don't ask help here: use the Help Topic)
#41
Posted 23 December 2012 - 01:25 AM
#42
Posted 23 December 2012 - 01:45 AM
with Lion 10.7.4 and Lion 10.7.5 with: lion-test arch = x86_64 -v-f it hangs on kernel is LP64, no KP!
Yep, because the kernel doesn't patch CPUIDs. Good night then, posted this from my bed with my phone, I'm too addicted to this forum.
EDIT: Sinetek, could you do your magical CPUID patches with my Lion diff, it could maybe work.
- spakk likes this
#43
Posted 23 December 2012 - 12:42 PM
Yep, because the kernel doesn't patch CPUIDs. Good night then, posted this from my bed with my phone, I'm too addicted to this forum.
EDIT: Sinetek, could you do your magical CPUID patches with my Lion diff, it could maybe work.
here is the new lion-test Kernel from Deltac0 click me
#44
Posted 23 December 2012 - 01:48 PM
here is the new lion-test Kernel from Deltac0 click me
@Deltac0, can you use from agner's website the tool of cpuid to use for that? sorry if I ask stupid question
agner's website vcpuid or this is bull {sh_it} what I think?
I think that is totally unrelevant to OS X.
#45
Posted 23 December 2012 - 10:00 PM
Somebody with the necessary tools: please build it...
Patch is attached below...
Make it with the following command (for building x86 + x64 version)
make ARCH_CONFIGS="I386 X86_64" KERNEL_CONFIGS=RELEASE installThanks... next you could test...
Attached Files
#46
Posted 23 December 2012 - 10:08 PM
I got the patch done but I can't build it... (Have Xcode 4.5.2 and needs 3.2.6 or 4.1).
Somebody with the necessary tools: please build it...
Patch is attached below...
Make it with the following command (for building x86 + x64 version)make ARCH_CONFIGS="I386 X86_64" KERNEL_CONFIGS=RELEASE installThanks... next you could test...
Compiling!
#47
Posted 23 December 2012 - 10:13 PM
#48
Posted 23 December 2012 - 10:46 PM
install puts the built kernel (universal) under BUILD/dst/mach_kernel
Oh...
Your diff had few problems with tsc.c, but I think I managed to fix them.
Accidentally compiled first without the install flag, but now we have 3 versions.
anv_lion_32 = i386 http://www.solidfile...m/d/0c12bdfee2/
anv_lion_64 = x86_64 http://www.solidfile...m/d/b14ddd3c18/
anv_lion_32_64 = i386 & x86_64 hybrid http://www.solidfile...m/d/15538e6525/
#49
Posted 23 December 2012 - 10:54 PM
Please test and report back...
#50
Posted 23 December 2012 - 11:07 PM
And? How do they work?
Please test and report back...
Don't have Lion on my machine atm.. waiting for other tests
#51
Posted 23 December 2012 - 11:21 PM
anv_32_64 -F -v arch=x86_64 npci=0x3000Kernel is LP64!!!!1!111!
anv_32_64 -F -v arch=i386 -legacy npci=0x3000
Boots straight to desktop. I would be posting from it, but Lnx2Mac's Ethernet driver isn't playing nice for some reason.
#52
Posted 23 December 2012 - 11:46 PM
Hold on, testing soon!anv_32_64 -F -v arch=x86_64 npci=0x3000Kernel is LP64!!!!1!111!anv_32_64 -F -v arch=i386 -legacy npci=0x3000One moment please...
Boots straight to desktop. I would be posting from it, but Lnx2Mac's Ethernet driver isn't playing nice for some reason.
I think the kernel thinks we are stupid or something... Why can't he understand that we already know that he is LP64...
No idea what causes this, probably the launchd again.
#53
Posted 24 December 2012 - 12:12 AM
anv_32_64 -v -f hangs on: Kernel is LP64
anv_32_64 -s hangs on: Kernel is LP64
anv_32_64 -enable_ssse3emu busratio=17 cpus=1 usekernelcache=no -v -f hangs on: Kernel is LP64
anv_lion_32 -v -f hangs on: BSD root: disk0s3, major 14, minor 3
jnl: unknown-dev: journal start / end pointers reset! (jnl 0x7792e60; s 0x1e3a00 0x1e3a00)
anv_lion_32 -s hangs on: BSD root: disk0s3, major 14, minor 3
jnl: unknown-dev: journal start / end pointers reset! (jnl ...................................)
anv_lion_32 -enable_ssse3emu busratio=17 cpus=1 usekernelcache=no -v -f hangs on: BSD root: disk0s3, major 14, minor 3
jnl: unknown-dev: journal start / end pointers reset! (jnl ..............)
anv_lion_64 -v -f hangs on: Kernel is LP64
anv_lion_64 -s hangs on: Kernel is LP64
anv_lion_64 -enable_ssse3emu busratio=17 cpus=1 usekernelcache=no -v -f hangs on: Kernel is LP64
I'm testing now with Lion 10.7.2, follow results.
#54
Posted 24 December 2012 - 01:10 AM
anv_32_64 -v -f Kernel Panic /sbin/launchd failed. errno .......:3550
anv_32_64 -s Kernel Panic /sbin/launchd failed. errno .......:3550
anv_32_64 -enable_ssse3emu busratio=17 arch=x86_64 cpus=1 usekernelcache=no -v -f Kernel-Panic: BlackScreen goes blank and loud beep sound!!
anv_lion_32 -v -f Kernel Panic /sbin/launchd failed. errno .......:3550
anv_lion_32 arch=x86_64 -s Kernel Panic /sbin/launchd failed. errno .......:3550
anv_lion_32 -enable_ssse3emu arch=i386 busratio=17 cpus=1 usekernelcache=no -v -f
Kernel Panic /sbin/launchd failed. errno .......:3550
anv_lion_64 -v -f Kernel Panic /sbin/launchd failed. errno .......:3550
anv_lion_64 -s Kernel Panic /sbin/launchd failed. errno .......:3550
anv_lion_64 -enable_ssse3emu cpus=1 arch=x86_64 -v -f Kernel-Panic:Screen goes blank many fragments on the screen, similar to pixel errors, a loud beep sound!!!
PS: I think that the basic idea of the kernel must be rebuilt. It is indeed good to know that the kernel has created the Bronzovka for Lion has sufficient service with its 32-bit, but we come as no step further. We're always in the same trap !!!!
#55
Posted 24 December 2012 - 07:58 AM
Apparently it needs to be completely rebuilt for x64...
Will be for tomorrow though...
#56
Posted 25 December 2012 - 12:38 AM
Gonna check something later.
Apparently it needs to be completely rebuilt for x64...
Will be for tomorrow though...
What needs to be rebuilt, the kernel or launchd?
Good luck with testing!
#57
Posted 25 December 2012 - 11:53 AM
The other possibility is dyld checks it code signature (believe they added that piece of code since 10.7) so it might need patching...
Hopefully not launchd as it isn't easy to build one...
#58
Posted 25 December 2012 - 03:51 PM
BOOT USB MAC OS X LION (AMD-PC) CHRIS1111 with Lion legacy_kernel
or only Kernel:
chris1111 Lion legacy_kernel
we want to know from you how this test kernel runs with your hardware. Please write a short statement to compare with the last Andy's test kernel.
Thanks for your help.
#59
Posted 25 December 2012 - 04:27 PM
What if we make the Lion launchd 32-bit only?
Hold on, testing soon!anv_32_64 -F -v arch=x86_64 npci=0x3000Kernel is LP64!!!!1!111!anv_32_64 -F -v arch=i386 -legacy npci=0x3000One moment please...
Boots straight to desktop. I would be posting from it, but Lnx2Mac's Ethernet driver isn't playing nice for some reason.
ditto -arch i386 /sbin/launchd <tmp_path>/launchd
Would do it (in creating a 32-bit only launchd)...
If it can boot in 32-bit only it may give us a way to do it this way...
note: backup launchd first...
Test with both arch=i386 -force64 and arch=x86_64 (-force64)
#60
Posted 25 December 2012 - 05:03 PM
What if we make the Lion launchd 32-bit only?
ditto -arch i386 /sbin/launchd <tmp_path>/launchd
Would do it (in creating a 32-bit only launchd)...
If it can boot in 32-bit only it may give us a way to do it this way...
note: backup launchd first...
Test with both arch=i386 -force64 and arch=x86_64 (-force64)
So the problem is that kernel can't launch 64-bit processes?
Clever solution, even if it doesn't work. I must admit that I admire your wisdom.
EDIT: Lion 10.7 myHack usb with AnV kernel: Kernel is LP64.
32-bit only launchd is impossible to make, only x86_64 in the vanilla launchd.
I will try to patch the dyld and try i386 launchd from SL.



Sign In
Create Account






