From owner-freebsd-ia64@FreeBSD.ORG Thu Feb 10 01:10:27 2005 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BED0016A4CE for ; Thu, 10 Feb 2005 01:10:27 +0000 (GMT) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 502DD43D45 for ; Thu, 10 Feb 2005 01:10:27 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (localhost [127.0.0.1]) by ns1.xcllnt.net (8.13.1/8.13.1) with ESMTP id j1A1ARtZ069837; Wed, 9 Feb 2005 17:10:27 -0800 (PST) (envelope-from marcel@ns1.xcllnt.net) Received: (from marcel@localhost) by ns1.xcllnt.net (8.13.1/8.13.1/Submit) id j1A1AQjo069836; Wed, 9 Feb 2005 17:10:27 -0800 (PST) (envelope-from marcel) Date: Wed, 9 Feb 2005 17:10:26 -0800 From: Marcel Moolenaar To: bigcat@runningleopard.com Message-ID: <20050210011026.GA69760@ns1.xcllnt.net> References: <20050209225336.GB68948@ns1.xcllnt.net> <20050209231656.GD68948@ns1.xcllnt.net> <14291.67.100.218.237.1107995430.squirrel@67.100.218.237> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14291.67.100.218.237.1107995430.squirrel@67.100.218.237> User-Agent: Mutt/1.4.2.1i cc: freebsd-ia64@freebsd.org Subject: Re: FreeBSD IA64 5.3/RELEASE on Compaq DL590. (boot error) X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2005 01:10:27 -0000 On Wed, Feb 09, 2005 at 07:30:30PM -0500, bigcat@runningleopard.com wrote: > > pci25: on pcib6 > ida0: port 0xc000-0xc0ff mem \ 0x43000000-0x43ffffff,0x41000000-0x41ffffff irq 110 at device \ 8.0 on pci25 > ida0: [GIANT-LOCKED] > > fatal kernel trap (cpu 0): > > trap vector = 0x14 (Page Not Present) > cr.iip = 0xe000000004288350 > cr.ipsr = 0x1210080a2010 (mfl,ic,dt,dfh,rt,cpl=0,it,ri=1,bn) > cr.isr = 0x20400000000 (code=0,vector=0,r,ei=1) > cr.ifa = 0xa0000000dbd0610c > curthread = 0xe0000000049815e8 > pid = 0, comm = swapper > > [thread 0] > Stopped at ida_command+0x2e1: [M1] ld8 r14=[r14] > db> Ouch... > Any ideas? First of all: A backtrace would definitely help. At the "db>" prompt type: trace Secondly: It looks like the ida(4) driver is not 64-bit clean. The faulting instruction is an 8-byte wide load from an address that's not 8-byte aligned. This is always fatal in the kernel, although it's not the reason for the panic in this case. Nonetheless, the code is suspicious... > I'm suspecting that there is no kernel loadable for the Compaq Disk Array, > perhaps? The ida(4) driver comes as a loadable kernel module, but happens to be compiled into the kernel by default. Unfortunately this means that I need to create a new snapshot with the ida(4) driver removed from the kernel, or you remove the Compaq Disk Array from the machine until you can build your own kernel without the ida(4) driver. As for fixing the ida(4) driver: I don't have the hardware, so I can't do that and I need to see the backtrace to see if one can fix the ida(4) driver on any 64-bit machine, or if it has to be an ia64 box... FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net