From owner-freebsd-current@FreeBSD.ORG Mon Sep 29 00:51:02 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 565E2A1 for ; Mon, 29 Sep 2014 00:51:02 +0000 (UTC) Received: from srv56-45.cdn.bestreaming.com (srv56-46.cdn.bestreaming.com [204.140.16.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1CB12E6A for ; Mon, 29 Sep 2014 00:51:01 +0000 (UTC) Received: from mail.yourbox.net (localhost [127.0.0.1]) by srv56-45.cdn.bestreaming.com (8.14.5/8.14.5) with ESMTP id s8T0p6AE056201; Mon, 29 Sep 2014 00:51:06 GMT (envelope-from fbl@aoek.com) From: "=?UTF-8?Q?Jos=C3=A9_P=C3=A9rez_Arauz?=o" To: Benjamin Kaduk Subject: Re: What do you use for kernel debugging? Date: Mon, 29 Sep 2014 02:51:01 +0200 Message-Id: <20140929003358.M78145@aoek.com> In-Reply-To: References: <20140928071641.M7664@beckpeccoz.com> X-Mailer: OpenWebMail 2.53 X-OriginatingIP: 213.37.0.220 (ame) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 29 Sep 2014 00:51:02 -0000 Hi Benjamin, On Sun, 28 Sep 2014 15:54:36 -0400 (EDT), Benjamin Kaduk wrote > On Sun, 28 Sep 2014, José Pérez Arauzo wrote: > > > Hello, > > I am trying to track down a (deadlock?) issue in CURRENT via DDB. The kernel does > > not complete hw probes on my Acer V5. > > > > I get stuck on apic_isr looping which leads nowhere. > > > > So I thought maybe things improve if I debug from another machine. > > > > > > What do you use for kernel debugging? According to the handbook kgdb over serial > > is a good option, do you agree? I'm on a netbook with no ethernet and no option > > for firewire: can I have a USB / nullmodem setup to work? > > You cannot. Oh, what a shame. Why not? Is it because you need hardware probe to be over to use it? Today I bought a shining USB to USB thingy made by Hama, and guess what? It's not supported on FBDS, altought uplcom(4) reports support for Hama USB to RS232 brother. > > I have no old-style uarts hardware anymore, as the handbook suggests... > > > > Any idea is welcome before I buy extra hw. I have a USB to serial showing up as > > /dev/cuaU0, do I need to grab another one and a nullmodem cable or there are better > > alternatives? Thank you. > > I'm not sure that there are alternatives at all, unfortunately. > > You may be reduced to debugging-via-printf. Wow, bad news! :-| BR, -- José Pérez Arauzo