Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2019 02:40:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 241728] linuxkpi: panics after loading radeonkms kernel module (data storage interrupt trap)
Message-ID:  <bug-241728-4077-O1vx1KgIxk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241728-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241728-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241728

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #19 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Piotr Kubaj from comment #18)

I got a little time with access to the PowerMac11,2 and have
produced a "kldload linuxkpi" crash on a system built with:

# cc -v
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM
8.0.1)
Target: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin

# uname -apKU
FreeBSD FBSDG5L2 13.0-CURRENT FreeBSD 13.0-CURRENT #19 r352341M: Sat Sep 14
19:40:27 PDT 2019=20=20=20=20
markmi@FBSDFHUGE:/usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64=
/usr/src/powerpc.powerpc64/sys/GENERIC64vtsc-NODBG
 powerpc powerpc64 1300047 1300047

It was built using devel/powerpc64-binutils (the "altbinutils"). It is
also a non-debug build, but with symbols.

Despite other differences with your backtrace, both identify idr_preload_in=
it .

Typed from a picture (so subject to typos):

fatal kernel trap:
exception       =3D 0x300 (data storage interrupt)
virtual address =3D 0x8e076000
dsidr           =3D 0x42000000
srr0            =3D 0xe00000008f4aec8c (0x200000008f3aec8c) (f4 vs. f3 is n=
ot a
typo)
srr1            =3D 0x9000000000009032
current msr     =3D 0x0000000000009032
lr              =3D 0xc000000000832470 (0x732470)
frame           =3D 0xe0000000900aeed0
curthread       =3D 0xc00000000e086000
pid =3D 1256, comm =3D kldload

panic: data storage interrupt
cpuid =3D 0
time =3D 1573434333
KDB: stack backtrace
0xe0000000900aec00: at aiocb32_store_status+0x34
0xe0000000900aecb0: at panic+0x44
0xe0000000900aece0: at trap_fatal+0x2f4
0xe0000000900aed70: at trap+0x5d8
0xe0000000900aee50: at powerpc_interrupt+0x1a0
0xe0000000900aeea0: at kernel DSI write trap @0x8e076000
                    by idr_preload_init+0xa4
                    srr1 =3D 0x9000000000009032
                    r1   =3D 0xe0000000900af150
                    cr   =3D 0x4880fc88
                    xer  =3D 0
                    ctr  =3D 0xe00000008f4aebe8
                    r2   =3D 0xe00000008f4d6300
                    frame=3D 0xe0000000900aeed0
0xe0000000900af150: at 0xc00000000e085ffc
0xe0000000900af1c0: at sem_prison_check+0x170
0xe0000000900af5f0: at kern_kldload+0x158
0xe0000000900af660: at sys_kldload+0x8c
0xe0000000900af6b0: at trap+0xe68
0xe0000000900af790: at powerpc_interrupt+0x1a0
0xe0000000900af7e0: user SC trap
                    by 0x8100e9158
                    srr1 =3D 0x900000000200f032
                    r1   =3D 0x3fffffffffffd470
                    cr   =3D 0x22222800
                    xer  =3D 0x20000000
                    ctr  =3D 0x8100e9150
                    r2   =3D 0x8102a2400
                    frame=3D 0xe0000000900af810
KDB: enter: panic
[ thread pid 1256 tid 100172 ]
Stopped at ifaddr_byindex+0xc orl r0,r0,0x0

--=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-241728-4077-O1vx1KgIxk>