From owner-freebsd-questions@FreeBSD.ORG Mon Sep 11 02:20:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F3E916A403 for ; Mon, 11 Sep 2006 02:20:42 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBB6F43D45 for ; Mon, 11 Sep 2006 02:20:41 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 8287 invoked from network); 11 Sep 2006 02:20:41 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 11 Sep 2006 02:20:41 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 9D75D2842A; Sun, 10 Sep 2006 22:20:40 -0400 (EDT) To: "Marwan Sultan" References: From: Lowell Gilbert Date: Sun, 10 Sep 2006 22:20:40 -0400 In-Reply-To: (Marwan Sultan's message of "Fri, 08 Sep 2006 22:22:49 +0000") Message-ID: <44ejujm9dz.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.1 shutting down. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 02:20:42 -0000 "Marwan Sultan" writes: > Hello everyone, > > I'm On FreeBSD 6.1R, the box is intel945 extra Dlink NIC > P4.3 1G DDR2, 160GB sata. > > running Freeradius, chillispot, MySql 4.1, apache2. > acting as NAT and hotspot login. > > there is two diffrent servers with the same specifications. > > Its was working fine starting from day 1 to day 5 uptime. > and the other box from day 1 to 3, > with almost 30 users as hotspot login. > > On day 5, it had a sudden shutdown, some users called me reported > there is no internet > when i checked the server i discovered the box is off power. > > The second box after 3 days had the same problem. > > when i started the power, for both...again it start to work in a goodway. > > I was shocked.. checked messages, dmesg, and almost everything I > couldnot find any clue > in logs.. so > question 1, How would i check what happened for this power shutting down? Did the filesystems come up clean? That would be a hint that the kernel shut down on purpose. [I wouldn't expect it, since you said there were no hints in the logs, but it's worth checking. Next step is probably to set up a serial console and see if anything useful is showing up there when the shutdown occurs. Also try to get and track any information about system temperature, voltage, and so on; these kinds of phantom powerdowns are usually power trouble in my experience. > 2) > in my dmesg and since i was settingup the box, the following error > was always coming and on > single line > > atapci1: failed to enable memory mapping! I can't find that message in the -STABLE sources. Admittedly, it was a very quick search, but are you sure you copied it exactly?