netkas.org

Archive for the 'pc efi' Category

Preparing for 10.5.6 update.

Warning, this information is only for users who can use vanila kernel.

Next macosx update, 10.5.6, will require you to do few things before installing it.

First, you need to install pc evi v9 or any other boot-132 with mackerintel’s dsdt patcher.

if you had chameleon or etc, and have file named “boot” in root of your active partition, then just replace it with v9 or other bootloader.

second, very important, you need to generate fixed dsdt and place it to root of your osx partition (of the osx you will update).

TO do it use DSDT patcher from fassl http://forum.insanelymac.com/index.php?showtopic=133683&st=0&start=0 .

if all went fine, then your 10.5.5 osx should be working still.

So now you can safely update to 10.5.6 , even no need to remove appleintelcpupowermanagement.ket durring installing, if dsdt patcher made it’s job good.

P.S. its better to remove appleintelcpu…kext after update is done, because it will heatup ur cpu

P.S.S. if you use /Extra mkext and placed dsmos/appledecrypt/etc there, then you dont need to edit any scripts after update is done and before reboot, so this update will go like on macs, if u made all preparations.

 IMPORTANT UPDATE: after fixing dsdt and before installing 10.5.6, you HAVE to install either PM disabler or Appleintelcpupowermanagement.kext from 10.5.5 here

otherwise u will have freeze durring installation, because new appleintelcpu… will get loaded, and this new kext isnt compatiblw with 10.5.5. 

PCEFI V9, updated

This is new bootloader with few nice features, it’s n0w based on Chameleon codebase.

so, it supports all what Chameleon supports ( including /Extra)

and it has few new patches applied:

1) dsdt overwrite patch from mackerintel

2) resume from hibernate(aka deep sleep) support from me

(-nowake boot option to bypass resume, if u dont want it on current boot)

3) 64-bit kernel loading support from me  ( -x64 boot option to tell it to boot 64-bit kernel (only snow leo kernel has 64-bit part)

4) it supports new Extension.mkext location as in new snow leo

Now few words about hibernate, to activate it u can use e.g. this widget – deepsleep.free.fr

Bootloader will check /var/vm/sleepimage, and if it has proper signature, it will try to resume system

Now about problems, some systems fails to go to deepsleep state(e.g. gigabyte, asus), it’s caused by RTC bug in dsdt

to fix it – use fassl’s dsdt patcher, it will create proper dsdt.aml, rename it to DSDT.aml and put it in root of your partition

Find it here – http://forum.insanelymac.com/index.php?showtopic=133683

Also on radeon hd cards, after waking up from deepsleep, you will have only 1/4 of screen visible.

Bootloader – Bootloader

Improved messages about problems in sleepimage and will not try to resume with encrypted sleepimage(uncheck “use secure virtaual memory” in system preferences to fix it)

You also can use this bootloader with chameleon’s boot0/boot1h just fine.

as for source patch – as soon as I will clean it.

notice – if pc goes to regular sleep instead of deep sleep, and rtc dsdt fix didnt help – then probably deep sleep will not work on ur machine.

:)

qrcode

Deep Sleep, aka Hibernate finaly comes to osx86

Yeah, it works, my hackbook pro jsut woke up from deep sleep, with pcefi v9 beta.

thx to Turbo for support.

pcefi v9 comes some time later, with x86_64 kernels support and deep sleep support.

althought, some mobo fails to make sleepimage and goes to s3 sleep instead of deep sleep, like gigabyte, asus.

i hope it can be fixed.

here is log from dmesg

hibernate image path: /var/vm/sleepimage
sizeof(IOHibernateImageHeader) == 512
Opened file /var/vm/sleepimage, size 3221225472, partition base 0x1e7ba00000, maxio 400000
hibernate image major 14, minor 3, blocksize 512, pollers 3
hibernate_alloc_pages flags 00000000, gobbling 0 pages
0 [Time 1223926667] [Message System SafeSleep
hibernate_page_list_setall start
hibernate_page_list_setall time: 59 ms
pages 131772, wire 72362, act 44668, inact 6605, zf 0, throt 8137, could discard act 0 inact 0 purgeable 0
hibernate_page_list_setall found pageCount 131772
IOHibernatePollerOpen, ml_get_interrupts_enabled 0
IOHibernatePollerOpen(0)
writing 130752 pages
hibernate_machine_init: state 2, image pages 72279, sum was 141e9dbd, image1Size 9cb2400, conflictCount 0, nextFree 2a
IOHibernatePollerOpen(), ml_get_interrupts_enabled 0
IOHibernatePollerOpen(0)
hibernate_machine_init reading
hibernate_machine_init pagesDone 131689 sum2 4f5b799c, time: 3849 ms
System SafeSleep Wake

UPDATE
gigabyte ga-ep35-ds3p just woke up from sleep, with less then 4gb ram, 4gb causes some fails(32-bit integer overflow), working on fixing it.

I r still cool ;)

It was very hard but I anyway made it.

Ladies and gentlemen, it’s first in World MacOSX snow kitty,

Running in full 64-bit mode (means 64-bit kernel) on PC

woot.

psystar – liars

That guys said they sell computers with efi v8 emulator..

They forgot to mention author of emulator, so it’s looks like they made efi v8.

But u know who did it (http://netkas.org/?p=41)

So, this is violation of my authorship rights on pc efi v8.

pc_efi v8 now had been reloaded, and includes very basic license

which denies any commercial using. also updated with actual smbios.

can be found in topic of channel #leopard in irc.osx86.hu

text of license

License

EFI V1 – V8

Redistribution and use in binary form for direct or indirect commercial purposes, with or without modification, is stricktly forbidden.

Redistributions in binary form for non-commercial purposes must reproduce the above license notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Neither the names of EFI V1-V8 copyright owner nor the names of its contributors may be used to endorse or promote products derived direct or indirect from this software.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

How to update to 10.5.2./10.5.3

UPDATE: doesn;’t work with software update, need to have dmg/pkg.

http://www.apple.com/support/downloads/macosx1052comboupdate.html

Open Terminal/Finder/etc, go to System/Library/Extensions. start installing update.

Monitor System/Library/Extensions folder, once AppleIntelCPUPowermanagement.kext appears there – remove it immideatly.

u can use this little script for it, run as root, before starting upgrade

while sleep 1 ; do rm -rf /System/Library/Extensions/AppleIntelCPUPowerManagement.kext ; done

once update finished, press ctrl-c in terminal window, to stop script, don’t press restart !

after it, open this file in textedit – /System/InstallAtStartup/scripts/1

find there string /System/Library/Extensions/Dont Steal Mac OS X.kext

and replace with this string /System/Library/Extensions/dsmos.kext or r3d3 if u use r3d3.

then save it.

now u can recover ur applesmbios/applehda/etc (didn;’t u forget to make backups b4 running update ?)

and finaly press restart.

on first start it will do smth, without booting to gui, then it will reboot, it can take about 3-4 mins, then it shuld boot normaly, if u didn;t  forget smth.

of course it’s all for intel core 2 based cpus and intel mobos. and pc_efi.

other users can use 10.5.1 kernel/system.kext with 10.5.2 system (like amd users or pentium-d)

Radeon HD 3870 X2 works in OSX

Yeah, one core only tho.

This situation is identical to having crossfire system booting OSX.

OSX can’t use crossfire, so key have to be set only for one display device.

here is screenshot of IOregistry explorer explains it a bit

Free Image Hosting at www.ImageShack.us

And here is sshots of working system

Free Image Hosting at www.ImageShack.us

Free Image Hosting at www.ImageShack.us

because of need to set keys for only one display device, current natit can’t work with

ATIRadeonX2000.kext, but gfx-string can !

also ATIRadeonX2000.kext need some patching(use any hex editor and replace
07 95 with 0F 95, it will make all 9504-950f cards works (lol))
and adding 0x950f1002 devid to plist

Thanks to blackknight for creating gfxstring, making tests and screenshots.

GFX-strings stuff for 3870 x2

Util to work with gfxstring

After we did a lot of researching in this area, user matrix finaly wrote an app to convert gfxstring to plis and then back to gfxstring

it would help a lot of peoples

post

About gfx strings

GFX string is a hex dump of some OSDictionary

I’m not familar with CoreFoundition coding, so if somebody can write an app (console

app e.g.)

read such  string, convert it to array and fill OSDictionary var with it, then print all

values from it.

– U r welcome.

« Previous PageNext Page »