From owner-freebsd-ppc@freebsd.org Sat Mar 30 10:14:41 2019 Return-Path: Delivered-To: freebsd-ppc@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 176DE156DC93 for ; Sat, 30 Mar 2019 10:14:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ABC8181219 for ; Sat, 30 Mar 2019 10:14:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id 9AFA31EAC; Sat, 30 Mar 2019 10:14:40 +0000 (UTC) Delivered-To: powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 7DFE41EAB for ; Sat, 30 Mar 2019 10:14:40 +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 2D3CF81216 for ; Sat, 30 Mar 2019 10:14:40 +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 631F41AD9E for ; Sat, 30 Mar 2019 10:14:39 +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 x2UAEddC062316 for ; Sat, 30 Mar 2019 10:14:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2UAEdDk062315 for powerpc@FreeBSD.org; Sat, 30 Mar 2019 10:14:39 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: powerpc@FreeBSD.org Subject: [Bug 232387] head -r345558 (updated): system crash during kldload if_epair on powerpc64 (for more modern buildworld buildkernel toolchain experiments), Probably also: ipfw.ko linuxkpi.ko siftr.ko Possibly: hwpmc.ko Date: Sat, 30 Mar 2019 10:14:39 +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: vimage X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: powerpc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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-Rspamd-Queue-Id: ABC8181219 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.989,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Mar 2019 10:14:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232387 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|head -r345558 (updated): |head -r345558 (updated): |system crash during kldload |system crash during kldload |if_epair on powerpc64 (for |if_epair on powerpc64 (for |more modern buildworld |more modern buildworld |buildkernel toolchain |buildkernel toolchain |experiments) |experiments), Probably | |also: ipfw.ko linuxkpi.ko | |siftr.ko Possibly: hwpmc.ko --- Comment #17 from Mark Millard --- (In reply to Mark Millard from comment #16) Looking around it appears the .ko files with such pcpu_entry_ content are: /boot/kernel/if_epair.ko: U dpcpu_off 0000000000014810 d pcpu_entry_epair_dpcpu /boot/kernel/ipfw.ko: U dpcpu_off 00000000000454c8 d pcpu_entry_dyn_hp /boot/kernel/linuxkpi.ko: U dpcpu_off 0000000000032400 d pcpu_entry_linux_epoch_record 0000000000032380 d pcpu_entry_linux_idr_cache 0000000000032580 d pcpu_entry_tasklet_worker /boot/kernel/siftr.ko: U dpcpu_off 0000000000015450 d pcpu_entry_ss I expect the following might be okay: /boot/kernel/hwpmc.ko: U dpcpu_off U pcpu_entry_pmc_sampled based on /boot/kernel/kernel having pcpu_entry_pmc_sampled in its list: 00000000016f1450 B dpcpu_off 000000000132b778 d pcpu_entry_decr_state 000000000132a6a8 D pcpu_entry_epoch_cb_count 000000000132a6b0 D pcpu_entry_epoch_cb_task 000000000132a688 d pcpu_entry_exec_args_kva 000000000132b6f0 D pcpu_entry_hardclocktime 000000000132a728 d pcpu_entry_modspace 000000000132af80 D pcpu_entry_nws 000000000132a680 d pcpu_entry_pcputicks 000000000132a690 D pcpu_entry_pmc_sampled 000000000132b480 d pcpu_entry_pqbatch 000000000132a6a4 d pcpu_entry_randomval 000000000132a698 d pcpu_entry_tc_cpu_ticks_base 000000000132a6a0 d pcpu_entry_tc_cpu_ticks_last 000000000132b680 d pcpu_entry_timerstate 000000000132b6f8 d pcpu_entry_xive_cpu_data I'll not try to list the .ko's with vnet_entry_ prefixed names. But this seems to operate via curthread->td_vnet instead of something like dpcpu_off[cpuid] . I've not checked what curthread->td_vnet values are like. --=20 You are receiving this mail because: You are the assignee for the bug.=