From owner-freebsd-ports-bugs@freebsd.org Tue Jan 8 17:56:13 2019 Return-Path: Delivered-To: freebsd-ports-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 75CB91485468 for ; Tue, 8 Jan 2019 17:56:13 +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 F3C996FB32 for ; Tue, 8 Jan 2019 17:56:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B0B061485463; Tue, 8 Jan 2019 17:56:12 +0000 (UTC) Delivered-To: ports-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 7D6D81485462 for ; Tue, 8 Jan 2019 17:56:12 +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 1CAC66FB2E for ; Tue, 8 Jan 2019 17:56:12 +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 485EE5D58 for ; Tue, 8 Jan 2019 17:56:11 +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 x08HuBf9083563 for ; Tue, 8 Jan 2019 17:56:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x08HuB6M083562 for ports-bugs@FreeBSD.org; Tue, 8 Jan 2019 17:56:11 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: ports-bugs@FreeBSD.org Subject: [Bug 234760] drm-fbsd12.0-kmod crash with AMD A10-7890K Date: Tue, 08 Jan 2019 17:56:11 +0000 X-Bugzilla-Reason: AssignedTo 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 Only Me X-Bugzilla-Who: skrechy@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-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-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2019 17:56:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234760 Bug ID: 234760 Summary: drm-fbsd12.0-kmod crash with AMD A10-7890K Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: skrechy@gmail.com Hello, After updating yesterday to the newest version of drm-fbsd12.0-kmod-4.16.g20181215 I experience sudden crashes at random time. My video card is an APU: AMD A10-7890K Radeon R7, 12 Compute Cores 4C+8G (4092.64-MHz K8-class CPU) I have kld_list=3D"/boot/modules/radeonkms.ko" in rc.conf. /var/log/messages: Init code: Jan 6 16:59:05 schCube kernel: [drm:radeon_device_init] Unable to find PCI= I/O BAR Jan 6 16:59:05 schCube kernel: pci_is_thunderbolt_attached not implemented= -- see your local kernel hacker Jan 6 16:59:05 schCube kernel: [drm:radeon_atombios_init] Unable to find P= CI I/O BAR; using MMIO for ATOM IIO Jan 6 16:59:05 schCube kernel: ATOM BIOS: 113 Jan 6 16:59:05 schCube kernel: efi_enabled not implemented -- see your loc= al kernel hacker Jan 6 16:59:05 schCube kernel: drmn0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used) Jan 6 16:59:05 schCube kernel: drmn0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF Jan 6 16:59:05 schCube kernel: Successfully added WC MTRR for [0xc0000000-0xcfffffff]: 0;=20 Jan 6 16:59:05 schCube kernel: [drm] Detected VRAM RAM=3D1024M, BAR=3D256M Jan 6 16:59:05 schCube kernel: [drm] RAM width 128bits DDR Jan 6 16:59:05 schCube kernel: [TTM] Zone kernel: Available graphics memo= ry: 7815064 kiB Jan 6 16:59:05 schCube kernel: [TTM] Zone dma32: Available graphics memo= ry: 2097152 kiB Jan 6 16:59:05 schCube kernel: [TTM] Initializing pool allocator Jan 6 16:59:05 schCube kernel: [drm] radeon: 1024M of VRAM memory ready Jan 6 16:59:05 schCube kernel: [drm] radeon: 2048M of GTT memory ready. Jan 6 16:59:05 schCube kernel: [drm] Loading kaveri Microcode Jan 6 16:59:05 schCube kernel: drmn0: successfully loaded firmware image w= ith name: radeon/kaveri_pfp.bin Jan 6 16:59:05 schCube kernel: drmn0: successfully loaded firmware image w= ith name: radeon/kaveri_me.bin Jan 6 16:59:05 schCube kernel: drmn0: successfully loaded firmware image w= ith name: radeon/kaveri_ce.bin Jan 6 16:59:05 schCube kernel: drmn0: successfully loaded firmware image w= ith name: radeon/kaveri_mec.bin Jan 6 16:59:05 schCube kernel: drmn0: successfully loaded firmware image w= ith name: radeon/kaveri_mec2.bin Jan 6 16:59:05 schCube kernel: drmn0: successfully loaded firmware image w= ith name: radeon/kaveri_rlc.bin Jan 6 16:59:05 schCube kernel: drmn0: successfully loaded firmware image w= ith name: radeon/kaveri_sdma.bin Jan 6 16:59:05 schCube kernel: [drm] Internal thermal controller without f= an control Jan 6 16:59:05 schCube kernel: [drm] radeon: dpm initialized Jan 6 16:59:05 schCube kernel: drmn0: successfully loaded firmware image w= ith name: radeon/bonaire_uvd.bin Jan 6 16:59:05 schCube kernel: [drm] Found UVD firmware Version: 1.64 Fami= ly ID: 9 Jan 6 16:59:05 schCube kernel: drmn0: successfully loaded firmware image w= ith name: radeon/BONAIRE_vce.bin Jan 6 16:59:05 schCube kernel: [drm] Found VCE firmware/feedback version 40.2.2 / 15! Jan 6 16:59:05 schCube kernel: [drm] GART: num cpu pages 524288, num gpu p= ages 524288 Jan 6 16:59:05 schCube kernel: [drm] PCIE GART of 2048M enabled (table at 0x000000000030E000). Jan 6 16:59:05 schCube kernel: drmn0: WB enabled Jan 6 16:59:05 schCube kernel: drmn0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0x0xfffff8004272ec00 Jan 6 16:59:05 schCube kernel: drmn0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0x0xfffff8004272ec04 Jan 6 16:59:05 schCube kernel: drmn0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0x0xfffff8004272ec08 Jan 6 16:59:05 schCube kernel: drmn0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0x0xfffff8004272ec0c Jan 6 16:59:05 schCube kernel: drmn0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0x0xfffff8004272ec10 Jan 6 16:59:05 schCube kernel: drmn0: fence driver on ring 5 use gpu addr 0x0000000000078d30 and cpu addr 0x0xfffff800c0078d30 Jan 6 16:59:05 schCube kernel: drmn0: fence driver on ring 6 use gpu addr 0x0000000040000c18 and cpu addr 0x0xfffff8004272ec18 Jan 6 16:59:05 schCube kernel: drmn0: fence driver on ring 7 use gpu addr 0x0000000040000c1c and cpu addr 0x0xfffff8004272ec1c Jan 6 16:59:05 schCube kernel: [drm] Supports vblank timestamp caching Rev= 2 (21.10.2013). Jan 6 16:59:05 schCube kernel: [drm] Driver supports precise vblank timest= amp query. Jan 6 16:59:05 schCube kernel: [drm] radeon: irq initialized. Jan 6 16:59:05 schCube kernel: pm_runtime_mark_last_busy not implemented -- see your local kernel hacker Jan 6 16:59:05 schCube kernel: [drm] ring test on 0 succeeded in 3 usecs Jan 6 16:59:05 schCube kernel: [drm] ring test on 1 succeeded in 2 usecs Jan 6 16:59:05 schCube kernel: [drm] ring test on 2 succeeded in 2 usecs Jan 6 16:59:05 schCube kernel: [drm] ring test on 3 succeeded in 3 usecs Jan 6 16:59:05 schCube kernel: [drm] ring test on 4 succeeded in 3 usecs Jan 6 16:59:05 schCube kernel: [drm] ring test on 5 succeeded in 2 usecs Jan 6 16:59:05 schCube kernel: [drm] UVD initialized successfully. Jan 6 16:59:05 schCube kernel: [drm] ring test on 6 succeeded in 22 usecs Jan 6 16:59:05 schCube kernel: [drm] ring test on 7 succeeded in 3 usecs Jan 6 16:59:05 schCube kernel: [drm] VCE initialized successfully. Jan 6 16:59:05 schCube kernel: [drm] ib test on ring 0 succeeded in 0 usecs Jan 6 16:59:05 schCube kernel: [drm] ib test on ring 1 succeeded in 0 usecs Jan 6 16:59:05 schCube kernel: [drm] ib test on ring 2 succeeded in 0 usecs Jan 6 16:59:05 schCube kernel: [drm] ib test on ring 3 succeeded in 0 usecs Jan 6 16:59:05 schCube kernel: [drm] ib test on ring 4 succeeded in 0 usecs Jan 6 16:59:05 schCube kernel: [drm:uvd_v1_0_ib_test] radeon: fence wait t= imed out. Jan 6 16:59:05 schCube kernel: [drm:radeon_ib_ring_tests] radeon: failed testing IB on ring 5 (-60). Jan 6 16:59:05 schCube kernel: [drm:radeon_vce_ib_test] radeon: fence wait timed out. Jan 6 16:59:05 schCube kernel: [drm:radeon_ib_ring_tests] radeon: failed testing IB on ring 6 (-60). Jan 6 16:59:05 schCube kernel: [drm:radeon_vce_ib_test] radeon: fence wait timed out. Jan 6 16:59:05 schCube kernel: [drm:radeon_ib_ring_tests] radeon: failed testing IB on ring 7 (-60). Jan 6 16:59:05 schCube kernel: [drm] Connector DVI-D-1: get mode from tunables: Jan 6 16:59:05 schCube kernel: [drm] - kern.vt.fb.modes.DVI-D-1 Jan 6 16:59:05 schCube kernel: [drm] - kern.vt.fb.default_mode Jan 6 16:59:05 schCube kernel: [drm] Connector HDMI-A-1: get mode from tunables: Jan 6 16:59:05 schCube kernel: [drm] - kern.vt.fb.modes.HDMI-A-1 Jan 6 16:59:05 schCube kernel: [drm] - kern.vt.fb.default_mode Jan 6 16:59:05 schCube kernel: [drm] Connector HDMI-A-2: get mode from tunables: Jan 6 16:59:05 schCube kernel: [drm] - kern.vt.fb.modes.HDMI-A-2 Jan 6 16:59:05 schCube kernel: [drm] - kern.vt.fb.default_mode Jan 6 16:59:05 schCube kernel: [drm] Radeon Display Connectors Jan 6 16:59:05 schCube kernel: [drm] Connector 0: Jan 6 16:59:05 schCube kernel: [drm] DVI-D-1 Jan 6 16:59:05 schCube kernel: [drm] HPD3 Jan 6 16:59:05 schCube kernel: [drm] DDC: 0x6550 0x6550 0x6554 0x6554 0x= 6558 0x6558 0x655c 0x655c Jan 6 16:59:05 schCube kernel: [drm] Encoders: Jan 6 16:59:05 schCube kernel: [drm] DFP3: INTERNAL_UNIPHY2 Jan 6 16:59:05 schCube kernel: [drm] Connector 1: Jan 6 16:59:05 schCube kernel: [drm] HDMI-A-1 Jan 6 16:59:05 schCube kernel: [drm] HPD1 Jan 6 16:59:05 schCube kernel: [drm] DDC: 0x6530 0x6530 0x6534 0x6534 0x= 6538 0x6538 0x653c 0x653c Jan 6 16:59:05 schCube kernel: [drm] Encoders: Jan 6 16:59:05 schCube kernel: [drm] DFP1: INTERNAL_UNIPHY Jan 6 16:59:05 schCube kernel: [drm] Connector 2: Jan 6 16:59:05 schCube kernel: [drm] HDMI-A-2 Jan 6 16:59:05 schCube kernel: [drm] HPD Jan 6 16:59:05 schCube kernel: [drm] DDC: 0x6540 0x6540 0x6544 0x6544 0x= 6548 0x6548 0x654c 0x654c Jan 6 16:59:05 schCube kernel: [drm] Encoders: Jan 6 16:59:05 schCube kernel: [drm] DFP2: INTERNAL_UNIPHY3 Jan 6 16:59:05 schCube kernel: __pm_runtime_resume not implemented -- see = your local kernel hacker Jan 6 16:59:05 schCube kernel: pm_runtime_mark_last_busy not implemented -- see your local kernel hacker Jan 6 16:59:05 schCube kernel: __pm_runtime_suspend not implemented -- see your local kernel hacker Jan 6 16:59:05 schCube kernel: [drm] fb mappable at 0xC0722000 Jan 6 16:59:05 schCube kernel: [drm] vram apper at 0xC0000000 Jan 6 16:59:05 schCube kernel: [drm] size 8294400 Jan 6 16:59:05 schCube kernel: [drm] fb depth is 24 Jan 6 16:59:05 schCube kernel: [drm] pitch is 7680 First time crash: Jan 6 17:40:28 schCube kernel: Fatal trap 12: page fault while in kernel m= ode Jan 6 17:40:28 schCube kernel: cpuid =3D 3; apic id =3D 13 Jan 6 17:40:28 schCube kernel: fault virtual address =3D 0x11d8 Jan 6 17:40:28 schCube kernel: fault code =3D supervisor read= data, page not present Jan 6 17:40:28 schCube kernel: instruction pointer =3D 0x20:0xffffffff82fc5a94 Jan 6 17:40:28 schCube kernel: stack pointer =3D 0x28:0xfffffe009db2aeb0 Jan 6 17:40:28 schCube kernel: frame pointer =3D 0x28:0xfffffe009db2aee0 Jan 6 17:40:28 schCube kernel: code segment =3D base 0x0, limit 0xfffff, type 0x1b Jan 6 17:40:28 schCube kernel: =3D DPL 0, pres 1, = long 1, def32 0, gran 1 Jan 6 17:40:28 schCube kernel: processor eflags =3D interrupt enabl= ed, resume, IOPL =3D 0 Jan 6 17:40:28 schCube kernel: current process =3D 1470 (radeon_cs= :0) Jan 6 17:40:28 schCube kernel: trap number =3D 12 Jan 6 17:40:28 schCube kernel: panic: page fault Jan 6 17:40:28 schCube kernel: cpuid =3D 3 Jan 6 17:40:28 schCube kernel: time =3D 1546789153 Jan 6 17:40:28 schCube kernel: KDB: stack backtrace: Jan 6 17:40:28 schCube kernel: #0 0xffffffff80be7977 at kdb_backtrace+0x67 Jan 6 17:40:28 schCube kernel: #1 0xffffffff80b9b563 at vpanic+0x1a3 Jan 6 17:40:28 schCube kernel: #2 0xffffffff80b9b3b3 at panic+0x43 Jan 6 17:40:28 schCube kernel: #3 0xffffffff8107496f at trap_fatal+0x35f Jan 6 17:40:28 schCube kernel: #4 0xffffffff810749c9 at trap_pfault+0x49 Jan 6 17:40:28 schCube kernel: #5 0xffffffff81073fee at trap+0x29e Jan 6 17:40:28 schCube kernel: #6 0xffffffff8104f1d5 at calltrap+0x8 Jan 6 17:40:28 schCube kernel: #7 0xffffffff82fdd9c1 at radeon_sa_bo_new+0= x361 Jan 6 17:40:28 schCube kernel: #8 0xffffffff82fccd91 at radeon_ib_get+0x31 Jan 6 17:40:28 schCube kernel: #9 0xffffffff82fe7873 at radeon_vm_update_page_directory+0x83 Jan 6 17:40:28 schCube kernel: #10 0xffffffff82fb87f6 at radeon_cs_ioctl+0= x866 Jan 6 17:40:28 schCube kernel: #11 0xffffffff830b3cd6 at drm_ioctl_kernel+= 0xf6 Jan 6 17:40:28 schCube kernel: #12 0xffffffff830b3f71 at drm_ioctl+0x281 Jan 6 17:40:28 schCube kernel: #13 0xffffffff82fc38ae at radeon_drm_ioctl+= 0x4e Jan 6 17:40:28 schCube kernel: #14 0xffffffff83104bd4 at linux_file_ioctl+0x204 Jan 6 17:40:28 schCube kernel: #15 0xffffffff80c04f3d at kern_ioctl+0x26d Jan 6 17:40:28 schCube kernel: #16 0xffffffff80c04c5e at sys_ioctl+0x15e Jan 6 17:40:28 schCube kernel: #17 0xffffffff81075449 at amd64_syscall+0x3= 69 Second time crash: Jan 6 18:26:27 schCube kernel: panic: BUG ON ret failed at /wrkdirs/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-71fcc9f/drivers/= gpu/drm/ttm/ttm_tt.c:259 Jan 6 18:26:27 schCube kernel: cpuid =3D 3 Jan 6 18:26:27 schCube kernel: time =3D 1546791911 Jan 6 18:26:27 schCube kernel: KDB: stack backtrace: Jan 6 18:26:27 schCube kernel: #0 0xffffffff80be7977 at kdb_backtrace+0x67 Jan 6 18:26:27 schCube kernel: #1 0xffffffff80b9b563 at vpanic+0x1a3 Jan 6 18:26:27 schCube kernel: #2 0xffffffff80b9b3b3 at panic+0x43 Jan 6 18:26:27 schCube kernel: #3 0xffffffff830d58e3 at ttm_tt_destroy+0xb3 Jan 6 18:26:27 schCube kernel: #4 0xffffffff830db4e7 at ttm_bo_cleanup_refs_or_queue+0x1d7 Jan 6 18:26:27 schCube kernel: #5 0xffffffff830d7b21 at ttm_bo_unref+0x81 Jan 6 18:26:27 schCube kernel: #6 0xffffffff82fd5b02 at radeon_bo_unref+0x= 22 Jan 6 18:26:27 schCube kernel: #7 0xffffffff82fc88de at radeon_gem_object_free+0x1e Jan 6 18:26:27 schCube kernel: #8 0xffffffff830b0634 at drm_gem_object_release_handle+0xd4 Jan 6 18:26:27 schCube kernel: #9 0xffffffff830b04fe at drm_gem_handle_delete+0x8e Jan 6 18:26:27 schCube kernel: #10 0xffffffff830b3cd6 at drm_ioctl_kernel+= 0xf6 Jan 6 18:26:27 schCube kernel: #11 0xffffffff830b3f71 at drm_ioctl+0x281 Jan 6 18:26:27 schCube kernel: #12 0xffffffff82fc38ae at radeon_drm_ioctl+= 0x4e Jan 6 18:26:27 schCube kernel: #13 0xffffffff83104bd4 at linux_file_ioctl+0x204 Jan 6 18:26:27 schCube kernel: #14 0xffffffff80c04f3d at kern_ioctl+0x26d Jan 6 18:26:27 schCube kernel: #15 0xffffffff80c04c5e at sys_ioctl+0x15e Jan 6 18:26:27 schCube kernel: #16 0xffffffff81075449 at amd64_syscall+0x3= 69 Jan 6 18:26:27 schCube kernel: #17 0xffffffff8104fabd at fast_syscall_common+0x101 --=20 You are receiving this mail because: You are the assignee for the bug.=