Jump to content

Lion kernel testing on AMD (don't ask help here: use the Help Topic)


ham4ever
 Share

613 posts in this topic

Recommended Posts

The stupid thing is there gives no message: waiting for root device

The keyboard is fully functional, which means I can still write with the keyboard

Link to comment
Share on other sites

Remove all USB devices and try to boot?

 

Just for your information, I boot from an external USB hard drive.

I made the following adjustments:

The IOUSBFamily.Kext under /Plugins/ I removed the AppleUSBOHCI.kext and then booted the system:

 

BSD root: disk0s3, major 14, minor 3

jnl; unknown-dev: journal start / end pointers reset! (jnl 0x151e3e60, s e 0x4c0e00 0x4c0e00)

 

there gives no message: waiting for root device and the keyboard is fully functional

Link to comment
Share on other sites

I have a problem with the dyld thing. AnV kernel with custom dyld boots fine, but Sinetek's kernel gives weird error and reboot.

I'll upload a video to show it.

 

EDIT: heres a video

 

http://www.youtube.com/watch?v=NVDKlp04OSI

 

 

 

Hmm, it might be the HDD. Try to boot with -x or something.

Actually, I had that same error today, but I rebooted and it was gone.

 

 

on Lion 10.7.3 with ANV_kernel Patch + dyld + corocrypto.kext +TSCSyncAMD.kext+ I get Kernel Panic

 

I have used almost boot flag variants with sinetek_kernel and ANV_kernel.

I think it's the kernel. The last kernel of Sinetek has yet gone best see above

I need to install on the other partition Mountain Lion 10.8.2 then I'll try ANV_kernel.

 

PS: a nice video!

Edited by spakk
Link to comment
Share on other sites

on Lion 10.7.3 with ANV_kernel Patch + dyld + corocrypto.kext +TSCSyncAMD.kext+ I get Kernel Panic

 

I have used almost boot flag variants with sinetek_kernel and ANV_kernel.

I think it's the kernel. The last kernel of Sinetek has yet gone best see above

I need to install on the other partition Mountain Lion 10.8.2 then I'll try ANV_kernel.

 

PS: a nice video!

 

The Sinetek's latest kernel is for 10.6.8 SL. We have some successful boots with Phenom IIs here...

But I think it's the dyld. Nawcom's legacykernel without custom dyld gives same error as the Sinetek, only AnV kernel with custom dyld boots.

Link to comment
Share on other sites

The Sinetek's latest kernel is for 10.6.8 SL. We have some successful boots with Phenom IIs here...

But I think it's the dyld. Nawcom's legacykernel without custom dyld gives same error as the Sinetek, only AnV kernel with custom dyld boots.

 

I mean the last Sinetek Lion kernel with patch, I test not Snow Leopard.

 

I need help troubleshooting the problem with the AppleUSBOHCI to circumvent.

Edited by spakk
Link to comment
Share on other sites

I mean the last Sinetek Lion kernel with patch, I test not Snow Leopard.

 

I need help troubleshooting the problem with the AppleUSBOHCI to circumvent.

 

Sinetek made a Lion patch?!? :D

Link to comment
Share on other sites

here my last Test with Sinetek Lion Kernel!!

 

2ntp0l-23.jpg

 

Sinetek made a Lion patch?!? :D

 

It's great to know that sinetek works one patch programmed to work around the problem. But You let me long testing, Deltac0 webi.gif

 

PS: the boot without maxmem =4096 - > the System resets and boot again.

Link to comment
Share on other sites

Hi,

 

there has been an unprecedented demand for the patchset, so here it is,

http://www.sendspace.com/file/8x74vl

 

There are some parts missing, but the important bits for x86_64 should be in there.

Additionally, you will need to apply the patches for CPUID patching otherwise the famous hang after "Kernel is LP64" occurs.

More to come.

 

-- Sinetek

 

I knew I forgot something, here are the sources to the opcode emulator.

It might require more work...

 

http://www.sendspace.com/file/p5fz8o

Link to comment
Share on other sites

I can boot LION 10.7.5 only with boot flag: sinetek -enable_ssse3emu cpus=1 -force64 maxmem=4096 -v -f

or with: sinetek -s

or with: sinetek cpus=1 arch=x86_64 usekernelcache=no -v -f

then it stops, but no kernel panic at:

 

BSD root: disk0s3, major 14, minor 3

jnl; unknown-dev: journal start / end pointers reset! (jnl 0x8716e60, s 0x25c800 e 0x25c800)

 

 

PS: Lion will not start, it always stops at the same agency. It should be noted that I do not have a kernel panic. The keyboard is fully

functional. This means it is waiting for any instructions, either an error in my settings or a missing driver, etc.

Edited by spakk
Link to comment
Share on other sites

Will test in a moment... Any special boot flags?

 

No idea, same what you would use with Sinetek SL kernel maybe. It's only x86_64 so arch=x86_64 -v would be a good start. :D

Will probably give instant reboot, get stuck @ kernel is lp64 or something else. It's just compiled from random bits of information and kept together with some black magic.

I'm very surprised it did even compile. :D

 

Will test in a moment... Any special boot flags?

 

How positively surprising! It hangs at Kernel is LP64.

 

Could you come to IRC? We have interesting discussion @ there.

 

irc.osx86.hu, #LegacyKernel.

 

:)

 

But it's cool to see it atleast booted from the bootloader :D

 

 

EDIT: Added diff as attachment, I think patch -p0 < test-kernel*.diff would work.

test-kernel-1699.26.8-deltac0-64bit-combined.diff.zip

Link to comment
Share on other sites

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!

Edited by spakk
Link to comment
Share on other sites

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. :D

 

EDIT: Sinetek, could you do your magical CPUID patches with my Lion diff, it could maybe work. :)

  • Like 1
Link to comment
Share on other sites

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. :D

 

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

Edited by spakk
Link to comment
Share on other sites

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. :D It has exe files inside that zip... No idea what you could do with those. :)

Link to comment
Share on other sites

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 install

Thanks... next you could test...

xnu-1699.32.7-test1.diff.zip

Link to comment
Share on other sites

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 install

Thanks... next you could test...

 

Compiling! :) What is that "install" in the kernel_configs? :D I've always used just release

Link to comment
Share on other sites

install puts the built kernel (universal) under BUILD/dst/mach_kernel

Link to comment
Share on other sites

install puts the built kernel (universal) under BUILD/dst/mach_kernel

 

Oh... :D

 

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. :D

 

anv_lion_32 = i386 http://www.solidfiles.com/d/0c12bdfee2/

anv_lion_64 = x86_64 http://www.solidfiles.com/d/b14ddd3c18/

anv_lion_32_64 = i386 & x86_64 hybrid http://www.solidfiles.com/d/15538e6525/

Link to comment
Share on other sites

And? How do they work?

Please test and report back... :D

Link to comment
Share on other sites

 Share

×
×
  • Create New...