Message-Id: <email address hidden>
Date: Tue, 12 Apr 2005 01:29:58 +0200
From: Eduard Bloch <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: Fatal: LVM_GET_IOP_VERSION failed on /dev/lvm
Package: lilo
Version: 1:22.6.1-6
Severity: grave
Hello, trying to update to the Ubuntu (also tried with Sid version),
lilo fails on two points where the Woody version worked just fine.
The first is a minor issue: for (bogus) redundancy reasons, two harddisks were
declared in lilo.conf and mapped to bios=0x80. However, the new version just
forbids that for no reason. This problem is already reported in another bug
report.
Second, and the most annoying: it fails to work with /boot on a
LVM-over-Raid1. Woody version (downgraded) works 1a, but Ubuntu and Sid
versions exit with the errors listed below. It should also be mentioned that
there is no /dev/lvm, the group is called sys and the root volume is
/dev/sys/boot, mounted as /boot.
And the final problem is: the upgrade does NOT FAIL (thus the severity). Yes,
the boot loader has been fscked up and I did not notice it before the next
boot and it was not fun to get a recent KNOPPIX for this box :(
LILO version 22.6.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
Released 17-Nov-2004, and compiled at 22:18:56 on Mar 12 2005
Debian GNU/Linux
raid_setup returns offset = 00000000 ndisk = 0
BIOS VolumeID Device
Reading boot sector from /dev/sda
pf: dev=0800 id=100F59DC name=/dev/scsi/host0/bus0/target0/lun0/disc
bios_dev: device 0800
bios_dev: masked device 0800, which is /dev/scsi/host0/bus0/target0/lun0/disc
bios_dev: geometry check found 0 matches
bios_dev: (0x81) vol-ID=29014D44 *PT=08078E28
bios_dev: (0x80) vol-ID=100F59DC *PT=08078DE0
bios_dev: PT match found 2 matches (0x80)
bios_dev: S/N match found 1 match (0x80)
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
pf: dev=0810 id=29014D44 name=/dev/scsi/host0/bus0/target1/lun0/disc
bios_dev: device 0810
bios_dev: masked device 0810, which is /dev/scsi/host0/bus0/target1/lun0/disc
bios_dev: geometry check found 0 matches
bios_dev: (0x81) vol-ID=29014D44 *PT=08078E28
bios_dev: (0x80) vol-ID=100F59DC *PT=08078DE0
bios_dev: PT match found 2 matches (0x80)
bios_dev: S/N match found 1 match (0x81)
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
bios_dev: device 0800
bios_dev: masked device 0800, which is /dev/scsi/host0/bus0/target0/lun0/disc
bios_dev: geometry check found 0 matches
bios_dev: (0x81) vol-ID=29014D44 *PT=08078E28
bios_dev: (0x80) vol-ID=100F59DC *PT=08078DE0
bios_dev: PT match found 2 matches (0x80)
bios_dev: S/N match found 1 match (0x80)
Device 0x0800: BIOS drive 0x80, 255 heads, 4467 cylinders,
63 sectors. Partition offset: 0 sectors.
registering bios=0x80 device=0x0800
Using Volume ID 100F59DC on bios 80
Fatal: LVM_GET_IOP_VERSION failed on /dev/lvm
Compare that with Woody version (with -v3):
LILO version 22.2, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2001 John Coffman
Released 05-Feb-2002 and compiled at 20:57:26 on Apr 13 2002.
MAX_IMAGES = 27
raid_setup returns offset = 00000000
Reading boot sector from /dev/sda
Merging with /boot/boot-menu.b
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
Secondary loader: 15 sectors.
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
Password SHS-160 = E7E79344 78AF6876 3147B963 0194D43F B8C4E0FE
Boot image: /vmlinuz -> boot/vmlinuz-2.4.30
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
Setup length is 10 sectors.
Mapped 2502 sectors.
Mapping RAM disk /boot/initrd-lvm.gz -> initrd-lvm-2.4.19.gz
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
RAM disk: 1966 sectors.
Added Linux *
<dev=0xe0,hd=237,cyl=195,sct=80>
"ro root=3a03"
Password SHS-160 = E7E79344 78AF6876 3147B963 0194D43F B8C4E0FE
Boot image: /vmlinuz.old -> boot/vmlinuz-2.4.29
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
Setup length is 10 sectors.
Mapped 2480 sectors.
Mapping RAM disk /boot/initrd-lvm.gz -> initrd-lvm-2.4.19.gz
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
RAM disk: 1966 sectors.
Added LinuxOLD
<dev=0xe0,hd=237,cyl=195,sct=127>
"ro root=3a03"
Skipping /boot/vmlinuz-2.4.19
Password SHS-160 = E7E79344 78AF6876 3147B963 0194D43F B8C4E0FE
Boot image: /boot/vmlinuz-2.6.0-test9
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
Setup length is 10 sectors.
Mapped 2874 sectors.
Mapping RAM disk /boot/initrd.rescue
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
RAM disk: 2880 sectors.
Added 2.6er
<dev=0xe0,hd=237,cyl=195,sct=182>
"root=3a03"
Versions of packages lilo depends on:
ii debconf 1.4.47 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libdevmapper1.01 2:1.01.00-4 The Linux Kernel Device Mapper use
Message-Id: <email address hidden>
Date: Tue, 12 Apr 2005 01:29:58 +0200
From: Eduard Bloch <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: Fatal: LVM_GET_IOP_VERSION failed on /dev/lvm
Package: lilo
Version: 1:22.6.1-6
Severity: grave
Hello, trying to update to the Ubuntu (also tried with Sid version),
lilo fails on two points where the Woody version worked just fine.
The first is a minor issue: for (bogus) redundancy reasons, two harddisks were
declared in lilo.conf and mapped to bios=0x80. However, the new version just
forbids that for no reason. This problem is already reported in another bug
report.
Second, and the most annoying: it fails to work with /boot on a
LVM-over-Raid1. Woody version (downgraded) works 1a, but Ubuntu and Sid
versions exit with the errors listed below. It should also be mentioned that
there is no /dev/lvm, the group is called sys and the root volume is
/dev/sys/boot, mounted as /boot.
And the final problem is: the upgrade does NOT FAIL (thus the severity). Yes,
the boot loader has been fscked up and I did not notice it before the next
boot and it was not fun to get a recent KNOPPIX for this box :(
LILO version 22.6.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
Released 17-Nov-2004, and compiled at 22:18:56 on Mar 12 2005
Debian GNU/Linux
raid_setup returns offset = 00000000 ndisk = 0 scsi/host0/ bus0/target0/ lun0/disc host0/bus0/ target0/ lun0/disc scsi/host0/ bus0/target1/ lun0/disc host0/bus0/ target1/ lun0/disc host0/bus0/ target0/ lun0/disc host0/bus0/ target1/ lun0/disc host0/bus0/ target0/ lun0/disc host0/bus0/ target1/ lun0/disc host0/bus0/ target0/ lun0/disc
BIOS VolumeID Device
Reading boot sector from /dev/sda
pf: dev=0800 id=100F59DC name=/dev/
bios_dev: device 0800
bios_dev: masked device 0800, which is /dev/scsi/
bios_dev: geometry check found 0 matches
bios_dev: (0x81) vol-ID=29014D44 *PT=08078E28
bios_dev: (0x80) vol-ID=100F59DC *PT=08078DE0
bios_dev: PT match found 2 matches (0x80)
bios_dev: S/N match found 1 match (0x80)
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
pf: dev=0810 id=29014D44 name=/dev/
bios_dev: device 0810
bios_dev: masked device 0810, which is /dev/scsi/
bios_dev: geometry check found 0 matches
bios_dev: (0x81) vol-ID=29014D44 *PT=08078E28
bios_dev: (0x80) vol-ID=100F59DC *PT=08078DE0
bios_dev: PT match found 2 matches (0x80)
bios_dev: S/N match found 1 match (0x81)
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/
0810 29014D44 /dev/scsi/
Resolve invalid VolumeIDs
Resolve duplicate VolumeIDs
0800 100F59DC /dev/scsi/
0810 29014D44 /dev/scsi/
device codes (user assigned pf) = 1
device codes (user assigned) = 1
device codes (BIOS assigned) = 3
device codes (canonical) = 3
bios_dev: device 0800
bios_dev: masked device 0800, which is /dev/scsi/
bios_dev: geometry check found 0 matches
bios_dev: (0x81) vol-ID=29014D44 *PT=08078E28
bios_dev: (0x80) vol-ID=100F59DC *PT=08078DE0
bios_dev: PT match found 2 matches (0x80)
bios_dev: S/N match found 1 match (0x80)
Device 0x0800: BIOS drive 0x80, 255 heads, 4467 cylinders,
63 sectors. Partition offset: 0 sectors.
registering bios=0x80 device=0x0800
Using Volume ID 100F59DC on bios 80
Fatal: LVM_GET_IOP_VERSION failed on /dev/lvm
Compare that with Woody version (with -v3):
LILO version 22.2, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2001 John Coffman
Released 05-Feb-2002 and compiled at 20:57:26 on Apr 13 2002.
MAX_IMAGES = 27
raid_setup returns offset = 00000000 lvm-2.4. 19.gz 0xe0,hd= 237,cyl= 195,sct= 80>
Reading boot sector from /dev/sda
Merging with /boot/boot-menu.b
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
Secondary loader: 15 sectors.
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
Password SHS-160 = E7E79344 78AF6876 3147B963 0194D43F B8C4E0FE
Boot image: /vmlinuz -> boot/vmlinuz-2.4.30
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
Setup length is 10 sectors.
Mapped 2502 sectors.
Mapping RAM disk /boot/initrd-lvm.gz -> initrd-
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
RAM disk: 1966 sectors.
Added Linux *
<dev=
"ro root=3a03"
Password SHS-160 = E7E79344 78AF6876 3147B963 0194D43F B8C4E0FE lvm-2.4. 19.gz 0xe0,hd= 237,cyl= 195,sct= 127>
Boot image: /vmlinuz.old -> boot/vmlinuz-2.4.29
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
Setup length is 10 sectors.
Mapped 2480 sectors.
Mapping RAM disk /boot/initrd-lvm.gz -> initrd-
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
RAM disk: 1966 sectors.
Added LinuxOLD
<dev=
"ro root=3a03"
Skipping /boot/vmlinuz- 2.4.19 2.6.0-test9 0xe0,hd= 237,cyl= 195,sct= 182>
Password SHS-160 = E7E79344 78AF6876 3147B963 0194D43F B8C4E0FE
Boot image: /boot/vmlinuz-
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
Setup length is 10 sectors.
Mapped 2874 sectors.
Mapping RAM disk /boot/initrd.rescue
bios_dev: device 0801
bios_dev: masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: PT match found 1 match (0x80)
Device 0x0801: BIOS drive 0x80, 64 heads, 35044 cylinders,
32 sectors. Partition offset: 32 sectors.
RAM disk: 2880 sectors.
Added 2.6er
<dev=
"root=3a03"
/boot/boot.0800 exists - no backup copy made.
Map file size: 82432 bytes.
Writing boot sector.
MfG,
Eduard.
-- System Information: de_DE.UTF- 8 (charmap=UTF-8)
Debian Release: 3.1
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.5
Locale: LANG=de_DE.UTF-8, LC_CTYPE=
Versions of packages lilo depends on:
ii debconf 1.4.47 Debian configuration management sy
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libdevmapper1.01 2:1.01.00-4 The Linux Kernel Device Mapper use
-- debconf information:
* lilo/runme: = false
lilo/new-config:
lilo/link2:
lilo/bad_bitmap:
* lilo/install-note:
lilo/upgrade:
* lilo/link1:
* lilo/config:
* lilo/old-config: