Crashes on Gentoo

John Serink John_Serink at Trimble.com
Sun Apr 19 21:17:42 PDT 2009


Hello All:

Here is my system:
jerinkturion jserink # uname -a
Linux jerinkturion 2.6.27-gentoo-r8 #1 SMP PREEMPT Thu Mar 12 14:44:23 SGT 2009 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-60 AuthenticAMD GNU/Linux

Results from lspci -vv for the graphics section:
01:00.0 VGA compatible controller: ATI Technologies Inc M56P [Radeon Mobility X1600] (prog-if 00 [VGA controller])
        Subsystem: Acer Incorporated [ALI] Device 010a
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at c0000000 (32-bit, prefetchable) [size=256M]
        Region 1: I/O ports at 9000 [size=256]
        Region 2: Memory at b0100000 (32-bit, non-prefetchable) [size=64K]
        [virtual] Expansion ROM at b0120000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Express (v1) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <64ns, L1 <1us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Capabilities: [80] Message Signalled Interrupts: Mask- 64bit+ Count=1/1 Enable-
                Address: 0000000000000000  Data: 0000

HW is a Acer Ferarri 5000 laptop with 4G of ram.
Running Xorg 7.2 with the xf86-video-ati driver 12.2.
Drm is working.

I am getting desktop lock ups while running KVM every now and then, power cycle is the only way out.
My kernel log is full of this stuff:
Apr 20 11:43:29 [kernel] X:31706 freeing invalid memtype c0000000-d0000000
Apr 20 11:43:31 [kernel] X:6011 conflicting memory types c0000000-d0000000 write-combining<->uncached-minus
Apr 20 11:43:31 [kernel] reserve_memtype failed 0xc0000000-0xd0000000, track write-combining, req write-combining
Apr 20 11:43:31 [kernel] X:31722 freeing invalid memtype c0000000-d0000000
Apr 20 11:43:31 [kernel] X:6011 conflicting memory types c0000000-d0000000 write-combining<->uncached-minus
Apr 20 11:43:31 [kernel] reserve_memtype failed 0xc0000000-0xd0000000, track write-combining, req write-combining
Apr 20 11:43:31 [kernel] X:31723 freeing invalid memtype c0000000-d0000000
Apr 20 11:43:31 [kernel] X:6011 conflicting memory types c0000000-d0000000 write-combining<->uncached-minus
Apr 20 11:43:31 [kernel] reserve_memtype failed 0xc0000000-0xd0000000, track write-combining, req write-combining
Apr 20 11:43:31 [kernel] X:31724 freeing invalid memtype c0000000-d0000000


Seems every X event generates one.

Here is the kernel log immediately at the lockup:
Apr 20 11:44:27 [kernel] X:6011 conflicting memory types c0000000-d0000000 write-combining<->uncached-minus
Apr 20 11:44:27 [kernel] reserve_memtype failed 0xc0000000-0xd0000000, track write-combining, req write-combining
Apr 20 11:44:27 [kernel] X:31959 freeing invalid memtype c0000000-d0000000
Apr 20 11:44:29 [kernel] X:6011 conflicting memory types c0000000-d0000000 write-combining<->uncached-minus
Apr 20 11:44:29 [kernel] reserve_memtype failed 0xc0000000-0xd0000000, track write-combining, req write-combining
Apr 20 11:44:29 [kernel] X:31969 freeing invalid memtype c0000000-d0000000
Apr 20 11:44:29 [kernel] X:6011 freeing invalid memtype c0000000-d0000000
Apr 20 11:44:29 [kernel] [drm] Num pipes: 1
Apr 20 11:44:29 [kernel] kvm[6368]: segfault at 968 ip 00007f258989c73c sp 00007fff92aef4d0 error 4 in libX11.so.6.2.0[7f2589857000+10c000]

Have posted this stuff on the gentoo forum but I think that's the wrong place.

About 6 weeks ago I moved over from the ati binary drivers back to the xorg drivers. Other than googleearth working only in sw rendering mode, this is the only problem I'm having.
Does anyone know any xorg.cong tweaks to get rid of thos errors?
Here is my xorg.conf file:
jerinkturion jserink # cat /etc/X11/xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0

EndSection

Section "Files"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/arphicfonts/"
        FontPath     "/usr/share/fonts/baekmuk-fonts/"
        FontPath     "/usr/share/fonts/corefonts/"
        FontPath     "/usr/share/fonts/freefont-ttf/"
        FontPath     "/usr/share/fonts/liberation-fonts/"
        FontPath     "/usr/share/fonts/Speedo/"
        FontPath     "/usr/share/fonts/truetypemine/"
EndSection

Section "Module"
        Load  "glx"
        Load  "extmod"
        Load  "xtrap"
        Load  "record"
        Load  "GLcore"
        Load  "dbe"
        Load  "dri"
EndSection

Section "Monitor"
        #DisplaySize      330   210     # mm
        Identifier   "Monitor0"
        VendorName   "SEC"
        ModelName    "3546"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "BusType"                   # [<str>]
        #Option     "CPPIOMode"                 # [<bool>]
        #Option     "CPusecTimeout"             # <i>
        #Option     "AGPMode"            "8"    # <i>
        #Option     "AGPFastWrite"       "True" # [<bool>]
        #Option     "AGPSize"                   # <i>
        Option     "GARTSize"           "64"    # <i>
        #Option     "RingSize"                  # <i>
        #Option     "BufferSize"                # <i>
        #Option     "EnableDepthMoves"          # [<bool>]
        #Option     "EnablePageFlip"            # [<bool>]
        #Option     "NoBackBuffer"              # [<bool>]
        #Option     "DMAForXv"                  # [<bool>]
        #Option     "FBTexPercent"              # <i>
        #Option     "DepthBits"                 # <i>
        #Option     "PCIAPERSize"               # <i>
        #Option     "AccelDFS"                  # [<bool>]
        #Option     "DDCMode"                   # [<bool>]
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "DisplayPriority"    "HIGH"         # [<str>]
        #Option     "PanelSize"                 # [<str>]
        #Option     "ForceMinDotClock"          # <freq>
        Option     "ColorTiling"        "True"  # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "RageTheatreCrystal"        # <i>
        #Option     "RageTheatreTunerPort"      # <i>
        #Option     "RageTheatreCompositePort"  # <i>
        #Option     "RageTheatreSVideoPort"     # <i>
        #Option     "TunerType"                 # <i>
        #Option     "RageTheatreMicrocPath"     # <str>
        #Option     "RageTheatreMicrocType"     # <str>
        #Option     "ScalerWidth"               # <i>
        #Option     "RenderAccel"               # [<bool>]
        Option     "SubPixelOrder"      "none"  # [<str>]i
        #Option     "ShowCache"                 # [<bool>]
        #Option     "DynamicClocks"             # [<bool>]
        #Option     "VGAAccess"                 # [<bool>]
        #Option     "ReverseDDC"                # [<bool>]
        #Option     "LVDSProbePLL"              # [<bool>]
        Option     "MigrationHeuristic" "greedy"
        Option     "AccelMethod"        "EXA"   # <str>
        #Option     "ExaNoComposite"     "false"
        #Option     "ConnectorTable"            # <str>
        #Option     "DefaultConnectorTable"     # [<bool>]
        #Option     "DefaultTMDSPLL"            # [<bool>]
        #Option     "TVDACLoadDetect"           # [<bool>]
        #Option     "ForceTVOut"                # [<bool>]
        #Option     "TVStandard"                # <str>
        #Option     "IgnoreLidStatus"           # [<bool>]
        Identifier  "Card0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "M56P [Radeon Mobility X1600]"
        BusID       "PCI:1:0:0"
#       VideoRam    512000
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Depth     24
                Virtual   3360 1050
        EndSubSection
EndSection

Section "DRI"
        mode 0666
Endsection


Cheers,
john


John Edward Serink 
Product Applications Engineer, 
Infrastructure Systems 
Trimble Navigation Singapore PTE Ltd. 
80 Marine Parade Road, 
Co. Reg. No. 199204958W 
#22-06 Parkway Parade 
Singapore 449269 
Tel 65-6348-2212 
Fax 65-6348-2232 
DID 65-6348-2178 
HP  65-9129-4250 




More information about the xorg-driver-ati mailing list