Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2008 09:44:24 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Walter Venable <walt@relnor.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Portsnap causes system to reboot
Message-ID:  <20081009164424.GA9081@icarus.home.lan>
In-Reply-To: <8dfae1c10810090938k471f82f0j46caed0514e5b5ac@mail.gmail.com>
References:  <8dfae1c10810090938k471f82f0j46caed0514e5b5ac@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 09, 2008 at 07:38:09PM +0300, Walter Venable wrote:
> Whenever I run portsnap fetch update (edit: it also happens for a
> simple portsnap fetch), my system reboots unexpectedly. Here's the
> output:
> # portsnap fetch update
> Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found.
> Fetching snapshot tag from portsnap2.FreeBSD.org... done.
> Fetching snapshot metadata... done.
> Updating from Wed Sep 24 00:04:04 EEST 2008 to Thu Oct  9 10:28:42 EEST 2008.
> Fetching 3 metadata patches.. done.
> Applying metadata patches... done.
> Fetching 3 metadata files... done.
> Fetching 602 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390....400....410....420....430....440....450....460....470....480....490....500....510....520....530....540....550....560....570....580....590....600.
> done.
> Applying patches... Read from remote host X: Connection reset by peer
> Connection to X closed.
> 
> And then I can log-in again a few minutes later, and the uptime has
> gone down to a few seconds, so I know it rebooted. Any ideas why this
> is happening?

Nope, not without kernel panic information.

Does this machine have serial console?  Are kernel panic dumps being put
into /var/crash?  Is the machine even configured for it (see dumpdev,
dumpdir, and savecore in rc.conf).

> Some background info:
> $ uname -mrs
> FreeBSD 7.0-RELEASE-p5 i386

It would be useful if you could provide uname -a please, if you're
concerned about the hostname, just XXX it out.  Seeing the kernel build
date is useful.

> CFLAGS=-O2 -pipe
> COPTFLAGS=-O2 -pipe
> CPUTYPE=athlon-xp

Please don't do this.  Use ?= for this, not =.  If you think I'm
trolling, please read /usr/share/examples/etc/make.conf.

> Since this started happening, I have still successfully updated ports
> by csup'ing the ports tree. I can also still rebuild the world and
> kernel without issue.  This is a remote box, and I don't use X with
> it.

It almost sounds like a filesystem problem.  You might consider booting
into single-user and running fsck -y.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081009164424.GA9081>