ofpath failure -sata, firewire, usb - patch to fix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
yaboot (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Intrepid |
Fix Released
|
Medium
|
Unassigned |
Bug Description
package: yaboot_
ofpath script ( /usr/sbin/ofpath )
Attached patch for ofpath fixes some outstanding problems, to increase boot install success rate for Applemac G5 sata and external firewire drives, adds usb paths.
Problem:
Fails to recognise Direct-Access-RBC.
Fails to recognise usb.
Fails to return correct paths for k2-sata dual drives in some Applemac G5.Caused by use of open firmware compatible property, and inconsistent use in G5 firmware.
Resulting in failure to install boot partition correctly, or in post install use of yaboot installers.
scsi_ofpath():
case ata_k2|sata_svw)
The compatible property is inconsistent across G5 hardware/firmware.
case usb-storage) is missing
scsiinfo() and fixdevfs(): DEVTYPE = "Direct-Access" restricts type
Related branches
Changed in yaboot: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Patch:
scsi_ofpath()
The patch uses the "name" property and a simple grep filter adequate for a single k2-sata-root with any number of k2-sata.
case usb-storage) is added from yaboot.ozlabs.org
scsiinfo() and fixdevfs()
patch accepts all Direct-Access varieties.
Implications to other platforms unknown, but of considerable benefit to installation for many Applemac G5.
Patch genrated in ubuntu704 using " diff -NauB ", applies to ofpath extracted from 1.3.13a- 1ubuntu3 ======= ======= ===== ======= ======= ===== ======= ======= =====
yaboot_
=======
Tested so far on apple mac
powermac G5 1.6Ghz SP, dual sata
ibook G4
=======
Attached patch2, md5sum.
=======