Jump to content

DSDT patch help needed (HPET)


  • Please log in to reply
15 replies to this topic

#1
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts
I'm not sure what is the problem with this motherboard and why I keep getting KP. I tried many options in Device (HPET) and still can't make it work. I was hoping that someone would help me solve this problem.

So I see
HPET: Probe HPET() failed

and later KP with:
No HPETs available...CPU(s) configured incorrectly ...
AppleIntelCPUPowerManagement

I'm on OS X 10.6.7 and using patched atom kernel from here:
http://tdev.me/2011/...10-6-7/?lang=en

Right now I'm using NullCPUPowerManagement.kext but would really like to get rid of it.

Specs:
Jetway NC98-525E-LF - BIOS Revision: A04
Intel® Atom D510/D525 1.66/1.80GHz
Intel NM10 (Formerly Tiger Point)
Next-Generation NVIDIA ION Graphics (ION2)
Realtek ALC662 6-CH HD Audio
Realtek RTL8111DL PCI-E Gigabit Ethernet
Intel NM10
2 SATA2 3Gb/s ports
JMicron® JMB362 SATA controller
2 Internal SATA2 3.0Gb/s port with RAID 0, 1, JBOD

Attached are my dumps.

Thanks
nozyczek

Attached Files



#2
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 17,015 posts
  • Gender:Male
  • Location:Rio de Janeiro
  • Interests:HacksLikeMacs
Attached File  dsdt.nozyczek.zip   6.72KB   81 downloads

#3
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts
MaLd0n,
Thanks for you super fast reply. Unfortunately still no go.
I see that DSDT gets loaded but then

HPET: Probe HPET() failed

and later KP with:
No HPETs available...CPU(s) configured incorrectly ...
AppleIntelCPUPowerManagement

#4
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 17,015 posts
  • Gender:Male
  • Location:Rio de Janeiro
  • Interests:HacksLikeMacs

MaLd0n,
Thanks for you super fast reply. Unfortunately still no go.
I see that DSDT gets loaded but then

HPET: Probe HPET() failed

and later KP with:
No HPETs available...CPU(s) configured incorrectly ...
AppleIntelCPUPowerManagement

in DSDT ok
HPET Enable in bios setup?
Atom works NativePM?

you can try ForceHPET=Yes

#5
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts

in DSDT ok
HPET Enable in bios setup?
Atom works NativePM?

you can try ForceHPET=Yes


ForceHPET=Yes - didn't work

Don't see anything related to HPET in BIOS.

I simply load defaults then:
Hyper Threading: Enabled
SATA: AHCI
ACPI: S3

I'm using this teateam kernel on another Atom 330 and it works great with customized DSDT. Sleep/wake etc all good. This motherboard has Atom D525 so i'm not sure about it.
Do you have any other suggestions?

#6
buoo

buoo

    The Prodigal Son

  • Moderators
  • 4,750 posts
  • Gender:Male
  • Location:Italy
Delete it :D

boot with -s

mount -uw /

cd /System/Library/Extensions

rm -rf AppleHPET.kext

reboot

#7
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,525 posts
  • Gender:Male
  • Location:Tampa, Florida

Delete it :D

boot with -s

mount -uw /

cd /System/Library/Extensions

rm -rf AppleHPET.kext

reboot

or move it
mv AppleHPET.kext /backup/AppleHPET.kext

#8
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts
Thanks for all of your suggestions

After mv AppleHPET.kext I no longer see:
HPET: Probe HPET() failed

but still the same KP:
No HPETs available...CPU(s) configured incorrectly ...
AppleIntelCPUPowerManagement

So what do you think is the problem with this motherboard? No HPET?
Other suggestions are welcome.
Thanks

#9
LatinMcG

LatinMcG

    Insanely digesting DSDT

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,525 posts
  • Gender:Male
  • Location:Tampa, Florida
boot with -v -f to force skiping caches.

#10
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts

boot with -v -f to force skiping caches.


Same.

Anything else I could try?

#11
buoo

buoo

    The Prodigal Son

  • Moderators
  • 4,750 posts
  • Gender:Male
  • Location:Italy
Use a cdboot equipped with NullCPUPowerManagement.kext to boot.

#12
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts

Use a cdboot equipped with NullCPUPowerManagement.kext to boot.


I don't have a problem to boot this motherboard ... my point is to eliminate NullCPUPowerManagement.kext so I could use native Power Management. I would like to understand what is the problem with this motherboard? I don't quite understand what is happening behind the scenes. No HPET ?? Can somebody explain this to me please?
Thanks

#13
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts
MaLd0n,
Thank you for the info and providing modded DSDT.aml so quickly.

LatinMcG, buoo,
Thank you for your suggestions.


I hate to do it but will have to stick to NullCPUPowerManagement.kext and SleepEnabler.kext
This is the first motherboard that didn't work for me nicely. Ohh well.
Thanks again
nozyczek

#14
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts
BTW,
There is a guide on my website at

http://sites.google.com/site/nozyczek/

on how to install Lion 10.7.0 on this motherboard for anyone who is interested.
Good luck!
nozyczek

#15
nozyczek

nozyczek

    InsanelyMac Protégé

  • Members
  • PipPip
  • 76 posts
MaLd0n,

I have a question for you. It is for learning purposes.

As you know it didn't work for this specific motherboard and I ended up using NullCPUPowerManagement.kext. I would still like to learn something new based on your DSDT modifications.

I was curious how did you come up with 4 IRQs in HPET? Was there something in ioreg dump? Is it something specific for this motherboard or in general there should be 4 IRQs for every board? Is it something new related to Lion?

Please explain when you find a minute.

Before

Device (HPET)
				{
					Name (_HID, EisaId ("PNP0103"))
					Name (CRS, ResourceTemplate ()
					{
						Memory32Fixed (ReadOnly,
							0xFED00000,		 // Address Base
							0x00000400,		 // Address Length
							_Y05)
					})
					OperationRegion (^LPCR, SystemMemory, 0xFED1F404, 0x04)
					Field (LPCR, AnyAcc, NoLock, Preserve)
					{
						HPTS,   2, 
							,   5, 
						HPTE,   1, 
								Offset (0x04)
					}
					Method (_STA, 0, NotSerialized)
					{
						If (LEqual (OSFL (), Zero))
						{
							If (HPTE)
							{
								Return (0x0F)
							}
						}
						Else
						{
							If (HPTE)
							{
								Return (0x0B)
							}
						}
						Return (Zero)
					}
					Method (_CRS, 0, NotSerialized)
					{
						CreateDWordField (CRS, \_SB.PCI0.SBRG.HPET._Y05._BAS, HPT)
						Multiply (HPTS, 0x1000, Local0)
						Add (Local0, 0xFED00000, HPT)
						Return (CRS)
					}
				}

After
Device (HPET)
				{
					Name (_HID, EisaId ("PNP0103"))
					Name (CRS, ResourceTemplate ()
					{
						IRQNoFlags ()
							{0}
						IRQNoFlags ()
							{8}
						IRQNoFlags ()
							{11}
						IRQNoFlags ()
							{15}
						Memory32Fixed (ReadOnly,
							0xFED00000,		 // Address Base
							0x00000400,		 // Address Length
							)
					})
					OperationRegion (^LPCR, SystemMemory, 0xFED1F404, 0x04)
					Field (LPCR, AnyAcc, NoLock, Preserve)
					{
						HPTS,   2, 
							,   5, 
						HPTE,   1, 
								Offset (0x04)
					}

					Method (_STA, 0, NotSerialized)
					{
						Return (0x0F)
					}

					Method (_CRS, 0, NotSerialized)
					{
						Return (CRS)
					}
				}

Thanks

nozyczek

#16
SweetW0R

SweetW0R

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts

This Device (HPET) fixed my Realtek ALC268 @ Intel 82801HBM ICH8M on Acer Extensa 4220 with 10.7.5

After

Device (HPET)
				{
					Name (_HID, EisaId ("PNP0103"))
					Name (CRS, ResourceTemplate ()
					{
						IRQNoFlags ()
							{0}
						IRQNoFlags ()
							{8}
						IRQNoFlags ()
							{11}
						IRQNoFlags ()
							{15}
						Memory32Fixed (ReadOnly,
							0xFED00000,		 // Address Base
							0x00000400,		 // Address Length
							)
					})
					OperationRegion (^LPCR, SystemMemory, 0xFED1F404, 0x04)
					Field (LPCR, AnyAcc, NoLock, Preserve)
					{
						HPTS,   2, 
							,   5, 
						HPTE,   1, 
								Offset (0x04)
					}

					Method (_STA, 0, NotSerialized)
					{
						Return (0x0F)
					}

					Method (_CRS, 0, NotSerialized)
					{
						Return (CRS)
					}
				}






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy