From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTyDf-0000qm-1t for qemu-devel@nongnu.org; Fri, 25 Nov 2011 11:01:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTyDb-00040N-TU for qemu-devel@nongnu.org; Fri, 25 Nov 2011 11:01:43 -0500 Received: from cantor2.suse.de ([195.135.220.15]:34053 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTyDb-000405-KM for qemu-devel@nongnu.org; Fri, 25 Nov 2011 11:01:39 -0500 Message-ID: <4ECFBBBF.7080503@suse.de> Date: Fri, 25 Nov 2011 17:01:03 +0100 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <4ECFB2E6.4010005@itecnis.com> In-Reply-To: <4ECFB2E6.4010005@itecnis.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Boot from disk problem List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ignacio Geli Cc: Blue Swirl , qemu-devel@nongnu.org, Artyom Tarasenko Hi, Am 25.11.2011 16:23, schrieb Ignacio Geli: > Im trying to run a solaris 2.5.1 vm acording the instructions of i foun= d > in this blog: > http://tyom.blogspot.com/2009/12/solaris-under-qemu-how-to.html#uds-sea= rch-results >=20 > compile my qemu with: > git clone git://git.savannah.nongnu.org/qemu.git > cd qemu > ./configure --target-list=3Dsparc-softmmu > make > (version 0.13.50) That 2009 blog is outdated: QEMU now lives in git://git.qemu.org/qemu.git and should be at 0.15.93 (1.0-rc3). Compare http://qemu.org for details. CC'ed sparc maintainer and Artyom. Andreas >=20 > Ive downloaded the ss5.bin bios (sparc station 5)) I have the solaris > disk and i can do the installation but can't get the disk to boot. >=20 > I can boot from the cd, mount and check the /etc/system file it has the > "set scsi_options=3D0x58" option i set to make it work, still not worki= ng: >=20 > Here is the output: >=20 > /ok boot disk0:d > Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@0,0:d File > and args: > SunOS Release 5.5.1 Version Generic [UNIX(R) System V Release 4.0] > Copyright (c) 1983-1996, Sun Microsystems, Inc. > WARNING: > /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@1,0 > (sd1): > corrupt label - bad geometry >=20 > Label says 1310720 blocks, Drive says 883120 blocks > Cannot mount root on > /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@0,0= :d fstype > ufs > panic: vfs_mountroot: cannot mount root > rebooting... > Resetting ... / >=20 > maybe the disk is wrong > ive try several disk one following these instructions: > 1) qemu-img create -f qcow2 file.qcow2 12G > 2) Add -drive file=3Dfile.qcow2,unit=3D3 to your qemu startup > 3) Boot single user > 4) echo > 'disk_type=3D"QEMU12.0G":ctlr=3DSCSI:ncyl=3D49152:acyl=3D0:pcyl=3D49152= :nhead=3D16:nsect=3D32:rpm=3D7200' >>> /etc/format.dat > 5) echo > 'partition=3D"QEMU12.0G":disk=3D"QEMU12.0G":ctlr=3DSCSI:2=3D0,25165824:= 0=3D0,20971520:6=3D40960,4194304' >>> /etc/format.dat > 6) format -d c0t3d0 -t 'QEMU12.0G' then label, y, and quit > 7) newfs /dev/dsk/c0t3d0s0 followed by y >=20 > another downloaded from: > http://gunkies.org/wiki/Installing_Solaris_2.4_on_Qemu_SPARC >=20 > any help will be welcome >=20 >=20 >=20 >=20 >=20 > --=20 >=20 > ITECNIS SRL > Simplicity is the ultimate sophistication >=20 > Ignacio Geli > Implementaci=F3n y Soporte --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg