Jump to content

[SOLVED] Help get a Haswell out of safe mode

Haswell i7-4770 i7 Mavericks safe mode PCI configuration begin freeze

Best Answer lahdekorpi, 27 June 2013 - 06:03 AM

Thanks guys for the warm welcome!

 

I already tried to copy the boot loader with dd but didn't realize there is a bug in dd. So I might try that again.

Right now I got it working by installing the boot loader to another drive on my machine and using that to boot.

 

As for the freezing issue, I have now removed:

GeForce*

NVDA*

AppleIntelHD*

 

And after rebooting with "GraphicsEnabler=no -v -f" it actually booted up! Thank You so much c0ercion!

Am I safe now? Or will it magically start freezing again? :)

 

Also, I installed VoodooHDA and now sound works. Even the front audio (Headphones (Green Front)) works, so I can use the fancy plugs in my Define R4!

 

Are there any 10.9 drivers for the RTL8111F nic that comes on the board?

 

EDIT:

 

After a reboot, it no longer boots to anything other than the safe mode... So what now?

 

EDIT2:

 

Updated to DP2, now booting with GraphicsEnabler=no -v -f npci=0x3000 it stops at:

DSMOS has arrived

...

AMDVerdeGraphicsAccelerator: ** Device in slot: SLOT--1 **

**** [IOBLuetoothHCIController][SearchForTransportEventTimeOutHandler] -- Missing Bluetooth Controller Transport!

 

And a lot of SMC errors.

But it doesn't freeze, it just stops booting. I can still type stuff to the screen.

 

EDIT3:

With npci=0x2000 it stops at:

vtd[0] fault: device 3:0:0 reason 0x5 W:0xa000

**** [IOBLuetoothHCIController][SearchForTransportEventTimeOutHandler] -- Missing Bluetooth Controller Transport!

 

EDIT4:

Ah, didin't realize DP2 update reinstalled the kexts I previously removed. However, removing them again didn't have any effect.

 

EDIT5:

Disabled VT-d in BIOS and it boots up just fine with GraphicsEnabler=no

Is there any way to get VT-d working? Does Vmware Fusion even use VT-d?

Also, the machine keeps freezing up. Everything stops, just a spinning beach ball and the cursor moves.

Going to sleep and waking up again gets a bit further and then it freezes again with a black screen with cursor.

Might have something to do with the 3 monitors connected (2 working)...

Go to the full post


  • Please log in to reply
9 replies to this topic

#1
lahdekorpi

lahdekorpi

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

Hello and insanely great day to all, says this new member from Finland!

 

I'm building my first ever Hackintosh and wanted to make it extra hard and/or near impossible.

 

Relevant hardware:

  • Gigabyte Z87-HD3
  • i7-4770
  • HD 7770 (Intel graphics have been disabled in bios)

I successfully installed Maverics (DP1) with the help of myHack.

The only way I figured out to boot to the installer was with GraphicsEnabler=no -v -x

It installed just fine, but couldn't install the bootloader into my Samsung SSD, so now I'm booting up with the bootloader on the USB drive.

 

Now, leaving the bootloader problem aside for a moment, I can't boot the installed OS in anything other than safe mode with -x GraphicsEnabler=no

I've tried with and without graphics enabler, with npci=0x2000, npci=0x3000 and some others I can't remember anymore.

Without safe mode it just freezes at [ PCI configuration begin ].

Without GraphicsEnabler=no the monitor just shuts down as there is no signal from the graphics card.

 

Would anyone be kind enough to help me with the basics. Can this even be done? What do I need to do?

Also, having ethernet and sound would be a nice to have...

 

(I don't have bluetooth installed yet. Just to make things more complicated I whipped out an old MacBook bluetooth chip and soldered a couple of diodes to drop 5V from USB to around the 3.3V required. But I haven't yet soldered an antenna...)

 

 

UPDATE:

Tried installing Chameleon 2.2 svn-r2248 to my SSD but it boots up like this:

657fc1ed5fed09a4d6d876cee1efa38d.jpg

 

 

SOLVED

 

So here's a quick list of what I did to make things works, in case someone happens to have the same hardware:

1. Get yourself a big USB stick and install myHack with Mavericks DP1

2. Do the basic stuff in BIOS, like disable VT-d, enable AHCI, disable onboard graphics, etc.

3. Boot from the USB stick with these parameters: GraphicsEnabler=no -v -x

4. Install OS X

5. Boot the installed OS with the same parameters (if bootloader was successfully installed, from hard drive, if not then using the bootloader on the USB stick)

6. After booting, install drivers for the RTL8111F. These worked for me: http://www.osx86.net...do=file&id=3048

7. Reboot and use the same parameters

8. Install updates (DP2)

9. Install VoodooHDA. These worked for me: http://www.osx86.net..._installer.html

10. Remove GeForce*, NVDA*, AppleIntelHD* kexts (not sure if needed, but hey, why not if you don't need them?)

11. Install your favourite bootloader and set it with GraphicsEnabler=no

12. ???

13. PROFIT



#2
3.14r2

3.14r2

    The Round One

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,333 posts
  • Location:Molvania

[ PCI configuration begin ]

is usually cured by npci=0x2000 boot flag (at least it was so with SL). Try booting with -v GraphicsEnabler=no npci=0x2000 flags.



#3
lahdekorpi

lahdekorpi

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

[ PCI configuration begin ]

is usually cured by npci=0x2000 boot flag (at least it was so with SL). Try booting with -v GraphicsEnabler=no npci=0x2000 flags.

As I said in the original post, I've already tried those (and with npci=0x3000, even though that should be for DP2?).
It hangs on the same place:

 

pci (build 01:39:02 Jun 1 2013), flags 0x61008, pfm64 (39 cpu) 0x7f80000000, 0x80000000

[ PCI configuration begin ]



#4
c0ercion

c0ercion

    InsanelyMac Protégé

  • Members
  • Pip
  • 23 posts

I have on occasion had to remove other graphics drivers to get it to boot. After installing DP2 I booted for the first time with 0x3000 just fine (had to use 0x2000 for DP1), but a few boots later it would freeze and removing all the AppleIntelHD kexts and AMD kexts (I have an nvidia) seemed to work. I'm going to try my hand at injecting my own DSDT when I get home today which I imagine would also solve the problem.

 

I also had problems at one point in the past getting the bootloader to install properly, you may need to manually install it with `dd if=boot1h of=/dev/PathToOSPartition bs=4096` a few times. I had to run the command three times before it actually wrote everything successfully (bug in some versions of dd that don't like 4k blocks). There's a way to verify it worked without rebooting but I don't recall the command, basically just reverse the direction and do a diff on boot1h and your output file but you have it limit it to one block or it will attempt to copy your entire partition (check out dd man page if you really want to go this route. I would just run the command a few times then reboot to test).

 

To find the path to your os partition open disk utility and do a command+i on it. Should say something like disk0s1, then the path to use with dd is /dev/rdisk0s1 (note the r in rdisk. disk0s1 is buffered, rdisk0s1 is not. May not be a big deal in this case though.)

 

edit: Forgot to say you have to unmount the disk first. This probably explains it better.

http://www.macbreake...oot0-error.html



#5
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,631 posts
  • Gender:Male
  • Location:Canary Islands

As I said in the original post, I've already tried those (and with npci=0x3000, even though that should be for DP2?).
It hangs on the same place:

 

pci (build 01:39:02 Jun 1 2013), flags 0x61008, pfm64 (39 cpu) 0x7f80000000, 0x80000000

[ PCI configuration begin ]

Hi...

can you try this test version of Chameleon?

 Chameleon_2252_TEST.zip

Hopefully fix the fancy character...

 

ErmaC 



#6
Benoit934

Benoit934

    InsanelyMac Protégé

  • Members
  • Pip
  • 4 posts

With my GTX660 the graphics freeze after [ PCI configuration begin ] but if i wait the graphics back at the same time than the installation screen, so check if you really freeze with your keyboard leds or in the system.log 



#7
lahdekorpi

lahdekorpi

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

Best Answer

Thanks guys for the warm welcome!

 

I already tried to copy the boot loader with dd but didn't realize there is a bug in dd. So I might try that again.

Right now I got it working by installing the boot loader to another drive on my machine and using that to boot.

 

As for the freezing issue, I have now removed:

GeForce*

NVDA*

AppleIntelHD*

 

And after rebooting with "GraphicsEnabler=no -v -f" it actually booted up! Thank You so much c0ercion!

Am I safe now? Or will it magically start freezing again? :)

 

Also, I installed VoodooHDA and now sound works. Even the front audio (Headphones (Green Front)) works, so I can use the fancy plugs in my Define R4!

 

Are there any 10.9 drivers for the RTL8111F nic that comes on the board?

 

EDIT:

 

After a reboot, it no longer boots to anything other than the safe mode... So what now?

 

EDIT2:

 

Updated to DP2, now booting with GraphicsEnabler=no -v -f npci=0x3000 it stops at:

DSMOS has arrived

...

AMDVerdeGraphicsAccelerator: ** Device in slot: SLOT--1 **

**** [IOBLuetoothHCIController][SearchForTransportEventTimeOutHandler] -- Missing Bluetooth Controller Transport!

 

And a lot of SMC errors.

But it doesn't freeze, it just stops booting. I can still type stuff to the screen.

 

EDIT3:

With npci=0x2000 it stops at:

vtd[0] fault: device 3:0:0 reason 0x5 W:0xa000

**** [IOBLuetoothHCIController][SearchForTransportEventTimeOutHandler] -- Missing Bluetooth Controller Transport!

 

EDIT4:

Ah, didin't realize DP2 update reinstalled the kexts I previously removed. However, removing them again didn't have any effect.

 

EDIT5:

Disabled VT-d in BIOS and it boots up just fine with GraphicsEnabler=no

Is there any way to get VT-d working? Does Vmware Fusion even use VT-d?

Also, the machine keeps freezing up. Everything stops, just a spinning beach ball and the cursor moves.

Going to sleep and waking up again gets a bit further and then it freezes again with a black screen with cursor.

Might have something to do with the 3 monitors connected (2 working)...



#8
ameris_cyning

ameris_cyning

    I don't know what to write here

  • Donators
  • 956 posts
  • Gender:Male
  • Location:My apartment
  • Interests:OSx86, female anatomy, electronic music, Clover EFI

Don't worry about VT-d

 

Its not important. VT-x is what is most important for virtualization.

 

Fusion will work without VT-d.

 

As for your other issue, I see you have three monitors. Does it do the same if you have only one hooked up?



#9
lahdekorpi

lahdekorpi

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

Don't worry about VT-d

 

Its not important. VT-x is what is most important for virtualization.

 

Fusion will work without VT-d.

 

As for your other issue, I see you have three monitors. Does it do the same if you have only one hooked up?

Thanks!

 

I only get issues when trying to change any display related settings. All monitors go either black with just the cursor showing (and things like eject notification on top of that) or the computer totally freezes.

After that when I reboot, only the main monitor has signal, that is until I turn off monitors (shift+ctrl+eject) and then press anything. That is when two monitors come up and they work just fine.

Haven't had any luck with the third monitor either with DVI nor VGA.

If only one port is used, everything seems to work fine even when changing settings.

 

The graphics card (Asus HD 7770) has a DisplayPort, HDMI and two DVI ports (one that can be used as analog).

If I have all the monitors connected at the same time in DisplayPort, HDMI and DVI-D, depending on the order the displays turn on, I only get signal to either DP+HDMI or DVI+HDMI, never all of them.

I've also tried connecting the third monitor to VGA with the adapter and it's the same.

This also happens before OS X even boots up, so BIOS messages are shown on only two of the monitors. According to the manual, the card should be able to work with three monitors at least in Windows.

 

Having the third monitor is not really that important, since a 27" (2560x1440) and a 21" (1280x1024) should be enough for what I do, it's just a thing of "why not?"...

 

EDIT:

Oh, forgot to mention, I actually see the third monitor on the display settings, all three are there. Even the cursor goes to that screen, it's just that the display doesn't have signal.

 

EDIT2:

Did some testing and it seems that with two monitors the display configuration pane seems to be working just fine.
So does everything else. The problem comes back when the third monitor is inserted.

It's correctly detected and added to the list of monitors, even the cursor is able to go to that screen but it's black.

And the other monitors stop updating, for other than the cursor. Until I turn them all off with ctrl+shift+eject, and then wake up again.

They update for a couple of seconds and then freeze again.
 



#10
lahdekorpi

lahdekorpi

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

Two monitors work, one is just black (has signal but no picture):

c8b3441c5a556bd7e7d9e81e21d84d33.png

 

As for the "[ PCI configuration begin ]": Using dart=0 at boot and VT-d enabled in BIOS seem to work just fine.

 

 

Hi...

can you try this test version of Chameleon?

 Chameleon_2252_TEST.zip

Hopefully fix the fancy character...

 

ErmaC 

Tried installing that with Chameleon Wizard but I'm still getting the same garbage characters.

Thought that maybe it didn't work and copied it with dd to the partition. Still the same.

 

The weird thing is, my SSD is disk0s2 even though there is only one partition on the drive.

I have no idea what disk0s1 is. It's not shown in Disk Utility.

 

I'm wondering why my CPU says 3,89 GHz... It's a stock i7-4770.

Also, I remember reading somewhere that HD 7770 would be detected and listed as such in Mavericks, instead of 7xxx. Did I miss something?

26f8ffe637b1fe6fdda6862844c8f82d.png







Also tagged with one or more of these keywords: Haswell, i7-4770, i7, Mavericks, safe mode, PCI configuration begin, freeze


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy