2002-07-25 06:59:08

by Shawn Starr

[permalink] [raw]
Subject: MTRR Problems - 2.4.19-rc3

mtrr: v1.40 (20010327) Richard Gooch ([email protected])
mtrr: detected mtrr type: Intel
mtrr: no MTRR for e0000000,4000000 found

Someone explain how an AMD Motherboard is Intel type? ;-)

The AGP Card is: AGP4x
Video card; Is an All-In-Wonder (see below)
Motherboard: A7M266-D, Bios 1006 release

lspci listing:

00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System
Controller (rev 11)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] AGP
Bridge
00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ISA (rev 04)
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-768 [Opus] IDE (rev
04)
00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ACPI (rev 03)
00:10.0 PCI bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] PCI (rev 04)
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon 7500 QW
02:04.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
02:05.0 Ethernet controller: 3Com Corporation 3c980-TX 10/100baseTX NIC
[Python-T] (rev 78)
02:08.0 USB Controller: NEC Corporation USB (rev 41)
02:08.1 USB Controller: NEC Corporation USB (rev 41)
02:08.2 USB Controller: NEC Corporation USB 2.0 (rev 02)

Dmesg attached

Shawn.


Attachments:
(No filename) (1.21 kB)
dmesg (8.80 kB)
Download all attachments

2002-07-25 13:02:26

by Dave Jones

[permalink] [raw]
Subject: Re: MTRR Problems - 2.4.19-rc3

On Thu, Jul 25, 2002 at 03:03:20AM -0400, Shawn Starr wrote:
> mtrr: v1.40 (20010327) Richard Gooch ([email protected])
> mtrr: detected mtrr type: Intel
> mtrr: no MTRR for e0000000,4000000 found
>
> Someone explain how an AMD Motherboard is Intel type? ;-)

The Athlon implemented Intel style MTRRs.
There is no bug there.

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2002-07-25 17:37:09

by Shawn Starr

[permalink] [raw]
Subject: Re: MTRR Problems - 2.4.19-rc3


Fair enough, but that doesn't explain the broken MTRR :)

Shawn.


On July 25, 2002 09:05 am, Dave Jones wrote:

> On Thu, Jul 25, 2002 at 03:03:20AM -0400, Shawn Starr wrote:
> > mtrr: v1.40 (20010327) Richard Gooch ([email protected])
> > mtrr: detected mtrr type: Intel
> > mtrr: no MTRR for e0000000,4000000 found
> >
> > Someone explain how an AMD Motherboard is Intel type? ;-)
>
> The Athlon implemented Intel style MTRRs.
> There is no bug there.
>
> Dave

2002-07-25 17:51:41

by Shawn Starr

[permalink] [raw]
Subject: Re: MTRR Problems - 2.4.19-rc3


Is there a fix to this?

Shawn.

On July 25, 2002 01:50 pm, Dave Jones wrote:

> On Thu, Jul 25, 2002 at 01:41:24PM -0400, Shawn Starr wrote:
> > > > mtrr: no MTRR for e0000000,4000000 found
> >
> > Fair enough, but that doesn't explain the broken MTRR :)
>
> Something in userspace tried to delete an MTRR that didn't exist.
> The only time I've seen this happen personally has been with
> a dual-head card for which the BIOS set up one MTRR to cover
> the video ram used by both heads, and then iirc X did something
> silly and tried to remove separate MTRRs for each head on exit.
>
> Dave

2002-07-25 17:46:49

by Dave Jones

[permalink] [raw]
Subject: Re: MTRR Problems - 2.4.19-rc3

On Thu, Jul 25, 2002 at 01:41:24PM -0400, Shawn Starr wrote:
> > > mtrr: no MTRR for e0000000,4000000 found
> Fair enough, but that doesn't explain the broken MTRR :)

Something in userspace tried to delete an MTRR that didn't exist.
The only time I've seen this happen personally has been with
a dual-head card for which the BIOS set up one MTRR to cover
the video ram used by both heads, and then iirc X did something
silly and tried to remove separate MTRRs for each head on exit.

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2002-07-25 17:58:05

by Dave Jones

[permalink] [raw]
Subject: Re: MTRR Problems - 2.4.19-rc3

On Thu, Jul 25, 2002 at 01:55:59PM -0400, Shawn Starr wrote:

(Please learn to quote correctly)

> > Something in userspace tried to delete an MTRR that didn't exist.
> > The only time I've seen this happen personally has been with
> > a dual-head card for which the BIOS set up one MTRR to cover
> > the video ram used by both heads, and then iirc X did something
> > silly and tried to remove separate MTRRs for each head on exit.
>
> Is there a fix to this?

Don't know, I didn't have the card that showed that behaviour long,
and my current dual head cards don't exhibit it, so either it got fixed
in a newer X, or its driver specific.

Either way, it's a userspace problem afaics.

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs