Jump to content

HP INSYDE Bios solución lapic KP (no cpus=1)


  • Please log in to reply
24 replies to this topic

#1
appleworm

appleworm

    InsanelyMac Protégé

  • Members
  • PipPip
  • 56 posts
  • Location:Manresa
Buenas,

Después de varios días intentando instalar Snow Leopard en el portátil con vanilla leí en varios foros que se trataba de un problema de la bios. Después de probar chameleon de meklort sin exito he conseguido compilar el kernel 10.6.8 y el 11.1 (xnu-1504.15.3 y xnu-1699.22.81) para solucionar el problema.

1 - Instalar XCode. (Para compilar 11.x y para evitar el bug Install Xcode.app 99% de la instalación usar al menos la versión 4.1.1)
2 - Seguir el manual de Roisoft hasta la parte donde toca compilar (sin compilar claro).
3 - Hacer las modificaciones explicadas mas abajo.
4 - Compilar.
5 - Probar.

Manual para compilar el kernel xnu por Roisoft: (he modificado la versión 10.6 a 10.8 y a 11.1 por si alguien hace copy&paste)
Cómo compilar kernel xnu Mac OS X

Para compilar necesitaremos previamente compilar una serie de herramientas que no se instalan via xcode, para ello las descargaremos de la pagina opensource de apple y las compilaremos:

1. abrimos un terminal y nos logueamos como root, seguidamente tecleamos :

curl -s -O http://www.opensource.apple.com/tarballs/cxxfilt/cxxfilt-9.tar.gz
curl -s -O http://www.opensource.apple.com/tarballs/dtrace/dtrace-90.tar.gz
curl -s -O http://www.opensource.apple.com/tarballs/kext_tools/kext_tools-180.2.1.tar.gz
curl -s -O http://www.opensource.apple.com/tarballs/bootstrap_cmds/bootstrap_cmds-79.tar.gz
curl -s -O http://www.opensource.apple.com/tarballs/xnu/xnu-1504.15.3.tar.gz (10.8)
curl -s -O http://www.opensource.apple.com/tarballs/xnu/xnu-1699.22.81 (11.1)

2. descomprimimos los archivos que hemos descargado

tar zxf cxxfilt-9.tar.gz
tar zxf dtrace-90.tar.gz
tar zxf kext_tools-180.2.1.tar.gz
tar zxf bootstrap_cmds-79.tar.gz
tar zxf xnu-1504.15.3.tar.gz (10.8)
tar zxf xnu-1699.22.81.tar.gz (11.1)

3. empezamos a compilar las herramientas 

3.1. compilamos cxxfilt 

cd cxxfilt-9
mkdir -p obj sym dst
make install RC_ARCHS="i386 x86_64" RC_CFLAGS="-arch i386 -arch x86_64 -pipe" RC_OS=macos RC_RELEASE=SnowLeopard SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst

//esperamos a que termine

ditto $PWD/dst/usr/local /usr/local
cd ..

3.2 compilamos dtrace

cd dtrace-90
mkdir -p obj sym dst
xcodebuild install -target ctfconvert -target ctfdump -target ctfmerge ARCHS="i386 x86_64" SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst

// esperamos a que termine

ditto $PWD/dst/usr/local /usr/local
cd ..

3.3 Compilamos kext_tools

cd kext_tools-180.2.1
mkdir -p obj sym dst
xcodebuild install -target kextsymboltool -target setsegname ARCHS="i386 x86_64" SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst

// esperamos a que termine

ditto $PWD/dst/usr/local /usr/local
cd ..

3.4 Compilamos bootstrap_cmds

cd bootstrap_cmds-79

mkdir -p obj sym dst

make install RC_ARCHS="i386" RC_CFLAGS="-arch i386 -pipe" RC_OS=macos RC_RELEASE=SnowLeopard SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst

// esperamos a que termine

ditto $PWD/dst/usr/local /usr/local
cd ..

3.5 Compilamos Xnu

cd xnu-1504.15.3 (10.8)
cd xnu-1699.22.81 (11.1)

//si queremos los distintos mach_kernel por separado (i386 y x86_64)

make ARCH_CONFIGS="I386 X86_64" KERNEL_CONFIGS="RELEASE"

//si queremos el mach_kernel con todas las arquitecturas incorporadas

make ARCH_CONFIGS="I386 X86_64" KERNEL_CONFIGS="RELEASE" install
Fuente: aquí

Modificaciones 10.8:

Añadir en la línea 1 de ~/xnu-1504.15.3/makedefs/MakeInc.def
export BUILD_STABS = 1
De lo contrario no compila...
Fuente: aquí

Definir CPUFAMILY_INTEL_SANDYBRIDGE en ~/xnu-1504.15.3/osfmk/mach/machine.h
#define CPUFAMILY_INTEL_SANDYBRIDGE	0x5490b78c
De lo contrario no compila... El código para Sandy Bridge lo encontré aquí
No viene en el código fuente de momento.

Y la solución al problema de la Bios:

Añadir LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI); en ~/xnu-1504.15.3/osfmk/i386/lapic.c
lapic_configure(void) {
...	
   LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI);
...	
}
Fuente: aquí

Modificaciones 11.1.0:

Añadir en la línea 1 de ~/xnu-1699.22.81/makedefs/MakeInc.def
export BUILD_STABS = 1
De lo contrario no compila...
Fuente: aquí

Y la solución al problema de la Bios:

Añadir LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI); en ~/xnu-1699.22.81/osfmk/i386/lapic_native.c
lapic_configure(void) {
...	
   LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI);
...	
}
Fuente: aquí

Una vez compilado el kernel 10.8 y 11.1.0 funciona perfecto en mi HP DV6-6090es. Sin necesidad de cpus=1.

Captura:
Posted Image
Posted Image
Kernel 10.8 Appleworm
Kernel 11.1.0 Appleworm

Saludos

#2
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,408 posts
  • Gender:Male
  • Location:Tru, Venezuela
Gracias, excelente información. Por cierto, según tengo entendido, lo mismo se logra a través de edición de la DSDT (ver DSDTSE cpus=1 fix) sin tocar el kernel vanilla, o me equivoco? Saludos.

#3
_Enki_

_Enki_

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 140 posts
  • Gender:Male
  • Location:San Juan,PR
Yo tengo el mismo BIOS F.0F y nunca eh tenido problema. pero gracia por el tip a ver como va...

#4
appleworm

appleworm

    InsanelyMac Protégé

  • Members
  • PipPip
  • 56 posts
  • Location:Manresa

Gracias, excelente información. Por cierto, según tengo entendido, lo mismo se logra a través de edición de la DSDT (ver DSDTSE cpus=1 fix) sin tocar el kernel vanilla, o me equivoco? Saludos.


Pues no tengo ni idea. Yo con DSDT no lo he conseguido y diría que no se puede con estos portátiles (los DVX de HP con estas bios).




Yo tengo el mismo BIOS F.0F y nunca eh tenido problema. pero gracia por el tip a ver como va...


¿Y seguro que usas vanilla? ¿es un portátil HP?

#5
_Enki_

_Enki_

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 140 posts
  • Gender:Male
  • Location:San Juan,PR

Pues no tengo ni idea. Yo con DSDT no lo he conseguido y diría que no se puede con estos portátiles (los DVX de HP con estas bios).






¿Y seguro que usas vanilla? ¿es un portátil HP?


Si es HP Pavilion dv4-2165dx

#6
ninditsu

ninditsu

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts
  • Gender:Male
  • Location:USA
¿En inglés por favor?

#7
appleworm

appleworm

    InsanelyMac Protégé

  • Members
  • PipPip
  • 56 posts
  • Location:Manresa

¿En inglés por favor?

Hi,

After several days trying to install Snow Leopard on my new laptop with vanilla i read in various forums that this was a problem with the bios. After trying unsuccessfully chameleon boot of meklort I managed to compile the kernel 10.6.8 and 11.1 (xnu-1504.15.3 and xnu-1699.22.81) for solve the problem.

1 - Install XCode. (To compile 11.x or to avoid the bug of Install Xcode.app 99% of the installation, use at least 4.1.1 version)
2 - Follow the manual Roisoft to the part where compiled (without compiling of course).
3 - Make the changes explained below.
4 - Compile.
5 - Test.

Manual for compiling the kernel xnu by Roisoft: (I modified the version 10.6 to 10.8 and 11.1 if someone does copy & paste)
How to compile Mac OS X gnu kernel

To compile previously need to compile a set of tools that are not installed via xcode to this downloads page of Apple's open source and compile:

1. open a terminal and login as root us, then type:

curl -s -O http://www.opensource.apple.com/tarballs/cxxfilt/cxxfilt-9.tar.gz
curl -s -O http://www.opensource.apple.com/tarballs/dtrace/dtrace-90.tar.gz
curl -s -O http://www.opensource.apple.com/tarballs/kext_tools/kext_tools-180.2.1.tar.gz
curl -s -O http://www.opensource.apple.com/tarballs/bootstrap_cmds/bootstrap_cmds-79.tar.gz
curl -s -O http://www.opensource.apple.com/tarballs/xnu/xnu-1504.15.3.tar.gz (10.8)
curl -s -O http://www.opensource.apple.com/tarballs/xnu/xnu-1699.22.81.tar.gz (11.1) 

2. Unzip the files we downloaded

tar zxf cxxfilt-9.tar.gz
tar zxf dtrace-90.tar.gz
tar zxf kext_tools-180.2.1.tar.gz
tar zxf bootstrap_cmds-79.tar.gz
tar zxf xnu-1504.15.3.tar.gz (10.8)
tar zxf xnu-1699.22.81.tar.gz (11.1) 

3. Started to compile the tools

3.1. Compile cxxfilt 

cd cxxfilt-9
mkdir -p obj sym dst
make install RC_ARCHS="i386 x86_64" RC_CFLAGS="-arch i386 -arch x86_64 -pipe" RC_OS=macos RC_RELEASE=SnowLeopard SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst

// Hope to finish

ditto $PWD/dst/usr/local /usr/local
cd ..

3.2 Compile dtrace

cd dtrace-90
mkdir -p obj sym dst
xcodebuild install -target ctfconvert -target ctfdump -target ctfmerge ARCHS="i386 x86_64" SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst

// Hope to finish

ditto $PWD/dst/usr/local /usr/local
cd ..

3.3 Compile kext_tools

cd kext_tools-180.2.1
mkdir -p obj sym dst
xcodebuild install -target kextsymboltool -target setsegname ARCHS="i386 x86_64" SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst

// Hope to finish

ditto $PWD/dst/usr/local /usr/local
cd ..

3.4 Compile bootstrap_cmds

cd bootstrap_cmds-79

mkdir -p obj sym dst

make install RC_ARCHS="i386" RC_CFLAGS="-arch i386 -pipe" RC_OS=macos RC_RELEASE=SnowLeopard SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst

// Hope to finish

ditto $PWD/dst/usr/local /usr/local
cd ..

3.5 Compile Xnu

cd xnu-1504.15.3 (10.8)
cd xnu-1699.22.81 (11.1)

//if we want to separate the different mach_kernel (i386 & x86_64)

make ARCH_CONFIGS="I386 X86_64" KERNEL_CONFIGS="RELEASE"

//if we want mach_kernel built on all architectures

make ARCH_CONFIGS="I386 X86_64" KERNEL_CONFIGS="RELEASE" install
Source: here

Changes - 10.8:

Add line 1 in ~/xnu-1504.15.3/makedefs/MakeInc.def
export BUILD_STABS = 1
Otherwise it doesn't compile...
Source: here

Define CPUFAMILY_INTEL_SANDYBRIDGE in ~/xnu-1504.15.3/osfmk/mach/machine.h
#define CPUFAMILY_INTEL_SANDYBRIDGE	0x5490b78c
Otherwise it does not compile... The code I found for Sandy Bridge here
He doesn't come in the source code for now.

And the solution to the problem of Bios:

Add LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI); in ~/xnu-1504.15.3/osfmk/i386/lapic.c
lapic_configure(void) {
...	
   LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI);
...	
}
Source: here

Changes - 11.1.0:

Add line 1 in ~/xnu-1699.22.81/makedefs/MakeInc.def
export BUILD_STABS = 1
Otherwise it doesn't compile...
Source: here

And the solution to the problem of Bios:

Add LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI); in ~/xnu-1699.22.81/osfmk/i386/lapic_native.c
lapic_configure(void) {
...	
   LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI);
...	
}
Source: here

After compiling the kernel 10.8 and 11.1.0 works perfect on my HP DV6-6090es. Without cpus = 1.

Capture:
Posted Image
Posted Image
Kernel 10.8 Appleworm
Kernel 11.1.0 Appleworm

Regards

#8
ninditsu

ninditsu

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts
  • Gender:Male
  • Location:USA
how did you change the kernel in chimera to the one you are using?
if you used USB, how did you create the chimera bootloader partition?
i'm having trouble because chimera keeps using the built-in vanilla kernel

#9
appleworm

appleworm

    InsanelyMac Protégé

  • Members
  • PipPip
  • 56 posts
  • Location:Manresa

how did you change the kernel in chimera to the one you are using?
if you used USB, how did you create the chimera bootloader partition?
i'm having trouble because chimera keeps using the built-in vanilla kernel

The modification is minimal. The kernel is the same but is 10.8 kernel (not 10.3 or 10.4). You need a 10.6.8 Mac OS X Install USB + chimera + this kernel with correct smbios.plist (MacBookPro8,1), correct com.apple.Boot.plist and correct extensions.

I still haven't audio and I can't make switching to the 6770m (although it's recognized) but are lesser evils.
Atheros AR5B93 on the road...

Posted Image

I would make an iso (for future facilities) and with everything needed to install on my laptop but first want to have audio working. I will post it.

Edit: Atheros AR5B93 is detected as airport extreme natively on 10.6.8 and 10.7.2 but need to use an unlocked whitelist BIOS. Thanks to Camiloml.

#10
ninditsu

ninditsu

    InsanelyMac Protégé

  • Members
  • PipPip
  • 73 posts
  • Gender:Male
  • Location:USA
Could you please make the ISO with your compiled kernel with chimera for me? That would be greatly appreciated. I just want to be caught up and maybe I can help enable internal sound from the speakers.

#11
skystar3

skystar3

    InsanelyMac Protégé

  • Members
  • PipPip
  • 54 posts

The modification is minimal. The kernel is the same but is 10.8 kernel (not 10.3 or 10.4). You need a 10.6.8 Mac OS X Install USB + chimera + this kernel with correct smbios.plist (MacBookPro8,1), correct com.apple.Boot.plist and correct extensions.

I still haven't audio and I can't make switching to the 6770m (although it's recognized) but are lesser evils.
Atheros AR5B93 on the road...

Posted Image

I would make an iso (for future facilities) and with everything needed to install on my laptop but first want to have audio working. I will post it.


Hi

Thank you for your great efforts

I have the exact same laptop as yours, We (HP DV6-6xxx, DV7-6xxx) owners will be highly appreciate your help if you make a detailed installation guide of 10.6.8 or Lion GM for this laptop, and if possible you start the thread in the Notebooks section in which will be seen by all English speakers not just Spanish.

Thanks again

#12
skystar3

skystar3

    InsanelyMac Protégé

  • Members
  • PipPip
  • 54 posts
appleworm, Does your compiled 10.8 kernel work with Mac OS X 10.7 Lion (Final Retail Build: 11A511 "Golden Master")?

#13
exoteg

exoteg

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Location:Ukraine, Cherkassy

The modification is minimal. The kernel is the same but is 10.8 kernel (not 10.3 or 10.4). You need a 10.6.8 Mac OS X Install USB + chimera + this kernel with correct smbios.plist (MacBookPro8,1), correct com.apple.Boot.plist and correct extensions.

I still haven't audio and I can't make switching to the 6770m (although it's recognized) but are lesser evils.
Atheros AR5B93 on the road...

Posted Image

I would make an iso (for future facilities) and with everything needed to install on my laptop but first want to have audio working. I will post it.

Hello.
How were you able start the Intel HD3000? I always get an error when loading "Transcript Offline - Buffer Pool Allocate [181 000] failed.", And then a black screen.

#14
pgsubuntu

pgsubuntu

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 228 posts
  • Gender:Male
  • Location:Argentina
Mi hermano se compro una HP Pavilion DV5-2043cl. Por lo pronto, solo puse el DVD de iAtkos S3 V2 pero no carga el instalador (se reinicia).. Más adelante seguro tratare de ponerle mac, y esta info me será de utilidad, saludos.

#15
skystar3

skystar3

    InsanelyMac Protégé

  • Members
  • PipPip
  • 54 posts
I tried to install Lion on my DV6-6090ee and i stuck at this message, please check my post here

#16
appleworm

appleworm

    InsanelyMac Protégé

  • Members
  • PipPip
  • 56 posts
  • Location:Manresa

Yo tengo el mismo BIOS F.0F y nunca eh tenido problema. pero gracia por el tip a ver como va...

La BIOS de estos portátiles es: F.06 (sp52412.exe), F.14 (sp53216.exe) o F.1A (sp54024.exe).

Nada de F.0F. Hablamos de portátiles y BIOS distintas. Esto es un DV6 de 15" con i7 2630QM (Sandy Bridge HM65). Tu hablas de un DV4 de 13" con i3 330M (Arrandale HM55). Si en el tuyo no es necesario todo esto pues mucho mejor. Me alegro por ti. :)

#17
appleworm

appleworm

    InsanelyMac Protégé

  • Members
  • PipPip
  • 56 posts
  • Location:Manresa

appleworm, Does your compiled 10.8 kernel work with Mac OS X 10.7 Lion (Final Retail Build: 11A511 "Golden Master")?

I have already version 11.1 here

#18
FelS

FelS

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts

I have already version 11.1 here


This Kernel show 1 or 4 cpus in system profiler? I tried it but i have only 1 cpu shown

#19
appleworm

appleworm

    InsanelyMac Protégé

  • Members
  • PipPip
  • 56 posts
  • Location:Manresa

This Kernel show 1 or 4 cpus in system profiler? I tried it but i have only 1 cpu shown


Have u cpus=1 in com.apple.Boot.plist?


If it works you will notice a great increase of performance and sides all the threads with double click on Activity Monitor.

#20
appleworm

appleworm

    InsanelyMac Protégé

  • Members
  • PipPip
  • 56 posts
  • Location:Manresa
Hi,

After several days trying to install Snow Leopard on my new laptop with vanilla i read in various forums that this was a problem with the bios. After trying unsuccessfully chameleon boot of meklort I managed to compile the kernel 10.6.8 and 11.1 (xnu-1504.15.3 and xnu-1699.22.81) for solve the problem.

1 - Install XCode. (To compile 11.x or to avoid the bug of Install Xcode.app 99% of the installation, use at least 4.1.1 version)
2 - Follow the manual Roisoft to the part where compiled (without compiling of course).
3 - Make the changes explained below.
4 - Compile.
5 - Test.

Manual for compiling the kernel xnu by Roisoft: (I modified the version 10.6 to 10.8 and 11.1 if someone does copy & paste)
How to compile Mac OS X gnu kernel

To compile previously need to compile a set of tools that are not installed via xcode to this downloads page of Apple's open source and compile:

1. open a terminal and login as root us, then type:

curl -s -O http://www.opensource.apple.com/tarballs/cxxfilt/cxxfilt-9.tar.gz
curl -s -O http://www.opensource.apple.com/tarballs/dtrace/dtrace-90.tar.gz
curl -s -O http://www.opensource.apple.com/tarballs/kext_tools/kext_tools-180.2.1.tar.gz
curl -s -O http://www.opensource.apple.com/tarballs/bootstrap_cmds/bootstrap_cmds-79.tar.gz
curl -s -O http://www.opensource.apple.com/tarballs/xnu/xnu-1504.15.3.tar.gz (10.8)
curl -s -O http://www.opensource.apple.com/tarballs/xnu/xnu-1699.22.81.tar.gz (11.1) 

2. Unzip the files we downloaded

tar zxf cxxfilt-9.tar.gz
tar zxf dtrace-90.tar.gz
tar zxf kext_tools-180.2.1.tar.gz
tar zxf bootstrap_cmds-79.tar.gz
tar zxf xnu-1504.15.3.tar.gz (10.8)
tar zxf xnu-1699.22.81.tar.gz (11.1) 

3. Started to compile the tools

3.1. Compile cxxfilt 

cd cxxfilt-9
mkdir -p obj sym dst
make install RC_ARCHS="i386 x86_64" RC_CFLAGS="-arch i386 -arch x86_64 -pipe" RC_OS=macos RC_RELEASE=SnowLeopard SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst

// Hope to finish

ditto $PWD/dst/usr/local /usr/local
cd ..

3.2 Compile dtrace

cd dtrace-90
mkdir -p obj sym dst
xcodebuild install -target ctfconvert -target ctfdump -target ctfmerge ARCHS="i386 x86_64" SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst

// Hope to finish

ditto $PWD/dst/usr/local /usr/local
cd ..

3.3 Compile kext_tools

cd kext_tools-180.2.1
mkdir -p obj sym dst
xcodebuild install -target kextsymboltool -target setsegname ARCHS="i386 x86_64" SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst

// Hope to finish

ditto $PWD/dst/usr/local /usr/local
cd ..

3.4 Compile bootstrap_cmds

cd bootstrap_cmds-79

mkdir -p obj sym dst

make install RC_ARCHS="i386" RC_CFLAGS="-arch i386 -pipe" RC_OS=macos RC_RELEASE=SnowLeopard SRCROOT=$PWD OBJROOT=$PWD/obj SYMROOT=$PWD/sym DSTROOT=$PWD/dst

// Hope to finish

ditto $PWD/dst/usr/local /usr/local
cd ..

3.5 Compile Xnu

cd xnu-1504.15.3 (10.8)
cd xnu-1699.22.81 (11.1)

//if we want to separate the different mach_kernel (i386 & x86_64)

make ARCH_CONFIGS="I386 X86_64" KERNEL_CONFIGS="RELEASE"

//if we want mach_kernel built on all architectures

make ARCH_CONFIGS="I386 X86_64" KERNEL_CONFIGS="RELEASE" install
Source: here

Changes - 10.8:

Add line 1 in ~/xnu-1504.15.3/makedefs/MakeInc.def
export BUILD_STABS = 1
Otherwise it doesn't compile...
Source: here

Define CPUFAMILY_INTEL_SANDYBRIDGE in ~/xnu-1504.15.3/osfmk/mach/machine.h
#define CPUFAMILY_INTEL_SANDYBRIDGE	0x5490b78c
Otherwise it does not compile... The code I found for Sandy Bridge here
He doesn't come in the source code for now.

And the solution to the problem of Bios:

Add LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI); in ~/xnu-1504.15.3/osfmk/i386/lapic.c
lapic_configure(void) {
...	
   LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI);
...	
}
Source: here

Changes - 11.1.0:

Add line 1 in ~/xnu-1699.22.81/makedefs/MakeInc.def
export BUILD_STABS = 1
Otherwise it doesn't compile...
Source: here

And the solution to the problem of Bios:

Add LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI); in ~/xnu-1699.22.81/osfmk/i386/lapic_native.c
lapic_configure(void) {
...	
   LAPIC_WRITE(LVT_LINT1, LAPIC_LVT_DM_NMI);
...	
}
Source: here

After compiling the kernel 10.8 and 11.1.0 works perfect on my HP DV6-6090es. Without cpus = 1.

Capture:
Posted Image
Posted Image
Kernel 10.8 Appleworm
Kernel 11.1.0 Appleworm

Regards





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