Bug#478004: Acknowledgement (grub-probe finds problematic partition device)

Lupe Christoph lupe at lupe-christoph.de
Tue Jun 17 00:25:55 UTC 2008


On Monday, 2008-06-16 at 22:50:06 +0200, Robert Millan wrote:
> On Sat, Jun 07, 2008 at 11:39:06AM +0200, Lupe Christoph wrote:
> > On Sunday, 2008-04-27 at 13:33:45 +0200, Robert Millan wrote:

> > > Please update grub-common to 1.96+20080426-1 or later and try again.

> > Sorry, I forgot to do that. Here is the result for 1.96+20080601-2:

> > # grub-probe --target=drive /boot
> > grub-probe: error: Cannot find a GRUB drive for /dev/scsi/sdh5-dfb26000c0i2l0p1.  Check your device.map.

> What kind of device is this?  Is it an alias path for one of the devices you
> already have in device.map?

This is an Adaptec 3200S using the dpt_i2o driver (I could not get it to
work with the i2o drivers when I installed it). Yes, /dev/sdd is in
device.map:
(hd3)	/dev/sdd

> > # ls -l /dev/scsi/host5/bus0/target2/lun0/part1 /dev/scsi/sdh5-dfb26000c0i2l0p1 /dev/sdd1
> > brw-rw---- 1 root disk 8, 49 2008-06-05 18:01 /dev/scsi/host5/bus0/target2/lun0/part1
> > brw-rw---- 1 root disk 8, 49 2008-06-05 18:01 /dev/scsi/sdh5-dfb26000c0i2l0p1
> > lrwxrwxrwx 1 root root    34 2008-06-05 18:01 /dev/sdd1 -> scsi/host5/bus0/target2/lun0/part1

> Ok, so /dev/sdd and /dev/scsi/host5/bus0/target2/lun0/disc are the same thing.

Right:

lrwxrwxrwx 1 root root 33 2008-06-07 14:40 /dev/sdd -> scsi/host5/bus0/target2/lun0/disc

> What about the rest?

the rest of what?

> Also, how did you get those device names.  devfs?

No, udev:

udev on /dev type tmpfs (rw,mode=0755)

But there is no udev rule for dpt_i2o, so it must be some driver that
is doing it. I presume it is scsi_mod that is doing it. I tried finding
snippets of sdh5-dfb26000c0i2l0p1 in the driver binaries but failed.

I must admit that I don't understand how udev is deriving the device
names, so I don't know where to look.

Lupe Christoph
-- 
| The whole aim of practical politics is to keep the populace alarmed    |
| (and hence clamorous to be led to safety) by menacing it with an       |
| endless series of hobgoblins, all of them imaginary.                   |
| H. L. Mencken, "In Defense of Women", 1918                             |





More information about the Pkg-grub-devel mailing list