Bug#486505: /usr/sbin/grub-probe: grub-probe: Doesn't support i2o devices (/dev/i2o/hd[a-z][0-9]*)

Sven Mueller sven at debian.org
Mon Jun 16 14:04:50 UTC 2008


Package: grub-common
Version: 1.96+20080601-2
Severity: important
File: /usr/sbin/grub-probe
Tags: patch

This bug seems similar to #483858, with the slight difference that
support in utils/grub-mkdevicemap.c for /dev/i2o/hd* exists, but the
same support in utils/biosdisk.c is missing.

The patch should be very similar to the patch in the above bug report.

Result of my problem is the same as with #483858: I can't get
update-grub to work because grub-probe fails. It either reports a
missing entry in the device map or a duplicate entry (I can't find
a pattern here, it seems unpredictable which error gets reported. But
maybe I'm overlooking a difference between the versions in sid and
lenny).

There also seems to be a side effect of not correctly detecting the
device, which is sending as start-stop-unit command to the i2o device
(which devmapper also seems to do), while this command is not supported
by the i2o device.

I added a patch to this report which should fix this bug (at least, it
does so on my system).

regards,
Sven

-- System Information:
Debian Release: lenny/sid
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-common depends on:
ii  base-files                    4.0.4      Debian base system miscellaneous f
ii  libc6                         2.7-10     GNU C Library: Shared libraries

grub-common recommends no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2o.diff
Type: text/x-c
Size: 531 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20080616/31dda374/attachment.bin 


More information about the Pkg-grub-devel mailing list