From owner-freebsd-hackers Wed Mar 22 19:52:48 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from search.sparks.net (search.sparks.net [208.5.188.60]) by hub.freebsd.org (Postfix) with ESMTP id 8448437C320 for ; Wed, 22 Mar 2000 19:52:43 -0800 (PST) (envelope-from dmiller@search.sparks.net) Received: by search.sparks.net (Postfix, from userid 100) id 2749ADBB4; Wed, 22 Mar 2000 22:50:47 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by search.sparks.net (Postfix) with ESMTP id 13B06DBB3 for ; Wed, 22 Mar 2000 22:50:47 -0500 (EST) Date: Wed, 22 Mar 2000 22:50:47 -0500 (EST) From: David Miller To: freebsd-hackers@freebsd.org Subject: NCR/FXP and coredumps Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Two item: 1) I managed to crash an intel N440BX mobo with an fxp card and the onboard ncr drivers. Lots of network traffic (ping floods) and disk IO (rawio in parallel on two disks) took it down in something like two hours. I know this is a known bug, I'm just offering core dumps and testing services in fixing it if anyone wants to take a stab at it. 2) I have a production 3.2R system running on the same kind of hardware. I've done everything I did on the crashed system to try and pin down the problem but the core dumps are useless:( To review, I added 'makeoptions DEBUG="-g"' to the file, relinked the kernel, cp kernel to kernel.debug and ran "strip -g kernel". Booted on the new kernel. Added da0b to the rc.conf as the dumpdev, and added savecore -N /sys/compile/STAGING-1/kernel.debug /var/crash to /etc/ec. I get the coredumps fine: Mar 19 04:24:45 staging-1 savecore: reboot after panic: m_copym Mar 19 04:24:45 staging-1 savecore: writing core to /var/crash/vmcore.3 Mar 19 04:25:49 staging-1 savecore: writing kernel to /var/crash/kernel.3 But they don't seem to work:( staging-1:STAGING-1# gdb -k GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd". (kgdb) symbol-file kernel.debug Reading symbols from kernel.debug...done. (kgdb) exec-file /var/crash/kernel.3 (kgdb) core-file /var/crash/vmcore.3 IdlePTD 2985984 kernel symbol `gd_curpcb' not found. (kgdb) where No stack. (kgdb) Any ideas? This is about the most important box I have, and it's crashing once or twice per week. The core dump I could examine for 1) was from a 3.4-stable system. The dirty details: FreeBSD 3.2R, as shipped on CD kernel config file pretty standard - single CPU, most unnecessary drivers commented out, available to anyone who wants to see it Hardware: TruSolutions 2U rack server with Intel N440BX mobo, onboard FXP and NCR, second Intel Pro 10/100B, two ibm fast wide scsi drives. Thanks, --- David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message