From owner-freebsd-current@freebsd.org Sat May 2 14:40:31 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 DB1D82D1579 for ; Sat, 2 May 2020 14:40:31 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-oi1-f195.google.com (mail-oi1-f195.google.com [209.85.167.195]) (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 49DsH30BSlz4GbG for ; Sat, 2 May 2020 14:40:30 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-oi1-f195.google.com with SMTP id j16so2447818oih.10 for ; Sat, 02 May 2020 07:40:30 -0700 (PDT) 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:reply-to :from:date:message-id:subject:to:cc; bh=bASVZV1sOPSOfXGuj5na5sPVftev6HP/CfSSdsp07rk=; b=fOC9QF0x5fZf/etsJQs1gBX+u5w2Q4/UyhQr9u8qti/OpXFKxdrtmRBy1x0P7EYOVT jlfdnO8p2PDvZCvO3OFy4oYje0l7toRWbuVYsgA1/qFxzFRCKVJP5ww4vvPKprR63niz O84eQj47mV773t7Vi1BwtyvtYpy0Z/BMLeFZTvNA/HSN330b+ucrf2KfUlbbUf2shaJK 8xpOzwoFHe/Sl5qa9P+QoOOIu9tLEqVpqJN9m4m/8FGhD3QlpSpdaO9sRTxzC19bDoFC 84m63/Fh3IExWGRvFl7sEwPM92pVBAx0y1zpMwbnziluvfAqelJDfWCwv9R8hPTLq8P0 K3cQ== X-Gm-Message-State: AGi0PuZGsuDAhd6DKe6V4C0J5PHh8HM/bFwRoQ1OQZmyFWjyZ7eJ0aB5 g4zjdNvo385QIr/aYAAWrIWenWOi X-Google-Smtp-Source: APiQypJRNmTiRlNYqLL4EmDLH8+x6bjvvbBfBtFb1JJEMMzfVJJzvGohykIsFZn1tBOkUD4iXo+oeg== X-Received: by 2002:aca:674a:: with SMTP id b10mr3141015oiy.0.1588430429354; Sat, 02 May 2020 07:40:29 -0700 (PDT) Received: from mail-ot1-f49.google.com (mail-ot1-f49.google.com. [209.85.210.49]) by smtp.gmail.com with ESMTPSA id u197sm810672oie.7.2020.05.02.07.40.28 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 May 2020 07:40:29 -0700 (PDT) Received: by mail-ot1-f49.google.com with SMTP id j26so4981111ots.0 for ; Sat, 02 May 2020 07:40:28 -0700 (PDT) X-Received: by 2002:a9d:6b97:: with SMTP id b23mr7913379otq.157.1588430428775; Sat, 02 May 2020 07:40:28 -0700 (PDT) MIME-Version: 1.0 References: <93c3b478-3648-a056-f776-8bceafdebc98@gjunka.com> In-Reply-To: <93c3b478-3648-a056-f776-8bceafdebc98@gjunka.com> Reply-To: cem@freebsd.org From: Conrad Meyer Date: Sat, 2 May 2020 07:40:18 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: panic: Assertion lock == sq->sq_lock failed at /usr/src-13/sys/kern/subr_sleepqueue.c:371 To: Grzegorz Junka Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 49DsH30BSlz4GbG X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of csecem@gmail.com designates 209.85.167.195 as permitted sender) smtp.mailfrom=csecem@gmail.com X-Spamd-Result: default: False [-2.17 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; 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]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[195.167.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.17)[ip: (0.00), ipnet: 209.85.128.0/17(-0.40), asn: 15169(-0.43), country: US(-0.05)]; RWL_MAILSPIKE_POSSIBLE(0.00)[195.167.85.209.rep.mailspike.net : 127.0.0.17]; 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 14:40:31 -0000 Hi Grzegorz, If you have another machine connected by network that you can install and start netdumpd on, and; ipv4 configured on a supported network device before the machine paniced; and a recent CURRENT; you should be able to initiate a kernel dump over the network with 'netdump -s server-ip' in DDB. In more complicated situations you might also need to specify '-g gateway-ip -c client-ip -i interface', but for servers on the LAN or available via the default gateway route, the former ought to work. Best, Conrad On Sat, May 2, 2020 at 6:56 AM 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? > > GrzegorzJ > > _______________________________________________ > 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"