From owner-freebsd-hackers Sat Feb 8 02:20:31 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA04472 for hackers-outgoing; Sat, 8 Feb 1997 02:20:31 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id CAA04466 for ; Sat, 8 Feb 1997 02:20:26 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id LAA23093; Sat, 8 Feb 1997 11:20:21 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.6.9) id LAA25406; Sat, 8 Feb 1997 11:13:07 +0100 (MET) Message-ID: Date: Sat, 8 Feb 1997 11:13:07 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: gabor@acm.org (Gabor Kincses) Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Panic in probe, but no dump References: <32FA29A1.41C67EA6@acm.org> <32FB72E0.2781E494@acm.org> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <32FB72E0.2781E494@acm.org>; from Gabor Kincses on Feb 7, 1997 12:22:24 -0600 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk As Gabor Kincses wrote: > > Well, the normal sequence is to use `dumpon'. This is also supported > > by /etc/sysconfig. > > AFAIK that is not an option here, since we are not executing /etc/rc, > yet. Right. In this case, you need the `dumps on' clause. Hey, btw., you can only dump into a configured and/or active swap partition. So, you also need a `swap on' clause! j@uriah 693% fgrep kernel /sys/i386/conf/URIAH config kernel root on sd0 swap on sd0 and sd1 dumps on sd1 > I did. Before I started all this. It seems that once I can single step > or have a dump it will print the addresses. In xdb I can 'td' (toggle > disassembly) and voila I see the machine instructions with line numbers > next to the ones that start a line. I'm looking for a similar feature. Seems you gotta contribute this to gdb yet. It shouldn't be too hard, since gdb can already handle all of the details (see the ``info line'' and ``disas'' commands). You ``only'' need to combine them. > That is good info, I didn't see anything like that. The panic message > printed the current EIP, then "waiting 15 seconds to reboot" or > something like that. That means it didn't find the dumpdev. > 20.3. call diediedie(). I'll try that. ddb looks fairly similar to adb > on HP-UX. Probably share roots, too. Maybe. HP-UX is said to be much BSD inside. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)