From owner-freebsd-hardware@freebsd.org Sat Sep 29 13:03:08 2018 Return-Path: Delivered-To: freebsd-hardware@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 B4A49109E1F3 for ; Sat, 29 Sep 2018 13:03:08 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) Received: from mailout4.lrau.net (mailout4.lrau.net [IPv6:2a05:bec0:26:2::73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout4.lrau.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4AD1C7A62C for ; Sat, 29 Sep 2018 13:03:08 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chaos1.de; s=email1; h=To:Date:Message-Id:Subject:Mime-Version: Content-Transfer-Encoding:Content-Type:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Hl8cIJnB94j7a+sEuT7w8RV/hvrC/FPH6487vnHNWY0=; b=eI9IXWsCiQC6C//OolOQ7CmO49 /Pshh89WHFzSSDQhniQOufDc3j6uwfYvlTiFyOgO7GecjTT3cLLynwXnAEMYL/YnMDERkn+xaNvWe yxHf/btmeDmSXO8uSv86cPKs11oR57+elJRG6WEHg9dUBdYi9DWhXiaDDcXlTaeqsF+4ypYJWYE+g hV2aZlPmAVr+YNep6kGt2y+NLkz49Ssrp0QLpXjcrZlzTVsFGOeFWbOPlCZAJ4yxAgIWvh2oMMEYj I/r3mH8VvUjVlJcUV5Zp8iwEt7uxh7ed38gRrtzXAV73bRycL7C7EuM50KagH60VVUKPCSvbLTq7v O8Kh5tmg==; Received: from [91.216.35.74] (helo=imap.lrau.net) by mailout4.lrau.net with esmtp (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g6Etm-0003Jm-DS for freebsd-hardware@freebsd.org; Sat, 29 Sep 2018 13:03:06 +0000 Received: from Axel.Rau@Chaos1.DE by imap.lrau.net (Archiveopteryx 3.2.0) with esmtpsa id 1538226185-3674-3670/7/2; Sat, 29 Sep 2018 13:03:05 +0000 From: Axel Rau Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: not ready after reboot Message-Id: <34F4A003-3FA2-4CB3-89E7-38FDD5EE3AAD@Chaos1.DE> Date: Sat, 29 Sep 2018 15:03:04 +0200 To: freebsd-hardware@freebsd.org X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2018 13:03:08 -0000 Hi all, the daemon opens /dev/ttyU3 on startup to read serial data. In case of reboot the device seems to be not ready and the daemon does = not get any data even it seems the opn succeeds. It works after manual = restarting the daemon. I could not find a suitable rcorder requirement. How could I make sure the daemon does not start too early? Thanks, Axel PS: crw------- 1 root wheel 0xd3 Sep 29 12:54 ttyU3 crw------- 1 root wheel 0xd4 Sep 29 11:56 ttyU3.init crw------- 1 root wheel 0xd5 Sep 29 11:56 ttyU3.lock =46rom dmesg: Root mount waiting for: usbus2 ugen2.3: at usbus2 uftdi0 on uhub7 uftdi0: on usbus2 Root mount waiting for: usbus2 ugen2.4: at usbus2 uftdi1 on uhub7 uftdi1: on usbus2 ugen2.5: at usbus2 uftdi2 on uhub7 uftdi2: on usbus2 Root mount waiting for: usbus2 ugen2.6: at usbus2 uftdi3 on uhub7 uftdi3: on usbus2 random: unblocking device. ugen0.2: at usbus0 ukbd1 on uhub1 ukbd1: = on usbus0 kbd3 at ukbd1 root@db2:/usr/local/etc/rc.d # kldstat Id Refs Address Size Name 1 25 0xffffffff80200000 20647f8 kernel 2 1 0xffffffff82266000 381080 zfs.ko 3 2 0xffffffff825e8000 a380 opensolaris.ko 4 1 0xffffffff825f3000 adf0 uftdi.ko =2D-- PGP-Key:29E99DD6 =E2=98=80 computing @ chaos claudius