Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2008 00:30:21 +0300
From:      Walter Venable <walt@relnor.com>
To:        Jeremy Chadwick <koitsu@FreeBSD.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Portsnap causes system to reboot
Message-ID:  <48EE77ED.1080306@relnor.com>
In-Reply-To: <20081009164424.GA9081@icarus.home.lan>
References:  <8dfae1c10810090938k471f82f0j46caed0514e5b5ac@mail.gmail.com> <20081009164424.GA9081@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Chadwick wrote:
> 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).
>   
I found this: $ cat /var/crash/
..minfreboundsçinfo.0ç                                                        
vmcore.0zinfo.vmcore.1zinfo.vmcore.2zinfo.vmcore.3zinfo.vmcore.4zinfo.vmcore.5zinfo.vmcore.6zinfo.7vmcore.7zÀ
Any idea what that means?
>   
>> 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.
>   
$ uname -a
FreeBSD freebsd 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Thu Oct  9 
02:30:36 EEST 2008     root@freebsd:/usr/obj/usr/src/sys/ECORAZENI  i386
>   
>> 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.
>   
It's recompiling with an empty make.conf now.
>   
>> 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.
>
>   




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