From owner-freebsd-amd64@FreeBSD.ORG Wed Nov 29 19:29:35 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1117216A407 for ; Wed, 29 Nov 2006 19:29:35 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D13FE43C9D for ; Wed, 29 Nov 2006 19:29:30 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.6/8.13.6) with ESMTP id kATJTJuB093331; Wed, 29 Nov 2006 14:29:20 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Michiel Boland Date: Wed, 29 Nov 2006 13:30:55 -0500 User-Agent: KMail/1.9.1 References: <200611131550.50648.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611291330.55892.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 29 Nov 2006 14:29:21 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2258/Wed Nov 29 07:04:15 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-amd64@freebsd.org Subject: Re: BTX halted trying to boot X4100 from disk X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Nov 2006 19:29:35 -0000 On Saturday 25 November 2006 18:10, Michiel Boland wrote: > > On Mon, 13 Nov 2006, John Baldwin wrote: > > > On Monday 13 November 2006 15:12, Michiel Boland wrote: > >>> Yeah, the X4100 has an mpt(4) controller. Mine is running the original > > BIOS > >>> release (6464), and runs FreeBSD fine. You can try fiddling with the BIOS > >>> revision by downloading replacements from Sun's website. > >> > >> As far as I can see there are no other BIOSes on the Sun website other > >> than what the box is already running (ILOM 1.0.7 - I understand ILOM and > >> BIOS are linked for 4100s) > >> > >> I am a bit puzzled why solaris and fedora do not have these problems on > >> this hardware. Oh well... > > > > The real mode breakpoint handler may just ignore breakpoints, or the BIOS > > takes a different codepath when it runs in vm86 mode. > > The code path is the same. The bios calls INT3 if someone tries to load a > block with LBA < 16, or LBA 64 or 65. (I think - my asm skills are a bit > rusty.) > > Is there not a way for BTX to ignore these INT3 interrupts? Obviously they > are ignored in real mode too. Is it ignored in real mode? I had figured the real mode handler would have rebooted the box. If it triggers in real mode then I guess we can just ignore them, at least coming from vm86 mode. I think there is magic to dump the registers but keep going when a breakpoint is triggered in protected mode. -- John Baldwin