From owner-freebsd-current@freebsd.org Wed Sep 25 10:54:35 2019 Return-Path: Delivered-To: freebsd-current@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 4AD6B12322B for ; Wed, 25 Sep 2019 10:54:35 +0000 (UTC) (envelope-from david@catwhisker.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 46dZgt5mDkz3FLy for ; Wed, 25 Sep 2019 10:54:34 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.nyi.freebsd.org (Postfix) id C3BC5123227; Wed, 25 Sep 2019 10:54:34 +0000 (UTC) Delivered-To: current@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 C3827123225 for ; Wed, 25 Sep 2019 10:54:34 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46dZgs2vZVz3FLx; Wed, 25 Sep 2019 10:54:32 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id x8PAsUwb045261; Wed, 25 Sep 2019 10:54:30 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id x8PAsUYH045260; Wed, 25 Sep 2019 03:54:30 -0700 (PDT) (envelope-from david) Date: Wed, 25 Sep 2019 03:54:30 -0700 From: David Wolfskill To: current@freebsd.org Cc: mav@freebsd.org Subject: "panic: sched_pickcpu: Failed to find a cpu" after r352636 -> r352671 Message-ID: <20190925105430.GW1108@albert.catwhisker.org> Reply-To: current@freebsd.org Mail-Followup-To: current@freebsd.org, mav@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kYoVsz7jWTVS7nyo" Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) X-Rspamd-Queue-Id: 46dZgs2vZVz3FLx X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 198.144.209.73 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-3.01 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[current@freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.144.209.73]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[catwhisker.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[73.209.144.198.list.dnswl.org : 127.0.10.0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7961, ipnet:198.144.208.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-3.61)[ip: (-9.51), ipnet: 198.144.208.0/20(-4.80), asn: 7961(-3.71), country: US(-0.05)]; REPLYTO_EQ_TO_ADDR(5.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2019 10:54:35 -0000 --kYoVsz7jWTVS7nyo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =2E.. SMP: AP CPU #3 Launched! cpu3 AP: ID: 0x00000003 VER: 0x01060015 LDR: 0x00000008 DFR: 0x00000000 x2API= C: 1 lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000011ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 cmci: 0x000100f2 SMP: AP CPU #6 Launched! cpu6 AP: ID: 0x00000006 VER: 0x01060015 LDR: 0x00000040 DFR: 0x00000000 x2API= C: 1 lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000011ff timer: 0x000100ef therm: 0x00010000 err: 0x000000f0 pmc: 0x00010400 cmci: 0x000100f2 panic: sched_pickcpu: Failed to find a cpu. cpuid =3D 0 time =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff82550= 830 vpanic() at vpanic+0x19d/frame 0xffffffff82550880 panic() at panic+0x43/frame 0xffffffff825508e0 sched_pickcpu() at sched_pickcpu+0x4c1/frame 0xffffffff82550990 sched_add() at sched_add+0x6e/frame 0xffffffff825509d0 gtaskqueue_start_threads() at gtaskqueue_start_threads+0x124/frame 0xffffff= ff82550a70 taskqgroup_cpu_create() at taskqgroup_cpu_create+0x135/frame 0xffffffff8255= 0ab0 taskqgroup_adjust() at taskqgroup_adjust+0x1ad/frame 0xffffffff82550b20 mi_startup() at mi_startup+0x210/frame 0xffffffff82550b70 btext() at btext+0x2c KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x3b: movq $0,kdb_why db>=20 This is an Intel amd64 on a 4-core, 2 threads/core machine; I note that src/sys/kern/sched_ule.c was modified in this update: ------------------------------------------------------------------------ r352658 | mav | 2019-09-24 13:01:20 -0700 (Tue, 24 Sep 2019) | 24 lines Fix/improve interrupt threads scheduling. =2E... A copy of "dmesg.boot" from a verbose boot from yesterday for the machine may be found at http://www.catwhisker.org/~david/FreeBSD/history/freebeast.13_dmesg.txt I'm about to find out if my laptop (which shares the above salient characteristics, and is being updated in parallel) exhibits similar symptoms. Peace, david --=20 David H. Wolfskill david@catwhisker.org "I am the Chosen One!" -- Donald Trump [Cf. Mt 24:23-24; Mk 13:21-23; Jn 5:= 31] See http://www.catwhisker.org/~david/publickey.gpg for my public key. --kYoVsz7jWTVS7nyo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl2LR2ZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pcml9Af/VN6rDglxZO4RiwWzRMIQisYC5uaU+p5/gB14o9aIa7yOCQGYeF3FXTVB w+Y7/nBx0iSRl1xhvRRhgfdNm5D18SlcNnJy+/dxtKVDuRhg8YtxzOLs/1wSM3PK wfZP/gC5k45PzcN7qnmmEDxDHs+hk3Dv0yHXOGmKkbdapzwG7hTJh9oGpv4jKdj/ BZHZPHv3k2OBSJj7xmaO8Srm1GjHHOTx9ck0hKd20x7e3t715ltwRtCG8yklgN4C iejsmriNxDui8dSK5k9WzOwsSlRsyBYA/DGO/vqgJYipnB878KhdpC1AB+rsaTjF ktNtw69JmxUjfvsRJw8YdiaSRqL68Q== =TQVL -----END PGP SIGNATURE----- --kYoVsz7jWTVS7nyo--