From owner-freebsd-stable@FreeBSD.ORG Sat Jun 18 08:10:48 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2ACA1065672; Sat, 18 Jun 2011 08:10:48 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from megatron.madpilot.net (megatron.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id 580638FC0C; Sat, 18 Jun 2011 08:10:48 +0000 (UTC) Received: from megatron.madpilot.net (localhost [127.0.0.1]) by megatron.madpilot.net (Postfix) with ESMTP id E72C21B4C; Sat, 18 Jun 2011 10:10:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=mail; t=1308384640; x=1310199040; bh=YxaJwXbdFJYKVIan81rPVZrNi4w5SOlc6jAZf2/GnKM=; b= ppw7WYcDbdXQest/BeIR95DWTecUwau4XRV9io1JugqePDuSk1y/QP/6neqDk1P+ HBJP7rEYw/+9mHyGSigfxnCdzfBFOPUgwhew6kupdAKEU+N0taykeDRDk7nKH/kc 4xT0AQmC4FaPShqfbIkzH/XBIUsSadzw7k4bS200ZDY= X-Virus-Scanned: amavisd-new at madpilot.net Received: from megatron.madpilot.net ([127.0.0.1]) by megatron.madpilot.net (megatron.madpilot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CuYIpGUbA0VK; Sat, 18 Jun 2011 10:10:40 +0200 (CEST) Received: from marvin.madpilot.net (localhost [127.0.0.1]) by megatron.madpilot.net (Postfix) with ESMTP; Sat, 18 Jun 2011 10:10:40 +0200 (CEST) Message-ID: <4DFC5D7F.70501@madpilot.net> Date: Sat, 18 Jun 2011 10:10:39 +0200 From: Guido Falsi User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110508 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: John Baldwin References: <20110609152820.GC57263@megatron.madpilot.net> <201106131145.08185.jhb@freebsd.org> <20110617153028.GB37006@megatron.madpilot.net> <201106171201.34037.jhb@freebsd.org> In-Reply-To: <201106171201.34037.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: BTX loader problem on specific hardware X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jun 2011 08:10:48 -0000 On 06/17/11 18:01, John Baldwin wrote: >> I'm not sure, but maybe rdmsr or wrmsr are generating exceptions which >> are not managed by BTX? I could be wrong, I really dont' know that much >> about the internals of CPUs. > > Well, the old BTX didn't allow full access to CR registers. Running in > real mode, there should be no problems with any MSR accesses though in > the new BTX. I thought that, but I could not identify any other big diffs from the other BIOS I had a look at. >> I obviously have the disassembled code available, but not posting it >> here because I'm not sure what policies there are about disassembled >> code on the lists. > > You can post a URL perhaps (or just send it to me directly if you wish). > http://www.madpilot.net/HP6005Pro/ I put there a disassembled.txt with the relevant parts disassembled and put in some kind of order(you'll anyway need to jump a round a little, could not make it any better). There's a small comment identifying the critical area. I put there a dump of the full BIOS and the IDT, just in case. Thank you again! -- Guido Falsi