From owner-freebsd-current@freebsd.org Thu Oct 3 13:14:31 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 08842135A02 for ; Thu, 3 Oct 2019 13:14:31 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46kYPf1hR8z46j4 for ; Thu, 3 Oct 2019 13:14:29 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id x93DESi4007775 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 3 Oct 2019 06:14:28 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id x93DESfD007774; Thu, 3 Oct 2019 06:14:28 -0700 (PDT) (envelope-from sgk) Date: Thu, 3 Oct 2019 06:14:27 -0700 From: Steve Kargl To: Hans Petter Selasky Cc: freebsd-current@freebsd.org, Johannes Lundberg Subject: Re: radeon panics kernels Message-ID: <20191003131427.GB4677@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20191002211946.GA1031@troutmask.apl.washington.edu> <20191003125920.GA4528@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 46kYPf1hR8z46j4 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of sgk@troutmask.apl.washington.edu has no SPF policy when checking 128.95.76.21) smtp.mailfrom=sgk@troutmask.apl.washington.edu X-Spamd-Result: default: False [-1.09 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[sgk@troutmask.apl.washington.edu]; NEURAL_HAM_MEDIUM(-0.80)[-0.796,0]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[washington.edu]; REPLYTO_ADDR_EQ_FROM(0.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.96)[-0.962,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-0.23)[ip: (0.06), ipnet: 128.95.0.0/16(-0.28), asn: 73(-0.88), country: US(-0.05)]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2019 13:14:31 -0000 On Thu, Oct 03, 2019 at 03:05:27PM +0200, Hans Petter Selasky wrote: > On 2019-10-03 14:59, Steve Kargl wrote: > > On Thu, Oct 03, 2019 at 09:17:32AM +0200, Hans Petter Selasky wrote: > >> On 2019-10-02 23:19, Steve Kargl wrote: > >>> troutmask.apl.washington.edu dumped core - see /var/crash/vmcore.7 > >>> > >>> Wed Oct 2 14:12:38 PDT 2019 > >>> > >> > >> This looks like a simple NULL pointer. > >> > >> Can you re-compile the drm ports module with debugging symbols and then > >> reproduce? > >> > > > > Yes. Is there a ports knob, ie., 'make -DEBUG' for the > > drm ports? Or, do I need to add CFLAGS+=-g to the Makefile? > > > > BTW, this is what I have installed > > > > drm-current-kmod-4.16.g20190927 DRM modules for the linuxkpi-based KMS > > drm-kmod-g20190710 Metaport of DRM modules > > gpu-firmware-kmod-g20190825 Firmware modules for the linuxkpi-based KMS > > If you leave the port debug knob for drm-current-kmod AS-IS, I think you > can get away with: > > make DEBUG_FLAGS="-g" > > Then re-load the vmcore file in GDB/KGDB from ports (!) and add the > symbol files for the modules loaded. Then get the backtrace using bt > command. > > BTW: Did you try drm-devel-kmod for 13-current? > No. I let drm-kmod select drm-current-kod. I can trying drm-devel-kmodr. I do have an older graphics card, which required the drm-legacy-kmod port until recently % pciconf -vl ... vendor = 'Advanced Micro Devices, Inc. [AMD/ATI]' device = 'Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]' class = display subclass = VGA -- Steve