Sikeres Solaris9 guest shell indítás qemu-system-sparc alatt

Fórumok

Tisztelt nagyérdemű, íme:

# # helyezzuk az eredeti solaris9 telepitonket a dvd-meghajtoba ( nalam /dev/sr0 )
# mkdir -p /jatszoter/solaris9/
# cd /jatszoter/solaris9/
# wget http://download.savannah.gnu.org/releases/qemu/qemu-0.13.0-rc1.tar.gz 1>/dev/null 2>/dev/null
# wget http://home.earthlink.net/~reif/ss5-170.bin 1>/dev/null 2>/dev/null
# tar -xvzf qemu-0.13.0-rc1.tar.gz 1>/dev/null 2>/dev/null
# cd qemu-0.13.0-rc1/
# ./configure --disable-user --disable-docs --disable-bluez 1>/dev/null 2>/dev/null
# # kovetkezik kb. 2-3 jobb kave elfogyasztasa mejk alatt
# make 1>/dev/null 2>/dev/null
# sparc-softmmu/qemu-system-sparc -m 32 -bios ../ss5-170.bin -cdrom /dev/sr0 -nographic

Power-ON Reset


MB86907 POST 2.2.3 03SEP96

Probing system memory: 32  0  0  0  0  0  0  0
Config = 88000002
0Kb ecache detected

initializing TLB
initializing cache

Allocating SRMMU Context Table 
Setting SRMMU Context Register
Setting SRMMU Context Table Pointer Register
Allocating SRMMU Level 1 Table
Mapping RAM
Mapping ROM

ttya initialized
Probing Memory Bank #0 32 Megabytes
Probing Memory Bank #1 Nothing there
Probing Memory Bank #2 Nothing there
Probing Memory Bank #3 Nothing there
Probing Memory Bank #4 Nothing there
Probing Memory Bank #5 Nothing there
Probing Memory Bank #6 Nothing there
Probing Memory Bank #7 Nothing there
Incorrect configuration checksum; 
Setting NVRAM parameters to default values.
Setting diag-switch? NVRAM parameter to true
Probing CPU FMI,MB86907 
Probing /iommu@0,10000000/sbus@0,10001000 at 5,0  espdma esp sd st SUNW,bpp ledma le 
Probing /iommu@0,10000000/sbus@0,10001000 at 4,0  SUNW,CS4231 power-management 
Probing /iommu@0,10000000/sbus@0,10001000 at 1,0  Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 2,0  Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 3,0  Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 0,0  Nothing there
screen not found.
Can't open input device.
Keyboard not present.  Using tty for input and output.
Probing Memory Bank #0 32 Megabytes
Probing Memory Bank #1 Nothing there
Probing Memory Bank #2 Nothing there
Probing Memory Bank #3 Nothing there
Probing Memory Bank #4 Nothing there
Probing Memory Bank #5 Nothing there
Probing Memory Bank #6 Nothing there
Probing Memory Bank #7 Nothing there
Incorrect configuration checksum; 
Setting NVRAM parameters to default values.
Setting diag-switch? NVRAM parameter to true
Probing CPU FMI,MB86907 
Probing /iommu@0,10000000/sbus@0,10001000 at 5,0  espdma esp sd st SUNW,bpp ledma le 
Probing /iommu@0,10000000/sbus@0,10001000 at 4,0  SUNW,CS4231 power-management 
Probing /iommu@0,10000000/sbus@0,10001000 at 1,0  Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 2,0  Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 3,0  Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 0,0  Nothing there

SPARCstation 5, No Keyboard
ROM Rev. 2.29, 32 MB memory installed, Serial #0.
Ethernet address 52:54:0:12:34:56, Host ID: 80000000.



Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000  File and args: 
Internal loopback test -- Wrong packet length; expected 36, observed 64 

Can't open boot device

Type  help  for more information
ok boot disk2:d -vb
Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@2,0:d  File and args: -vb
Size: 0x41649+0xd52e+0x1ccaa Bytes
SunOS Release 5.9 Version Generic 32-bit
Copyright 1983-2002 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Ethernet address = 52:54:0:12:34:56
Using default device instance data
vac: enabled in write through mode
mem = 32768K (0x2000000)
avail mem = 27344896
root nexus = SUNW,SPARCstation-5
iommu0 at root: obio 0x10000000
sbus0 at iommu0: obio 0x10001000
dma0 at sbus0: SBus slot 5 0x8400000
dma0 is /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000
/iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000 (esp0):
	esp-options=0x46
esp0 at dma0: SBus slot 5 0x8800000 sparc ipl 4
esp0 is /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000
WARNING: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@2,0 (sd2):
	sd_set_mmc_caps: Mode Sense returned invalid block descriptor length

sd2 at esp0: target 2 lun 0
sd2 is /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@2,0
root on /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@2,0:b fstype ufs
obio0 at root
obio0 at obio0: obio 0x100000, sparc ipl 12
zs0 is /obio/zs@0,100000
obio1 at obio0: obio 0x0, sparc ipl 12
zs1 is /obio/zs@0,0
cpu0: FMI,MB86907 (mid 0 impl 0x0 ver 0x4 clock 434 MHz)
# uname -a
SunOS  5.9 Generic sun4m sparc SUNW,SPARCstation-5
# # ctrl+a x lenyomasaval vege a bemutatonak
# QEMU: Terminated
#

Egyéb forrás:
http://tyom.blogspot.com/2009/12/solaris-under-qemu-how-to.html

TODO:
MAC address beállítása
Megfelelő mennyiségű ram kisakkozása úgy, hogy telepíteni is lehessen
Telepítésénél figyelembe kell venni Tarasenko SCSI-vezérlő workaroundját is!

(szerk 1.)

Javaslatok, trollok, nyálcsorgatás, stb. ide bátran! Végre van 9-es telepítőm, az utolsó hivatalosan sparc32-támogatott Slowaris kiadás. (A Martux Opensolaris disztró elég jó, állítólag szintén bootol SPARC32 hardveren).

Hozzászólások

Zsir!:)
Szolj ha fut rajta a Solaris Cluster is! Mert akkor kezd erdekelni:)

Addig marad a Solaris x86 (amd64) VirtualBox-ban:I

Egyelőre a mezei r=1 installálás elakad ott, hogy disklabel hiányára hivatkozva visszaadja az ok promptot.

mindenkinek:
Valaki esetleg rendelkezik egy disklabeles cca. 4GByte-os üres virtuális diszkképfájllal bzip-pelve vagy qcow*/vmdk formátumban? Lusta vagyok kisakkozni, hogy mit merre mennyit, esetleg valódi, fizikai SCSI diszkek sáv-fej-szektor paraméterei érdekelnének, mert abból már ki tudnám kuruzsolni!

http://www.youtube.com/watch?v=QXz7-BNC6jw
http://nocirc.org/

Ö izé, ebben mi a hír? Eddig is ment qemu-sparc alatt, csak az ok prompt volt erőteljesen hiányos (nagyjából a boot parancson kívül semmi nincs implementálva). Legalábbis legutóbb kb fél éve néztem, akkor szó nélkül bebutult.

Hogyan? Esetleg valami példa, mert openbiossal elakadok rendszerint.

Nálam ez a jelenség tapasztalható:

$ qemu-0.13.0-rc1/sparc-softmmu/qemu-system-sparc -version
QEMU emulator version 0.12.90, Copyright (c) 2003-2008 Fabrice Bellard
$ qemu-0.13.0-rc1/sparc-softmmu/qemu-system-sparc -m 32 -cdrom /dev/sr0 -nographic -bios ./openbios-sparc32

Configuration device id QEMU version 1 machine id 32
UUID: 00000000-0000-0000-0000-000000000000
CPUs: 1 x FMI,MB86904
invalid nvram partition length
nvram error detected, zapping pram
[sparc] Booting file 'cdrom' with parameters ''
Trying cdrom (/iommu/sbus/espdma/esp/sd@2,0)
Not a bootable ELF image
Not a Linux kernel image
Not a bootable a.out image
Trying cdrom:d (/iommu/sbus/espdma/esp/sd@2,0:d)
Not a bootable ELF image
Not a Linux kernel image
Loading a.out image...
Loaded 7680 bytes
entry point is 0x4000
Jumping to entry point...
Unhandled Exception 0x00000007
PC = 0xffd067a0 NPC = 0xffd0576c
Stopping execution

QEMU: Terminated

http://www.youtube.com/watch?v=QXz7-BNC6jw
http://nocirc.org/

Sajnálom, de már nem emlékszem, milyen kapcsolókkal és openbios-al próbáltam anno... :-( De arra emlékszem, hogy elindult, és bebootolt (de csak annyit tudott az openbiosa), csak aztán ejtve lett az egész projekt, mert zónázás lett helyette, ezért a feledés homályába merült. Az biztos, hogy a bios bináris volt, amit külön kellett leszedni hozzá, talán a sun honlapjáról szereztem be? Nem forgattam semmit.

"Az én anyósom nem vakult meg, csak elvesztette 4 ujját egy balesetben, és a helyükre egy tehén tõgyét varrták vissza, amivel ma már nem csak hogy tökéletesen zongorázik, de még tejet is ad..."

(Ezt én szoptam az ujjamból, csak kár, hogy tejérzékeny vagyok)

http://www.youtube.com/watch?v=QXz7-BNC6jw
http://nocirc.org/