From owner-freebsd-current@freebsd.org Sat May 2 20:21:06 2020 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 023822C184B for ; Sat, 2 May 2020 20:21:06 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) 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 49F0r11TyHz4c6y for ; Sat, 2 May 2020 20:21:05 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qk1-x72f.google.com with SMTP id t3so12700506qkg.1 for ; Sat, 02 May 2020 13:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=B/gscoP23FRKUyeP5dYMz7HX1EhBKQ3Jjc8k7GQp/ng=; b=ngAQv4RPVVmB+SFVHs+OOlIcRZ24DMr6UIpJMjxxZUw7o3iLtvelgr+G7vmoaf+3n1 i2w1RdK+csX13QbrMfQX9wKxeQ7ZloZsNGvXMRuZ79mkL120eZ0UkJu5qp7s/s2QgP48 oL0incOPoyYoXLdz44P+nMx8oA4uOzzuZftbNDethvAX7+DDPtglY3uxTkT1BpCoMZL8 Md8NVDYBd5X2H0kn7tzMWmYWcky8Zo6MnwFO/j1zZmPQBVbsvue/xP1P3j4aTaJ3HZ9P 9MeqJbjTUEVmXsfoMvS9CqL3gpPCOkrjYwhsRzcIarKRr4BouBs2E57kNHBsie6h+MQO SwIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=B/gscoP23FRKUyeP5dYMz7HX1EhBKQ3Jjc8k7GQp/ng=; b=UWfLZVyS84LeTTKmZSWYK3B7jfk8q26r2YnqNBQlljBDzdxDrfs57FSmfXRG4379x2 LhJLc60X0YxcztrFmaLpANZ6XDvBJcKflVylJgTLwwuonUYT2F9ImNJ4KEPyzAMX0dXU IFvasWq+hcDeJiLnWnvWg6q2zEROlMD48eyu+LPmOZGZ1YfQegL7xsCI9i0/Twg7CKxc FM0EfRsF5t0KHuhkow1g8YYCTPi/91UKkvGZnlqe4lJBpshHUMcd4YyksZTpVv+rj48w 1yEMTDqtSkFyBU4GJHn3/w6bZyPfG7tFmUE/IIDC8EjS0RPyYgYqeZVm1k3eRUVG2VKx PCtg== X-Gm-Message-State: AGi0PuYxDY4bXMF+Iv4ixl48N4t9IierfJ2i3WbaNwIrUaJ0xuJbMdIE gisn6bgdzsd7Xf4txsHmAe95Lfi1 X-Google-Smtp-Source: APiQypKZH21u1ImUhkWcTFRJManuCM9VhG+gh9qsSsn38BNO7cQGoXdGMVzFJCrEvoayU0BSklA+Fw== X-Received: by 2002:a37:d93:: with SMTP id 141mr5520597qkn.32.1588450864083; Sat, 02 May 2020 13:21:04 -0700 (PDT) Received: from raichu (bras-base-toroon0560w-grc-20-184-147-206-246.dsl.bell.ca. [184.147.206.246]) by smtp.gmail.com with ESMTPSA id c68sm5985046qke.121.2020.05.02.13.21.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 13:21:03 -0700 (PDT) Sender: Mark Johnston Date: Sat, 2 May 2020 16:18:40 -0400 From: Mark Johnston To: Grzegorz Junka Cc: freebsd-current@freebsd.org Subject: Re: panic: Assertion lock == sq->sq_lock failed at /usr/src-13/sys/kern/subr_sleepqueue.c:371 Message-ID: <20200502201840.GA48096@raichu> References: <93c3b478-3648-a056-f776-8bceafdebc98@gjunka.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <93c3b478-3648-a056-f776-8bceafdebc98@gjunka.com> X-Rspamd-Queue-Id: 49F0r11TyHz4c6y X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ngAQv4RP; dmarc=none; spf=pass (mx1.freebsd.org: domain of markjdb@gmail.com designates 2607:f8b0:4864:20::72f as permitted sender) smtp.mailfrom=markjdb@gmail.com X-Spamd-Result: default: False [-3.72 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[f.2.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.02)[ip: (-9.28), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[246.206.147.184.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; RCVD_TLS_ALL(0.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: Sat, 02 May 2020 20:21:06 -0000 On Sat, May 02, 2020 at 02:56:27PM +0100, Grzegorz Junka wrote: > > On 02/05/2020 14:15, Grzegorz Junka wrote: > > cpuid = 3 > > > > time = 1588422616 > > > > KDB: stack backtrace: > > > > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > > 0xfffffe00b27e86b0 > > > > vpanic() at vpanic+0x182/frame 0xfffffe00b27e8700 > > > > panic() at panic+0x43/frame ... > > > > sleepq_add() > > > > ... > > > > I see > > > > db> > > > > in the terminal. I tried "dump" but it says, Cannot dump: no dump > > device specified. > > > > Is there a guide how to deal wit those, i.e. to gather information > > required to investigate issues? > > > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to > > "freebsd-current-unsubscribe@freebsd.org" > > > OK, I found this handbook > https://www.freebsd.org/doc/en/books/developers-handbook/book.html#kerneldebug > > Obviously something must have been misconfigured that I can't dump the > core now. Is there anything I can fetch from the system while I am in > db> or I should just forget and restart? It would be useful to see the output of "bt", "show lockchain" and "alltrace" if possible. The latter command will product a lot of output though.