From nobody Fri Jun 04 19:34:48 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F170C1374F25 for ; Fri, 4 Jun 2021 19:34:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FxXz54zGkz4h2Q for ; Fri, 4 Jun 2021 19:34:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1622835295; bh=qLGvkVOQiajMZ5ORg4wfJMYJXZ/ZSoisoRMKH4RFrGE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=VJQlc2Unxv8DHXuf8VTDTAfr1aoQlIekRrQEyZs6BQk3SLQQKkcqkJLKRvtks4nnWE/cFXo5uUwa/i1IenmrD811VG7M5Mn2cDP5dv7DrRdngWSebIUl4kE0R6PpEJZzh8K84EEH2drQ3fxNfgsxxzyLvnbIUNpPXm2DKiREy+qzKkF5B9tpUgnjHObhQOrmQjLVCRUtFSzKjYgimvYPFzIm6JNF6UNFDiHJoau/YXNFS7G8V1OwhhnLqjqFYXTXSTUfGScDwYjOLvJJ69ASqlt4HlUINLVBanekTUKc3DtgCnPe6O03LRW3WVeGHVrQR9AtQ3QkohTACl/FQNILTg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1622835295; bh=mR6HFWnx2E37kgGckDc4fO8wM1T0QKQdBpzAbSDbtxn=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=iS+nn4YqZK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EbHlJpbnzCdLhPwz0R_ujI5HX2swvjr_rlLzsnbHFH2.S7mMum1ykZvAlsdT2 8pJ.pP93T2LTQoLPFEPAkmbbQn9Opduvcv84ZyG048IwASZwSaYx8ShneWgRtm3bm3OiJCXXuM.a NdNcQRWQ247qv.pUKGZUTjH24ViRM_G8PiMDmLMlbUy1r3W4i2NJQ5NcvcEBnqJnIGbCAotRWikC kKu3b6HayfpXPBOsIxXsBHWDCgg0HgwRUzPRmEE_TpsZ.JkMnz_4JHneIp70nBfypQB7MoVgX25d Az9oyn7CopSFcBScmOsy9L6wmWouxtKTFQtI9baQVks61futrhtz8xfAdiXu8I5uS6PyHTGMsi65 0Tc15PNK4IIIo5lGUgw.hHaSoIDYvE.WVxEMZMhEKgBX0_EHPmLxacz_HsRT18ynRC.W.1nZp.O_ jDtvCjqQ0SDPMgXVIUsdZzoJVnDeqXB1c_SI2RWxusoYd_TuCqpxar2LuqZQHuTqHcPE8lNQ2Fju h2_5EqapSUYYvhe3GokGhbJ6fyk2dMuhwWlrGYNJBplUv7M_MPoCu1ulNnV5yRloBb4cyNkfm6c2 4jp4yQ0bhQvcJPYT840MB5WXCig6S9D2dh_Av47Sr3F3Jf_u.HBVXkowr2dbD5ScSoqPYed_ossz MAM_fjCKfY6kyYypB.exxTPf2KMPYMQ-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Fri, 4 Jun 2021 19:34:55 +0000 Received: by kubenode508.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 46a8199c5ebf03f95031352f979afc16; Fri, 04 Jun 2021 19:34:50 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Re: Can't enable SDIO wifi module on PBP In-Reply-To: <202106041107.154B7cQD087733@kx.truefc.org> Date: Fri, 4 Jun 2021 12:34:48 -0700 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <202106041107.154B7cQD087733@kx.truefc.org> To: KIRIYAMA Kazuhiko X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4FxXz54zGkz4h2Q X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: marklmi@yahoo.com From: Mark Millard via freebsd-arm X-Original-From: Mark Millard X-ThisMailContainsUnwantedMimeParts: N On 2021-Jun-4, at 04:07, KIRIYAMA Kazuhiko wrote: I do not make any claim that the below notes are tied to any sufficient changes to enable SDIO wifi. They may be more general/generic. > . . . > uma_zalloc_debug: zone "malloc-2048" with the following non-sleepable = locks held: > exclusive sleep mutex SD slot mtx (sdhci) r =3D 0 (0xffff0000411c6030) = locked @ /usr/src/sys/dev/sdhci/sdhci.c:617 > stack backtrace: > #0 0xffff0000004d819c at witness_debugger+0x64 > #1 0xffff0000004d9320 at witness_warn+0x3e8 > #2 0xffff0000006f9084 at uma_zalloc_debug+0x2c > #3 0xffff0000006f8a8c at uma_zalloc_arg+0x2c > #4 0xffff00000043fa18 at malloc+0xa0 > #5 0xffff00000000f550 at xpt_alloc_ccb+0x1c > #6 0xffff000000034ee0 at mmccam_start_discovery+0x18 > #7 0xffff0000002506fc at sdhci_card_task+0x110 > #8 0xffff000000255460 at sdhci_fdt_attach+0x5b4 > #9 0xffff0000004a3b34 at device_attach+0x400 > #10 0xffff0000004a369c at device_probe_and_attach+0x7c > #11 0xffff0000004a5880 at bus_generic_new_pass+0xf8 > #12 0xffff0000004a5830 at bus_generic_new_pass+0xa8 > #13 0xffff0000004a5830 at bus_generic_new_pass+0xa8 > #14 0xffff0000004a0ae0 at bus_set_pass+0x4c > #15 0xffff0000003f644c at mi_startup+0x12c > #16 0xffff0000000008a8 at virtdone+0x6c The above may be a problem that needs to be fixed overall. > . . . > lock order reversal: (sleepable after non-sleepable) > 1st 0xffffa00001026558 dwmmcsim (dwmmcsim, sleep mutex) @ = /usr/src/sys/cam/cam_xpt.c:2802 > 2nd 0xffff000000c12a30 Clock topology lock (Clock topology lock, sx) @ = /usr/src/sys/dev/extres/clk/clk.c:1154 > lock order dwmmcsim -> Clock topology lock attempted at: > #0 0xffff0000004d7e7c at witness_checkorder+0xc50 > #1 0xffff0000004743e8 at _sx_xlock+0x7c > #2 0xffff0000001ac808 at clk_set_freq+0x4c > #3 0xffff00000078a998 at dwmmc_rockchip_update_ios+0x3c > #4 0xffff00000078a3bc at dwmmc_update_ios+0xfc > #5 0xffff000000789854 at dwmmc_cam_action+0x14c > #6 0xffff000000009c34 at xpt_action_default+0xca8 > #7 0xffff000000008f5c at xpt_action+0x270 > #8 0xffff00000003633c at mmcprobe_start+0x89c > #9 0xffff00000000cc10 at xpt_run_allocq+0x104 > #10 0xffff00000000cadc at xpt_schedule+0x230 > #11 0xffff000000035a78 at mmcprobe_register+0x2a4 > #12 0xffff000000003b90 at cam_periph_alloc+0x528 > #13 0xffff0000000354dc at mmc_action+0x484 > #14 0xffff000000008f5c at xpt_action+0x270 > #15 0xffff000000011750 at xpt_scanner_thread+0xcc > #16 0xffff000000424198 at fork_exit+0x74 > #17 0xffff00000076716c at fork_trampoline+0x14 >=20 The above may be another problem that needs to be fixed overall. These lock reports do not look like the typical "just ignore the message" ones. (But I'm not competent to make the actual judgement of status.) > . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)