From owner-freebsd-current@FreeBSD.ORG Sun Sep 28 07:34:45 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8C4702EA for ; Sun, 28 Sep 2014 07:34:45 +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 3D0DAE7D for ; Sun, 28 Sep 2014 07:34:44 +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 s8S7Ymc6007809 for ; Sun, 28 Sep 2014 07:34:48 GMT (envelope-from fbl@aoek.com) From: "=?UTF-8?Q?Jos=C3=A9_P=C3=A9rez_Arauz?=o" To: FreeBSD Current Subject: What do you use for kernel debugging? Date: Sun, 28 Sep 2014 09:34:43 +0200 Message-Id: <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 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: Sun, 28 Sep 2014 07:34:45 -0000 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? 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. BR, -- José Pérez Arauzo