From owner-freebsd-current@FreeBSD.ORG Sun Sep 28 19:59:49 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 E40EA42B for ; Sun, 28 Sep 2014 19:59:48 +0000 (UTC) Received: from dmz-mailsec-scanner-8.mit.edu (dmz-mailsec-scanner-8.mit.edu [18.7.68.37]) (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 83F3AE6A for ; Sun, 28 Sep 2014 19:59:48 +0000 (UTC) X-AuditID: 12074425-f79e46d000002583-86-5428677fe15b Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP id 25.EE.09603.F7768245; Sun, 28 Sep 2014 15:54:39 -0400 (EDT) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id s8SJsdAU012383; Sun, 28 Sep 2014 15:54:39 -0400 Received: from multics.mit.edu (system-low-sipb.mit.edu [18.187.2.37]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s8SJsblI032717 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 28 Sep 2014 15:54:38 -0400 Received: (from kaduk@localhost) by multics.mit.edu (8.12.9.20060308) id s8SJsagK028118; Sun, 28 Sep 2014 15:54:36 -0400 (EDT) Date: Sun, 28 Sep 2014 15:54:36 -0400 (EDT) From: Benjamin Kaduk To: =?ISO-8859-15?Q?Jos=E9_P=E9rez_Arauzo?= Subject: Re: What do you use for kernel debugging? In-Reply-To: <20140928071641.M7664@beckpeccoz.com> Message-ID: References: <20140928071641.M7664@beckpeccoz.com> User-Agent: Alpine 1.10 (GSO 962 2008-03-14) MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjleLIzCtJLcpLzFFi42IR4hTV1q1P1wgx+DnZyKL79BRmizlvPjA5 MHlMfRfkMePTfJYApigum5TUnMyy1CJ9uwSujPsbF7EXrOOqmLjmGVsD4wKOLkZODgkBE4m/ v5+yQthiEhfurWfrYuTiEBKYzSTRdv4KM4SzkVHixJqFUJlDTBI7fhxignAaGCVOHV3IDNLP IqAtsXL7FTYQm01ARWLmm41gtoiAlcTplU8YQWxmAUOJ7sOHwGxhASOJG5/+sHQxcnBwAtkH jieDhHkFHCX+rpoAViIEVP6o+w3YGFEBHYnV+6ewQNQISpyc+QSslVkgUKL1VOkERsFZSDKz EDKzwPaqSzQ+OMsGYWtL3L/ZxraAkWUVo2xKbpVubmJmTnFqsm5xcmJeXmqRroVebmaJXmpK 6SZGUFCzu6juYJxwSOkQowAHoxIP74eN6iFCrIllxZW5hxglOZiURHmXpmqECPEl5adUZiQW Z8QXleakFh9ilOBgVhLhVXgNVM6bklhZlVqUD5OS5mBREufd9IMvREggPbEkNTs1tSC1CCYr w8GhJMFrlgY0VLAoNT21Ii0zpwQhzcTBCTKcB2g4A0gNb3FBYm5xZjpE/hSjLse6zm/9TEIs efl5qVLivHEgRQIgRRmleXBzYMnoFaM40FvCvLwgVTzARAY36RXQEiagJWkbQD4oLklESEk1 MNpyh9xqtbZ+LaywdZFK86PCN0pe68/Iu57k/PzGeukLUYvdy8oZfQ08j92SFg9Mkv2Xczji 2Z24njeHG6yd1rNO/7FufkUyxyvn8wHxj7lDl/6TFnN4nPIiRnH3zPsznv76WWzM75vI76p7 8dnBViOdz3974g1iWFQYFx5umjPxkqJnf1VIghJLcUaioRZzUXEiAAPiCsQhAwAA Content-Type: TEXT/PLAIN; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sun, 28 Sep 2014 19:59:49 -0000 On Sun, 28 Sep 2014, Jos=C3=A9 P=C3=A9rez Arauzo wrote: > Hello, > I am trying to track down a (deadlock?) issue in CURRENT via DDB. The ker= nel 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. > 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. -Ben Kaduk From owner-freebsd-current@FreeBSD.ORG Sun Sep 28 20:09:44 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 38FC36C7 for ; Sun, 28 Sep 2014 20:09:44 +0000 (UTC) Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com [209.85.223.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0583BF3C for ; Sun, 28 Sep 2014 20:09:43 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id x19so15905311ier.15 for ; Sun, 28 Sep 2014 13:09:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=at6ykSeHFNut1usn809NslpM3b0R2tFy/XOYvwF0v3g=; b=lho9zhGzlINPCM0G4qgmo5M6kD5/eLZUR9e4kdK4K16o6kmBlMv/YVe+8MytVaP2ce WT0++jORm0OxSieuW9pvJwIx6aSFDVGHrYwW8BXkcijq24ORv8gHaAHfugiQ57+rvmq4 Epwv6+PYOl+uPTitNVCgW+x3hHyb+YFJWSd7Gc9us12LvOZMz+ODwKsAVCdAb6lQmPG7 rM0VidxRFfrrnhTYR5BQwvmvHljLfommvE7svVUatts2mS7j+daaVK45NnlcxWlOHt0H cN+akQNF48RSgk8Ig1YekQJLeKDf7DAIour355QbVCZtKVVPiyhgyPhPHQ6w1WgxFP73 iy1A== X-Gm-Message-State: ALoCoQnjmCrkEVh2ZyhlPx8Z1TnZLEVk5Y23MLNcNHtecPjQbG6wVcotZM8N7txVkhD5qXZ4LJVb MIME-Version: 1.0 X-Received: by 10.50.109.228 with SMTP id hv4mr30258744igb.13.1411934976907; Sun, 28 Sep 2014 13:09:36 -0700 (PDT) Received: by 10.64.13.33 with HTTP; Sun, 28 Sep 2014 13:09:36 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Sep 2014 14:09:36 -0600 Message-ID: Subject: Re: SOEKRIS kernel config From: Tom Everett To: Scot Hetzel Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sun, 28 Sep 2014 20:09:44 -0000 Bugzilla ID is *194003 * On Sun, Sep 28, 2014 at 8:59 AM, Tom Everett wrote: > That's a great idea. I'll give it a try and get back to the list. > > > On Sun, Sep 28, 2014 at 12:33 AM, Scot Hetzel wrote: > >> On Sat, Sep 27, 2014 at 9:47 PM, Tom Everett wrote: >> > I see there is no SOEKRIS config on the tree, here >> > >> > https://svnweb.freebsd.org/base/head/sys/i386/conf/ >> > >> > I have attached one for addition to the tree. >> > >> > >> >> Since you only appended a few configuration options to the end of the >> GENERIC configuration, it would be better to use the include directive >> in the SOEKRIS config file. This allows changes to be made to the >> GENERIC configuration, and the SOEKRIS kernel would automatically get >> those changes. Here's a shorter version of that configuration file: >> >> >> # >> # SOEKRIS -- Generic Kernel configuration file for FreeBSD/i386 on SOEKRIS >> # >> # $FREEBSD >> >> include GENERIC >> >> ident SOEKRIS >> >> # To Make a SOEKRIS Kernel, the next options are needed >> options CPU_SOEKRIS >> options CPU_ELAN >> #options CPU_ELAN_PPS >> #options CPU_ELAN_XTAL=32768000 >> options CPU_GEODE >> >> # Include TMPFS >> options TMPFS >> >> >> -- >> DISCLAIMER: >> >> No electrons were maimed while sending this message. Only slightly >> bruised. >> > > > > -- > A better world shall emerge based on faith and understanding - Douglas > MacArthur > -- A better world shall emerge based on faith and understanding - Douglas MacArthur