From owner-freebsd-current@freebsd.org Sat Feb 27 08:24:31 2021 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 717B155FE57 for ; Sat, 27 Feb 2021 08:24:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DnfhG44nVz4Zxr for ; Sat, 27 Feb 2021 08:24:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x830.google.com with SMTP id f17so8416840qth.7 for ; Sat, 27 Feb 2021 00:24:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WQMvbpEmlKeHm9HzAmZhviCHLgKv6N1Lhst0adCTpSg=; b=zPofkegMz+hg9ME+5vSQvfzQ5IO/OdMEd6ZKheMjl9R5QaDwE9PON+BBwL47eJE7Ot OItAJAjfWipmyCdFxbIdGiajC0+58SjvfyUqp1QhH4vdCEKG0k/rBhDgGg42aW2i0ISn /+PQfXh6DLZHOp3bTdppWEJARDyntxF+sR7T4zFqe98UY+LQV8+KjExiOmE6JAakieYk V1K4+j0M1EZg7hHZuiLjQjUn1j73waguyHyxvSLB6HePIjtTIrKSWFW4OEPgcjxVSuBv Zu2E3OhWYi2aMhvifLB0TVMes+rUOADw+yqLXbwdt52SmnsYEXj9uQCny6oy7GyQSF6m QTKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WQMvbpEmlKeHm9HzAmZhviCHLgKv6N1Lhst0adCTpSg=; b=H7GP+Z1gjqaeMGOXMApe6+k8nR8KINA7c8i4WoVQMQznOzeupPyyzc2YN2HrCMr1wt 41ZrmYgnxjyZI3tAQe+6ln9R/66GmNgn2MsEfaetaDc76qc9ksc1naUVMWRW/8dXj85T i2lVETjCg6xNM+9e6evgY6i6oBEzmbW4zo/hsV+TODVinnIeSj0uXJLFu1eq4sVoziiI 8gyOxUriHNWXp8VRvyy94YnLkuCX7CJVSfeBZdoWse+xqPUhdaZc/n5e9GoXWurAJkbS iLpsg7jEKaDSs13FXHpSN5PX6ClofAqyieGEWZ4vrnGWxtmYnHUXSTqAPNIW4suiViVW 66OA== X-Gm-Message-State: AOAM532XIDfO7SH5ky/2CfMj4UFkpKK/Ue7ijvrOlqrAzTLyr2Vo1rtG y5os0u5ue/P1S9bCJ7HxutuCdJ788AeJebpXS8YeI0zotIcvH/wA X-Google-Smtp-Source: ABdhPJxlHtWP6GsxacF/bf3g3tupsIfKbZhR/6tUkHVZ+n2KUwIh5q1hSzamywW4BeryazvpYkNPhUQgDrNZha9Iz+4= X-Received: by 2002:a05:622a:1c9:: with SMTP id t9mr5852656qtw.244.1614414269541; Sat, 27 Feb 2021 00:24:29 -0800 (PST) MIME-Version: 1.0 References: <20210227044740.GA36584@troutmask.apl.washington.edu> <20210227081343.GA37119@troutmask.apl.washington.edu> In-Reply-To: <20210227081343.GA37119@troutmask.apl.washington.edu> From: Warner Losh Date: Sat, 27 Feb 2021 01:24:18 -0700 Message-ID: Subject: Re: cardbus panic To: Steve Kargl Cc: FreeBSD Current X-Rspamd-Queue-Id: 4DnfhG44nVz4Zxr X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=zPofkegM; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::830) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::830:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::830:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::830:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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: Sat, 27 Feb 2021 08:24:31 -0000 Great. Committed as c01da939b0998f8de068a23c9016c377e761255e. As you might have guessed, I don't have a current cardbus system, though I need to bring one up to finish the removal of PC Card support. Warner On Sat, Feb 27, 2021 at 1:13 AM Steve Kargl < sgk@troutmask.apl.washington.edu> wrote: > That fixes the problem. Thanks for the quick response. > > -- > steve > > On Sat, Feb 27, 2021 at 12:02:54AM -0700, Warner Losh wrote: > > What does https://reviews.freebsd.org/D28963 do for you? > > > > Warner > > > > On Fri, Feb 26, 2021 at 9:48 PM Steve Kargl < > > sgk@troutmask.apl.washington.edu> wrote: > > > > > Ejecting a D-Link DWL-G630 AirPlus G NIC leads to > > > > > > panic: mutex Giant not owned at /usr/src/sys/kern/subr_bus.c:3001 > > > cpuid = 1 > > > time = 1614400775 > > > KDB: stack backtrace: > > > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > > > 0xfffffe0062fc3b40 > > > vpanic() at vpanic+0x181/frame 0xfffffe0062fc3b90 > > > panic() at panic+0x43/frame 0xfffffe0062fc3bf0 > > > __mtx_assert() at __mtx_assert+0xb0/frame 0xfffffe0062fc3c00 > > > device_detach() at device_detach+0x2e/frame 0xfffffe0062fc3c40 > > > bus_generic_detach() at bus_generic_detach+0x38/frame > 0xfffffe0062fc3c60 > > > cardbus_detach_card() at cardbus_detach_card+0xf/frame > 0xfffffe0062fc3c80 > > > cbb_event_thread() at cbb_event_thread+0x1be/frame 0xfffffe0062fc3cf0 > > > fork_exit() at fork_exit+0x80/frame 0xfffffe0062fc3d30 > > > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0062fc3d30 > > > --- trap 0, rip = 0, rsp = 0, rbp = 0 --- > > > KDB: enter: panic > > > > > -- > Steve >