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

Bug#299686: marked as done (yaboot: ofpath support for Pegasos and "spi" IDE devices)



Your message dated Mon, 03 Jul 2006 09:02:21 -0700
with message-id <E1FxQsP-0007HP-NQ@spohr.debian.org>
and subject line Bug#299686: fixed in yaboot 1.3.13-6
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: yaboot
Version: 1.3.13-3
Severity: wishlist
Tags: patch

Very recent versions of Open Firmware on Pegasos support yaboot, at
least for netbooting. It would be useful to be able to use ofpath to
find out the Open Firmware paths to disks on such systems. There are two
obstacles, at least on the development system I have which AFAIK is a
fairly standard configuration:

  * ofpath doesn't recognise the Pegasos subarchitecture, and doesn't
    know which style of device name -> Open Firmware mangling to use on
    it. As far as I can tell, it's straightforward enough at least for
    IDE disks (I can't test SCSI, unfortunately) that the same handling
    as NewWorld can be used.

  * The IDE disk shipped with my development system advertises its
    device_type as "spi" (SCSI-3 Parallel Interface, I think,
    http://www.openbios.info/docs/rec.scsi3pi.10.pdf - no idea why). The
    Open Firmware path appears to be
    /pci@WHATEVER/ide@WHATEVER/disk@BUS,TARGET.

Here's a patch for both these issues. If Ethan wants to merge this using
arch, then:

  tla register-archive http://riva.ucam.org/~cjwatson/archives/cjwatson@flatline.org.uk--2004
  tla star-merge cjwatson@flatline.org.uk--2004/yaboot--pegasos--1.3

* finding or making yaboot--pegasos--1.3--base-0
* finding or making yaboot--pegasos--1.3--patch-2
* computing changeset
A  {arch}/yaboot/yaboot--pegasos/yaboot--pegasos--1.3/cjwatson@flatline.org.uk--2004/patch-log/patch-1
A  {arch}/yaboot/yaboot--pegasos/yaboot--pegasos--1.3/cjwatson@flatline.org.uk--2004/patch-log/patch-2
M  ybin/ofpath
* changeset report
* added files

    {arch}/yaboot/yaboot--pegasos/yaboot--pegasos--1.3/cjwatson@flatline.org.uk--2004/patch-log/patch-1
--- /dev/null
+++ mod/{arch}/yaboot/yaboot--pegasos/yaboot--pegasos--1.3/cjwatson@flatline.org.uk--2004/patch-log/patch-1
@@ -0,0 +1,10 @@
+Revision: yaboot--pegasos--1.3--patch-1
+Archive: cjwatson@flatline.org.uk--2004
+Creator: Colin Watson <cjwatson@flatline.org.uk>
+Date: Tue Mar 15 20:11:08 GMT 2005
+Standard-date: 2005-03-15 20:11:08 GMT
+Modified-files: ybin/ofpath
+New-patches: cjwatson@flatline.org.uk--2004/yaboot--pegasos--1.3--patch-1
+Summary: Add support for IDE devices that advertise as "spi"
+Keywords: 
+
--- /dev/null
+++ mod/{arch}/yaboot/yaboot--pegasos/yaboot--pegasos--1.3/cjwatson@flatline.org.uk--2004/patch-log/patch-2
@@ -0,0 +1,10 @@
+Revision: yaboot--pegasos--1.3--patch-2
+Archive: cjwatson@flatline.org.uk--2004
+Creator: Colin Watson <cjwatson@flatline.org.uk>
+Date: Tue Mar 15 20:14:15 GMT 2005
+Standard-date: 2005-03-15 20:14:15 GMT
+Modified-files: ybin/ofpath
+New-patches: cjwatson@flatline.org.uk--2004/yaboot--pegasos--1.3--patch-2
+Summary: Add (trivial) support for Pegasos to ofpath
+Keywords: 
+
    {arch}/yaboot/yaboot--pegasos/yaboot--pegasos--1.3/cjwatson@flatline.org.uk--2004/patch-log/patch-2
--- /dev/null
+++ mod/{arch}/yaboot/yaboot--pegasos/yaboot--pegasos--1.3/cjwatson@flatline.org.uk--2004/patch-log/patch-1
@@ -0,0 +1,10 @@
+Revision: yaboot--pegasos--1.3--patch-1
+Archive: cjwatson@flatline.org.uk--2004
+Creator: Colin Watson <cjwatson@flatline.org.uk>
+Date: Tue Mar 15 20:11:08 GMT 2005
+Standard-date: 2005-03-15 20:11:08 GMT
+Modified-files: ybin/ofpath
+New-patches: cjwatson@flatline.org.uk--2004/yaboot--pegasos--1.3--patch-1
+Summary: Add support for IDE devices that advertise as "spi"
+Keywords: 
+
--- /dev/null
+++ mod/{arch}/yaboot/yaboot--pegasos/yaboot--pegasos--1.3/cjwatson@flatline.org.uk--2004/patch-log/patch-2
@@ -0,0 +1,10 @@
+Revision: yaboot--pegasos--1.3--patch-2
+Archive: cjwatson@flatline.org.uk--2004
+Creator: Colin Watson <cjwatson@flatline.org.uk>
+Date: Tue Mar 15 20:14:15 GMT 2005
+Standard-date: 2005-03-15 20:14:15 GMT
+Modified-files: ybin/ofpath
+New-patches: cjwatson@flatline.org.uk--2004/yaboot--pegasos--1.3--patch-2
+Summary: Add (trivial) support for Pegasos to ofpath
+Keywords: 
+

* modified files

--- orig/ybin/ofpath
+++ mod/ybin/ofpath
@@ -396,6 +396,10 @@
 		local MASTER="/@$(($(cat /proc/ide/${IDEBUS}/channel) * 2 + 0))"
 		local SLAVE="/@$(($(cat /proc/ide/${IDEBUS}/channel) * 2 + 1))"
 		;;
+	    spi)
+		local MASTER="/disk@$(cat /proc/ide/${IDEBUS}/channel),0"
+		local SLAVE="/disk@$(cat /proc/ide/${IDEBUS}/channel),1"
+		;;
 	    *)
 		echo 1>&2 "$PRG: Unsupported IDE device type: \"$(cat /proc/device-tree${DEVSPEC}/device_type 2> /dev/null)\""
 		return 1
@@ -914,6 +918,8 @@
     SUBARCH=OldWorld
 elif (cat /proc/cpuinfo 2> /dev/null | grep ^machine | grep -q 'CHRP IBM') ; then
     SUBARCH=CHRP
+elif (cat /proc/cpuinfo 2>/dev/null | grep ^machine | grep -q 'CHRP Pegasos') ; then
+    SUBARCH=Pegasos
 else
     echo 1>&2 "$PRG: This machine is not yet supported"
     exit 1
@@ -936,7 +942,8 @@
 
 ## use appropriate search for right sub arch.
 case "$SUBARCH" in
-    NewWorld)
+    # Pegasos OF seems to be NewWorld-ish enough to cope with this.
+    NewWorld|Pegasos)
 	newworld || exit 1
 	;;
     OldWorld)

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]


--- End Message ---
--- Begin Message ---
Source: yaboot
Source-Version: 1.3.13-6

We believe that the bug you reported is fixed in the latest version of
yaboot, which is due to be installed in the Debian FTP archive:

yaboot_1.3.13-6.diff.gz
  to pool/main/y/yaboot/yaboot_1.3.13-6.diff.gz
yaboot_1.3.13-6.dsc
  to pool/main/y/yaboot/yaboot_1.3.13-6.dsc
yaboot_1.3.13-6_powerpc.deb
  to pool/main/y/yaboot/yaboot_1.3.13-6_powerpc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 299686@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <cjwatson@debian.org> (supplier of updated yaboot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon,  3 Jul 2006 16:39:34 +0100
Source: yaboot
Binary: yaboot
Architecture: source powerpc
Version: 1.3.13-6
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
Description: 
 yaboot     - Yet Another Bootloader
Closes: 299686
Changes: 
 yaboot (1.3.13-6) unstable; urgency=low
 .
   * QA upload.
   * Fix up seriously wedged source package; the content of many files was
     duplicated.
   * Apply Pegasos patches (closes: #299686):
     - Add support for IDE devices that advertise as "spi".
     - Add (trivial) support for Pegasos to ofpath.
   * Use debhelper v4.
Files: 
 348858998b3edf4a327f0b0bd878c6d2 570 base important yaboot_1.3.13-6.dsc
 d1ead54e761db02e1ace5d1687236f2d 9685 base important yaboot_1.3.13-6.diff.gz
 23b580e03c2a7d6dc5d71ded08783e04 182104 base important yaboot_1.3.13-6_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEqTt09t0zAhD6TNERAgGsAJ4tP6/MLRdfkoTpBRB0vMvXoqgfEgCdGWiI
icBFXhElf4ar3FQJZkqOuC0=
=gE8Q
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: