Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2020 17:55:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 247443] panic at boot while loading radeonkms
Message-ID:  <bug-247443-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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<value optimized out>, ap=3D<value
optimized out>) at /usr/src/sys/kern/kern_shutdown.c:784
#3  0xffffffff80afd153 in panic (fmt=3D<value optimized out>) at
/usr/src/sys/kern/kern_shutdown.c:715
#4  0xffffffff80f75fc5 in trap_fatal (frame=3D<value optimized out>, eva=3D=
<value
optimized out>) 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<value optimized out>=
) 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247443-227>