Bug#533898: grub-mkdevicemap gives wrong alias for device on powerpc

Jörg Sommer joerg at alea.gnuu.de
Sun Jun 21 12:01:19 UTC 2009


Package: grub-common
Version: 1.96+20090603-2
Severity: normal

Hi,

grub-probe reports hd0 as device for booting, but the bootload doesn't
find this device. It has to be hd without the trailing zero.

# grub-probe --device /dev/hda4 --target=drive
(hd0,4)

% cat /boot/grub/device.map
(hd0)	/dev/hda

The name used by OpenFirmware:

% ofpathname -a /dev/hda
hd

The full path:

% ofpathname /dev/hda
/pci at f4000000/ata-6 at d/disk at 0

Similar the cd:

% ofpathname -a /dev/hdc
cd
ide0
%  ofpathname /dev/hdc
/pci at f2000000/mac-io at 17/ata-3 at 20000/disk at 0

% cat /proc/cpuinfo
processor	: 0
cpu		: 7455, altivec supported
clock		: 606.000000MHz
revision	: 3.3 (pvr 8001 0303)
bogomips	: 36.73
timebase	: 18432000
platform	: PowerMac
model		: PowerBook6,3
machine		: PowerBook6,3
motherboard	: PowerBook6,3 MacRISC3 Power Macintosh
detected as	: 287 (iBook G4)
pmac flags	: 0000001b
L2 cache	: 256K unified
pmac-generation	: NewWorld
Memory		: 640 MB


-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: powerpc (ppc)

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

Versions of packages grub-common depends on:
ii  base-files             5.0.0             Debian base system miscellaneous f
ii  libc6                  2.9-16            GNU C Library: Shared libraries
ii  libfreetype6           2.3.9-5           FreeType 2 font engine, shared lib
ii  libncurses5            5.7+20090523-1    shared libraries for terminal hand
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

grub-common recommends no packages.

grub-common suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature http://en.wikipedia.org/wiki/OpenPGP
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090621/c5edbb79/attachment.pgp>


More information about the Pkg-grub-devel mailing list