From owner-freebsd-stable@freebsd.org Mon May 14 13:13:06 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B5A7D92F42 for ; Mon, 14 May 2018 13:13:06 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B430375305 for ; Mon, 14 May 2018 13:13:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 6E3D9D92F41; Mon, 14 May 2018 13:13:05 +0000 (UTC) Delivered-To: stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5BB67D92F40 for ; Mon, 14 May 2018 13:13:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 CA663752E7 for ; Mon, 14 May 2018 13:13:04 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id w4EDCsW3002791 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 14 May 2018 16:12:57 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua w4EDCsW3002791 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id w4EDCsCG002790; Mon, 14 May 2018 16:12:54 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 14 May 2018 16:12:54 +0300 From: Konstantin Belousov To: "Eugene M. Zheganin" Cc: stable@FreeBSD.org Subject: Re: extract the process arguments from the crashdump Message-ID: <20180514131254.GI6887@kib.kiev.ua> References: <42c36979-9857-65fb-89e8-997eac1c2d61@zhegan.in> <20180514111551.GG6887@kib.kiev.ua> <0d518b96-13c2-7e0b-db8a-80d9b239f413@zhegan.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0d518b96-13c2-7e0b-db8a-80d9b239f413@zhegan.in> User-Agent: Mutt/1.9.5 (2018-04-13) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2018 13:13:06 -0000 On Mon, May 14, 2018 at 05:32:21PM +0500, Eugene M. Zheganin wrote: > Hello, > > On 14.05.2018 16:15, Konstantin Belousov wrote: > > On Mon, May 14, 2018 at 01:02:28PM +0500, Eugene M. Zheganin wrote: > >> Hello, > >> > >> > >> Is there any way to extract the process arguments from the system > >> crashdump ? If yes, could anyone please explain to me how do I do it. > > ps -M vmcore.file -N /boot/mykernel/kernel -auxww > > Well, unfortunately this gives me exactly same information as the > core.X.txt file contains - process names without arguments, and I really > want to know what arguments ctladm had when the system has crashed: Most likely the in-kernel cache for the process arguments was dropped.