From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 30 20:46:04 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68E3616A4D0; Tue, 30 Nov 2004 20:46:04 +0000 (GMT) Received: from ox.eicat.ca (ox.eicat.ca [66.96.30.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B24F43D54; Tue, 30 Nov 2004 20:46:04 +0000 (GMT) (envelope-from dgilbert@daveg.ca) Received: by ox.eicat.ca (Postfix, from userid 66) id 99055CD9C; Tue, 30 Nov 2004 15:46:03 -0500 (EST) Received: by canoe.dclg.ca (Postfix, from userid 101) id DA249681B; Tue, 30 Nov 2004 15:45:55 -0500 (EST) From: David Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16812.56323.806726.688109@canoe.dclg.ca> Date: Tue, 30 Nov 2004 15:45:55 -0500 To: Peter Wemm In-Reply-To: <200411301222.24062.peter@wemm.org> References: <16811.51043.987275.174410@canoe.dclg.ca> <20041130193932.GI14039@freebie.xs4all.nl> <200411301222.24062.peter@wemm.org> X-Mailer: VM 7.17 under 21.5 (beta17) "chayote" (+CVS-20040321) XEmacs Lucid cc: Wilko Bulte cc: freebsd-list@dclg.ca cc: freebsd-amd64@freebsd.org cc: freebsd-hackers@freebsd.org Subject: Re: isp driver not 64 bit? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2004 20:46:04 -0000 >>>>> "Peter" == Peter Wemm writes: Peter> On Tuesday 30 November 2004 11:39 am, Wilko Bulte wrote: >> On Mon, Nov 29, 2004 at 08:05:39PM -0500, freebsd-list@dclg.ca >> wrote.. >> >> > After a bunch of frustrating debugging, I've tenatively come to >> the > conclusion that the isp(4) driver is not 64 bit safe --- at >> the > very least insofar as the amd64 platform is concerned. >> >> Side note: isp(4) has been in use for years on Alpha, and I do not >> recall having seen problems like yours on it. Mind you, not much >> FC connections I ever used on it. The only thing critical for >> success on Alpha is loading ispfw.ko *always*. Matt (mjacob) has >> noted that multiple times, and he is absolutely right. >> >> Wilko Peter> I haven't seen an alpha with more than 2G of ram that we booted Peter> on. Is it possible that isp has never been tested with >4G Peter> ram? I had the machine tested with hw.physmem=2g and it works. Peter> Secondly.. what release is this on? I'm wondering if the Peter> horrific busdma bugs in 5.3-RELEASE might be a problem if the Peter> machine does have >> 4G ram. I updated to -STABLE as of yesterday morning and it changed the nature of the panic somewhat, but did not fix it. Peter> Third, is this a machine ram size problem or a disk volume size Peter> problem? The original post was about a 131G FC volume and Peter> calculating the wrong number of sectors and the wrong sector Peter> size... Someone pointed out to me that my integer was 0xDEADBEEF ... which somewhat squared with my use of 'options INVARIANTS' on the kernel. Note that the scsi_da.c size printf shows the correct size. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================