Date: Thu, 13 Apr 2006 18:57:06 -0400 From: Anish Mistry <mistry.7@osu.edu> To: freebsd-questions@freebsd.org Subject: Re: DMA TIMEOUT Message-ID: <200604131857.13507.mistry.7@osu.edu> In-Reply-To: <NGBBKBOMKLFOJCCDHPEOIEBGAAAB.freebsd@hyperconx.com> References: <NGBBKBOMKLFOJCCDHPEOIEBGAAAB.freebsd@hyperconx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604131857.13507.mistry.7>