diff options
author | Ben Herrenschmidt <benh@kernel.crashing.org> | 2012-10-17 14:25:47 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2012-10-17 16:30:58 +1100 |
commit | 7000cbc4e14aa891adbfdcc07b157e8c9ebb026c (patch) | |
tree | d6561bc9df3eed399e2632b167703f7979efb229 /board-qemu/slof | |
parent | 840aa7ca1fcf8673e5bdb8b2e121b838570a1b54 (diff) | |
download | SLOF-7000cbc4e14aa891adbfdcc07b157e8c9ebb026c.zip SLOF-7000cbc4e14aa891adbfdcc07b157e8c9ebb026c.tar.gz SLOF-7000cbc4e14aa891adbfdcc07b157e8c9ebb026c.tar.bz2 |
Workaround for SLES11 installer bug
This is a hack to work around some stupid behaviour in the SLES11
installer. It expects a node named simply "disk" under the VIO SCSI
device node, rather than individual disk@XXX devices. pHyp doesn't
enumerate the disks, and so provides such a node with the disk only probed
when the device is actually opened. SLOF does enumerate the disks and so
provides the nodes with specific unit addresses instead, breaking the
installer.
The installer doesn't actually use anything in the "disk" node however, it
just expects it to be there, so this hack provides a dummy node to make
the installer happy.
Signed-off-by: Ben Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'board-qemu/slof')
-rw-r--r-- | board-qemu/slof/vio-vscsi.fs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board-qemu/slof/vio-vscsi.fs b/board-qemu/slof/vio-vscsi.fs index f3f1fc1..6bf92e3 100644 --- a/board-qemu/slof/vio-vscsi.fs +++ b/board-qemu/slof/vio-vscsi.fs @@ -671,4 +671,12 @@ scsi-close r> to my-self ; +\ Create a dummy "disk" node with no unit for the sake of +\ the SLES11 installer. It is -not- a fully functional node +\ you can open to access a disk at this stage +new-device +s" disk" device-name +s" block" device-type +finish-device + vscsi-init-and-scan |