Date: Mon, 14 Nov 2005 17:52:42 -0800 (PST) From: Rob <spamrefuse@yahoo.com> To: freebsd-stable@freebsd.org Subject: Swapfile problem in 6? (was: 6.0: during kernel compilation, 'kernel linking' freezes PC) Message-ID: <20051115015242.88624.qmail@web36205.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
--- Rob <spamrefuse@yahoo.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051115015242.88624.qmail>