From owner-freebsd-bugs@freebsd.org Thu Apr 25 03:09:25 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 751B3158A2B8 for ; Thu, 25 Apr 2019 03:09:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 10C208D193 for ; Thu, 25 Apr 2019 03:09:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C1492158A2B7; Thu, 25 Apr 2019 03:09:24 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84CEF158A2B6 for ; Thu, 25 Apr 2019 03:09:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 204388D190 for ; Thu, 25 Apr 2019 03:09:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5BDBF14A3 for ; Thu, 25 Apr 2019 03:09:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3P39NIm051138 for ; Thu, 25 Apr 2019 03:09:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3P39NfP051128 for bugs@FreeBSD.org; Thu, 25 Apr 2019 03:09:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 237544] panic on 12-STABLE with Radeon HD 7450 under drm-fbsd12.0-kmod but not drm-fbsd11.2-kmod Date: Thu, 25 Apr 2019 03:09:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sigsys@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2019 03:09:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237544 Bug ID: 237544 Summary: panic on 12-STABLE with Radeon HD 7450 under drm-fbsd12.0-kmod but not drm-fbsd11.2-kmod Product: Base System Version: 12.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: sigsys@gmail.com I have a computer with a Radeon HD 7450 that panics when using the drm-fbsd12.0-kmod driver but works OK with the drm-fbsd11.2-kmod one. It usually takes a few days to panic (after which I revert it to the older kmo= d).=20 Can't tell if it's doing something in particular that triggers it (but that= 's with browsers and media players always opened). It did this under 12.0-REL= EASE as well. I tried the newer kmod after upgrading to 12-STABLE to see if that fixed it, but it still panics. That's with radeonkms. amdgpu doesn't work with it (loading it does not recognize any video card it seems). I did not have the xf86-video-ati or xf86-video-amdgpu Xorg drivers installed. I take it they are not needed anymore? Also oddly enough the screen has a bright gray background after the module loads. The text is still readable but very difficult to read. It fixes its= elf after starting Xorg (then switching back to a console VT has a black background). [66314] [66314] [66314] Fatal trap 12: page fault while in kernel mode [66314] cpuid =3D 3; apic id =3D 03 [66314] fault virtual address =3D 0x0 [66314] fault code =3D supervisor write data , page not prese= nt [66314] instruction pointer =3D 0x20:0xffffffff8334d93c [66314] stack pointer =3D 0x28:0xfffffe004132b610 [66314] frame pointer =3D 0x28:0xfffffe004132b640 [66314] code segment =3D base 0x0, limit 0xfffff, type 0x1b [66314] =3D DPL 0, pres 1, long 1, def32 0, gran 1 [66314] processor eflags =3D interrupt enabled, resume, IOPL =3D 3 [66314] current process =3D 23751 (X:rcs0) [66314] trap number =3D 12 [66314] panic: page fault [66314] cpuid =3D 3 [66314] time =3D 1555971829 [66314] KDB: stack backtrace: [66314] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe004132b2c0 [66314] vpanic() at vpanic+0x19d/frame 0xfffffe004132b310 [66314] panic() at panic+0x43/frame 0xfffffe004132b370 [66314] trap_fatal() at trap_fatal+0x394/frame 0xfffffe004132b3d0 [66314] trap_pfault() at trap_pfault+0x49/frame 0xfffffe004132b430 [66314] trap() at trap+0x29f/frame 0xfffffe004132b540 [66314] calltrap() at calltrap+0x8/frame 0xfffffe004132b540 [66314] --- trap 0xc, rip =3D 0xffffffff8334d93c, rsp =3D 0xfffffe004132b61= 0, rbp =3D 0xfffffe004132b640 --- [66314] ____rb_erase_color() at ____rb_erase_color+0x8c/frame 0xfffffe004132b640 [66314] drm_mm_remove_node() at drm_mm_remove_node+0x2bc/frame 0xfffffe004132b680 [66314] ttm_bo_man_put_node() at ttm_bo_man_put_node+0x3c/frame 0xfffffe004132b6a0 [66314] ttm_bo_cleanup_refs_or_queue() at ttm_bo_cleanup_refs_or_queue+0x202/frame 0xfffffe004132b6f0 [66314] ttm_bo_unref() at ttm_bo_unref+0x7e/frame 0xfffffe004132b720 [66314] radeon_bo_unref() at radeon_bo_unref+0x22/frame 0xfffffe004132b740 [66314] radeon_gem_object_free() at radeon_gem_object_free+0x1e/frame 0xfffffe004132b760 [66314] drm_gem_object_release_handle() at drm_gem_object_release_handle+0xd3/frame 0xfffffe004132b790 [66314] drm_gem_handle_delete() at drm_gem_handle_delete+0x8c/frame 0xfffffe004132b7d0 [66314] drm_ioctl_kernel() at drm_ioctl_kernel+0xf5/frame 0xfffffe004132b820 [66314] drm_ioctl() at drm_ioctl+0x27f/frame 0xfffffe004132b910 [66314] linux_file_ioctl() at linux_file_ioctl+0x298/frame 0xfffffe004132b9= 70 [66314] kern_ioctl() at kern_ioctl+0x274/frame 0xfffffe004132b9e0 [66314] sys_ioctl() at sys_ioctl+0x15d/frame 0xfffffe004132bab0 [66314] amd64_syscall() at amd64_syscall+0x364/frame 0xfffffe004132bbf0 [66314] fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe004132bbf0 [66314] --- syscall (54, FreeBSD ELF64, sys_ioctl), rip =3D 0x800cb560a, rs= p =3D 0x7fffdfffddf8, rbp =3D 0x7fffdfffde20 --- [66314] Uptime: 18h25m14s I'll try again next time the driver gets updated. --=20 You are receiving this mail because: You are the assignee for the bug.=