All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ignacio Geli <igeli@itecnis.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: "Artyom Tarasenko" <atar4qemu@googlemail.com>,
	"Andreas Färber" <afaerber@suse.de>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Boot from disk problem
Date: Wed, 30 Nov 2011 15:54:31 -0300	[thread overview]
Message-ID: <4ED67BE7.4020502@itecnis.com> (raw)
In-Reply-To: <CAAu8pHscQ9LEkjMF66PKAgyW8NZAbHJL=HmcjZW0DA0243XSHg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3678 bytes --]

Thks Blue Swirl
Is there any documentation on how to create a disk with the correct 
geometry, or a place to download one?

thks again.





El 26/11/11 05:01, Blue Swirl escribió:
> On Fri, Nov 25, 2011 at 18:24, Ignacio Geli<igeli@itecnis.com>  wrote:
>> El 25/11/11 13:01, Andreas Färber escribió:
>>
>> 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 found
>> in this blog:
>> http://tyom.blogspot.com/2009/12/solaris-under-qemu-how-to.html#uds-search-results
> I'm not sure if Artyom has submitted all his patches to QEMU yet.
>
>> compile my qemu with:
>> git clone git://git.savannah.nongnu.org/qemu.git
>> cd qemu
>> ./configure --target-list=sparc-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
>>
>> Andesas tks for the info.
>> upgrading to 0.15.1 did not solve the issue.
>>
>> Adding some info:
>>
>> QEMU emulator version 0.15.1, Copyright (c) 2003-2008 Fabrice Bellard
>> Linux ws2132 2.6.32-5-openvz-amd64 #1 SMP Mon Oct 3 05:12:50 UTC 2011 x86_64 GNU/Linux
>> Debian squeeze
>>
>>
>> Regards!
>>
>> 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.
>>
>> I can boot from the cd, mount and check the /etc/system file it has the
>> "set scsi_options=0x58" option i set to make it work, still not working:
>>
>> Here is the output:
>>
>> /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
>>
>>      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 ... /
>>
>> 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=file.qcow2,unit=3 to your qemu startup
>> 3) Boot single user
>> 4) echo
>> 'disk_type="QEMU12.0G":ctlr=SCSI:ncyl=49152:acyl=0:pcyl=49152:nhead=16:nsect=32:rpm=7200'
>>
>> /etc/format.dat
> I'd guess these geometry parameters are not correct for your 12G disk.
> It's strange though that the installer kernel sees different geometry
> from the normal boot kernel.
>
>> 5) echo
>> 'partition="QEMU12.0G":disk="QEMU12.0G":ctlr=SCSI:2=0,25165824:0=0,20971520:6=40960,4194304'
>>
>> /etc/format.dat
> These could also be wrong, but I have no idea what the numbers mean.
>
>> 6) format -d c0t3d0 -t 'QEMU12.0G' then label, y, and quit
>> 7) newfs /dev/dsk/c0t3d0s0 followed by y
>>
>> another downloaded from:
>> http://gunkies.org/wiki/Installing_Solaris_2.4_on_Qemu_SPARC
>>
>> any help will be welcome
>>
>>
>>
>>
>>
>> --
>>
>> ITECNIS SRL<http:/www.itecnis.com>
>>          Simplicity is the ultimate sophistication
>>
>>          Ignacio Geli
>>          Implementación y Soporte
>>
>>
>> --
>>
>>
>>          Simplicity is the ultimate sophistication
>>
>>          Ignacio Geli
>>          Implementación y Soporte
>>
>>


-- 

ITECNIS SRL <http:/www.itecnis.com>
         Simplicity is the ultimate sophistication

         Ignacio Geli
         Implementación y Soporte



[-- Attachment #2.1: Type: text/html, Size: 5727 bytes --]

[-- Attachment #2.2: logo-mail2.jpg --]
[-- Type: image/jpeg, Size: 6391 bytes --]

  reply	other threads:[~2011-11-30 18:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-25 15:23 [Qemu-devel] Boot from disk problem Ignacio Geli
2011-11-25 16:01 ` Andreas Färber
2011-11-25 18:24   ` Ignacio Geli
2011-11-26  8:01     ` Blue Swirl
2011-11-30 18:54       ` Ignacio Geli [this message]
2011-12-01 10:29       ` Artyom Tarasenko
2011-12-02 12:48         ` Ignacio Geli
2011-12-02 21:47           ` Artyom Tarasenko
2011-12-05 14:53             ` Ignacio Geli
2011-12-01  9:42   ` Artyom Tarasenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ED67BE7.4020502@itecnis.com \
    --to=igeli@itecnis.com \
    --cc=afaerber@suse.de \
    --cc=atar4qemu@googlemail.com \
    --cc=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.