From owner-freebsd-sparc64@FreeBSD.ORG Mon Mar 9 16:50:20 2015 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3929DCFA for ; Mon, 9 Mar 2015 16:50:20 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1AED136E for ; Mon, 9 Mar 2015 16:50:20 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t29GoJQJ061410 for ; Mon, 9 Mar 2015 16:50:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 198459] x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT Date: Mon, 09 Mar 2015 16:50:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gmbroome@vcu.edu X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2015 16:50:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198459 Bug ID: 198459 Summary: x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT Product: Ports & Packages Version: Latest Hardware: sparc64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: gmbroome@vcu.edu CC: freebsd-sparc64@FreeBSD.org CC: freebsd-sparc64@FreeBSD.org Flags: maintainer-feedback?(x11@FreeBSD.org) Assignee: x11@FreeBSD.org xorg-server 1.14 on sparc64 in 11.0-CURRENT (r279210) fails to utilize some graphics drivers. Steps to reproduce: install 11.0-CURRENT on sparc64 with either an ATI Radeon or Mach64 card and install the xorg-server and approprate drivers. Run `Xorg -configure` and attempt to launch an X server with the generated configuration. Actual results: X server fails to launch; Xorg.0.log excerpts shown below. Expected results: an X server launches and displays on the primary monitor. Hardware: Sun Blade 1000 Software: Stock 11.0-CURRENT, GENERIC kernel, listed revision, ports built with default options on 2014-March-04 with up-to-date tree. x11-drivers/xf86-video-ati-ums and x11-drivers/xf86-video-mach64 both give errors during `Xorg -configure` (mach64 example here, ati is identical except for the driver name): (EE) Unable to map mmio aperture. Permission denied (13) (WW) MACH64: Mach64 in slot 0:2:0 could not be detected! When attempting to launch X.org with the generated xorg.conf, the server fails to launch with message: (EE) no screens found(EE) Notes: - Card tested with ATI UMS driver = Sun XVR-100 - Card tested with Mach64 driver = Sun PGX64 Troubleshooting steps taken: - Tried with both syscons and vt; the results are the same in each case - Tried rolling back to xorg-server 1.12.4 (including rebuild of drivers); results are the same - Tried rolling back to xorg-server 1.7.7 (including reduild of drivers); the server finds devices properly, but still fails to set up MMIO with the "permission denied" error Possibly related: - xf86-video-scfb allows the X server to start when using VT (not syscons), but gives only a black screen. The server restarts after a short time with a memory error. Exact message can be provided if needed. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@FreeBSD.ORG Mon Mar 9 18:25:45 2015 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9F29EB7 for ; Mon, 9 Mar 2015 18:25:45 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF8D62BA for ; Mon, 9 Mar 2015 18:25:45 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t29IPjxd058763 for ; Mon, 9 Mar 2015 18:25:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 198459] x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT Date: Mon, 09 Mar 2015 18:25:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gmbroome@vcu.edu X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2015 18:25:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198459 --- Comment #1 from gmbroome@vcu.edu --- Typo: ports build on 2015-March-04, not 2014 as previously states -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@FreeBSD.ORG Tue Mar 10 02:46:54 2015 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6948FC4 for ; Tue, 10 Mar 2015 02:46:54 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BCA2ACC5 for ; Tue, 10 Mar 2015 02:46:54 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2A2ksAm010916 for ; Tue, 10 Mar 2015 02:46:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 164226] [cd] Data corruption on 9.0-RELEASE when reading from CDROM Date: Tue, 10 Mar 2015 02:46:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: sparc64 X-Bugzilla-Version: 9.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-sparc64@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2015 02:46:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164226 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |Overcome By Events --- Comment #15 from Mark Linimon --- Most likely obsoleted by subsequent events. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-sparc64@FreeBSD.ORG Tue Mar 10 02:48:32 2015 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B923810F for ; Tue, 10 Mar 2015 02:48:32 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F591CD7 for ; Tue, 10 Mar 2015 02:48:32 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2A2mW91011643 for ; Tue, 10 Mar 2015 02:48:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 107087] [hang] system is hung during boot from CD Date: Tue, 10 Mar 2015 02:48:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: sparc64 X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: linimon@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2015 02:48:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=107087 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Overcome By Events Assignee|freebsd-sparc64@FreeBSD.org |linimon@FreeBSD.org Status|In Progress |Closed --- Comment #6 from Mark Linimon --- Most likely obsoleted in recent versions of FreeBSD. Please let me know if not. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-sparc64@FreeBSD.ORG Wed Mar 11 00:27:27 2015 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F0F9F42C for ; Wed, 11 Mar 2015 00:27:27 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D6B07BD3 for ; Wed, 11 Mar 2015 00:27:27 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2B0RRka043183 for ; Wed, 11 Mar 2015 00:27:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 198459] x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT Date: Wed, 11 Mar 2015 00:27:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gmbroome@vcu.edu X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 00:27:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198459 --- Comment #2 from gmbroome@vcu.edu --- Found the offending syscall: mmap(0x0,65536,PROT_READ|PROT_WRITE,MAP_SHARED,7,0x160000) which returns EINVAL -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@FreeBSD.ORG Wed Mar 11 10:28:34 2015 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 42FBC89C for ; Wed, 11 Mar 2015 10:28:34 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 28729314 for ; Wed, 11 Mar 2015 10:28:34 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2BASY87024198 for ; Wed, 11 Mar 2015 10:28:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 198459] x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT Date: Wed, 11 Mar 2015 10:28:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dumbbell@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 10:28:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198459 Jean-Sebastien Pedron changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dumbbell@FreeBSD.org --- Comment #3 from Jean-Sebastien Pedron --- Hi! What are the PCI IDs of your video cards? Maybe we can enable the Radeon kernel video driver on sparc64 (we are about to do it for powerpc64), though I didn't look into it yet. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@FreeBSD.ORG Wed Mar 11 15:23:34 2015 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EE4D8ADE for ; Wed, 11 Mar 2015 15:23:33 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D3142D80 for ; Wed, 11 Mar 2015 15:23:33 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2BFNXdF007104 for ; Wed, 11 Mar 2015 15:23:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 198459] x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT Date: Wed, 11 Mar 2015 15:23:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gmbroome@vcu.edu X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 15:23:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198459 --- Comment #4 from gmbroome@vcu.edu --- (In reply to Jean-Sebastien Pedron from comment #3) `pciconf -lvb` entry for the Sun XVR-100: ----------------------------------------- vgapci0@pci0:0:2:0: class=0x030000 card=0x09081002 chip=0x51591002 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices [AMD] nee ATI' device = 'RV100 QY [Radeon 7000/VE]' class = display subclass = VGA bar [10] = type Prefetchable Memory, range 32, base 0x8000000, size 134217728, enabled bar [14] = type I/O Port, range 32, base 0x700, size 256, enabled bar [18] = type Memory, range 32, base 0x160000, size 65536, enabled ----------------------------------------- and `pciconf -lvb` for the Sun PGX64: ------------------------------------- machfb0@pci1:0:1:0: class=0x030000 card=0x00000000 chip=0x47521002 rev=0x27 hdr=0x00 vendor = 'Advanced Micro Devices [AMD] nee ATI' device = 'Rage XL' class = display subclass = VGA bar [10] = type Memory, range 32, base 0x1000000, size 16777216, enabled bar [14] = type I/O Port, range 32, base 0x400, size 256, enabled bar [18] = type Memory, range 32, base 0x102000, size 4096, enabled ------------------------------------- and PCI probe lines from Xorg.0.log: ------------------------------------ [ 494.844] (--) PCI: (0:0:2:0) 1002:5159:1002:0908 rev 0, Mem @ 0x08000000/134217728, 0x00160000/65536, I/O @ 0x00000700/256, BIOS @ 0x????????/65536 [ 494.849] (--) PCI: (1:0:1:0) 1002:4752:0000:0000 rev 39, Mem @ 0x01000000/16777216, 0x00102000/4096, I/O @ 0x00000400/256, BIOS @ 0x????????/65536 ------------------------------------ After some investigation with truss, I found that specifying the BusID in Xorg.conf for both cards allowed me to get a bit farther. In that case, I was able to get a working display with the PGX64 only when using syscons. The XVR-100 is, of course, not supported with syscons on sparc64 as there's no framebuffer available for it. When using vt as the console, attempts by X.org to mmap either device returned errno 22 (EINVAL). So, I've got a working display at the moment, but there are some take-away items here: 1 - It appears that the X.org mach64 and ati drivers do not work with vt on sparc64, at least when not accelerated. My guess (just speculation here) is that vt isn't allow mmap'ing /dev/ttyv0. Not sure if this is a platform-specific bug / todo or intentional design. 1a - If it's a platform-specific bug or to-do, then we can close this bug out and I'll open a new one to get it fixed, and start coding away at that. 1b - If it's intentional design, we need to document it somewhere that sparc64 users can easily get to it, like release notes or hardware notes. 2 - I'd like to solicit the input and assistance of the FreeBSD DRI1 / DRI2 folks to determine a best path forward for supporting a wider variety of X.org graphics options on sparc64. Having just a single model of graphics card with a paltry 8MB of RAM, unaccelerated, isn't going to cut it. I'm more than willing to code for this, but want to make sure it's done in a way that has some longevity. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@FreeBSD.ORG Wed Mar 11 19:37:11 2015 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC0F4C24 for ; Wed, 11 Mar 2015 19:37:11 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CEC5EFED for ; Wed, 11 Mar 2015 19:37:11 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2BJbB17016769 for ; Wed, 11 Mar 2015 19:37:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 198459] x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT Date: Wed, 11 Mar 2015 19:37:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dumbbell@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 19:37:12 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198459 --- Comment #5 from Jean-Sebastien Pedron --- (In reply to gmbroome from comment #4) > 2 - I'd like to solicit the input and assistance of the FreeBSD DRI1 > / DRI2 folks to determine a best path forward for supporting a wider > variety of X.org graphics options on sparc64. I think the Radeon kernel driver is the best option here: if we get it to work, the entire graphics stack and vt(4) will work. For instance, your Sun XVR-100 card is listed as supported. I tried to build it on sparc64 and some APIs are missing. The first failure is the lack of some atomic operations, such as atomic_swap_*. Is this something you are willing to work on? -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@FreeBSD.ORG Wed Mar 11 19:57:21 2015 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1CE255AA for ; Wed, 11 Mar 2015 19:57:21 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 00E622D8 for ; Wed, 11 Mar 2015 19:57:20 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2BJvKLI035363 for ; Wed, 11 Mar 2015 19:57:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 198459] x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT Date: Wed, 11 Mar 2015 19:57:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gmbroome@vcu.edu X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 19:57:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198459 --- Comment #6 from gmbroome@vcu.edu --- (In reply to Jean-Sebastien Pedron from comment #5) Absolutely. In fact, I'd already started tinkering with it before filing my bug report. I got DRM[1] to build on sparc64, fire up, and present dev/dri/card* for the radeon and mach64 drivers but hadn't gotten much further. That, of course, still ran in to the failure to mmap /dev/ttyv0 on vt since it's UMS. Now that I've at least got a working display with the PGX64, even if it's very underpowered, I'll redirect my efforts into getting DRM2 working on sparc64. Is there a specific section under SVN projects for PPC64 DRM2 that I should be looking at to see the work that's been done there so far? Side note: IMHO it would still be a good idea to have some obvious, point-blank note on the sparc64 page, in the interim (since vt is the default now), "hey, your Xorg graphics drivers probably won't work with vt, and even on syscons you may need to manually specify BusID info." That might save future partygoers some headache and confusion. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@FreeBSD.ORG Wed Mar 11 20:13:02 2015 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1DA6EB33 for ; Wed, 11 Mar 2015 20:13:02 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0311A751 for ; Wed, 11 Mar 2015 20:13:02 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2BKD18I084156 for ; Wed, 11 Mar 2015 20:13:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 198459] x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT Date: Wed, 11 Mar 2015 20:13:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dumbbell@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 20:13:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198459 --- Comment #7 from Jean-Sebastien Pedron --- Just to clarify, I only had "drm2" in my mind in my previous comments. The work on powerpc64 happened in the DRM 3.8 update branch on GitHub: https://github.com/dumbbell/freebsd/tree/kms-drm-update-38 Beside enabling the build, I think the only changes was this one: https://github.com/dumbbell/freebsd/commit/7d324a7905741f8713d3236cd39d2e19f590c7d0 The following patch should be sufficient to enable the build of the DRM subsystem on sparc64 (still talking about "drm2"): https://people.freebsd.org/~dumbbell/graphics/drm-sparc64.a.patch On Linux, the driver already works on powerpc, powerpc64 or sparc64 for that matter. So most changes are required outside of it. For instance, powerpc lacks 64bit atomic operations, that's why it's not enabled there. FYI, I plan to commit the DRM 3.8 branch next week. So if you work on this, use that branch, not vanilla HEAD. -- You are receiving this mail because: You are on the CC list for the bug. From owner-freebsd-sparc64@FreeBSD.ORG Wed Mar 11 20:29:51 2015 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10C9A204 for ; Wed, 11 Mar 2015 20:29:51 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E9F718FB for ; Wed, 11 Mar 2015 20:29:50 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2BKTonF096505 for ; Wed, 11 Mar 2015 20:29:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-sparc64@FreeBSD.org Subject: [Bug 198459] x11-servers/xorg-server: Fails to detect most video cards on sparc64 in 11.0-CURRENT Date: Wed, 11 Mar 2015 20:29:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: gmbroome@vcu.edu X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Mar 2015 20:29:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198459 --- Comment #8 from gmbroome@vcu.edu --- (In reply to Jean-Sebastien Pedron from comment #7) It looks like FreeBSD sparc64 doesn't have write combining support at the moment... at least none of the sparc64 headers define it, like they do for ppc and x86. That might be a good place to start. -- You are receiving this mail because: You are on the CC list for the bug.