From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 26 11:06:49 2012 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D60FA58C for ; Mon, 26 Nov 2012 11:06:49 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BAFDD8FC22 for ; Mon, 26 Nov 2012 11:06:49 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAQB6nhm019499 for ; Mon, 26 Nov 2012 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAQB6n0D019497 for freebsd-ppc@FreeBSD.org; Mon, 26 Nov 2012 11:06:49 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 Nov 2012 11:06:49 GMT Message-Id: <201211261106.qAQB6n0D019497@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Nov 2012 11:06:49 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/170340 ppc Enabling geom-mirror on 9.1-powerpc64 prevents the sys o power/164225 ppc Boot fails on IBM 7028-6E1 (heap memory claim failed) o power/161947 ppc multimedia/libdvdnav builds broken binaries on big end o power/161045 ppc X doesn't detect ADB mouse up event until another even o power/149009 ppc sysinstall(8) on powerpc fails to install manpages, so o power/140241 ppc [kernel] [patch] Linker set problems on PowerPC EABI o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer 10 problems total. From owner-freebsd-ppc@FreeBSD.ORG Fri Nov 30 03:50:55 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DA04BE3E; Fri, 30 Nov 2012 03:50:55 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9254F8FC08; Fri, 30 Nov 2012 03:50:55 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi5so39473pad.13 for ; Thu, 29 Nov 2012 19:50:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=BAajA4KWZjgecgTPdAsQx8lYD+H+vBER9jPrO6h/I0g=; b=JqYYhvRHUDLTeo6FeSykF9xWu3/RobvlgDNSBYWlYQjFp3PNH28XEoRgdObvBUMwua jwBaCiKeiyKcXqsNcv1/3fVb7ntWjMzGAFbV8jb6LkYIg6q4I7gH2rbdGnWB9sTDbrPZ /jyH1TX2MLIuIU+vlAJEzNyMrAPslzUHBHdu6Wj/HJelnWLrLdGPw80gmeRZ1QDFAcby +BqU+oOz41rSxBSFCtp9KxiMV6mCVXbJWDKA5vETmBeBEK8FOvsq7Z+h94ZupLW6oQqe LQ1KaFk4nSUnXAazgGKxHVvJ9OmhLswuz70LRpUfwuMxE+Z72mQIrRny4Qt+mnnUnlM7 imHw== Received: by 10.68.241.136 with SMTP id wi8mr1942706pbc.95.1354247455208; Thu, 29 Nov 2012 19:50:55 -0800 (PST) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id a10sm2130934paz.35.2012.11.29.19.50.52 (version=SSLv3 cipher=OTHER); Thu, 29 Nov 2012 19:50:53 -0800 (PST) Message-ID: <50B82CFF.7010306@gmail.com> Date: Thu, 29 Nov 2012 19:50:23 -0800 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Michael Copeland Subject: Re: PPC DRM graphics testing References: <50972E9E.3010101@gmail.com> <50974ECD.5010702@fgznet.ch> <50988FE0.9030806@gmail.com> <50989EA0.5020509@fgznet.ch> <5098CA4F.7020306@gmail.com> <509A8B3D.8030703@fgznet.ch> <509A9D11.6010605@gmail.com> <509A9FD4.4050403@fgznet.ch> <509ACFAA.8050802@fgznet.ch> <509CA2FF.7070902@gmail.com> <509D7BC5.1020301@fgznet.ch> <50A008D5.2060003@fgznet.ch> <50A1CA6D.40907@gmail.com> <20121114165618.18affd74@narn.knownspace> <50A56177.9060601@gmail.com> <50A58331.9060305@gmail.com> <50A6A908.8080206@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: x11@freebsd.org, Justin Hibbits , freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2012 03:50:55 -0000 On 11/16/12 14:46, Michael Copeland wrote: > http://pastebin.com/3cVgh5ej > > > ATY_Prionace.thinned.ppc.strings > > This is the driver, thinned of i386 binary, output of strings -n10 > > There are also three sections of compressed data in the file. > > michael@thinkpad:~$ binwalk ATY_Prionace.thinned.ppc > > DECIMAL HEX DESCRIPTION > ------------------------------------------------------------------------------------------------------- > 795 0x31B LZMA compressed data, properties: 0xB0, dictionary > size: 16777216 bytes, uncompressed size: 671088640 bytes > 295611 0x482BB LZMA compressed data, properties: 0x98, dictionary > size: 33554432 bytes, uncompressed size: 524288 bytes > 297653 0x48AB5 LZMA compressed data, properties: 0x80, dictionary > size: 327680 bytes, uncompressed size: 4063232 bytes > > michael@thinkpad:~$ Interesting. I love stuff like that...I'll have more time to dig soon...My hope is that it's still a PCI ROM or something, and they didn't decide to just hard code all the registers and control logic in the driver...32k is a pretty standard PCI rom size though. Matt From owner-freebsd-ppc@FreeBSD.ORG Fri Nov 30 03:57:48 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6EE494; Fri, 30 Nov 2012 03:57:47 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id AB0678FC17; Fri, 30 Nov 2012 03:57:47 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id wz12so131334pbc.13 for ; Thu, 29 Nov 2012 19:57:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=NcsHYrHdrrVFc6IZsriDl0PasIAtYyYgz+tcDFy4EB0=; b=trzhKRwcKuYYQtfnPXg3F0lJtrSk2vb4k0L8AWBTtqYAhcngaIKl92xycs1p//S2e3 ijmtfBlbvayQFtZnN7BUkW31DaGn5Rea9ev1p1LXduw0eTiBz1VgTFgAR1hLOJPSnucq JwYHG5Cqh4MFC9x4v11whsG3HBxyQXPURx6U5AsQUKGCqKgq7G35LVdXRoELlTT1GCZY jlxeDeyt3U9rYUMNnGXYlmWxx/UKio5lm78vAb01ulc4hUmEwwLJrKLWwkgW6wEjVztK o1TNCfmigmVGQAk0iiySKVR/PtRc2msy1Zt2Dod/SIdULqoWZ4VIRNvlLZPr1wgvtNaH vKDg== Received: by 10.68.137.131 with SMTP id qi3mr1910941pbb.114.1354247867148; Thu, 29 Nov 2012 19:57:47 -0800 (PST) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id pv8sm2295193pbc.26.2012.11.29.19.57.44 (version=SSLv3 cipher=OTHER); Thu, 29 Nov 2012 19:57:45 -0800 (PST) Message-ID: <50B82E9C.5030800@gmail.com> Date: Thu, 29 Nov 2012 19:57:16 -0800 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Andreas Tobler Subject: Re: PPC DRM graphics testing References: <50972E9E.3010101@gmail.com> <50974ECD.5010702@fgznet.ch> <50988FE0.9030806@gmail.com> <50989EA0.5020509@fgznet.ch> <5098CA4F.7020306@gmail.com> <509A8B3D.8030703@fgznet.ch> In-Reply-To: <509A8B3D.8030703@fgznet.ch> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: x11@freebsd.org, freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2012 03:57:48 -0000 On 11/07/12 08:24, Andreas Tobler wrote: > On 06.11.12 09:29, matt wrote: >> On 11/05/12 21:22, Andreas Tobler wrote: >>> Hm, I can try to bring the Radeon 9200 PCI up and see how it behaves. >>> It'll take a few moments. But at least we have another config to compare. >>> >>> Oh, and one thing to note, my config works with built-in (not a kernel >>> module) drm/radeondrm. Have you tried this too? >>> >>> Kernel config: >>> # Direct Rendering modules for 3D acceleration. >>> device drm # DRM core module required by DRM drivers >>> device radeondrm # ATI Radeon >>> >>> >>> Attached the patch to make it compile. >>> >>> Andreas >>> >>> >>> >> A good idea, but it didn't help. Backtrace was slightly different, but >> nothing decisive. exaCopyDirty() seems to be involved quite often. >> >> I also found 7.7 will not work, because although they left in r200, they >> stripped out UMS. >> >> So it's back to the drawing board, or at least poking at sources and/or >> gdb for a while :) > Just a short notice from my side. I finally managed to get the pci > radeon 9200 work, means I can startx. > I had some issues until I found out how to make Xorg recognize the pci > card which is not in the primary pci domain. > > I needed this string in the xorg.conf, under the section "Device" > > BusID "PCI:1@1:2:0" > > Important is ":domain@bus:". > > Regarding drm, I get hardlocks as soon as I start glxgears or other > samples. No more info yet. > > Here the render string: > --- > direct rendering: Yes > OpenGL renderer string: Mesa DRI R200 (RV280 5961) 20090101 TCL > --- > > Chipset: "ATI Radeon 9200 5961 (AGP)" (ChipID = 0x5961) > Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) > > Note, it is a PCI card, not an AGP one. > > Also, I do run old Xorg (X.Org X Server 1.7.7 and the 6.14.3 ati pkg.). > > I'll continue playing a bit. > > Andreas > > I got a Apple OEM Radeon 9260 256M AGP 8x. I chopped the two resistors that allow it to work in an MDD, it worked fine for OS X. I still don't have working DRM, however glxgears actually shows the gears. One to two frames are emitted before the card crashes and loops in drmCommandNone. Turning on dev.dri.0.debug=1, I'm seeing an ioctl completing and returning '35' periodically. Not sure what a positive return value means, or what ioctl is being called (I assume it's a flush or something in drmCommandNone). So I'm starting to think it's the MDD that's the issue, but I'm not sure why. I tried adding the 2x_reset quirk in agp.ko, even though it seems unecessary and Linux has no 2x quirk for this chipset either. Doesn't U3 have hardware byteswappers or something...? Matt From owner-freebsd-ppc@FreeBSD.ORG Fri Nov 30 04:56:07 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25B02B2A; Fri, 30 Nov 2012 04:56:07 +0000 (UTC) (envelope-from nwhitehorn@banshee.munuc.org) Received: from banshee.munuc.org (cl-106.chi-02.us.sixxs.net [IPv6:2001:4978:f:69::2]) by mx1.freebsd.org (Postfix) with ESMTP id DBC9A8FC12; Fri, 30 Nov 2012 04:56:06 +0000 (UTC) Received: from nwhitehorn (helo=localhost) by banshee.munuc.org with local-esmtp (Exim 4.74 (FreeBSD)) (envelope-from ) id 1TeIdv-000C6M-4c; Thu, 29 Nov 2012 22:56:03 -0600 Date: Thu, 29 Nov 2012 22:56:03 -0600 (CST) From: Nathan Whitehorn X-X-Sender: nwhitehorn@banshee.munuc.org To: matt Subject: Re: PPC DRM graphics testing In-Reply-To: <50B82E9C.5030800@gmail.com> Message-ID: References: <50972E9E.3010101@gmail.com> <50974ECD.5010702@fgznet.ch> <50988FE0.9030806@gmail.com> <50989EA0.5020509@fgznet.ch> <5098CA4F.7020306@gmail.com> <509A8B3D.8030703@fgznet.ch> <50B82E9C.5030800@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: Nathan Whitehorn X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nwhitehorn@banshee.munuc.org X-SA-Exim-Scanned: No (on banshee.munuc.org); SAEximRunCond expanded to false Cc: x11@freebsd.org, freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2012 04:56:07 -0000 On Thu, 29 Nov 2012, matt wrote: > On 11/07/12 08:24, Andreas Tobler wrote: >> On 06.11.12 09:29, matt wrote: >>> On 11/05/12 21:22, Andreas Tobler wrote: >>>> Hm, I can try to bring the Radeon 9200 PCI up and see how it behaves. >>>> It'll take a few moments. But at least we have another config to compare. >>>> >>>> Oh, and one thing to note, my config works with built-in (not a kernel >>>> module) drm/radeondrm. Have you tried this too? >>>> >>>> Kernel config: >>>> # Direct Rendering modules for 3D acceleration. >>>> device drm # DRM core module required by DRM drivers >>>> device radeondrm # ATI Radeon >>>> >>>> >>>> Attached the patch to make it compile. >>>> >>>> Andreas >>>> >>>> >>>> >>> A good idea, but it didn't help. Backtrace was slightly different, but >>> nothing decisive. exaCopyDirty() seems to be involved quite often. >>> >>> I also found 7.7 will not work, because although they left in r200, they >>> stripped out UMS. >>> >>> So it's back to the drawing board, or at least poking at sources and/or >>> gdb for a while :) >> Just a short notice from my side. I finally managed to get the pci >> radeon 9200 work, means I can startx. >> I had some issues until I found out how to make Xorg recognize the pci >> card which is not in the primary pci domain. >> >> I needed this string in the xorg.conf, under the section "Device" >> >> BusID "PCI:1@1:2:0" >> >> Important is ":domain@bus:". >> >> Regarding drm, I get hardlocks as soon as I start glxgears or other >> samples. No more info yet. >> >> Here the render string: >> --- >> direct rendering: Yes >> OpenGL renderer string: Mesa DRI R200 (RV280 5961) 20090101 TCL >> --- >> >> Chipset: "ATI Radeon 9200 5961 (AGP)" (ChipID = 0x5961) >> Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) >> >> Note, it is a PCI card, not an AGP one. >> >> Also, I do run old Xorg (X.Org X Server 1.7.7 and the 6.14.3 ati pkg.). >> >> I'll continue playing a bit. >> >> Andreas >> >> > I got a Apple OEM Radeon 9260 256M AGP 8x. I chopped the two resistors > that allow it to work in an MDD, it worked fine for OS X. > > I still don't have working DRM, however glxgears actually shows the > gears. One to two frames are emitted before the card crashes and loops > in drmCommandNone. > > Turning on dev.dri.0.debug=1, I'm seeing an ioctl completing and > returning '35' periodically. Not sure what a positive return value > means, or what ioctl is being called (I assume it's a flush or something > in drmCommandNone). > > So I'm starting to think it's the MDD that's the issue, but I'm not sure > why. I tried adding the 2x_reset quirk in agp.ko, even though it seems > unecessary and Linux has no 2x quirk for this chipset either. > > Doesn't U3 have hardware byteswappers or something...? Thanks for doing these tests! I wanted to point out that a bug in the AGP driver cannot be ruled out. It's fairly simple but never really got tested until quite recently when you started looking at this and drm began working. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Nov 30 06:44:17 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11FEBA89; Fri, 30 Nov 2012 06:44:17 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id C1AFD8FC12; Fri, 30 Nov 2012 06:44:16 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id wz12so219817pbc.13 for ; Thu, 29 Nov 2012 22:44:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=WXiIWcqiGWXaeUZ2/KZDJLvUjc0l+IgABNVoxeQNU+U=; b=ifwiQmPoo9CdQ2BUKyzRD62+8+t4ncNseMntDp5AAD08GOOZO6RQJEWqIbdCXUtY+m fIllSHX+mZjtlzw3EOhbGNj6YO/S6Il14zQ8BwSR8ZMbc38McwdnzjkalspYnNvvH+23 sFPjYMxzNX+YTdjknaYvuKSTDwxwJ9qkoZNGnGVfdc8MucLqkB1HLhAEXRxpvEaQ+2ha SmsI6ekOlFr7WyEHSwVeNRzjP8bTO/tmuhsqwrrj3VZA7tGakMQFLTGChwjp2zof74/E 5HLen5juOV6PLLCbhOKhSymr+X+TxiAYcJOmcjJMLXL9JJlC52gu8loHX9IxDcVG5ERy /kaQ== Received: by 10.68.136.163 with SMTP id qb3mr2801988pbb.129.1354257856078; Thu, 29 Nov 2012 22:44:16 -0800 (PST) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id wg3sm2539470pbc.28.2012.11.29.22.44.12 (version=SSLv3 cipher=OTHER); Thu, 29 Nov 2012 22:44:14 -0800 (PST) Message-ID: <50B8559F.6090708@gmail.com> Date: Thu, 29 Nov 2012 22:43:43 -0800 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Nathan Whitehorn Subject: Re: PPC DRM graphics testing References: <50972E9E.3010101@gmail.com> <50974ECD.5010702@fgznet.ch> <50988FE0.9030806@gmail.com> <50989EA0.5020509@fgznet.ch> <5098CA4F.7020306@gmail.com> <509A8B3D.8030703@fgznet.ch> <50B82E9C.5030800@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: x11@freebsd.org, freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2012 06:44:17 -0000 On 11/29/12 20:56, Nathan Whitehorn wrote: > > > On Thu, 29 Nov 2012, matt wrote: > >> On 11/07/12 08:24, Andreas Tobler wrote: >>> On 06.11.12 09:29, matt wrote: >>>> On 11/05/12 21:22, Andreas Tobler wrote: >>>>> Hm, I can try to bring the Radeon 9200 PCI up and see how it behaves. >>>>> It'll take a few moments. But at least we have another config to >>>>> compare. >>>>> >>>>> Oh, and one thing to note, my config works with built-in (not a >>>>> kernel >>>>> module) drm/radeondrm. Have you tried this too? >>>>> >>>>> Kernel config: >>>>> # Direct Rendering modules for 3D acceleration. >>>>> device drm # DRM core module required by DRM >>>>> drivers >>>>> device radeondrm # ATI Radeon >>>>> >>>>> >>>>> Attached the patch to make it compile. >>>>> >>>>> Andreas >>>>> >>>>> >>>>> >>>> A good idea, but it didn't help. Backtrace was slightly different, but >>>> nothing decisive. exaCopyDirty() seems to be involved quite often. >>>> >>>> I also found 7.7 will not work, because although they left in r200, >>>> they >>>> stripped out UMS. >>>> >>>> So it's back to the drawing board, or at least poking at sources >>>> and/or >>>> gdb for a while :) >>> Just a short notice from my side. I finally managed to get the pci >>> radeon 9200 work, means I can startx. >>> I had some issues until I found out how to make Xorg recognize the pci >>> card which is not in the primary pci domain. >>> >>> I needed this string in the xorg.conf, under the section "Device" >>> >>> BusID "PCI:1@1:2:0" >>> >>> Important is ":domain@bus:". >>> >>> Regarding drm, I get hardlocks as soon as I start glxgears or other >>> samples. No more info yet. >>> >>> Here the render string: >>> --- >>> direct rendering: Yes >>> OpenGL renderer string: Mesa DRI R200 (RV280 5961) 20090101 TCL >>> --- >>> >>> Chipset: "ATI Radeon 9200 5961 (AGP)" (ChipID = 0x5961) >>> Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) >>> >>> Note, it is a PCI card, not an AGP one. >>> >>> Also, I do run old Xorg (X.Org X Server 1.7.7 and the 6.14.3 ati pkg.). >>> >>> I'll continue playing a bit. >>> >>> Andreas >>> >>> >> I got a Apple OEM Radeon 9260 256M AGP 8x. I chopped the two resistors >> that allow it to work in an MDD, it worked fine for OS X. >> >> I still don't have working DRM, however glxgears actually shows the >> gears. One to two frames are emitted before the card crashes and loops >> in drmCommandNone. >> >> Turning on dev.dri.0.debug=1, I'm seeing an ioctl completing and >> returning '35' periodically. Not sure what a positive return value >> means, or what ioctl is being called (I assume it's a flush or something >> in drmCommandNone). >> >> So I'm starting to think it's the MDD that's the issue, but I'm not sure >> why. I tried adding the 2x_reset quirk in agp.ko, even though it seems >> unecessary and Linux has no 2x quirk for this chipset either. >> >> Doesn't U3 have hardware byteswappers or something...? > > Thanks for doing these tests! I wanted to point out that a bug in the > AGP driver cannot be ruled out. It's fairly simple but never really > got tested until quite recently when you started looking at this and > drm began working. > -Nathan Puzzles are fun, and if the result is compiz on a powermac all the better :). Well, it at least works fine on the G5 agp bridge. So if it is an AGP issue, it's a quirk in Uninorth-2 possiby. It'd be interesting to see if drm was OK on pci macs. BusType "PCI" didn't fix Xorg, but I'm not sure that means that agp is ok? Jung-uk Kim had a little program to test the gart, but unfortunately it's heavy on the ia32 assembly. Some other things I have yet to try are to disable one processor and to swap everything to the other MDD. I am still trying to figure out what the meaning of drm returning 35 over and over might be as well. Matt From owner-freebsd-ppc@FreeBSD.ORG Sat Dec 1 06:21:01 2012 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 84E6C2CB; Sat, 1 Dec 2012 06:21:01 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 51F268FC14; Sat, 1 Dec 2012 06:21:01 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id qB16L0RR032168; Sat, 1 Dec 2012 01:21:00 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id qB16L092032164; Sat, 1 Dec 2012 06:21:00 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 1 Dec 2012 06:21:00 GMT Message-Id: <201212010621.qB16L092032164@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2012 06:21:01 -0000 TB --- 2012-12-01 03:42:52 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-12-01 03:42:52 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-12-01 03:42:52 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2012-12-01 03:42:52 - cleaning the object tree TB --- 2012-12-01 03:42:52 - checking out /src from svn://svn.freebsd.org/base/head TB --- 2012-12-01 03:42:52 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2012-12-01 03:42:52 - /usr/local/bin/svn cleanup /src TB --- 2012-12-01 03:44:15 - /usr/local/bin/svn update /src TB --- 2012-12-01 03:44:23 - At svn revision 243742 TB --- 2012-12-01 03:44:24 - building world TB --- 2012-12-01 03:44:24 - CROSS_BUILD_TESTING=YES TB --- 2012-12-01 03:44:24 - MAKEOBJDIRPREFIX=/obj TB --- 2012-12-01 03:44:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-12-01 03:44:24 - SRCCONF=/dev/null TB --- 2012-12-01 03:44:24 - TARGET=powerpc TB --- 2012-12-01 03:44:24 - TARGET_ARCH=powerpc TB --- 2012-12-01 03:44:24 - TZ=UTC TB --- 2012-12-01 03:44:24 - __MAKE_CONF=/dev/null TB --- 2012-12-01 03:44:24 - cd /src TB --- 2012-12-01 03:44:24 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Dec 1 03:44:29 UTC 2012 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat Dec 1 06:11:49 UTC 2012 TB --- 2012-12-01 06:11:49 - generating LINT kernel config TB --- 2012-12-01 06:11:49 - cd /src/sys/powerpc/conf TB --- 2012-12-01 06:11:49 - /usr/bin/make -B LINT TB --- 2012-12-01 06:11:49 - cd /src/sys/powerpc/conf TB --- 2012-12-01 06:11:49 - /usr/sbin/config -m LINT TB --- 2012-12-01 06:11:49 - building LINT kernel TB --- 2012-12-01 06:11:49 - CROSS_BUILD_TESTING=YES TB --- 2012-12-01 06:11:49 - MAKEOBJDIRPREFIX=/obj TB --- 2012-12-01 06:11:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-12-01 06:11:49 - SRCCONF=/dev/null TB --- 2012-12-01 06:11:49 - TARGET=powerpc TB --- 2012-12-01 06:11:49 - TARGET_ARCH=powerpc TB --- 2012-12-01 06:11:49 - TZ=UTC TB --- 2012-12-01 06:11:49 - __MAKE_CONF=/dev/null TB --- 2012-12-01 06:11:49 - cd /src TB --- 2012-12-01 06:11:49 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Dec 1 06:11:49 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/kern/vfs_lookup.c /src/sys/kern/vfs_lookup.c:214:54: error: macro "AUDIT_ARG_UPATH1" passed 4 arguments, but takes just 3 /src/sys/kern/vfs_lookup.c: In function 'namei': /src/sys/kern/vfs_lookup.c:214: error: 'AUDIT_ARG_UPATH1' undeclared (first use in this function) /src/sys/kern/vfs_lookup.c:214: error: (Each undeclared identifier is reported only once /src/sys/kern/vfs_lookup.c:214: error: for each function it appears in.) /src/sys/kern/vfs_lookup.c:216:54: error: macro "AUDIT_ARG_UPATH2" passed 4 arguments, but takes just 3 /src/sys/kern/vfs_lookup.c:216: error: 'AUDIT_ARG_UPATH2' undeclared (first use in this function) *** [vfs_lookup.o] Error code 1 Stop in /obj/powerpc.powerpc/src/sys/LINT. *** [buildkernel] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-12-01 06:21:00 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-12-01 06:21:00 - ERROR: failed to build LINT kernel TB --- 2012-12-01 06:21:00 - 7389.74 user 1012.55 system 9488.19 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Dec 1 16:43:56 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A321598; Sat, 1 Dec 2012 16:43:56 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 24AAB8FC08; Sat, 1 Dec 2012 16:43:55 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id qB1GQPNL068390; Sat, 1 Dec 2012 17:26:26 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <50BA2FB1.5060509@fgznet.ch> Date: Sat, 01 Dec 2012 17:26:25 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: matt Subject: Re: PPC DRM graphics testing References: <50972E9E.3010101@gmail.com> <50974ECD.5010702@fgznet.ch> <50988FE0.9030806@gmail.com> <50989EA0.5020509@fgznet.ch> <5098CA4F.7020306@gmail.com> <509A8B3D.8030703@fgznet.ch> <50B82E9C.5030800@gmail.com> <50B8559F.6090708@gmail.com> In-Reply-To: <50B8559F.6090708@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: x11@freebsd.org, freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2012 16:43:56 -0000 On 30.11.12 07:43, matt wrote: > On 11/29/12 20:56, Nathan Whitehorn wrote: >> >> >> On Thu, 29 Nov 2012, matt wrote: >> >>> On 11/07/12 08:24, Andreas Tobler wrote: >>>> On 06.11.12 09:29, matt wrote: >>>>> On 11/05/12 21:22, Andreas Tobler wrote: >>>>>> Hm, I can try to bring the Radeon 9200 PCI up and see how it behaves. >>>>>> It'll take a few moments. But at least we have another config to >>>>>> compare. >>>>>> >>>>>> Oh, and one thing to note, my config works with built-in (not a >>>>>> kernel >>>>>> module) drm/radeondrm. Have you tried this too? >>>>>> >>>>>> Kernel config: >>>>>> # Direct Rendering modules for 3D acceleration. >>>>>> device drm # DRM core module required by DRM >>>>>> drivers >>>>>> device radeondrm # ATI Radeon >>>>>> >>>>>> >>>>>> Attached the patch to make it compile. >>>>>> >>>>>> Andreas >>>>>> >>>>>> >>>>>> >>>>> A good idea, but it didn't help. Backtrace was slightly different, but >>>>> nothing decisive. exaCopyDirty() seems to be involved quite often. >>>>> >>>>> I also found 7.7 will not work, because although they left in r200, >>>>> they >>>>> stripped out UMS. >>>>> >>>>> So it's back to the drawing board, or at least poking at sources >>>>> and/or >>>>> gdb for a while :) >>>> Just a short notice from my side. I finally managed to get the pci >>>> radeon 9200 work, means I can startx. >>>> I had some issues until I found out how to make Xorg recognize the pci >>>> card which is not in the primary pci domain. >>>> >>>> I needed this string in the xorg.conf, under the section "Device" >>>> >>>> BusID "PCI:1@1:2:0" >>>> >>>> Important is ":domain@bus:". >>>> >>>> Regarding drm, I get hardlocks as soon as I start glxgears or other >>>> samples. No more info yet. >>>> >>>> Here the render string: >>>> --- >>>> direct rendering: Yes >>>> OpenGL renderer string: Mesa DRI R200 (RV280 5961) 20090101 TCL >>>> --- >>>> >>>> Chipset: "ATI Radeon 9200 5961 (AGP)" (ChipID = 0x5961) >>>> Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) >>>> >>>> Note, it is a PCI card, not an AGP one. >>>> >>>> Also, I do run old Xorg (X.Org X Server 1.7.7 and the 6.14.3 ati pkg.). >>>> >>>> I'll continue playing a bit. >>>> >>>> Andreas >>>> >>>> >>> I got a Apple OEM Radeon 9260 256M AGP 8x. I chopped the two resistors >>> that allow it to work in an MDD, it worked fine for OS X. >>> >>> I still don't have working DRM, however glxgears actually shows the >>> gears. One to two frames are emitted before the card crashes and loops >>> in drmCommandNone. >>> >>> Turning on dev.dri.0.debug=1, I'm seeing an ioctl completing and >>> returning '35' periodically. Not sure what a positive return value >>> means, or what ioctl is being called (I assume it's a flush or something >>> in drmCommandNone). >>> >>> So I'm starting to think it's the MDD that's the issue, but I'm not sure >>> why. I tried adding the 2x_reset quirk in agp.ko, even though it seems >>> unecessary and Linux has no 2x quirk for this chipset either. >>> >>> Doesn't U3 have hardware byteswappers or something...? >> >> Thanks for doing these tests! I wanted to point out that a bug in the >> AGP driver cannot be ruled out. It's fairly simple but never really >> got tested until quite recently when you started looking at this and >> drm began working. >> -Nathan > Puzzles are fun, and if the result is compiz on a powermac all the > better :). > > Well, it at least works fine on the G5 agp bridge. So if it is an AGP > issue, it's a quirk in Uninorth-2 possiby. It'd be interesting to see if > drm was OK on pci macs. BusType "PCI" didn't fix Xorg, but I'm not sure > that means that agp is ok? > > Jung-uk Kim had a little program to test the gart, but unfortunately > it's heavy on the ia32 assembly. > > Some other things I have yet to try are to disable one processor and to > swap everything to the other MDD. > I am still trying to figure out what the meaning of drm returning 35 > over and over might be as well. I quess I'm now in the same boat as you :) With a mac mini which has a "agp0: " bridge. Starting X is ok, but as soon as I launch glxgears I get a complete freeze. Looking in some sources (lnx, drivers/char/agp) gives a hint that there are some distinctions between uninorth revs. Although mine is not mentioned. Looking around. Andreas From owner-freebsd-ppc@FreeBSD.ORG Sat Dec 1 19:17:44 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9921B28F for ; Sat, 1 Dec 2012 19:17:44 +0000 (UTC) (envelope-from tom.armistead@yahoo.com) Received: from nm27.bullet.mail.bf1.yahoo.com (nm27.bullet.mail.bf1.yahoo.com [98.139.212.186]) by mx1.freebsd.org (Postfix) with ESMTP id 112388FC12 for ; Sat, 1 Dec 2012 19:17:43 +0000 (UTC) Received: from [98.139.212.152] by nm27.bullet.mail.bf1.yahoo.com with NNFMP; 01 Dec 2012 19:17:43 -0000 Received: from [98.139.212.196] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 01 Dec 2012 19:17:43 -0000 Received: from [127.0.0.1] by omp1005.mail.bf1.yahoo.com with NNFMP; 01 Dec 2012 19:17:43 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 380818.77167.bm@omp1005.mail.bf1.yahoo.com Received: (qmail 61960 invoked by uid 60001); 1 Dec 2012 19:17:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1354389463; bh=PPBEp84MFN5Sn1mS70EPRKJoF8RK1XgrGEC9MSlGMnE=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=MhbjIyhyvAGDG19ohaV/Uz7R9SsGdpdXu2yaxWqqca0H/C4mcMtZpPgJEoJmDpaZaCKmjOWeS8KA09VN5S6kMTTPr6okp+pTax77yE5oukNFDqNYD15j6XyXEo0Snb/vHkEm7s2m2lWT8/ywHUzccjhqOfG9ufgnZZqPaVLTJcE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=dMXty6yIyDWTtyOM6uWjGMx0oL013uJW0xL2cWfdRAOuxVcj/6k47TOpKJxbw66jmBS18N9ecgtkJxauNlzq8vo6TR82aI/NHtXlk6FwywBKR4m3SBIYDdQZme1PXufyEuuUrGyjvWnHZKEEQqRPGCZSU9Udl/gk3RSHhKyMWAI=; X-YMail-OSG: 8XVag58VM1lAfssnZ2sjTNrPlqFRqd6YHsLLHYxlD0xI2Sb 5ix.uQaW5XPOhqCdRqqAPAUsHDEvHPEpPXdNUP_lg5HUvkd_gI7FhN2cHQbA 4RauGqkNHMFP__g9eW_mPtHHrnflfdCWapFCtoCDvuB3gyIWad.i0t2TNWke qYaTFYLW_tLxs3zqjOQzAPCGDysRshkTMbJa3yh4EhVf.yYsrXxPWel1BpsT zhzm47HR88hTGa.dpp3Y9OpEI2FSowfPIedQdr4JdCo5r0ha_3N4Ambhfyyc wpWmwwS7GvBnt6mbKRJBX10BItG78nAXmhNqUpQZIif5cAf89P7iR0qQHWHb uKvCbx.sDqhnpLr1KXZM2Qv.eeagW7L04Tp52sRCsMw_GTqnpoPCvZzHNVAD .cr7diIG69npljFt4EGjFDkyzeQIYrfVwAx1SWdB7pfiuDY6mcR4CzuwG3MW ZlwzkST8wTveI.OpS726GBbNusi2w5BsH4vnVHT0RpYtcsoZ7ilMVjK9JgLc c Received: from [68.98.62.126] by web141405.mail.bf1.yahoo.com via HTTP; Sat, 01 Dec 2012 11:17:43 PST X-Rocket-MIMEInfo: 001.001, CgogICBJIGhhdmUgc2V2ZXJhbCBubyBsb25nZXIgbmVlZGVkIHBvd2VycGMgbWFjcy4gICBJIGFtIGdpdmluZyB0aGVtIGF3YXkgdG8gYW55b25lIHdobyBjYW4gdXNlIHRoZW0gZm9yIEZyZWVCU0QgZGV2ZWxvcG1lbnQuICAgCgogICBUaGUgY2F0Y2ggaXMgdGhhdCB0aGV5IGFyZSBpbiB0aGUgUGhvZW5peCBhcmVhIGFuZCB5b3Ugd291bGQgaGF2ZSB0byBwaWNrIHRoZW0gdXAuICAgSSB3b24ndCBzaGlwIHRoZW0uCgogICBUaGV5IGFyZToKCiAgIEc0IFRvd2VyIChRdWlja1NpbHZlciBJIHRoaW5rKSwgODYBMAEBAQE- X-Mailer: YahooMailClassic/15.1.1 YahooMailWebService/0.8.128.478 Message-ID: <1354389463.91731.YahooMailClassic@web141405.mail.bf1.yahoo.com> Date: Sat, 1 Dec 2012 11:17:43 -0800 (PST) From: tom armistead Subject: free powermacs for bsd dev To: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2012 19:17:44 -0000 I have several no longer needed powerpc macs. I am giving them away to anyone who can use them for FreeBSD development. The catch is that they are in the Phoenix area and you would have to pick them up. I won't ship them. They are: G4 Tower (QuickSilver I think), 866Mhz, 384Meg RAM, 61 Gig HD (HD is flakey). G3 iMAC 500Mhz, 256Meg RAM, 20 Gig HD. G3 iMAC 500Mhz, 640Meg RAM, 30 Gig HD. No keyboards or mice with any of them... They all boot up. But if you take one, you probably should replace the HD to be safe.