From owner-freebsd-bugs@freebsd.org Sat Jun 20 17:55:11 2020 Return-Path: Delivered-To: freebsd-bugs@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 6D07C357250 for ; Sat, 20 Jun 2020 17:55:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 49q3H32Jfbz4R3V for ; Sat, 20 Jun 2020 17:55:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4D84635724E; Sat, 20 Jun 2020 17:55:11 +0000 (UTC) Delivered-To: bugs@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 4D4A43570E7 for ; Sat, 20 Jun 2020 17:55:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49q3H31F9Bz4R1R for ; Sat, 20 Jun 2020 17:55:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 21948FFF0 for ; Sat, 20 Jun 2020 17:55:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 05KHtASU097282 for ; Sat, 20 Jun 2020 17:55:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 05KHtAgX097281 for bugs@FreeBSD.org; Sat, 20 Jun 2020 17:55:10 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 247443] panic at boot while loading radeonkms Date: Sat, 20 Jun 2020 17:55:10 +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: 11.4-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: serpent7776@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 attachments.created 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.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jun 2020 17:55:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247443 Bug ID: 247443 Summary: panic at boot while loading radeonkms Product: Base System Version: 11.4-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: serpent7776@gmail.com Created attachment 215820 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D215820&action= =3Dedit output of `crashinfo kernel core` After upgrade from 11.3-RELEASE to 11.4-RELEASE FreeBSD panics at boot while loading radeon kms. I have Radeon HD 5450. drm packages installed: drm-fbsd11.2-kmod-4.11g20200420 drm-kmod-g20190710 build from ports I did try to rebuild drm-fbsd. booting into single user mode and kldload'ing radeonkms results in the same panic. Here's the backtrace at panic time: KDB: stack backtrace: #0 0xffffffff80b431b5 at kdb_backtrace+0x65 #1 0xffffffff80afd2be at vpanic+0x15e #2 0xffffffff80afd153 at panic+0x43 #3 0xffffffff80f75fc5 at trap_fatal+0x365 #4 0xffffffff80f76019 at trap_pfault+0x49 #5 0xffffffff80f756ce at trap+0x27e #6 0xffffffff80f5526f at calltrap+0x8 #7 0xffffffff825fde6c at reservation_object_wait_timeout_rcu+0x6c #8 0xffffffff8260f8f8 at ttm_bo_wait+0x48 #9 0xffffffff824dd09d at radeon_bo_move+0x2d #10 0xffffffff82610f4e at ttm_bo_handle_move_mem+0x1ce #11 0xffffffff8260de04 at ttm_bo_validate+0xd4 #12 0xffffffff8260e28a at ttm_bo_init+0x37a #13 0xffffffff824d14e1 at radeon_bo_create+0x1a1 #14 0xffffffff824dbc5f at radeon_ttm_init+0x21f #15 0xffffffff8245ffc3 at evergreen_init+0x103 #16 0xffffffff824b88f5 at radeon_device_init+0xd15 #17 0xffffffff824c9f2c at radeon_driver_load_kms+0x13c but when I did `kgdb kernel vmcore` and then `bt` I get #0 doadump () at pcpu.h:234 #1 0xffffffff80afcef5 in kern_reboot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:388 #2 0xffffffff80afd2f6 in vpanic (fmt=3D, ap=3D) at /usr/src/sys/kern/kern_shutdown.c:784 #3 0xffffffff80afd153 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:715 #4 0xffffffff80f75fc5 in trap_fatal (frame=3D, eva=3D= ) at /usr/src/sys/amd64/amd64/trap.c:899 #5 0xffffffff80f76019 in trap_pfault (frame=3D0xfffffe0352326f90, usermode= =3D0) at pcpu.h:234 #6 0xffffffff80f756ce in trap (frame=3D0xfffffe0352326f90) at /usr/src/sys/amd64/amd64/trap.c:438 #7 0xffffffff80f5526f in calltrap () at /usr/src/sys/amd64/amd64/exception.S:288 #8 0xffffffff825ee882 in linux_rcu_read_lock (type=3D= ) at /usr/src/sys/compat/linuxkpi/common/src/linux_rcu.c:202 #9 0xffffffff825fde6c in reservation_object_wait_timeout_rcu () from /boot/modules/linuxkpi_gplv2.ko #10 0xffffffff8260f8f8 in ttm_bo_wait () from /boot/modules/ttm.ko #11 0xffffffff824dd09d in ?? () #12 0xfffff80009ea4d00 in ?? () #13 0xfffff80009ea4e18 in ?? () #14 0xfffffe03523271b0 in ?? () #15 0xffffffff825b73ef in ?? () #16 0xffffffff82615789 in .rodata.str1.1 () from /boot/modules/ttm.ko #17 0xffffffffffffffff in ?? () #18 0x0000000000000000 in ?? () not sure if that's normal. kgdb was executed while booted into kernel.old. --=20 You are receiving this mail because: You are the assignee for the bug.=