[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Booting my G3 (again)



On Sat, May 08, 2004 at 09:01:28PM +0100, Adrian McMenamin wrote:
> And ofpath /dev/sda2 gives
> ofpath: Driver sym53c8xx is not supported
> 
> I don't know what I am supposed to be looking for under that proc interface 
> though :)

What you need is the path to the drive in OF notation. If you start
from /proc/device-tree, that is the OF root. Every directory and file
under that matches the same node in the OF device tree. Start from
there and search for your card. For example, the IDE channel in my
PowerBook has a path that looks like this:

/pci/mac-io/ata-3

Your SCSI card will probably be directly under one of the PCI channels,
but I don't know where they are under your machine. On my 7600, the
PCI slots where hidden under a node called "bandit", but most newer
boxes have something called "pci" for the parent of the PCI slots.
Once you find the path to your card, just substitute that in where
you had "scsi" in your OF path before.

You may want to take a look at some of Apple's documentation:

"What is an Open Firmware devalias?"
http://developer.apple.com/qa/hw/hw99.html

"Fundamentals of Open Firmware, Part II: The Device Tree"
http://developer.apple.com/technotes/tn/tn1062.html

	Brad Boyer
	flar@allandria.com



Reply to: