From owner-freebsd-stable@FreeBSD.ORG Tue Nov 15 01:52:43 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 281A216A41F for ; Tue, 15 Nov 2005 01:52:43 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from web36205.mail.mud.yahoo.com (web36205.mail.mud.yahoo.com [209.191.68.231]) by mx1.FreeBSD.org (Postfix) with SMTP id A25D343D4C for ; Tue, 15 Nov 2005 01:52:42 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 88626 invoked by uid 60001); 15 Nov 2005 01:52:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=AndHbIavnCiyMNK81yUVVLOd0w/t8OveHO+PVNUzzWKN8piV7VrToQp3s7pbmdI38uh8ZrhsG93U0sLUDJwwfy/r3H9EsfD9i9/pXIpcHD01fRY6edXWYbB2Bigyj4EkFPnXGECvnbZUa6xN+sYtltr1QHh/wsEn5JBTSLzeLBU= ; Message-ID: <20051115015242.88624.qmail@web36205.mail.mud.yahoo.com> Received: from [147.46.44.181] by web36205.mail.mud.yahoo.com via HTTP; Mon, 14 Nov 2005 17:52:42 PST Date: Mon, 14 Nov 2005 17:52:42 -0800 (PST) From: Rob To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Swapfile problem in 6? (was: 6.0: during kernel compilation, 'kernel linking' freezes PC) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2005 01:52:43 -0000 --- Rob wrote: > > Hi, > > I have upgraded a Pentium-1 PC from 5 to 6-Stable, > which went smoothly. > > Now I'm running 6 with GENERIC kernel, and I want > to compile a new kernel. When I start a new kernel > compilation, this process *always* freezes the PC > (no crash) when reaching the point of "linking > kernel"; this is 100 percent reproducible!! > > Then all communication with the PC is frozen; > no serial port response, no ssh response etc. > However, I can ping the PC..... > > Only power off/on brings the PC back to live. > > Any idea how I can further investigate. > /var/log/messages has no special information while > the freezing occurred. > > The output of 'dmesg' of this PC is here: > http://surfion.snu.ac.kr/~lahaye/dmesg Problem kind of solved: As this PC has only 32 MB Ram, I add a swapfile. However, when I compile the new kernel without the swapfile, all goes well. Since the freeze is very reproducible with the swapfile (always at the 'kernel linking' stage), and immediately disappears when I do not use the swapfile, I think there's something wrong with using swapfile in 6.0. Is it? I do this: dd if=/dev/zero of=/swapfile bs=1024k count=128 chmod 0600 /swapfile mdconfig -a -t vnode -f /swapfile -u 0 swapon /dev/md0 Is this OK? Rob. __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs