Package: yaboot
Version: 1.3.13a-1squeeze1
Severity: important
Tags: d-i

I) The entries in yaboot.conf macos=path and macosx=path are wrongly handled by 
ybin,
if path is an open firmware alias like "hd:7" or "ultra1:6", without leading 
"/".
The current working directory is put in front of the path, while ybin 
translates yaboot.conf.
E.g. when calling ybin in directory /root, the generated line in ofboot.b is

: bootmacos " Booting MacOS..." .printf 100 ms load-base release-load-area " 
/root/hd:7,\\:tbxi" $boot ;

but when calling ybin in directory /, the generated line in ofboot.b is

: bootmacos " Booting MacOS..." .printf 100 ms load-base release-load-area " 
/hd:7,\\:tbxi" $boot ;

For both versions the menu item for MacOS shows up on boot, but both do not 
work, 
because the open firmware path should start directly with "hd:7...", without 
anything else before. 


II) Some further observations, which might be related to the failure above:

II.a) If I use a full open firmware name, like 

macos=/pci@80000000/pci-bridge@d/pci-ata@1/@0/@0:7

then no menu item for MacOS is generated at all. 

II.b) If I use a device name, like 

macos=/dev/sda7

the generated line in ofboot.b is

: bootmacos " Booting MacOS..." .printf 100 ms load-base release-load-area " 
/pci@80000000/pci-bridge@d/pci-ata@1/@0/@0:7,\\:tbxi" $boot ;

This works - but not always:
with the new kernel in squeeze, the hard disks now are handled as scsi drives, 
and the naming in /dev is somewhat randomly, so after the next boot, the same
entry in yaboot.conf might fail.   


-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'oldstable'), (500, 'stable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.32-5-powerpc
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages yaboot depends on:
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib

Versions of packages yaboot recommends:
ii  hfsutils                      3.2.6-11   Tools for reading and writing Maci
ii  powerpc-utils                 1.1.3-24   Various utilities for Linux/PowerP

yaboot suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to