From owner-freebsd-stable@FreeBSD.ORG Sun Apr 20 17:49:24 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA8C837B401 for ; Sun, 20 Apr 2003 17:49:24 -0700 (PDT) Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8A7C43FB1 for ; Sun, 20 Apr 2003 17:48:01 -0700 (PDT) (envelope-from news@citylink.dinoex.sub.org) Received: from net2.dinoex.sub.org (uucp@net2.dinoex.de [212.184.201.182]) by net2.dinoex.sub.org (8.12.9/8.12.9) with ESMTP id h3L0lr26010869 for ; Mon, 21 Apr 2003 02:47:55 +0200 (CEST) (envelope-from news@citylink.dinoex.sub.org) X-MDaemon-Deliver-To: X-Authentication-Warning: net2.dinoex.sub.org: Host uucp@net2.dinoex.de [212.184.201.182] claimed to be net2.dinoex.sub.org Received: from citylink.dinoex.sub.org (uucp@localhost)h3L0lqUh010868 for FreeBSD.ORG!freebsd-stable; Mon, 21 Apr 2003 02:47:52 +0200 (CEST) (envelope-from news@citylink.dinoex.sub.org) Received: from citylink.dinoex.sub.de by citylink.dinoex.sub.org (8.8.5/PMuch-B3b) with ESMTP id CAA07263 for ; Mon, 21 Apr 2003 02:33:13 +0200 (CEST) Received: from gate.oper.dinoex.org (localhost [127.0.0.1]) h3L0apqO000927 for ; Mon, 21 Apr 2003 02:36:51 +0200 (CEST) (envelope-from news@disp.oper.dinoex.org) Received: from disp.oper.dinoex.org (disp-e [192.168.98.5]) by gate.oper.dinoex.org (8.12.6/8.12.6) with ESMTP id h3L0aE5B000921 for ; Mon, 21 Apr 2003 02:36:16 +0200 (CEST) (envelope-from news@disp.oper.dinoex.org) Received: (from news@localhost) by disp.oper.dinoex.org (8.11.6/8.11.6) id h3L0aA905573 for freebsd-stable@FreeBSD.ORG; Mon, 21 Apr 2003 02:36:10 +0200 (CEST) (envelope-from news) From: pmc@citylink.dinoex.sub.org (Peter Much) Content-Type: text/plain; charset=ISO-8859-1 X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Content-Transfer-Encoding: 8bit Sender: pmc@citylink.dinoex.sub.org (Peter Much) Organization: Human Firmware Evaluation, Inc. Message-ID: Originator: pmc@citylink.dinoex.sub.org (Peter Much) Mime-Version: 1.0 Date: Mon, 21 Apr 2003 00:34:29 GMT To: freebsd-stable@FreeBSD.ORG Subject: Kernel crashes from rsh X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 00:49:25 -0000 Hi all, this is a 486 system running 4.7.0-RELEASE and my PPPoE-gateway to the internet. It runs fine and stable all the time, except when I download the filesystem-dumps to my other machine where the tape is attached. Then after an hour or two of downloading (slow old tape) the kernel panics from rsh. The kernel debugger then always shows the following stacktrace: m_copym, tcp_output, tcp_usr_send, sosend, soo_write, dofilewrite, write, syscall2. I tried to activate INVARIANTS to see what might go wrong in m_copym(), but that doesnt work: the kernel would not even boot, but panics when attaching the devices. So I did activate INVARIANT_SUPPORT only, and defined INVARIANTS only in kern/uipc_mbuf.c (where m_copym() dwells). Now again I get the panics in the expected situation, beforehand there is a message "panic: freeing free mbuf", but the stacktrace is now totally different (and much longer), and the system cannot write a dump: it waits a while, then reports that it cannot synchronize the cache, tries to dump, then reports i/o error. I have currently no clue on how to investigate further. Ideas are welcome. rgds, Peter