From owner-freebsd-drivers@freebsd.org Mon Oct 23 02:35:29 2017 Return-Path: Delivered-To: freebsd-drivers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 66FCEE3E1F1 for ; Mon, 23 Oct 2017 02:35:29 +0000 (UTC) (envelope-from fire@firecrow.com) Received: from mail-qk0-x22d.google.com (mail-qk0-x22d.google.com [IPv6:2607:f8b0:400d:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D49F82446 for ; Mon, 23 Oct 2017 02:35:29 +0000 (UTC) (envelope-from fire@firecrow.com) Received: by mail-qk0-x22d.google.com with SMTP id l194so20271398qke.13 for ; Sun, 22 Oct 2017 19:35:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=firecrow-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=+4OCoDt/T10SHBjF9eaGN0v+lRJs42IMS3vGxBJrROE=; b=0R/nYgNy/z3mj2vVj9h+ZdERn3PrDcgsq1dWomp8MDXqOP7uQC2JxmVOWUwLQkvM4c gBcYPHbDr4RGbKMT9hhqEUOeApPMJGXgvwdj8QUYMnfsvr5tcJZzaOPOudNbxpv0tYrw pJL0oNekR9tMWzFzZnMGiCDtZ28zeboLKCtulT7Y+Fpybdx1He9SVbd1TD9wthxGdiaL 3M1OWR7O17gy5HTMSsOQyQX8I0C+U6ji8vBkiJesXA0D/fBrxlmrPkuU4c4wqIa458kv BpY1CXPOpkUzQikvUfBxQJNmZAjuGXwYg+JdP/pGpvKMdQGV0Bc7OR0zt83zKPhdzN1N Ag5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=+4OCoDt/T10SHBjF9eaGN0v+lRJs42IMS3vGxBJrROE=; b=ZpACsofKR3huJ/0KgHpUy1hEAW08VRbNddHBB5uOIUnjB8J6BjynTil3IEKSXttvS0 DsrgCFmoio6SnUd8t/fL+fox2jJuEUKAGYmaop+PEoo+IJzS6s6XYMapQC1uLF0UoFc1 4k6V2cPTi8hBRejwlkUEFCSrmpDyZnX82l7NRzkaDEleoH0THrIMo56Eine5S/3UBWJz nFHx3MmZl5ZqNxHla63iWEL/0bYBUE+4J1juHVCr5bEQoE9PqMiHyg9ocEED7sp4QErQ MyPfiRmjTkRjB/YMPbWCclrvDjl9QKjW8ram0TH+PpTSf2HpbczmfY5/swRwFOnC2Weh 0zTQ== X-Gm-Message-State: AMCzsaVmt50lp3c/s9HuRSOs/W0sN4aRKE6LRtdE1duCB8D/zTRQHeNG uCrQrYnfGvhkXsUlbf3dysr8aibO16khy/uyvQVQgA== X-Google-Smtp-Source: ABhQp+TVzC3RGNI+TBZmCsYYKUas5r05bwHJN94VwLq2GAkC0KUlydO7z8oHNM1zlsGg0qW/0Td7FOQKF+2AjhzJpuQ= X-Received: by 10.55.103.15 with SMTP id b15mr10405111qkc.224.1508726128005; Sun, 22 Oct 2017 19:35:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.216.238 with HTTP; Sun, 22 Oct 2017 19:35:27 -0700 (PDT) Received: by 10.12.216.238 with HTTP; Sun, 22 Oct 2017 19:35:27 -0700 (PDT) In-Reply-To: References: From: fire crow Date: Mon, 23 Oct 2017 02:35:27 +0000 Message-ID: Subject: Logging information from inside fb/fb.c To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2017 02:35:29 -0000 Hi, I'm trying to log infirmation about video devices in the `vid_register` function in `sys/dev/fb/fb.c` and it appears that using `uprintf` is causing a kernel panic. Is there another logging facility I can use? Thanks ~fire