There’s a bug in my Ultra20-M2 bios :(

Today I spent a bit of time making a live-upgrade from snv_57 to snv_60 work. I’m not sure that I did things quite the right way, but …. I had to manually pkgadd the PatchPro packages to my alternate BE (SUNWppror SUNWpprou SUNWppro-plugin-sunos-base) before LU would allow me to continue — this is not what I wanted, because I don’t use PatchPro at all. I deliberately uninstalled it as soon as I possibly could. The alternate BE seemed to still have StarOffice8 installed, so of course LU upgraded that too. Again, I don’t want StarOffice8, I want OpenOffice.org 2.x instead. My non-global zones (which have their zonepaths on zfs) were copied to the new BE’s / so on reboot I had to move the contents out of the way before zfs mount -a would succeed. And, most annoying of all, /sbin/biosdev stumbled across a bug (6536905 biosdev 1.4,1.5 changes render SATA disks under old framework invisible to LU — not on b.o.o and will most probably have its synopsis changed) which meant that /sbin/biosdev couldn’t tell LU what a valid bios-registered boot device was. After running /sbin/biosdev -d and having a chat with the RE for the bug, I came up with the following hackaround – replace /sbin/biosdev with a shell script which outputs the correct information. In my case, with a dual-channel glm card installed and 6 scsi disks attached to it along with 4 SATA disks hanging off the motherboard, I need this:

#!/bin/sh
echo "0x80 /pci@0,0/pci-ide@5/ide@0/cmdk@0,0"
echo "0x81 /pci@0,0/pci10de,370@6/pci1000,1000@9/sd@2,0"
echo "0x82 /pci@0,0/pci10de,370@6/pci1000,1000@9/sd@4,0"
echo "0x83 /pci@0,0/pci10de,370@6/pci1000,1000@9/sd@5,0"
echo "0x84 /pci@0,0/pci10de,370@6/pci1000,1000@9/sd@1,0"
echo "0x85 /pci@0,0/pci-ide@5/ide@1/cmdk@0,0"
echo "0x86 /pci@0,0/pci-ide@5,1/ide@0/cmdk@0,0"
echo "0x87 /pci@0,0/pci-ide@5,1/ide@1/cmdk@0,0"
exit 0

Technorati topic:{Technorati}[Solaris] tags: topic:{Technorati}[OpenSolaris] topic:{Technorati}[LiveUpgrade] topic:{Technorati}[biosdev] topic:{Technorati}[bios bug] topic:{Technorati}[Sun Ultra20 M2]