Black monitor with external AMD card and coreboot: `radeon_bo_create:132 alloc size 0M bigger than 0Mb limit`
Alex Deucher
alexdeucher at gmail.com
Mon May 13 07:25:21 PDT 2013
On Mon, May 13, 2013 at 10:01 AM, Paul Menzel
<paulepanter at users.sourceforge.net> wrote:
> Am Montag, den 13.05.2013, 09:51 -0400 schrieb Jerome Glisse:
>> On Mon, May 13, 2013 at 8:15 AM, Paul Menzel wrote:
>
>> > using the ASRock E350M1 with coreboot [1] and plugging in an external
>> > AMD graphics card,
>> >
>> > 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cedar PRO [Radeon HD 5450/6350] (prog-if 00 [VGA controller])
>> >
>> > first I get Linux message output over the internal card, but then after
>> > the following error message
>> >
>> > [ 0.000000] Initializing cgroup subsys cpuset
>> > [ 0.000000] Initializing cgroup subsys cpu
>> > [ 0.000000] Linux version 3.2.0-4-686-pae (debian-kernel at lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-15) ) #1 SMP Debian 3.2.41-2
>> > [ 0.000000] BIOS-provided physical RAM map:
>> > [ 0.000000] BIOS-e820: 0000000000000000 - 0000000000001000 (reserved)
>> > [ 0.000000] BIOS-e820: 0000000000001000 - 00000000000a0000 (usable)
>> > [ 0.000000] BIOS-e820: 00000000000c0000 - 00000000c7fe0000 (usable)
>> > [ 0.000000] BIOS-e820: 00000000c7fe0000 - 00000000e0000000 (reserved)
>> > [ 0.000000] BIOS-e820: 00000000f8000000 - 00000000f9000000 (reserved)
>> > [ 0.000000] BIOS-e820: 0000000100000000 - 000000021f000000 (usable)
>> > [ 0.000000] NX (Execute Disable) protection: active
>> > [ 0.000000] SMBIOS 2.7 present.
>> > [ 0.000000] DMI: ASROCK E350M1, BIOS 4.0-4145-g0d468e0 05/12/2013
>> > [ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
>> > [ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
>> > [ 0.000000] last_pfn = 0x21f000 max_arch_pfn = 0x1000000
>> > [ 0.000000] MTRR default type: uncachable
>> > [ 0.000000] MTRR fixed ranges enabled:
>> > [ 0.000000] 00000-9FFFF write-back
>> > [ 0.000000] A0000-BFFFF uncachable
>> > [ 0.000000] C0000-FFFFF write-back
>> > [ 0.000000] MTRR variable ranges enabled:
>> > [ 0.000000] 0 base 000000000 mask F80000000 write-back
>> > [ 0.000000] 1 base 080000000 mask FC0000000 write-back
>> > [ 0.000000] 2 base 0C0000000 mask FF8000000 write-back
>> > [ 0.000000] 3 disabled
>> > [ 0.000000] 4 disabled
>> > [ 0.000000] 5 disabled
>> > [ 0.000000] 6 base 0FFC00000 mask FFFC00000 write-protect
>> > [ 0.000000] 7 disabled
>> > [ 0.000000] TOM2: 000000021f000000 aka 8688M
>> > [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
>> > [ 0.000000] found SMP MP-table at [c00f0400] f0400
>> > [ 0.000000] initial memory mapped : 0 - 01a00000
>> > [ 0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
>> > [ 0.000000] init_memory_mapping: 0000000000000000-00000000379fe000
>> > [ 0.000000] 0000000000 - 0000200000 page 4k
>> > [ 0.000000] 0000200000 - 0037800000 page 2M
>> > [ 0.000000] 0037800000 - 00379fe000 page 4k
>> > [ 0.000000] kernel direct mapping tables up to 379fe000 @ 19f9000-1a00000
>> > [ 0.000000] RAMDISK: 3687a000 - 37435000
>> > [ 0.000000] ACPI: RSDP 000f0800 00014 (v00 CORE )
>> > [ 0.000000] ACPI: RSDT c7fe2424 00040 (v01 CORE COREBOOT 00000000 CORE 00000000)
>> > [ 0.000000] ACPI: FACP c7fe4fe8 000F4 (v04 CORE COREBOOT 00000000 CORE 00000000)
>> > [ 0.000000] ACPI: DSDT c7fe24c8 02ADB (v02 ASROCK COREBOOT 00010001 INTL 20121114)
>> > [ 0.000000] ACPI: FACS c7fe4fa8 00040
>> > [ 0.000000] ACPI: HPET c7fe50e0 00038 (v01 CORE COREBOOT 00000000 CORE 00000000)
>> > [ 0.000000] ACPI: APIC c7fe5118 0005C (v01 CORE COREBOOT 00000000 CORE 00000000)
>> > [ 0.000000] ACPI: HEST c7fe5178 00028 (v01 CORE COREBOOT 00000000 CORE 00000000)
>> > [ 0.000000] ACPI: SSDT c7fe51a0 0168E (v02 AMD ALIB 00000001 MSFT 04000000)
>> > [ 0.000000] ACPI: SSDT c7fe6830 003DE (v01 AMD POWERNOW 00000001 AMD 00000001)
>> > [ 0.000000] ACPI: SSDT c7fe6c10 00045 (v02 CORE COREBOOT 0000002A CORE 0000002A)
>> > [ 0.000000] ACPI: Local APIC address 0xfee00000
>> > [ 0.000000] 7798MB HIGHMEM available.
>> > [ 0.000000] 889MB LOWMEM available.
>> > [ 0.000000] mapped low ram: 0 - 379fe000
>> > [ 0.000000] low ram: 0 - 379fe000
>> > [ 0.000000] Zone PFN ranges:
>> > [ 0.000000] DMA 0x00000010 -> 0x00001000
>> > [ 0.000000] Normal 0x00001000 -> 0x000379fe
>> > [ 0.000000] HighMem 0x000379fe -> 0x0021f000
>> > [ 0.000000] Movable zone start PFN for each node
>> > [ 0.000000] early_node_map[3] active PFN ranges
>> > [ 0.000000] 0: 0x00000010 -> 0x000000a0
>> > [ 0.000000] 0: 0x00000100 -> 0x000c7fe0
>> > [ 0.000000] 0: 0x00100000 -> 0x0021f000
>> > [ 0.000000] On node 0 totalpages: 1994608
>> > [ 0.000000] free_area_init_node: node 0, pgdat c1412600, node_mem_map f249a200
>> > [ 0.000000] DMA zone: 32 pages used for memmap
>> > [ 0.000000] DMA zone: 0 pages reserved
>> > [ 0.000000] DMA zone: 3952 pages, LIFO batch:0
>> > [ 0.000000] Normal zone: 1748 pages used for memmap
>> > [ 0.000000] Normal zone: 221994 pages, LIFO batch:31
>> > [ 0.000000] HighMem zone: 15597 pages used for memmap
>> > [ 0.000000] HighMem zone: 1751285 pages, LIFO batch:31
>> > [ 0.000000] Using APIC driver default
>> > […]
>> > [ 25.583155] radeon 0000:00:01.0: setting latency timer to 64
>> > [ 25.583176] [drm] initializing kernel modesetting (PALM 0x1002:0x9802 0x1002:0x9802).
>> > [ 25.583271] [drm] register mmio base: 0xF0200000
>> > [ 25.583275] [drm] register mmio size: 262144
>> > [ 25.583358] ATOM BIOS: AMD
>> > [ 25.583419] radeon 0000:00:01.0: VRAM: 384M 0x0000000000000000 - 0x0000000017FFFFFF (384M used)
>> > [ 25.583426] radeon 0000:00:01.0: GTT: 512M 0x0000000018000000 - 0x0000000037FFFFFF
>> > [ 25.583437] mtrr: zero sized request
>> > [ 25.583441] [drm] Detected VRAM RAM=384M, BAR=0M
>> > [ 25.583445] [drm] RAM width 32bits DDR
>> > [ 25.583819] [TTM] Zone kernel: Available graphics memory: 417800 kiB
>> > [ 25.583827] [TTM] Zone highmem: Available graphics memory: 3951564 kiB
>> > [ 25.583832] [TTM] Initializing pool allocator
>> > [ 25.583844] [TTM] Initializing DMA pool allocator
>> > [ 25.583880] radeon_bo_create:132 alloc size 0M bigger than 0Mb limit
>> > [ 25.583890] radeon 0000:00:01.0: Fatal error during GPU init
>> > [ 25.589745] [drm] radeon: finishing device.
>> > [ 25.590900] radeon 0000:00:01.0: no bo for sa manager
>> > [ 25.593365] HDMI status: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=0
>> > [ 25.593749] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:04.0/0000:01:00.1/sound/card2/input7
>> > […]
>> >
>> > the display just freezes although the system boots up fine otherwise as
>> > I could in over a serial line. Plugging the VGA into the port of the
>> > external graphics card did not seem to help either as the monitor stayed
>> > black.
>> >
>> > Please find the output of `sudo lspci -vvv -xx` without and with the
>> > external card plugged in attached.
>> >
>> > Do you have any suggestions, what the problem could be? Should coreboot
>> > set something up differently? Any suggestion what?
>
>> Issue is with coreboot, when you plug in the pcie card it does not
>> disable fully the integrated gpu and especialy it disable the vram bar
>> of it that confuse the hell out of the radeon driver.
>
> I see. Thank you for the fast response and clarification.
>
> So it is not supported to have several graphic devices like for
> multi-seat setups?
That should work fine in most cases. It seems to be an issue with coreboot.
Alex
More information about the dri-devel
mailing list