- Joined
- Apr 6, 2010
- Messages
- 38
- Motherboard
- HP Pavilion dv6-2170ee
- CPU
- i7-720QM
- Graphics
- GT 230M
- Mac
- Classic Mac
- Mobile Phone
i am trying to boot with a DSDT file, to enable all the 4 cores because "cpus=1" only enable one core but the system gives me a kernel panic
i found that the problem is in Illegal If statement which is not in a method, nor at module level
so i commented out the code in the "dsdt Fixed.dsl" file attached (look for text "!!!") ,
Now there is no compiling errors but the system still gives me a kernel panic
kernel_error.jpg
this KP when i used "cpus=1"
kernel_panic_2.jpg
this KP when i used normal boot or "arch=i386" or normal boot
i attached the untouched DSDT and the fixed one also the kernel panic picture , so pleeeeeeease take a look
and thanx in advance
DSDT.zip
i found that the problem is in Illegal If statement which is not in a method, nor at module level
so i commented out the code in the "dsdt Fixed.dsl" file attached (look for text "!!!") ,
Now there is no compiling errors but the system still gives me a kernel panic
kernel_error.jpg
this KP when i used "cpus=1"
kernel_panic_2.jpg
this KP when i used normal boot or "arch=i386" or normal boot
Code:
/* !!! Illegal If statement, not in a method, nor at module level
If (IGDS)
{
*/
Device (PXSX)
{
Name (_ADR, Zero)
Method (_RMV, 0, NotSerialized)
{
Return (One)
}
Method (_STA, 0, NotSerialized)
{
If (PDSX)
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_PRW, 0, NotSerialized)
{
Return (Package (0x02)
{
0x09,
Zero
})
}
}
/*
}
Else
{
// !!! END Illegal If statement, not in a method, nor at module level
*/
Device (J380)
{
Name (_ADR, Zero)
OperationRegion (PCFG, PCI_Config, Zero, 0xFF)
Field (PCFG, ByteAcc, NoLock, Preserve)
{
DVID, 32,
Offset (0x2C),
SSID, 32,
Offset (0xAC),
D3EF, 8,
Offset (0xB2),
LAT0, 8,
Offset (0xCF),
ATRB, 8,
Offset (0xD3),
PMC0, 8
}
Method (_STA, 0, NotSerialized)
{
If (LNotEqual (DVID, 0xFFFFFFFF))
{
Return (0x0F)
}
Else
{
Return (Zero)
}
}
Method (_RMV, 0, NotSerialized)
{
If (LEqual (ED3E, One))
{
If (LEqual (OSYS, 0x07D9))
{
Return (Zero)
}
Else
{
Return (Zero)
}
}
Else
{
Return (Zero)
}
}
}
Device (J381)
{
Name (_ADR, One)
Method (_RMV, 0, NotSerialized)
{
If (LEqual (OSYS, 0x07D9))
{
Return (Zero)
}
Else
{
Return (One)
}
}
}
Device (J382)
{
Name (_ADR, 0x02)
Method (_RMV, 0, NotSerialized)
{
If (LEqual (OSYS, 0x07D9))
{
Return (Zero)
}
Else
{
Return (One)
}
}
}
Device (J383)
{
Name (_ADR, 0x03)
Method (_RMV, 0, NotSerialized)
{
If (LEqual (OSYS, 0x07D9))
{
Return (Zero)
}
Else
{
Return (One)
}
}
}
Device (J384)
{
Name (_ADR, 0x04)
Method (_RMV, 0, NotSerialized)
{
If (LEqual (OSYS, 0x07D9))
{
Return (Zero)
}
Else
{
Return (One)
}
}
}
/*
}
// !!! END Illegal If/Else statement, not in a method, nor at module level
*/
i attached the untouched DSDT and the fixed one also the kernel panic picture , so pleeeeeeease take a look
and thanx in advance
DSDT.zip