Skip to contentSkip to conversation

Aperture memory hole on x86_64

DISCUSSION Alan 2 participants 4 messages Apr 21, 2008

lore
Share & tools
lore

Alan

author
#0 lore raw

Something I noticed on my new AMD64 laptop with 4 gigs of RAM and a 256meg video card.

I am running 2.6.25 from Fedora 9 beta.

When i boot, I get the following messages:

Checking aperture...
Node 0: aperture @ 9816000000 size 32 MB
Aperture beyond 4GB. Ignoring.
No AGP bridge found
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the bios setup
Mapping aperture over 65536 KB of RAM @ c000000

Is this a bug or is the x86_64 supposed to map the video aperture into something that is 32bit addressable?

Also, there is no video settings at all on this particular laptop in bios.
(It is an HP dv6700 with almost everything maxed out.)

Just curious if this is correct behavior or not. (Since I am using the xorg nv driver, it may not make any difference.)

#1 lore raw
Quoted 15 lines · Alan

Something I noticed on my new AMD64 laptop with 4 gigs of RAM and a 256meg
video card.

I am running 2.6.25 from Fedora 9 beta.

When i boot, I get the following messages:

Checking aperture...
Node 0: aperture @ 9816000000 size 32 MB
Aperture beyond 4GB. Ignoring.
No AGP bridge found
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the bios setup
Mapping aperture over 65536 KB of RAM @ c000000

Quoted 8 lines

Is this a bug or is the x86_64 supposed to map the video aperture into something that is 32bit addressable?

Also, there is no video settings at all on this particular laptop in bios.
(It is an HP dv6700 with almost everything maxed out.)

Just curious if this is correct behavior or not. (Since I am using the xorg nv driver, it may not make any difference.)

you have 4G ram installed, and hw mem hole is enabled, so you memory top is above 4g.
and kernel need to use gart for iommu.

and you bios didn't setup your gart because you didn't have agp..

please check if you BIOS have setup for gart, and you can set size to 64M, and then you could get 64M ram back.

YH

author
#2 lore raw
Quoted 27 lines · Alan
Quoted 19 lines

Something I noticed on my new AMD64 laptop with 4 gigs of RAM and a 256meg
video card.

I am running 2.6.25 from Fedora 9 beta.

When i boot, I get the following messages:

Checking aperture...
Node 0: aperture @ 9816000000 size 32 MB
Aperture beyond 4GB. Ignoring.
No AGP bridge found
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the bios setup
Mapping aperture over 65536 KB of RAM @ c000000

Is this a bug or is the x86_64 supposed to map the video aperture into something that is 32bit addressable?

Quoted 6 lines

Also, there is no video settings at all on this particular laptop in
bios.
(It is an HP dv6700 with almost everything maxed out.)

Just curious if this is correct behavior or not. (Since I am using the xorg nv driver, it may not make any difference.)

Quoted 8 lines

you have 4G ram installed, and hw mem hole is enabled, so you memory top is above 4g.
and kernel need to use gart for iommu.

and you bios didn't setup your gart because you didn't have agp..

please check if you BIOS have setup for gart, and you can set size to 64M, and then you could get 64M ram back.

There is no memory or video related setting options in the bios at all. It is about as barebones as you can get.

If you want, I can send the output of dmesg or other diagnostics for this machine.

#3 lore raw
Quoted 34 lines · Alan
Quoted 34 lines · Alan
Quoted 19 lines

Something I noticed on my new AMD64 laptop with 4 gigs of RAM and a 256meg
video card.

I am running 2.6.25 from Fedora 9 beta.

When i boot, I get the following messages:

Checking aperture...
Node 0: aperture @ 9816000000 size 32 MB
Aperture beyond 4GB. Ignoring.
No AGP bridge found
Your BIOS doesn't leave a aperture memory hole
Please enable the IOMMU option in the bios setup
Mapping aperture over 65536 KB of RAM @ c000000

Is this a bug or is the x86_64 supposed to map the video aperture into something that is 32bit addressable?

Quoted 6 lines

Also, there is no video settings at all on this particular laptop in
bios.
(It is an HP dv6700 with almost everything maxed out.)

Just curious if this is correct behavior or not. (Since I am using the xorg nv driver, it may not make any difference.)

you have 4G ram installed, and hw mem hole is enabled, so you memory top is above 4g.
and kernel need to use gart for iommu.

and you bios didn't setup your gart because you didn't have agp..

Quoted 8 lines
Quoted 2 lines

please check if you BIOS have setup for gart, and you can set size to 64M, and then you could get 64M ram back.

There is no memory or video related setting options in the bios at all. It is about as barebones as you can get.

If you want, I can send the output of dmesg or other diagnostics for this machine.

that is ok.

because get that from RAM is safe.

or some day we can treat GART in amd NB as unassigned resource, and assign some mmio resource to it...
so you can get 64M back. --- but that not 100% safe.

YH