From owner-freebsd-hackers@freebsd.org Sun Dec 8 11:27:45 2019 Return-Path: Delivered-To: freebsd-hackers@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 8A1711E0F56 for ; Sun, 8 Dec 2019 11:27:45 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (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 47W3w05rwZz3xNr for ; Sun, 8 Dec 2019 11:27:44 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id xB8BS1f7075643 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 8 Dec 2019 12:28:02 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1575804482; bh=ZSYOaxQC2ERxReKG2+856SzgvaxhibhQ50h9ggv7rPw=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=GM3sxr2Id4SyTeo9/uJMKb6pOcdsTPWZyZfOyNIltE8UAcHxw/K6bQivff31HUL0t 7Ev/d/tA5U46uBVxyFNqtgYuF481ngH1Of06oVKhuALeKAKFbzBddMpyWAk/inkgL8 Pg3R1WXTO0Ud/RhLwnEKdUHzRalcOUAuuj1Azq9o= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id xB8BS18b075639; Sun, 8 Dec 2019 12:28:01 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Sun, 8 Dec 2019 12:28:01 +0100 (CET) From: Wojciech Puchar To: =?ISO-8859-15?Q?Trond_Endrest=F8l?= cc: freebsd-hackers@freebsd.org Subject: Re: first time using NVMe SSD In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 X-Rspamd-Queue-Id: 47W3w05rwZz3xNr X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=GM3sxr2I; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-3.54 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; CTYPE_MIXED_BOGUS(1.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-3.24)[ip: (-8.57), ipnet: 194.1.144.0/24(-4.28), asn: 43476(-3.43), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2019 11:27:45 -0000 thank you. i tried /dev/nvd0 instead of /dev/nvme0 and assumed different tool is needed for NVMe. now all works. On Sun, 8 Dec 2019, Trond Endrestøl wrote: > On Sun, 8 Dec 2019 11:13+0100, Wojciech Puchar wrote: > >> what is an equivalent (if exist) to SMART (smartctl/smartd) for NVMe drives? > > sysutils/smartmontools has no problems detecting mine: > > Dec 6 20:43:58 E590T smartd[1307]: smartd 7.0 2018-12-30 r4883 [FreeBSD 13.0-CURRENT amd64] (local build) > Dec 6 20:43:58 E590T smartd[1307]: Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org > Dec 6 20:43:58 E590T smartd[1307]: Opened configuration file /usr/local/etc/smartd.conf > Dec 6 20:43:58 E590T smartd[1307]: Drive: DEVICESCAN, implied '-a' Directive on line 23 of file /usr/local/etc/smartd.conf > Dec 6 20:43:58 E590T smartd[1307]: Configuration file /usr/local/etc/smartd.conf was parsed, found DEVICESCAN, scanning devices > Dec 6 20:43:58 E590T smartd[1307]: Device: /dev/nvme0, opened > Dec 6 20:43:58 E590T smartd[1307]: Device: /dev/nvme0, Samsung SSD 970 EVO Plus 2TB, S/N:XXXXXXXXXXXXXXX, FW:2B2QEXM7, 2.00 TB > Dec 6 20:43:58 E590T smartd[1307]: Device: /dev/nvme0, is SMART capable. Adding to "monitor" list. > Dec 6 20:43:58 E590T smartd[1307]: Monitoring 0 ATA/SATA, 0 SCSI/SAS and 1 NVMe devices > > -- > Trond. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > > From owner-freebsd-hackers@freebsd.org Sun Dec 8 22:47:17 2019 Return-Path: Delivered-To: freebsd-hackers@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 67F521BCBAE for ; Sun, 8 Dec 2019 22:47:17 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 47WM046jDyz3xnm for ; Sun, 8 Dec 2019 22:47:16 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.nyi.freebsd.org (Postfix) id E46221BCBAD; Sun, 8 Dec 2019 22:47:16 +0000 (UTC) Delivered-To: hackers@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 E42721BCBAC for ; Sun, 8 Dec 2019 22:47:16 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (107-204-234-170.lightspeed.sntcca.sbcglobal.net [107.204.234.170]) (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 47WM032sbWz3xnl for ; Sun, 8 Dec 2019 22:47:14 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id xB8MlCN8003420 for ; Sun, 8 Dec 2019 22:47:12 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id xB8MlCOV003419 for hackers@freebsd.org; Sun, 8 Dec 2019 14:47:12 -0800 (PST) (envelope-from david) Date: Sun, 8 Dec 2019 14:47:12 -0800 From: David Wolfskill To: hackers@freebsd.org Subject: I seem to be getting mixed messages from savecore(8) Message-ID: <20191208224712.GC1227@albert.catwhisker.org> Reply-To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="DKU6Jbt7q3WqK7+M" Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47WM032sbWz3xnl X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-2.36 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[hackers@freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[hackers@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[catwhisker.org]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.96)[ip: (-9.86), ipnet: 107.192.0.0/12(-4.93), asn: 7018(0.04), country: US(-0.05)]; REPLYTO_EQ_TO_ADDR(5.00)[] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2019 22:47:17 -0000 --DKU6Jbt7q3WqK7+M Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This is running a system based on head at r354689. (I realize that it claims r354207; there was an "issue" with respect to git notes & refs....) Evidence: test_host# savecore -v -v -C /dev/nda0p5 checking for kernel dump on device /dev/nda0p5 mediasize =3D 17179869184 bytes sectorsize =3D 512 bytes First dump headers: Dump header from device: /dev/nda0p5 Architecture: amd64 Architecture Version: 2 Dump Length: 247502187 Blocksize: 512 Compression: gzip Dumptime: Sun Dec 8 22:05:20 2019 Hostname: test_host.ix.nflxvideo.net Magic: FreeBSD Kernel Dump Version String: FreeBSD 13.0-CURRENT #0 r354207+6722509e5333-c729675(rele= ase-2 019Q4.3.1): Wed Dec 4 11:43:57 PST 2019 root@build_host:/mem/.obj/nano.nflx/mem/FreeBSD/amd64.amd64 /sys/RE Panic String: kdb_sysctl_panic Dump Parity: 3584057358 Bounds: 0 Dump Status: unknown Last dump headers: Dump header from device: /dev/nda0p5 Architecture: amd64 Architecture Version: 2 Dump Length: 247502187 Blocksize: 512 Compression: gzip Dumptime: Sun Dec 8 22:05:20 2019 Hostname: test_host.ix.nflxvideo.net Magic: FreeBSD Kernel Dump Version String: FreeBSD 13.0-CURRENT #0 r354207+6722509e5333-c729675(rele= ase-2 019Q4.3.1): Wed Dec 4 11:43:57 PST 2019 root@build_host:/mem/.obj/nano.nflx/mem/FreeBSD/amd64.amd64 /sys/RE Panic String: kdb_sysctl_panic Dump Parity: 3584057358 Bounds: 0 Dump Status: unknown A dump exists on /dev/nda0p5 test_host# savecore -v -v -m3 --libxo json /var/log/coredumps /dev/nda0p5 unable to open bounds file, using 0 checking for kernel dump on device /dev/nda0p5 test_host# echo $? 0 test_host# So: If I understand correctly, "savecore -C" detacts that a dump exists on the cited device, but invoking savecore to actually ... save ... the dump does not actually do that. Any suggestions for expressing my request in a way that savecore is a bit more likely to accept? Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org With respect to Trump's impeachment and his willful delaying of that proces= s: "Justice delayed is justice denied" See http://www.catwhisker.org/~david/publickey.gpg for my public key. --DKU6Jbt7q3WqK7+M Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAl3tfXBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pcmf6ggAqUCZcYx6Wu1dOClqnA4C5fJeim3WekyUlo/doqUTVQCHYcZ+0ntKqYkf +Q3ej9EXV1rYuJwaHTehDwG7p/zP5EmdWZlYOvxLGD9ONgHwJVZ91F+fuwVjlEYC FWcCIBe4QqjEGEXUxRVIIkgp2EymPCNCmcozmYNUqS9cRyfFDmCe530wlC9sc57i VKtyY6M4+3ZTBsROK04WWPtlPvvz2djeAh+aDgVquHdPUY8GpEkd/RMfHxrm5on0 7TH578IhU+/86YeezDp9m2CaVidNdBFK5F4wkea2fZKTsVGdbILbK3YIMDLxbS3E Y7bPeN5LGEqFWc6phK2yf/RJA2SD+g== =hLvf -----END PGP SIGNATURE----- --DKU6Jbt7q3WqK7+M--