Driver cannot allocate memory

Bug #31634 reported by Tommi Tervo
8
Affects Status Importance Assigned to Milestone
xserver-xorg-video-ati (Ubuntu)
Fix Released
Medium
Brian Murray

Bug Description

I installed dapper snapshot (2006-13-02) and I have not managed to get X in workable state. Gdm starts bug cursor is a rectangle and login dialog is garbled too. Breezy worked fine on that machine.

xorg.conf: (default dpkg-reconfigure generated)

Section "Device"
        Identifier "ATI Technologies, Inc. RV280 [Radeon 9200]"
        Driver "radeon"
        BusID "PCI:1:0:0"
EndSection

Xorg.0.log:

(WW) ****INVALID MEM ALLOCATION**** b: 0xd0000000 e: 0xd0000000 correcting^G
(II) window:
        [0] -1 0 0xd8000000 - 0xe7ffffff (0x10000000) MX[B]
(II) resSize:
        [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) window fixed:
        [0] -1 0 0xd8000000 - 0xe7ffffff (0x10000000) MX[B]
Requesting insufficient memory window!: start: 0xd8000000 end: 0xe7ffffff size 0
xd8000001
Requesting insufficient memory window!: start: 0xf0000000 end: 0xf1ffffff size 0
xd8000001
(EE) Cannot find a replacement memory range
(II) resource ranges after probing:
        [0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1 0 0xf3000000 - 0xf300007f (0x80) MX[B]
        [6] -1 0 0xe8000000 - 0xe7ffffff (0x0) MX[B]O
        [7] -1 0 0xf1000000 - 0xf100ffff (0x10000) MX[B](B)
        [8] -1 0 0xd0000000 - 0xd0000000 (0x1) MX[B](B)
        [9] 0 0 0x000a0000 - 0x000affff (0x10000) MS[B]
        [10] 0 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [11] 0 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
        [12] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [13] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
        [14] -1 0 0x0000e800 - 0x0000e83f (0x40) IX[B]
        [15] -1 0 0x0000e400 - 0x0000e47f (0x80) IX[B]
        [16] -1 0 0x0000e000 - 0x0000e01f (0x20) IX[B]
        [17] -1 0 0x0000f000 - 0x0000f00f (0x10) IX[B]
        [18] -1 0 0x0000d000 - 0x0000d0ff (0x100) IX[B](B)
        [19] 0 0 0xd80003b0 - 0xd80003bb (0xc) IS[B]
        [20] 0 0 0xd80003c0 - 0xd80003df (0x20) IS[B]

dmesg:

[4294670.209000] ACPI: Subsystem revision 20050916
[4294670.228000] ACPI: Interpreter enabled
[4294670.228000] ACPI: Using PIC for interrupt routing
[4294670.229000] ACPI: PCI Root Bridge [PCI0] (0000:00)
[4294670.229000] PCI: Probing PCI hardware (bus 00)
[4294670.229000] ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
[4294670.237000] PCI quirk: region 4000-403f claimed by PIIX4 ACPI
[4294670.237000] PCI quirk: region 5000-500f claimed by PIIX4 SMB
[4294670.238000] Boot video device is 0000:01:00.0
[4294670.238000] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[4294670.242000] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 10 *11 12 14 15
)
[4294670.243000] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 *5 6 7 10 11 12 14 15
)
[4294670.243000] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 10 11 12 14 15)
 *0, disabled.
[4294670.244000] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *10 11 12 14 15
)
[4294670.256000] ACPI: Power Resource [PFAN] (on)
[4294670.256000] Linux Plug and Play Support v0.97 (c) Adam Belay
[4294670.256000] pnp: PnP ACPI init
[4294670.270000] pnp: PnP ACPI: found 11 devices
[4294670.271000] PnPBIOS: Disabled by ACPI PNP
[4294670.271000] PCI: Using ACPI for IRQ routing
[4294670.271000] PCI: If a device doesn't work, try "pci=routeirq". If it helps
, post a report
[4294670.271000] PCI: Cannot allocate resource region 0 of device 0000:01:00.0
[4294670.277000] PCI: Failed to allocate mem resource #0:10000000@e0000000 for 0
000:01:00.0
[4294670.278000] PCI: Bridge: 0000:00:01.0
[4294670.278000] IO window: d000-dfff
[4294670.278000] MEM window: f0000000-f1ffffff
[4294670.278000] PREFETCH window: d8000000-e7ffffff

lspci -vvv
0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 64
        Region 0: Memory at e8000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [a0] AGP version 1.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>

0000:00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 0000d000-0000dfff
        Memory behind bridge: f0000000-f1ffffff
        Prefetchable memory behind bridge: d8000000-e7ffffff
        BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B+

0000:00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
        Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0

0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Region 4: I/O ports at f000 [size=16]

0000:00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 64
        Interrupt: pin D routed to IRQ 10
        Region 4: I/O ports at e000 [size=32]

0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Interrupt: pin ? routed to IRQ 9

0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200] (rev 01) (prog-if 00 [VGA])
        Subsystem: Connect Components Ltd: Unknown device 2801
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 255 (2000ns min), Cache Line Size: 0x08 (32 bytes)
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at <ignored> (32-bit, prefetchable)
        Region 1: I/O ports at d000 [size=256]
        Region 2: Memory at f1000000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at d8000000 [disabled] [size=128K]
        Capabilities: [58] AGP version 2.0
                Status: RQ=80 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2
                Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW- Rate=<none>
        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-

Revision history for this message
Aurel Schwarzentruber (zed-balcab) wrote :

Does this still happen with the latest release? The ati driver has received quite some fixes since your report.

Changed in xserver-xorg-driver-ati:
status: Unconfirmed → Needs Info
Revision history for this message
Tommi Tervo (teve) wrote :

I tested with current (26.04.2006) dapper liveCD and it doesn't work. Now display adapter won't get interrupt according to /proc/interrupts.

I'd to boot safe mode because in normal mode gdm was blank and I couldn't change to VTx. Vesa-mode won't work either, so this is more kernel/Xorg core bug than radeon driver bug?

(WW) ****INVALID MEM ALLOCATION**** b: 0xd0000000 e: 0xd0000000 correcting^G
(II) window:
        [0] -1 0 0xd8000000 - 0xe7ffffff (0x10000000) MX[B]
(II) resSize:
        [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B]
(II) window fixed:
        [0] -1 0 0xd8000000 - 0xe7ffffff (0x10000000) MX[B]
Requesting insufficient memory window!: start: 0xd8000000 end: 0xe7ffffff size 0
xd8000001
Requesting insufficient memory window!: start: 0xf0000000 end: 0xf1ffffff size 0
xd8000001
(EE) Cannot find a replacement memory range

Revision history for this message
Matthew Lange (matthewlange) wrote :

Could you try this with Dapper RC please?

Changed in xserver-xorg-driver-ati:
assignee: nobody → ubuntu-x-swat
Revision history for this message
Tommi Tervo (teve) wrote :

I tested with final Dapper 6.06 desktop CD and still having problems. I got desktop, but no icons or text on panel/menus. Mouse cursor is now fine. I also got random pieces of graphics from previous session, so there is still some memory allocation errors.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Quite an interesting problem. Have you tried Ubuntu 6.10, Tommi, or given up hope / changed hardware?

Revision history for this message
Tommi Tervo (teve) wrote :

Yes, I've tested with 6.10 and Feisty herd 3, always same situation. I'm using still Breezy.

Revision history for this message
Tommi Tervo (teve) wrote :

Today I changed motherboard and now Feisty works fine with this display adapter. You can close this bug.

Revision history for this message
Brian Murray (brian-murray) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. Thanks again for taking the time to report this bug and helping to make Ubuntu better. Feel free to submit any future bugs you may find.

Changed in xserver-xorg-video-ati:
assignee: ubuntu-x-swat → brian-murray
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.