From owner-freebsd-emulation@freebsd.org Mon Nov 11 04:51:52 2019 Return-Path: Delivered-To: freebsd-emulation@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 1FF321AB512 for ; Mon, 11 Nov 2019 04:51:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47BJPh06K8z3GPn for ; Mon, 11 Nov 2019 04:51:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 03A8E1AB511; Mon, 11 Nov 2019 04:51:52 +0000 (UTC) Delivered-To: emulation@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 0251C1AB510 for ; Mon, 11 Nov 2019 04:51:52 +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) server-signature RSA-PSS (4096 bits) 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 47BJPg6Bfxz3GPk for ; Mon, 11 Nov 2019 04:51:51 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B983DA37E for ; Mon, 11 Nov 2019 04:51:51 +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 xAB4ppF9096827 for ; Mon, 11 Nov 2019 04:51:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xAB4ppoo096824 for emulation@FreeBSD.org; Mon, 11 Nov 2019 04:51:51 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: emulation@FreeBSD.org Subject: [Bug 241728] linuxkpi: panics after loading radeonkms kernel module (data storage interrupt trap) Date: Mon, 11 Nov 2019 04:51:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-emulation@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Nov 2019 04:51:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241728 --- Comment #23 from Mark Millard --- (In reply to Mark Millard from comment #22) In my rush for time and interruptions, my wording sounds like I was saying the workaround was not attempted. Better to show details: >From the .kld: Relocation section with addend (.rela.toc): r_offset r_info r_type st_value st_name + r_addend . . . 0000000000f8 018400000026 R_PPC64_ADDR64 0000000000000000 pcpu_entry_linux_idr_cache + 0 . . . Relocation section with addend (.rela.debug_info): r_offset r_info r_type st_value st_name + r_addend . . . 00000001f60b 018400000026 R_PPC64_ADDR64 0000000000000000 pcpu_entry_linux_idr_cache + 0 . . . Symbol table (.symtab) contains 818 entries: Num: Value Size Type Bind Vis Ndx Name . . . 388: 0000000000000000 48 OBJECT LOCAL DEFAULT 19 pcpu_entry_linux_idr_cache . . . >From the contributing .o: Relocation section with addend (.rela.toc): r_offset r_info r_type st_value st_name + r_addend 000000000000 004900000026 R_PPC64_ADDR64 0000000000000000 lockstat_ena= bled + 0 000000000008 005000000026 R_PPC64_ADDR64 0000000000000000 pcpu_entry_linux_idr_cache + 0 000000000010 002c00000026 R_PPC64_ADDR64 0000000000000000 all_cpus + 0 000000000018 004e00000026 R_PPC64_ADDR64 0000000000000000 mp_maxid + 0 000000000020 002d00000026 R_PPC64_ADDR64 0000000000000000 dpcpu_off + 0 . . . Relocation section with addend (.rela.debug_info): r_offset r_info r_type st_value st_name + r_addend . . . 000000000096 005000000026 R_PPC64_ADDR64 0000000000000000 pcpu_entry_linux_idr_cache + 0 00000000009f 001900000001 R_PPC64_ADDR32 0000000000000000 .debug_str += 2c9 . . . Relocation section with addend (.rela.debug_line): r_offset r_info r_type st_value st_name + r_addend 000000000889 001300000026 R_PPC64_ADDR64 0000000000000000 .text + 0 . . . Symbol table (.symtab) contains 81 entries: Num: Value Size Type Bind Vis Ndx Name . . . 80: 0000000000000000 48 OBJECT GLOBAL DEFAULT 13 pcpu_entry_linux_idr_cache So a "LOCAL" resulted from a "GLOBAL". This looks to mean it was turned back into a static. Looking . . . # Meta data file /usr/obj/powerpc64vtsc_clang_altbinutils/powerpc.powerpc64/usr/src/powerpc.= powerpc64/sys/GENERIC64vtsc-NODBG/modules/usr/src/sys/modules/linuxkpi/linu= xkpi.kld.meta CMD /usr/local/powerpc64-unknown-freebsd13.0/bin/ld -m elf64ppc_fbsd -d -warn-common --build-id=3Dsha1 -r -d -o linuxkpi.kld linux_compat.o linux_current.o linux_hrtimer.o linux_idr.o linux_kmod.o linux _kthread.o linux_lock.o linux_page.o linux_pci.o linux_radix.o linux_rcu.o linux_seq_file.o linux_schedule.o linux_slab.o linux_tasklet.o linux_usb.o linux_work.o CMD ctfmerge -L VERSION -g -o linuxkpi.kld linux_compat.o linux_current.o linux_hrtimer.o linux_idr.o linux_kmod.o linux_kthread.o linux_lock.o linux_page.o linux_pci.o linux_radix.o linux_rcu.o linux _seq_file.o linux_schedule.o linux_slab.o linux_tasklet.o linux_usb.o linux_work.o CMD :> export_syms CMD awk -f /usr/src/sys/conf/kmod_syms.awk linuxkpi.kld export_syms | xargs -J% /usr/local/powerpc64-unknown-freebsd13.0/bin/objcopy % linuxkpi.kld # more /usr/src/sys/conf/kmod_syms.awk # $FreeBSD: head/sys/conf/kmod_syms.awk 101438 2002-08-06 19:31:04Z iedowse= $ # Read global symbols from object file. BEGIN { while ("${NM:=3D'nm'} -g " ARGV[1] | getline) { if (match($0, /^[^[:space:]]+ [^AU] (.*)$/)) { syms[$3] =3D $2 } } delete ARGV[1] } # De-list symbols from the export list. { delete syms[$0] } # Strip commons, make everything else local. END { for (member in syms) { if (syms[member] =3D=3D "C") print "-N" member else print "-L" member } } --=20 You are receiving this mail because: You are the assignee for the bug.=