[OpenBIOS] Solaris 9: failed boot with strange device names
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Tue Aug 24 14:21:44 CEST 2010
Tarl Neustaedter wrote:
> Boy, that message *is* pretty obscure.
>
> The list he's referring to is one of three lists - physical memory,
> virtual memory and free memory. He looks in the "memory" node for both
> "reg" and "available" properties, and in the "virtual-memory" node for
> the "available" property.
>
> If he doesn't find any one of those three properties, he gets that
> error. Look for init_memlists() in usr/src/uts/psm/.... in your stashed
> Solaris source.
Oh, that's interesting. So this is what I currently see in OpenBIOS:
0 > cd /memory ok
0 > .properties
name "memory"
device_type "memory"
available -- 70 : 0 0 0 0 0 0 0 0 0 0 0 0 7 e6 80 0 0 0
0 0 7 e6 80 80 0 0 0 0 0 0 f 80 0 0 0 0 7 e6 f2 0 0 0 0 0 0 0 e 0 0 0 0
0 7 e7 0 80 0 0 0 0 0 0 f 80 0 0 0 0 7 e7 72 0 0 0 0 0 0 0 e 0 0 0 0 0 7
e7 80 80 0 0 0 0 0 0 f 80 0 0 0 0 7 e7 f2 0 0 0 0 0 0 0 e 0
reg -- 10 : 0 0 0 0 0 0 0 0 0 0 0 0 8 0 0 0
ok
0 > cd /virtual-memory ok
0 > .properties
name "virtual-memory"
available -- 90 : 0 0 0 0 0 0 0 0 0 0 0 0 7 fe 80 0 0 0
0 0 7 fe 80 80 0 0 0 0 0 0 f 80 0 0 0 0 7 fe f2 0 0 0 0 0 0 0 e 0 0 0 0
0 7 ff 0 80 0 0 0 0 0 0 f 80 0 0 0 0 7 ff 72 0 0 0 0 0 0 0 e 0 0 0 0 0 7
ff 80 80 0 0 0 0 0 0 f 80 0 0 0 0 7 ff f2 0 0 0 0 0 f6 0 e 0 0 0 0 0 fe
80 0 0 0 0 0 0 1 50 0 0 0 0 0 0 ff f8 0 0 ff ff ff ff 0 7 ff ff
translations -- 210 : 0 0 0 0 0 0 0 0 0 0 0 0 7 fe 80 0 0 0
0 0 0 0 0 36 0 0 0 0 7 fe 80 0 0 0 0 0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properties
name "chosen"
stdin ffe88290
stdout ffe88430
memory ffe88838
mmu ffe880f8
display ffe87e30
keyboard ffe87fd0
bootargs ""
bootpath "cdrom:f"
ok
0 > show-devs
ffe1d720 /
ffe1d8f8 /aliases
ffe1da20 /openprom (BootROM)
ffe27358 /openprom/client-services
ffe1dcd8 /options
ffe1ddb8 /chosen
ffe1df58 /builtin
ffe1e080 /builtin/console
ffe26e20 /packages
ffe28bf8 /packages/cmdline
ffe28e48 /packages/disk-label
ffe2a9a8 /packages/deblocker
ffe2afc0 /packages/grubfs-files
ffe2b3d0 /packages/sun-parts
ffe2b7e8 /packages/elf-loader
ffe30dc0 /packages/ufs-file-system
ffe29a28 /memory at 0,0 (memory)
ffe29b88 /virtual-memory
ffe2b948 /pci at 1fe,0 (pci)
ffe2c1b0 /pci at 1fe,0/pci at 1 (pci)
ffe2c868 /pci at 1fe,0/pci at 1,1 (pci)
ffe2cef8 /pci at 1fe,0/QEMU,VGA at 2 (display)
ffe2d6c0 /pci at 1fe,0/ebus at 3
ffe2ddc0 /pci at 1fe,0/ebus at 3/fdthree at 0 (block)
ffe2e308 /pci at 1fe,0/ebus at 3/su at 0,1 (serial)
ffe2e608 /pci at 1fe,0/ebus at 3/kb_ps2 at 0 (serial)
ffe2e938 /pci at 1fe,0/NE2000 at 4 (network)
ffe2ef20 /pci at 1fe,0/pci-ata at 5 (pci-ide)
ffe2f518 /pci at 1fe,0/pci-ata at 5/ide0 at 500 (ide)
ffe2f7b0 /pci at 1fe,0/pci-ata at 5/ide1 at 600 (ide)
ffe2fa48 /pci at 1fe,0/pci-ata at 5/ide1 at 600/cdrom at 0 (block)
ffe300d0 /SUNW,UltraSPARC-IIi (cpu)
ffe307b8 /SUNW,UltraSPARC-IIi/mmu
ok
0 > ffe88838 ihandle>phandle u. ffe29a28 ok
0 > ffe880f8 ihandle>phandle u. ffe307b8 ok
0 > cd /SUNW,UltraSPARC-IIi/mmu ok
0 > .properties
name "mmu"
ok
0 >
So the /memory and /virtual-memory nodes look correct - but the "mmu"
property in /chosen is set to point to "/SUNW,UltraSPARC-IIi/mmu" which
doesn't actually have any properties set!
Does anyone know what this second CPU MMU node is used for? Should the
/chosen "mmu" property point to /virtual-memory instead? Or should this
node be an exact copy of /virtual-memory?
ATB,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
More information about the OpenBIOS
mailing list