From owner-freebsd-current@freebsd.org Thu Aug 9 07:55:11 2018 Return-Path: Delivered-To: freebsd-current@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 04619105AAA4 for ; Thu, 9 Aug 2018 07:55:11 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 769DF85147 for ; Thu, 9 Aug 2018 07:55:10 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x42c.google.com with SMTP id h14-v6so4263716wrw.13 for ; Thu, 09 Aug 2018 00:55:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=KHF0IcOqC6srjDulf65PBAYYpeCJ/6Q3dpdGMLHSyCs=; b=I7vL14EbAuotMq8iGGslFX1EN/2sEUCpgFOeUz5F3bgQw0XynwcuE7OxDkpl9lCbEZ tXKJHdaMwJG4DU3F7/kz8jgS2OfpXb/IJjYDAyBbKNPUJwaHbgJBG6jn4FjBMH2Tfzdl 5jinn0VIAN4pY/f+iCOehU9LBi1hqDIZ1ojffSP+iGx1CQDKo4nA80ZDPpVp8R6Bor8k mAfXzbM147t2iYTwbs+ZVJbFoGHtubcAUDb+0WZ7fXG5FeGzba3o/mnFa7VKTHxYX0cL VQFN7PnxQG6QmuGCNiqbCWbauD2XY/Ij8asXBu/WKkcs+Fo3pKrea1qyC/Lbh7J6kg3p jhfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KHF0IcOqC6srjDulf65PBAYYpeCJ/6Q3dpdGMLHSyCs=; b=T5uVxNesNlnGLsDCUsDvlcLWJjRyKnis/jaAhgUOZ3BvNjGTHKWxUm+oERzNs5KpOe 0njJQgvRcGU99HBUVRw+QPthwQuOqNhLxo1czZvSqh4TSCGJleIyfdc4cHUNba6IP5Gw KxE7yvUJbEtFkfPj06og4jahHDK7rOR0KJhKm95qEF4Z4NsT9Alut+szZ/BSXqu0SxjA 8o7yGk6epmmdvJDf2MRD+MARissiOyWTq/DMmcMSTtwM0+IPrms8ZwUqLJqBLUB06NAV DbgyRTw1IzAS2LX+OxwXWBEbFD2F83mE142EPFv3+gNErrEG0BRwnyMsi3uFrQksIihq KCZg== X-Gm-Message-State: AOUpUlEjHGHbpOWE739KxhQmj+p+7QQnG2EPTmKJC1u3cBvL5JZDOn/J zguGHZyvHsStxOI4A/KlU8t03VEImISFgLRBVZnHKepj X-Google-Smtp-Source: AA+uWPw1I0c9RDTpCITUpTlwR5VlBRjupX9vEM9hNBEOH9fcmhZ4UF1NGcC68KIPxVCPP6aFHjHg09QhJfk++MCnqbE= X-Received: by 2002:adf:e584:: with SMTP id l4-v6mr643232wrm.190.1533801308332; Thu, 09 Aug 2018 00:55:08 -0700 (PDT) MIME-Version: 1.0 From: Johannes Lundberg Date: Thu, 9 Aug 2018 08:54:31 +0100 Message-ID: Subject: Early kernel boot log? To: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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: Thu, 09 Aug 2018 07:55:11 -0000 Hi So I believe the reason I'm not seeing and printf output in dmesg is that it is too early in some functions. For example machdep.s getmemsize() add_efi_map_entries() etc However, these functions do contain debug printf statements so if they're logging to somewhere, where/how can I see this? I also tried booting in bhyve too see if I could get any output via serial console but nothing there either. printfs in cpu_startup() does give me output in dmesg. Cheers