From nobody Fri Sep 27 06:09:31 2024 X-Original-To: freebsd-hardware@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XFNWB0SYGz5Xgts for ; Fri, 27 Sep 2024 08:12:54 +0000 (UTC) (envelope-from Stephane.ROCHOY@stormshield.eu) Received: from mail.stormshield.eu (mail.stormshield.eu [91.212.116.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.stormshield.eu", Issuer "Sectigo RSA Organization Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XFNW91w7rz4LXC for ; Fri, 27 Sep 2024 08:12:53 +0000 (UTC) (envelope-from Stephane.ROCHOY@stormshield.eu) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stormshield.eu; s=signer2; t=1727424765; h=From:Subject:Date:Message-ID:To:Cc :MIME-Version:Content-Type:Content-Transfer-Encoding:In-Reply-To :References; bh=ndASs+nr4YzXjVLfBYmlUtfl/RIpr5HBKfknmq3rdyk=; b=ux8OTuXuK GtqhUoW9U+0ZNme9AYAckgxFBpfphBZOPOxGFxWlxe6n38p7h8Nix2qws02UjD1ulGavaau2D j3E9FqXPJi43yqXcSlCklUPH1y9SzeY2GrHQcHhgYDJgeUsqXs0LiIgrBbvQFgFQFo7LVhEcA uCqbybHU76hyagWdeoLI55CZOzg0PXpjV5VKjJj7Px/PrRaVscIZHetJqaqOvfHUjJnNz2rOE aG6A/BdY9oq3J2TJJuBpkT5cXbuPzgF2Om+wiw0UKR/WpSHKBoimE+i2nJJwJZTFGGVMlJPFe IxYQBWJVdPDuolv+FOR9yX/21nXoSli/UhA4KIitQ==; References: <3065debc-8d4f-4487-abbb-c9408810cea6@sentex.net> <86plotbk5b.fsf@cthulhu.stephaner.labo.int> <9008b389-ab06-401d-9a95-84f849ca602a@sentex.net> <86plosdv48.fsf@cthulhu.stephaner.labo.int> <78e9461c-b93d-403f-b3a1-3568548b9283@sentex.net> User-agent: mu4e 1.10.7; emacs 29.4 From: Stephane Rochoy To: mike tancsa CC: Chris6 via freebsd-hardware Subject: Re: watchdog timer programming Date: Fri, 27 Sep 2024 08:09:31 +0200 In-Reply-To: <78e9461c-b93d-403f-b3a1-3568548b9283@sentex.net> Message-ID: <86h6a1egcs.fsf@cthulhu.stephaner.labo.int> List-Id: General discussion of FreeBSD hardware List-Archive: https://lists.freebsd.org/archives/freebsd-hardware List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hardware@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: ICTDCCEXCH003.one.local (10.180.4.3) To ICTDCCEXCH002.one.local (10.180.4.2) X-DKIM-Signer: DkimX (v3.60.360) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:49068, ipnet:91.212.116.0/24, country:FR] X-Rspamd-Queue-Id: 4XFNW91w7rz4LXC X-Spamd-Bar: ---- mike tancsa writes: > On 9/25/2024 3:13 AM, Stephane Rochoy wrote: >>>>> >>>>> Any idea how to get this hardware working ? >>>> >>>> Do you know if, at least, the pre-timeout is working? >>> >>> How do I check that ? >> >> Using --pretimeout and --pretimeout-action. See watchdogd(8)=20 >> for >> more details. >> > Reverting to the code thats in the tree, I started it up with > > watchdogd --pretimeout 10 --pretimeout-action log -t 15 > > Doesnt seem to work or at least it doesnt make sense to me.=20 > After I > start that up, I see in the logs about 25 seconds after it=20 > starts, but > not always. > > Sep 26 11:31:20 mpki2024 kernel: watchdog pre-timeout,=20 > WD_SOFT_LOG > Sep 26 11:31:20 mpki2024 kernel: Sep 26 11:31:20 pki2024 kernel: > watchdog pre-timeout, WD_SOFT_LOG > > and then doing a kill -9 does nothing :( AFAIK, the pre-timeout should trigger reliably. Weird. --=20 St=C3=A9phane Rochoy O: Stormshield