From owner-freebsd-current@freebsd.org Fri Oct 4 19:17:43 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 B636C136880 for ; Fri, 4 Oct 2019 19:17:43 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46lKQG6mR9z3Dts for ; Fri, 4 Oct 2019 19:17:42 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-oi1-x235.google.com with SMTP id m16so6717620oic.5 for ; Fri, 04 Oct 2019 12:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wyRCKU+y1bfz88MyW3l0xhmFxSy0LnEN9KF1D/YEVU8=; b=fRQKNSnWKSatwYA457gI1DtAihCq0yd43AIWP0O1hvGhiY9kCpGPqVnAgDVGGZKTH9 +9Oj9VYSQsRrj6RgRb8BiviFEuFjYuk4fVhe5+Zf93FsaTdl9pKbKjU7eMT7n9qcBNA3 xc/N1MtzLAsshyByx6nQuZPzUGN6K/I+xu/xCwpHHTuWxcyIlQj2ReBbyFE4s0JnSIbt kjyORaKrvFLL1lO0WVZk3Lq5fL+h3OzJT1DX52wRCtYja4lLyt2WF5YCe1ObLvHFXH+J FKigJ2Lvk80OM5aojhN8klNPlm9gUEoFJTAdtuVlinxxjD/BlGReKHxKnbNylcb23yL6 nGrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wyRCKU+y1bfz88MyW3l0xhmFxSy0LnEN9KF1D/YEVU8=; b=F7qZE/I08Gd7S4DuwNbMTYO1aFNmNeBTLDoMyZHLIKyKcwy3lgJSGWrR9SJowTVwWT yvhnJ40zdNdhqRij+qv23bCbUuYbzC+EANcTxZ6xFxJyraMGB66racXMvHTCuNeMOadT C33oVUfA/5qegSQDdxMiNN8VxsGQmKLZeFBdc1to2wr5ZEwc9IdTi5X7zo4S4gy3/Vnq 3pBa/3+tUYcsmQFEGPZ997paWVgTJpyW/ZwHW+41CNCZyQnOWw82iw09ocyTvS1YB1TZ dZXvsigI6x4fSw/nu+USLYTbo1V/tqb3SIP/6mds9ez7qW+i/ZSN/TDShADyzbEVamlr QiCw== X-Gm-Message-State: APjAAAW/H1S2nc5ppUyQJv2REH2Tb59yYIveUhWCqNcfsPh9WTs4p6Qc 8uOEaVvKe9DacTguymofVANZ96kP9ILF9WP0MO/bCSoQ X-Google-Smtp-Source: APXvYqyu00l+TLfMsH8+icMF0cz6WwB/pSWV4yGyX5Ux0/YzMzws+gMoX4Dr5f1vxowhkia5pIs+XuCfRz7w1VPwmPY= X-Received: by 2002:a54:4f8f:: with SMTP id g15mr8462390oiy.62.1570216661406; Fri, 04 Oct 2019 12:17:41 -0700 (PDT) MIME-Version: 1.0 References: <20191002211946.GA1031@troutmask.apl.washington.edu> <20191003125920.GA4528@troutmask.apl.washington.edu> <20191003202643.GA61643@troutmask.apl.washington.edu> <5aa9c63c-98a2-b222-1b8b-64d33e47951b@selasky.org> <20191004183929.GA88416@troutmask.apl.washington.edu> In-Reply-To: <20191004183929.GA88416@troutmask.apl.washington.edu> From: Johannes Lundberg Date: Fri, 4 Oct 2019 12:17:30 -0700 Message-ID: Subject: Re: radeon panics kernels To: sgk@troutmask.apl.washington.edu Cc: Hans Petter Selasky , freebsd-current@freebsd.org X-Rspamd-Queue-Id: 46lKQG6mR9z3Dts X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=fRQKNSnW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of johalun0@gmail.com designates 2607:f8b0:4864:20::235 as permitted sender) smtp.mailfrom=johalun0@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[5.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-9.03), ipnet: 2607:f8b0::/32(-2.56), asn: 15169(-2.16), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 04 Oct 2019 19:17:43 -0000 On Fri, Oct 4, 2019 at 11:39 Steve Kargl wrote: > On Thu, Oct 03, 2019 at 11:52:38PM +0200, Hans Petter Selasky wrote: > > On 2019-10-03 22:26, Steve Kargl wrote: > > > On Thu, Oct 03, 2019 at 03:05:27PM +0200, Hans Petter Selasky wrote: > > >> > > >> 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? > > >> > > > > > > Took a bit of trial and error. If I skip the panic > > > and trap frames (#0 through #8). I find the backtrace > > > that follows by sig. If I move to frame #11, I see > > > > > > (kgdb) frame 11 > > > #11 r100_mm_rreg_slow (rdev=0xfffff80135766a70, reg=) > > > at > /usr/ports/graphics/drm-current-kmod/work/kms-drm-2d2852e/drivers/gpu/drm/radeon/r100.c:4114 > > > 4114 writel(reg, ((void __iomem *)rdev->rmmio) + > RADEON_MM_INDEX); > > > (kgdb) p rdev->rmmio > > > $3 = (void *) 0x0 > > > > > > So, your guess of a NULL pointer seems correct. > > > > Can you do: > > > > set print pretty on > > print *rdev > > > > This produces close to 3400 lines of output. Do you want me to > send it to the list or directly to you? Please put on gist, pastebin, etc and share the link. > > -- > Steve >