From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 21 05:10:17 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F50316A4CE for ; Mon, 21 Jun 2004 05:10:17 +0000 (GMT) Received: from web53301.mail.yahoo.com (web53301.mail.yahoo.com [206.190.39.230]) by mx1.FreeBSD.org (Postfix) with SMTP id 0F2F443D53 for ; Mon, 21 Jun 2004 05:10:17 +0000 (GMT) (envelope-from non_secure@yahoo.com) Message-ID: <20040621051015.16393.qmail@web53301.mail.yahoo.com> Received: from [24.94.23.114] by web53301.mail.yahoo.com via HTTP; Sun, 20 Jun 2004 22:10:15 PDT Date: Sun, 20 Jun 2004 22:10:15 -0700 (PDT) From: Joe Schmoe To: hackers@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 21 Jun 2004 12:01:28 +0000 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: crashing FreeBSD 5.2.1-RELEASE with tar (!) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jun 2004 05:10:17 -0000 FreeBSD 5.2.1-RELEASE is easily crashed with tar. I have a Intel N440BX single CPU Pentium3, dual fxp0, onboard SCSI. 512M ram, and 256M swap. NO programs installed or running - just sshd. I recompiled the kernel, but I _only removed_ raid controllers and ethernet cards that I didn't need (and usb/pccard/firewire/etc.). Nothing was added to the kernel. So, all in all a very vanilla, simple, barebones system. tar up /usr into some other partition - /mnt for instance. Then untar it there: tar cvf /mnt/usr.tar /usr; cd /mnt ; tar xvf usr.tar The untar operation will never complete. The machine will always crash somewhere during the untar. In all occassions the crash is such that the machine simply reboots itself and is back up on the network in a few minutes. It is interesting to note that if I untar usr.tar in a directory in the / partition, the machine survives. It is only when untarring in another partition that the machine crashes. ALSO, the deeper you put the tar file in the non-root mount, the less of the tar file gets untarred before the crash. So if you untar it in /mnt, it gets through a fair amount of the tar file before crashing, but if you untar it in /mnt/test/test/test/test/test/test, it will crash _noticably_ sooner. What should I do next ? I cannot stress enough that this is an extremely barebones system, with very very common hardware, and a kernel that has nothing added - just superfluous things removed from it ... and I am crashing it by simply untarring a tar ball (!) thanks. --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses.