From: Paul Menzel Subject: Re: Black monitor with external AMD card and coreboot: `radeon_bo_create:132 alloc size 0M bigger than 0Mb limit` Date: Mon, 13 May 2013 16:01:45 +0200 Message-ID: <1368453705.8276.27.camel@mattotaupa> References: <1368447357.8276.16.camel@mattotaupa> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0930651544==" Return-path: Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by gabe.freedesktop.org (Postfix) with ESMTP id 0077EE5BF8 for ; Mon, 13 May 2013 07:01:47 -0700 (PDT) Received: from e178078110.adsl.alicedsl.de ([85.178.78.110] helo=[192.168.2.49]) by mail.gw90.de with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1UbtJz-0007so-Oh for dri-devel@lists.freedesktop.org; Mon, 13 May 2013 14:01:48 +0000 In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0930651544== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-wLDd4DRp3gHRHnC9vEj1" --=-wLDd4DRp3gHRHnC9vEj1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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@lis= ts.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 - 0000000000= 010000 (usable) =3D=3D> (reserved) > > [ 0.000000] e820 remove range: 00000000000a0000 - 0000000000= 100000 (usable) > > [ 0.000000] last_pfn =3D 0x21f000 max_arch_pfn =3D 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-0000000037= 9fe000 > > [ 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 @ 19= f9000-1a00000 > > [ 0.000000] RAMDISK: 3687a000 - 37435000 > > [ 0.000000] ACPI: RSDP 000f0800 00014 (v00 CORE ) > > [ 0.000000] ACPI: RSDT c7fe2424 00040 (v01 CORE COREBOOT 0= 0000000 CORE 00000000) > > [ 0.000000] ACPI: FACP c7fe4fe8 000F4 (v04 CORE COREBOOT 0= 0000000 CORE 00000000) > > [ 0.000000] ACPI: DSDT c7fe24c8 02ADB (v02 ASROCK COREBOOT 0= 0010001 INTL 20121114) > > [ 0.000000] ACPI: FACS c7fe4fa8 00040 > > [ 0.000000] ACPI: HPET c7fe50e0 00038 (v01 CORE COREBOOT 0= 0000000 CORE 00000000) > > [ 0.000000] ACPI: APIC c7fe5118 0005C (v01 CORE COREBOOT 0= 0000000 CORE 00000000) > > [ 0.000000] ACPI: HEST c7fe5178 00028 (v01 CORE COREBOOT 0= 0000000 CORE 00000000) > > [ 0.000000] ACPI: SSDT c7fe51a0 0168E (v02 AMD ALIB 0= 0000001 MSFT 04000000) > > [ 0.000000] ACPI: SSDT c7fe6830 003DE (v01 AMD POWERNOW 0= 0000001 AMD 00000001) > > [ 0.000000] ACPI: SSDT c7fe6c10 00045 (v02 CORE COREBOOT 0= 000002A 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, nod= e_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 > > [=E2=80=A6] > > [ 25.583155] radeon 0000:00:01.0: setting latency timer to 64 > > [ 25.583176] [drm] initializing kernel modesetting (PALM 0x10= 02: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 0x00000000000000= 00 - 0x0000000017FFFFFF (384M used) > > [ 25.583426] radeon 0000:00:01.0: GTT: 512M 0x000000001800000= 0 - 0x0000000037FFFFFF > > [ 25.583437] mtrr: zero sized request > > [ 25.583441] [drm] Detected VRAM RAM=3D384M, BAR=3D0M > > [ 25.583445] [drm] RAM width 32bits DDR > > [ 25.583819] [TTM] Zone kernel: Available graphics memory: 4= 17800 kiB > > [ 25.583827] [TTM] Zone highmem: Available graphics memory: 3= 951564 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 0= Mb 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=3D0 Pin=3D3 Presence_Detect= =3D0 ELD_Valid=3D0 > > [ 25.593749] input: HD-Audio Generic HDMI/DP,pcm=3D3 as /devi= ces/pci0000:00/0000:00:04.0/0000:01:00.1/sound/card2/input7 > > [=E2=80=A6] > > > > 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 staye= d > > 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? Thanks, Paul --=-wLDd4DRp3gHRHnC9vEj1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlGQ8kkACgkQPX1aK2wOHVjQigCfQRRe01viJPZqWFlkxYqPDv4E czIAnRHmDpJcfiriPRYliBt+sb5O23Ix =0vwD -----END PGP SIGNATURE----- --=-wLDd4DRp3gHRHnC9vEj1-- --===============0930651544== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0930651544==--