[Xorg-driver-geode] AMD Geode Driver notes

Larry Maloney larrypatrickmaloney at yahoo.com
Sun Dec 23 02:31:12 PST 2007


I added the ErrorF messages to the amd_lx_driver.c code.

I've been loading the driver, but I don't see any output from ErrorF.

I played with some of the options in xorg.conf 

If you set Option "NoMTRR" and run Xorg with the AMD driver the machine 
will reboot.

I am getting this message intermittently, but pretty consistent..

c000:0282: A2 ILLEGAL EXTENDED X86 OPCODE!
(WW) AMD(0): xf86UnMapVidMem: cannot find region for [0x2878b000,0xe7e000]

And this message shows up all the time:

WW) AMD(0): Failed to set write-combining range (0xec000000,0x107e000)

And, I put the ErrorF statements in LXReadMSR and LXWriteMSR, I'm 
outputing addr, lo and hi

That looks like the only things to print.

Here are TWO of the log files.

One is without Acceleration, the other is with acceleration.

When I turn on Acceleration, Xorg starts,  I get a cursor, it can move, 
then the (twm) background starts to load, and I can see a few parts of the
screen that start get rendered, and then the freeze up.  I don't think 
the freeze up occurs inside xorg, I think it's happening in the amd driver.


Hope these logs tell you something.  Please tell me what to do next, if 
you have ideas.


Larry

PS:  So this is an MTRR problem right?

PSS:  My kernel says the following about the CPU & MTRR:

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #10: Sat Dec 22 00:44:44 EST 2007
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Geode(TM) Integrated Processor by AMD PCS (498.05-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x5a2  Stepping = 2
  Features=0x88a93d<FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CLFLUSH,MMX>
  AMD Features=0xc0400000<MMX+,3DNow+,3DNow>
real memory  = 251330560 (239 MB)
avail memory = 236515328 (225 MB)
K6-family MTRR support enabled (2 registers)
VESA: set_mode(): 24(18) -> 261(105)
VESA: about to set a VESA mode...
VESA: mode set!
vesa_set_mode(): vi_width:1024, len:1024, line_width:1024
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xef000-0xeffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
VESA: set_mode(): 261(105) -> 24(18)
VESA: set_mode(): 24(18) -> 24(18)
VESA: set_mode(): 24(18) -> 24(18)
VESA: set_mode(): 24(18) -> 24(18)
VESA: set_mode(): 24(18) -> 24(18)

# x86info -a
x86info v1.20.  Dave Jones 2001-2006
Feedback to <davej at redhat.com>.

Found 1 CPU
--------------------------------------------------------------------------
eax in: 0x00000000, eax = 00000001 ebx = 68747541 ecx = 444d4163 edx = 
69746e65
eax in: 0x00000001, eax = 000005a2 ebx = 00000400 ecx = 00000000 edx = 
0088a93d

eax in: 0x80000000, eax = 80000006 ebx = 68747541 ecx = 444d4163 edx = 
69746e65
eax in: 0x80000001, eax = 000005a2 ebx = 00000000 ecx = 00000000 edx = 
c0c0a13d
eax in: 0x80000002, eax = 646f6547 ebx = 4d542865 ecx = 6e492029 edx = 
72676574
eax in: 0x80000003, eax = 64657461 ebx = 6f725020 ecx = 73736563 edx = 
6220726f
eax in: 0x80000004, eax = 4d412079 ebx = 43502044 ecx = 00000053 edx = 
00000000
eax in: 0x80000005, eax = 00000000 ebx = ff10ff10 ecx = 40100120 edx = 
40100120
eax in: 0x80000006, eax = 0000f004 ebx = 00002040 ecx = 00804120 edx = 
00000000

Family: 5 Model: 10 Stepping: 2
CPU Model : Unknown CPU
Processor name string: Geode(TM) Integrated Processor by AMD PCS

Feature flags:
 fpu de pse tsc msr cx8 sep pge cmov clflsh mmx
Extended feature flags:
 mmxext 3dnowext 3dnow
MSR: 0xc0000082=0x00000000 : 00000000 00000000 00000000 00000000
Write allocate disabled
Data prefetch disabled.
EWBE mode: strong ordering (slowest performance)

Instruction TLB: Fully associative. 16 entries.
Data TLB: Fully associative. 16 entries.
L1 Data cache:
        Size: 64Kb      16-way associative.
        lines per tag=1 line size=32 bytes.
L1 Instruction cache:
        Size: 64Kb      16-way associative.
        lines per tag=1 line size=32 bytes.
L2 (on CPU) cache:
        Size: 128Kb     4-way associative.
        lines per tag=1 line size=32 bytes.


500MHz processor (estimate).








-- 
==============================
Larry P. Maloney
CEO/CTO SoftNet Solutions

Phone: 650-669-1942
  Web: www.softnetsolution.com

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Xorg.0.log.FreeBSD.noaccel.debug
Url: http://lists.x.org/archives/xorg-driver-geode/attachments/20071223/dab254f2/attachment-0001.ksh 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Xorg.0.log.FreeBSD.accel.debug
Url: http://lists.x.org/archives/xorg-driver-geode/attachments/20071223/dab254f2/attachment-0001.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: larrypatrickmaloney.vcf
Type: text/x-vcard
Size: 318 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-driver-geode/attachments/20071223/dab254f2/attachment-0001.vcf 


More information about the Xorg-driver-geode mailing list