Comment 4 for bug 15374

Revision history for this message
In , Eduard Bloch (edi-gmx) wrote : Re: Bug#304260: Fatal: LVM_GET_IOP_VERSION failed on /dev/lvm

#include <hallo.h>
* Steve Langasek [Sun, Apr 24 2005, 03:29:40AM]:
> Hi Eduard,
>
> I gather that you're using devfs here. Although it seems that mounting

That's correct.

> devfs gives me a system without /dev/lvm, nevertheless running lilo -t -v 3
> here on an all-LVM system doesn't give me the errors you describe. Can you
> reproduce this problem on your own system when running lilo -t -v 3, or does
> it only manifest when not in test mode?

It happens in test mode as well (attached).

> You comment in the bug report that this is grave because the bootloader is
> screwed up in the process. Did lilo actually overwrite the MBR, in spite of
> the LVM errors? Or was this error caused by the reshuffling of /boot files
> between the woody and sarge versions of lilo? lilo could run without the
> '|| true' on install to make the errors more apparent; I'm just not sure if
> this is the most appropriate fix.

This must be the reason, the files have been replaced but the boot block
has not been updated. The proper fix would be a roll-back function
(which we do not have yet in dpkg) or an upstream fix.

Next weekend, I could try to upgrade to kernel 2.6 and lvm2 and look
what happens then, but the issue is still there - a normal upgrade
from Woody failed silently and let the system in unbootable state.

Regards,
Eduard.

LILO version 22.6.1 (test mode), Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
Released 17-Nov-2004, and compiled at 14:09:52 on Feb 15 2005
Ubuntu

raid_setup returns offset = 00000000 ndisk = 0
 BIOS VolumeID Device
Reading boot sector from /dev/sda
Warning: Kernel & BIOS return differing head/sector geometries for device 0x80
    Kernel: 35044 cylinders, 64 heads, 32 sectors
      BIOS: 1024 cylinders, 255 heads, 63 sectors
Warning: Kernel & BIOS return differing head/sector geometries for device 0x81
    Kernel: 35044 cylinders, 64 heads, 32 sectors
      BIOS: 1024 cylinders, 255 heads, 63 sectors
pf_hard_disk_scan: ndevs=2
  0800 100F59DC /dev/scsi/host0/bus0/target0/lun0/disc
  0810 29014D44 /dev/scsi/host0/bus0/target1/lun0/disc
Resolve invalid VolumeIDs
Resolve duplicate VolumeIDs
  0800 100F59DC /dev/scsi/host0/bus0/target0/lun0/disc
  0810 29014D44 /dev/scsi/host0/bus0/target1/lun0/disc
device codes (user assigned pf) = 1
device codes (user assigned) = 1
device codes (BIOS assigned) = 3
device codes (canonical) = 3
Device 0x0800: BIOS drive 0x80, 255 heads, 4467 cylinders,
               63 sectors. Partition offset: 0 sectors.
Using Volume ID 100F59DC on bios 80
Fatal: LVM_GET_IOP_VERSION failed on /dev/lvm

--
<Gizmo> Nun, ich hab mal ne kleine Frage zu DNS und DHCP. Schaue da noch
 nicht so ganz durch.
<PerlRonin> Erst beim Buchstaben 'D' und schon Probleme? ;)