Skip to contentSkip to conversation

Q: Issue booting Solaris 8 (SPARC)

Qemu-devel Jose Renau 2 participants 2 messages Aug 13, 2005 – Aug 15, 2005

lore
Share & tools
lore

Jose Renau

author
#0 lore raw

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

#1 lore raw
Quoted 3 lines

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/