From owner-freebsd-questions@FreeBSD.ORG Tue Oct 3 20:04:10 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 AF4BF16A403 for ; Tue, 3 Oct 2006 20:04:10 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4ACE543D53 for ; Tue, 3 Oct 2006 20:04:10 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout06/MantshX 4.0) with ESMTP id k93K49bI008722; Tue, 3 Oct 2006 13:04:09 -0700 (PDT) Received: from [17.214.13.96] (a17-214-13-96.apple.com [17.214.13.96]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id k93K47YU006844; Tue, 3 Oct 2006 13:04:08 -0700 (PDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <627886AD-988C-4A40-B543-D86F76C4E04F@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Tue, 3 Oct 2006 13:04:06 -0700 To: "DeadMan Xia ...." X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: freebsd-questions@freebsd.org Subject: Re: Can somebody help me out !!!!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Oct 2006 20:04:10 -0000 On Oct 3, 2006, at 12:46 PM, DeadMan Xia .... wrote: > I compile the kernel with normal IPFIREWALL, IPFIREWALL_FORWARD. I > got some > power with my power, every night my UPS batteries get discharged > and my > system shutdown hard. its about 4 to 6 times my system get Hard > Shut in 2 > days. although i run fsck do make my filesystem fix. You should connect your UPS to the machine and have it shut down the system cleanly before your UPS battery is exhausted. At least, if your UPS is smart enough to do so. > Now when i reboot my system, in dmesg i m getting warning like .... > > ioapic0: Changing APIC ID to 2 > ioapic1: Changing APIC ID to 3 > ioapic1: WARNING: intbase 32 != expected base 24 > ioapic2: Changing APIC ID to 4 > ioapic2: WARNING: intbase 64 != expected base 56 > ioapic3: Changing APIC ID to 5 > ioapic3: WARNING: intbase 96 != expected base 88 > ioapic0 irqs 0-23 on motherboard > ioapic1 irqs 32-55 on motherboard > ioapic2 irqs 64-87 on motherboard > ioapic3 irqs 96-119 on motherboard This is completely unrelated. The APIC, "Advanced Programmable Interrupt Controller", is what permits newer machines to access more than the 15 IRQ's traditionally available using Intel 8259 PICs. I believe that the default expectation was that each APIC ID would control up to 32 IRQ lines, but the APIC in your Dell is set up to only control 24 IRQs per ID. In theory, you can ignore these warnings, although in practice there still may be interrupt aliasing issues between IRQs which should be separate but are multiples of each other modulo 32 (or 24? in this case?). Again, this is unrelated to having your machine shut down uncleanly because AC line power failed... -- -Chuck