From owner-freebsd-questions@FreeBSD.ORG Thu Apr 13 22:57:16 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50CE316A401 for ; Thu, 13 Apr 2006 22:57:16 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC28443D46 for ; Thu, 13 Apr 2006 22:57:13 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (am-productions.biz [69.61.164.22]) (authenticated bits=0) by mail.united-ware.com (8.13.4/8.13.4) with ESMTP id k3DNDEhe023008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 Apr 2006 19:13:20 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: freebsd-questions@freebsd.org Date: Thu, 13 Apr 2006 18:57:06 -0400 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart44040505.8s3e4dXBLk"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200604131857.13507.mistry.7@osu.edu> X-Spam-Status: No, score=-5.5 required=5.0 tests=ALL_TRUSTED,BAYES_50, MYFREEBSD2 autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.1/1396/Thu Apr 13 01:39:53 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: Subject: Re: DMA TIMEOUT X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Apr 2006 22:57:16 -0000 --nextPart44040505.8s3e4dXBLk Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Thursday 13 April 2006 18:01, Wil Hatfield wrote: > > Do you have a backtrace? > > No. To be honest I have worked a little with the debugging but that > was a long time ago. We ran 4.10 for eons and never needed to debug > a thing. I got spoiled I guess. So now that I need to add debugging > and backtrace to my arsenal of knowledge could someone point me in > the direction of a howto? It would be good to catch up. Add the following to your kernel config: makeoptions DEBUG=3D-g options DDB, KDB, GDB options INVARIANTS options INVARIANT_SUPPORT options WITNESS_KDB options WITNESS_SKIPSPIN # Add this if you're using a firewire console options BREAK_TO_DEBUGGER,ALT_BREAK_TO_DEBUGGER # Do an unattended dump and reboot options KDB_UNATTENDED Then recompile your kernel. The problem you're going to run into=20 since the problems you're having seem to be with the ATA code is that=20 there is a good chance you're not going to be able to dump the crash=20 dump to disk. I'd highly recommend using a serial or firewire=20 console. To setup a serial console just add the following to=20 your /boot/loader.conf or set it at the loader prompt. console=3D"comconsole" =2D- Firewire -- =46or a firewire console you'll need to load the following modules=20 assuming they aren't in your kernel. dcons_load=3D"YES" dcons_crom_load=3D"YES" You may need to do a fwcontrol -r on both systems to make sure=20 everything is in sync. Once loaded on your client machine, just do a fwcontrol to get the=20 address of the other system. Then to connect to the server just: dconschat -t 00-00-0e-10-00-b0-29-d0 Where 00-00-0e-10-00-b0-29-d0 is the firewire address of the server. =2D-=20 Anish Mistry --nextPart44040505.8s3e4dXBLk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEPtdJxqA5ziudZT0RAmmlAJ0X9etI3Ovx0MEv1TsZe3J5b7wKQgCeIaRi 5sjkQ4sEY8TO6LfQ57Cmepk= =uVjl -----END PGP SIGNATURE----- --nextPart44040505.8s3e4dXBLk--