From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYEd5-0001NP-E6 for qemu-devel@nongnu.org; Tue, 13 Nov 2012 06:26:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYEd2-0008CV-Bw for qemu-devel@nongnu.org; Tue, 13 Nov 2012 06:26:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYEd2-0008CP-3P for qemu-devel@nongnu.org; Tue, 13 Nov 2012 06:26:04 -0500 Message-ID: <50A225E7.5000603@redhat.com> Date: Tue, 13 Nov 2012 11:50:15 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <509EC989.5020901@wiesinger.com> <50A0B2B1.8050601@redhat.com> <50A161D5.8080005@wiesinger.com> In-Reply-To: <50A161D5.8080005@wiesinger.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] DOS boot problem with LSI 53C895A SCSI controller and LSI option ROM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerhard Wiesinger Cc: "qemu-devel@nongnu.org" Il 12/11/2012 21:53, Gerhard Wiesinger ha scritto: > On 12.11.2012 09:26, Paolo Bonzini wrote: >> Il 10/11/2012 22:39, Gerhard Wiesinger ha scritto: >>> Hello, >>> >>> I bisected down a DOS boot problem with LSI 53C895A SCSI controller and >>> LSI option ROM to the following commit: >>> e93176d55f1eb4be1a366b51afeaf4f4c8c31d75 >> The emulation is known to be incomplete; the option ROM is not really >> supported, just like the support for the LSI controller in SeaBIOS is >> not meant for real hardware. > > > The option ROM worked perfect for legacy before this commit for years. > >> But if this is a regression, I can look at it. Problem is, I don't have >> the option ROM and I don't think I can obtain one legally. Please >> provide at least a trace of the SCSI commands that are sent. > > Yes, it is a regression problem. > > You can download the option ROM from the LSI homepage: > http://www.lsi.com/support/Pages/Download-Results.aspx?productcode=P00536&assettype=0&component=Storage%20Component&productfamily=0&productname=LSI53C895A > > http://www.lsi.com/downloads/Public/Host%20Bus%20Adapters/Host%20Bus%20Adapters%20Common%20Files/lsi_bios.zip > > http://www.lsi.com/downloads/Public/SCSI%20HBAs/SCSI%20HBAs%20Common%20Files/lsi_bios.zip > > http://www.lsi.com/downloads/Public/SCSI%20ICs%20and%20Expanders/SCSI%20ICs%20and%20Expanders%20Common%20Files/lsi_bios.zip > > http://www.lsi.com/downloads/Public/Obsolete/Obsolete%20Common%20Files/lsi_bios.zip > > > Trace will follow (currently very busy). Best solution to turn it on? To start with, use "#define DEBUG_SCSI" on hw/scsi-disk.c and "#define DEBUG_LSI" in hw/lsi53c895a.c. Then rebuild. (There are more tracing options in trace-events, but this one should be enough in this case). Paolo