ofpath handles SATA disks incorrectly
Bug #18474 reported by
Colin Hayes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
yaboot (Ubuntu) |
Fix Released
|
Medium
|
Colin Watson |
Bug Description
I am running a dual 2GHz model G5 from mid 2004 with 2 SATA hard drives. The install of Ubuntu went fine until the
reboot, yaboot simply wouldn't go over into Linux. After a few days of newbie tinkering, I finally realised that
Yaboot has set its yaboot.conf file with the incorrect OpenFirmware path to the drive containing Linux.
It had "k2-sata@0/disk@0:" whereas it should have had "k2-sata@1/@0:".
Also, in OSX, the correct O.F. path is shown in Disk Utility, however I do not know what path ofpath would yield as
I never got that utility to work.
To post a comment you must log in.
okay, perhaps this is a problem with the ofpath utility.
I was just screwing around with yaboot.conf again while booted into Ubuntu, ran ybin, and now it's back to the problem it had earlier.
I'm fairly sure ybin just uses ofpath to create the Openfirmware paths to the drives (I remember getting some error while trying to run
ybin before I could boot into Ubuntu).
When I ran ofpath, I believe it yielded "k2-sata@1/disk@0:" which is somewhat of a hybrid of the correct path and the original one in
yaboot.conf.