On Sat, Feb 26, 2005 at 09:54:38AM -0800, LC wrote:
> Hi, I struggled with a very similar scenario, last day or two.  I was 
> trying to
> install debian unstable on an iBook, via netboot, onto an externally 
> attached
> firewire disk device.  Failing the install yaboot step (with no details 
> being
> obvious), I first tried to do the boot setup and boot manually (which I 
> failed).
> 
> When I peeked into the process a bit more, I found why the yaboot setup 
> didn't
> work, and tried a hack in ofpath.  This ofpath states that the particular 
> scsi
> driver isn't supported, and quits, so the yaboot installation fails ... you 
> can
> see it in syslog on the installation filesystem.  I dropped into a shell 
> from the
> Debian installer menus, hand-modified ofpath, and manually ran the yaboot 
> installer
> script, which finally worked.  The vmlinux and initrd.gz I took were from --
> "~luther/d-i/images/2005-02-25/powerpc/netboot" on people.debian.org
> 
> In the script "ofpath", in the "scsi_ofpath" function, I added a case 
> option:
>       sbp2)
>           HOST_LIST="$(for i in `find /proc/device-tree -name compatible` 
>           ; do
>                       lgrep "$i" "pciclass,0c0010" ; done)"
>           DEVICE_PATH="$(printhost $SCSI_HOSTNUMBER $HOST_LIST)"
>           echo 
>           "${DEVICE_PATH##*device-tree}/node/sbp-2/[EMAIL 
> PROTECTED]:$PARTITION"
>           ;;
> 
> That search pattern "pciclass,0c0010" might not be the most very rigorous 
> spec,
> but for some reason I was having trouble with the carats ("^"), perhaps some
> difference between busybox's grep and the target's.  Anyway, I hope that 
> this
> suggestion will help someone, I don't know who currently takes care of 
> ofpath.
> (Now I need that pivot_root to work, so I just have to fix my initrd like 
> Joerg
> has explained in bug 288010;)  Thanks!!  Larry.
> 

are you sure that 0c0010 is not specific to your particular hardware?

I suspect this patch would work nowhere else.

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpVDS6dSSxlP.pgp
Description: PGP signature

Reply via email to