qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Re: Q: Issue booting Solaris 8 (SPARC)
  2005-08-01  8:32 [Qemu-devel] " Adam Bradley
@ 2005-08-02 12:36 ` Adam Bradley
  0 siblings, 0 replies; 5+ messages in thread
From: Adam Bradley @ 2005-08-02 12:36 UTC (permalink / raw)
  To: qemu-devel

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

Adam Bradley wrote:
> Trying to install Solaris 8 SPARC into qemu (tarball 0.71) in a 2.6.11 
> system.
> 
> ---snip---
> linux:/data/qemu # uname -a
> Linux linux 2.6.11.4-21.7-default #1 Thu Jun 2 14:23:14 UTC 2005 i686 
> i686 i386 GNU/Linux
> ---snip---
> 
> Issuing the following command
> ---snip---
> linux:/data/qemu # qemu-system-sparc -hda /data/qemu/solaris -m 256 
> -boot d -cdrom /data/Solaris8InstallCD.iso
> ---snip---

Grabbed the 31072005 snapshot and burnt the CD with K3B using the 
"clone" option yields some better results. However the install still 
'freezes'.

[-- Attachment #2: qemu-sparc on intel-310705 snapshot.jpg --]
[-- Type: image/jpeg, Size: 34818 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] Re: Q: Issue booting Solaris 8 (SPARC)
@ 2005-08-05 19:41 Blue Swirl
  2005-08-06  1:27 ` Adam Bradley
  0 siblings, 1 reply; 5+ messages in thread
From: Blue Swirl @ 2005-08-05 19:41 UTC (permalink / raw)
  To: adam_j_bradley; +Cc: qemu-devel

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

Hi,

It looks like Proll doesn't understand the new CD at all, the offsets are 
way too large. I doubt any real boot
sector could be loaded using the offsets.

Please try the attached Proll image, it is compiled with DEBUG_OBP enabled. 
There will be a lot of output, so you should use the  -nographic flag.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

[-- Attachment #2: proll.elf.bz2 --]
[-- Type: application/octet-stream, Size: 55541 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] Re: Q: Issue booting Solaris 8 (SPARC)
  2005-08-05 19:41 [Qemu-devel] Re: Q: Issue booting Solaris 8 (SPARC) Blue Swirl
@ 2005-08-06  1:27 ` Adam Bradley
  0 siblings, 0 replies; 5+ messages in thread
From: Adam Bradley @ 2005-08-06  1:27 UTC (permalink / raw)
  To: qemu-devel

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

Blue Swirl wrote:
> Hi,
> 
> It looks like Proll doesn't understand the new CD at all, the offsets 
> are way too large. I doubt any real boot
> sector could be loaded using the offsets.
> 
> Please try the attached Proll image, it is compiled with DEBUG_OBP 
> enabled. There will be a lot of output, so you should use the  
> -nographic flag.

Very little output, but the offset looks more reasonable.  Any ideas?
Adam

[-- Attachment #2: proll.elf.jpg --]
[-- Type: image/jpeg, Size: 42419 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] Re: Q: Issue booting Solaris 8 (SPARC)
@ 2005-08-13  2:28 Jose Renau
  2005-08-15 15:42 ` Blue Swirl
  0 siblings, 1 reply; 5+ messages in thread
From: Jose Renau @ 2005-08-13  2:28 UTC (permalink / raw)
  To: blueswir1; +Cc: qemu-devel


  This is the output that I get:

PROLL ID18 QEMU
128 MB total
IOMMU: impl 0 vers 0 page table at 0xFFD20000 of size 32768 bytes
NVRAM: id QEMU_BIOS version 1
Prom console: serial
dma0: Revision 0
le0: LANCE 52:54:0:12:34:56
le0: using TPE.
dma1: Revision 0
Boot device: d
Loading partition table from target 2:
CHS: 2048/1/640, partitions:
a: 0 + 640
b: 1 + 1130880
c: 1768 + 5120
d: 1776 + 5120
e: 1784 + 5120
f: 1792 + 5120
g: 0 + 0
h: 0 + 0
booting sd(0,2,0):d (offset 1136641)
Memory used: virt 0xFFD00000:0xFFD37000[220K] iomap 
0xFFD3C000:0xFFD4B000
Kernel loaded at 0x4000, size 0K, command line = ''
obp_nextnode(0) = 1
obp_proplen(1, name) = 19
obp_getprop(1, name) = SUNW,JavaStation-1
obp_devopen(sd(0,2,0))
obp_devseek: fd 2, hi 0, lo 8192
obp_devread: fd 2, nbytes 8192
obp_devwrite: fd 1, buf b?ѵ8, nbytes 1
bobp_devwrite: fd 1, buf o?ѵ8, nbytes 1
oobp_devwrite: fd 1, buf o?ѵ8, nbytes 1
oobp_devwrite: fd 1, buf t?ѵ8, nbytes 1
tobp_devwrite: fd 1, buf b?ѵ8, nbytes 1
bobp_devwrite: fd 1, buf l?ѵ8, nbytes 1
lobp_devwrite: fd 1, buf k?ѵ8, nbytes 1
kobp_devwrite: fd 1, buf :?ѵ8, nbytes 1
:obp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf n?ѵ8, nbytes 1
nobp_devwrite: fd 1, buf o?ѵ8, nbytes 1
oobp_devwrite: fd 1, buf t?ѵ8, nbytes 1
tobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf a?ѵ8, nbytes 1
aobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf U?ѵ8, nbytes 1
Uobp_devwrite: fd 1, buf F?ѵ8, nbytes 1
Fobp_devwrite: fd 1, buf S?ѵ8, nbytes 1
Sobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf f?ѵ8, nbytes 1
fobp_devwrite: fd 1, buf i?ѵ8, nbytes 1
iobp_devwrite: fd 1, buf l?ѵ8, nbytes 1
lobp_devwrite: fd 1, buf e?ѵ8, nbytes 1
eobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf s?ѵ8, nbytes 1
sobp_devwrite: fd 1, buf y?ѵ8, nbytes 1
yobp_devwrite: fd 1, buf s?ѵ8, nbytes 1
sobp_devwrite: fd 1, buf t?ѵ8, nbytes 1
tobp_devwrite: fd 1, buf e?ѵ8, nbytes 1
eobp_devwrite: fd 1, buf m?ѵ8, nbytes 1
mobp_devwrite: fd 1, buf .?ѵ8, nbytes 1
?ѵ8, nbytes 1: fd 1, buf
obp_devwrite: fd 1, buf
?ѵ8, nbytes 1

obp_devclose 2
obp_nextnode(0) = 1
obp_proplen(1, compatible) = 6
obp_getprop(1, compatible) = sun4m
obp_devopen(sd(0,2,0))
obp_devseek: fd 2, hi 0, lo 8192
obp_devread: fd 2, nbytes 8192
obp_devwrite: fd 1, buf b?ѵ8, nbytes 1
bobp_devwrite: fd 1, buf o?ѵ8, nbytes 1
oobp_devwrite: fd 1, buf o?ѵ8, nbytes 1
oobp_devwrite: fd 1, buf t?ѵ8, nbytes 1
tobp_devwrite: fd 1, buf b?ѵ8, nbytes 1
bobp_devwrite: fd 1, buf l?ѵ8, nbytes 1
lobp_devwrite: fd 1, buf k?ѵ8, nbytes 1
kobp_devwrite: fd 1, buf :?ѵ8, nbytes 1
:obp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf n?ѵ8, nbytes 1
nobp_devwrite: fd 1, buf o?ѵ8, nbytes 1
oobp_devwrite: fd 1, buf t?ѵ8, nbytes 1
tobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf a?ѵ8, nbytes 1
aobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf U?ѵ8, nbytes 1
Uobp_devwrite: fd 1, buf F?ѵ8, nbytes 1
Fobp_devwrite: fd 1, buf S?ѵ8, nbytes 1
Sobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf f?ѵ8, nbytes 1
fobp_devwrite: fd 1, buf i?ѵ8, nbytes 1
iobp_devwrite: fd 1, buf l?ѵ8, nbytes 1
lobp_devwrite: fd 1, buf e?ѵ8, nbytes 1
eobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf s?ѵ8, nbytes 1
sobp_devwrite: fd 1, buf y?ѵ8, nbytes 1
yobp_devwrite: fd 1, buf s?ѵ8, nbytes 1
sobp_devwrite: fd 1, buf t?ѵ8, nbytes 1
tobp_devwrite: fd 1, buf e?ѵ8, nbytes 1
eobp_devwrite: fd 1, buf m?ѵ8, nbytes 1
mobp_devwrite: fd 1, buf .?ѵ8, nbytes 1
?ѵ8, nbytes 1: fd 1, buf
obp_devwrite: fd 1, buf
?ѵ8, nbytes 1

obp_devclose 2
obp_devopen(sd(0,2,0))
obp_devseek: fd 2, hi 0, lo 8192
obp_devread: fd 2, nbytes 8192
obp_devwrite: fd 1, buf b?ѵ8, nbytes 1
bobp_devwrite: fd 1, buf o?ѵ8, nbytes 1
oobp_devwrite: fd 1, buf o?ѵ8, nbytes 1
oobp_devwrite: fd 1, buf t?ѵ8, nbytes 1
tobp_devwrite: fd 1, buf b?ѵ8, nbytes 1
bobp_devwrite: fd 1, buf l?ѵ8, nbytes 1
lobp_devwrite: fd 1, buf k?ѵ8, nbytes 1
kobp_devwrite: fd 1, buf :?ѵ8, nbytes 1
:obp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf n?ѵ8, nbytes 1
nobp_devwrite: fd 1, buf o?ѵ8, nbytes 1
oobp_devwrite: fd 1, buf t?ѵ8, nbytes 1
tobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf a?ѵ8, nbytes 1
aobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf U?ѵ8, nbytes 1
Uobp_devwrite: fd 1, buf F?ѵ8, nbytes 1
Fobp_devwrite: fd 1, buf S?ѵ8, nbytes 1
Sobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf f?ѵ8, nbytes 1
fobp_devwrite: fd 1, buf i?ѵ8, nbytes 1
iobp_devwrite: fd 1, buf l?ѵ8, nbytes 1
lobp_devwrite: fd 1, buf e?ѵ8, nbytes 1
eobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf s?ѵ8, nbytes 1
sobp_devwrite: fd 1, buf y?ѵ8, nbytes 1
yobp_devwrite: fd 1, buf s?ѵ8, nbytes 1
sobp_devwrite: fd 1, buf t?ѵ8, nbytes 1
tobp_devwrite: fd 1, buf e?ѵ8, nbytes 1
eobp_devwrite: fd 1, buf m?ѵ8, nbytes 1
mobp_devwrite: fd 1, buf .?ѵ8, nbytes 1
?ѵ8, nbytes 1: fd 1, buf
obp_devwrite: fd 1, buf
?ѵ8, nbytes 1

obp_devclose 2
obp_devopen(sd(0,2,0))
obp_devseek: fd 2, hi 0, lo 8192
obp_devread: fd 2, nbytes 8192
obp_devwrite: fd 1, buf b?ѵ8, nbytes 1
bobp_devwrite: fd 1, buf o?ѵ8, nbytes 1
oobp_devwrite: fd 1, buf o?ѵ8, nbytes 1
oobp_devwrite: fd 1, buf t?ѵ8, nbytes 1
tobp_devwrite: fd 1, buf b?ѵ8, nbytes 1
bobp_devwrite: fd 1, buf l?ѵ8, nbytes 1
lobp_devwrite: fd 1, buf k?ѵ8, nbytes 1
kobp_devwrite: fd 1, buf :?ѵ8, nbytes 1
:obp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf n?ѵ8, nbytes 1
nobp_devwrite: fd 1, buf o?ѵ8, nbytes 1
oobp_devwrite: fd 1, buf t?ѵ8, nbytes 1
tobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf a?ѵ8, nbytes 1
aobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf U?ѵ8, nbytes 1
Uobp_devwrite: fd 1, buf F?ѵ8, nbytes 1
Fobp_devwrite: fd 1, buf S?ѵ8, nbytes 1
Sobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf f?ѵ8, nbytes 1
fobp_devwrite: fd 1, buf i?ѵ8, nbytes 1
iobp_devwrite: fd 1, buf l?ѵ8, nbytes 1
lobp_devwrite: fd 1, buf e?ѵ8, nbytes 1
eobp_devwrite: fd 1, buf  ?ѵ8, nbytes 1
  obp_devwrite: fd 1, buf s?ѵ8, nbytes 1
sobp_devwrite: fd 1, buf y?ѵ8, nbytes 1
yobp_devwrite: fd 1, buf s?ѵ8, nbytes 1
sobp_devwrite: fd 1, buf t?ѵ8, nbytes 1
tobp_devwrite: fd 1, buf e?ѵ8, nbytes 1
eobp_devwrite: fd 1, buf m?ѵ8, nbytes 1
mobp_devwrite: fd 1, buf .?ѵ8, nbytes 1
?ѵ8, nbytes 1: fd 1, buf
obp_devwrite: fd 1, buf
?ѵ8, nbytes 1

obp_devclose 2
obp_devwrite: fd 1, buf b, nbytes 1
bobp_devwrite: fd 1, buf o, nbytes 1
oobp_devwrite: fd 1, buf o, nbytes 1
oobp_devwrite: fd 1, buf t, nbytes 1
tobp_devwrite: fd 1, buf b, nbytes 1
bobp_devwrite: fd 1, buf l, nbytes 1
lobp_devwrite: fd 1, buf k, nbytes 1
kobp_devwrite: fd 1, buf :, nbytes 1
:obp_devwrite: fd 1, buf  , nbytes 1
  obp_devwrite: fd 1, buf c, nbytes 1
cobp_devwrite: fd 1, buf a, nbytes 1
aobp_devwrite: fd 1, buf n, nbytes 1
nobp_devwrite: fd 1, buf ', nbytes 1
'obp_devwrite: fd 1, buf t, nbytes 1
tobp_devwrite: fd 1, buf  , nbytes 1
  obp_devwrite: fd 1, buf f, nbytes 1
fobp_devwrite: fd 1, buf i, nbytes 1
iobp_devwrite: fd 1, buf n, nbytes 1
nobp_devwrite: fd 1, buf d, nbytes 1
dobp_devwrite: fd 1, buf  , nbytes 1
  obp_devwrite: fd 1, buf t, nbytes 1
tobp_devwrite: fd 1, buf h, nbytes 1
hobp_devwrite: fd 1, buf e, nbytes 1
eobp_devwrite: fd 1, buf  , nbytes 1
  obp_devwrite: fd 1, buf b, nbytes 1
bobp_devwrite: fd 1, buf o, nbytes 1
oobp_devwrite: fd 1, buf o, nbytes 1
oobp_devwrite: fd 1, buf t, nbytes 1
tobp_devwrite: fd 1, buf  , nbytes 1
  obp_devwrite: fd 1, buf p, nbytes 1
pobp_devwrite: fd 1, buf r, nbytes 1
robp_devwrite: fd 1, buf o, nbytes 1
oobp_devwrite: fd 1, buf g, nbytes 1
gobp_devwrite: fd 1, buf r, nbytes 1
robp_devwrite: fd 1, buf a, nbytes 1
aobp_devwrite: fd 1, buf m, nbytes 1
, nbytes 1ite: fd 1, buf
obp_devwrite: fd 1, buf
, nbytes 1

halt, power off


--
Crisis is danger and opportunity. -- Chinese proverb

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [Qemu-devel] Re: Q: Issue booting Solaris 8 (SPARC)
  2005-08-13  2:28 Jose Renau
@ 2005-08-15 15:42 ` Blue Swirl
  0 siblings, 0 replies; 5+ messages in thread
From: Blue Swirl @ 2005-08-15 15:42 UTC (permalink / raw)
  To: renau; +Cc: qemu-devel

>obp_devopen(sd(0,2,0))
>obp_devseek: fd 2, hi 0, lo 8192
>obp_devread: fd 2, nbytes 8192

Thanks for the report.

Here's a translation: Boot sector "bootblk" gets loaded. It reads 8k from 
disk sd(0,2,0) (without partition code, mmh) at offset 8k. The contents is 
not what is expected, so it prints "bootblk: not a UFS file system.". After 
a couple of tries it gives up, prints "bootblk: can't find the boot 
program." and halts.

Looks like a problem with obp_devopen. I'll make a new Proll image soon.

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-15 15:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-05 19:41 [Qemu-devel] Re: Q: Issue booting Solaris 8 (SPARC) Blue Swirl
2005-08-06  1:27 ` Adam Bradley
  -- strict thread matches above, loose matches on Subject: below --
2005-08-13  2:28 Jose Renau
2005-08-15 15:42 ` Blue Swirl
2005-08-01  8:32 [Qemu-devel] " Adam Bradley
2005-08-02 12:36 ` [Qemu-devel] " Adam Bradley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).