Loïc Minier wrote:
[...]
>  Could you send a lilo run in verbose mode and your lilo.conf to the
>  bug?  A "dmsetup ls" would be nice as well.

Ok, so here are lilo.conf, dmsetup ls, and some lilo output:
- lilo-t-v.bad
- lilo-t-v5.bad
- lilo-t-v.ok

Cheers
 Harry
boot=/dev/sda3
root=/dev/mapper/vg0-lv1
install=menu
map=/boot/map
delay=40
prompt
timeout=40
default=Linux

image=/vmlinuz
        label=Linux
        read-only
        append="lpj=10000000"
        initrd=/initrd.img

image=/vmlinuz.old
        label=LinuxOLD
        read-only
        optional
        initrd=/initrd.img.old
vg0-lv5 (254, 5)
vg0-lv4 (254, 4)
vg0-lv3 (254, 3)
vg0-lv2 (254, 2)
vg0-lv1 (254, 1)
vg0-lv0 (254, 0)
cswap   (254, 6)
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 15:50:43 on Nov 17 2006
Debian GNU/Linux

Warning: LBA32 addressing assumed
Reading boot sector from /dev/sda3
device-mapper: table ioctl failed: No such device or address
Fatal: device-mapper: dm_task_run(DM_DEVICE_TABLE) failed
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 15:50:43 on Nov 17 2006
Debian GNU/Linux

Warning: LBA32 addressing assumed
raid_setup: dev=000C  rdev=0803
raid_setup returns offset = 00000000  ndisk = 0
 BIOS   VolumeID   Device
Reading boot sector from /dev/sda3
geo_get: device 0803, all=1
pf_hard_disk_scan: (8,0) /dev/sda
pf_hard_disk_scan: (8,1) /dev/sda1
lookup_dev:  number=0800
lookup_dev:  number=0800
pf:  dev=0800  id=06647869  name=/dev/sda
geo_query_dev: device=0800
lookup_dev:  number=0800
lookup_dev:  number=0300
exit geo_query_dev
bios_dev:  device 0800
lookup_dev:  number=0800
bios_dev:  masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: (0x80)  vol-ID=06647869  *PT=080770BC
bios_dev: PT match found 1 match (0x80)
pf_hard_disk_scan: (8,2) /dev/sda2
pf_hard_disk_scan: (8,3) /dev/sda3
pf_hard_disk_scan: (8,4) /dev/sda4
pf_hard_disk_scan: (254,0) /dev/dm-0
Caching device /dev/dm-0 (0xFE00)
pf_hard_disk_scan: (254,1) /dev/dm-1
Caching device /dev/dm-1 (0xFE01)
pf_hard_disk_scan: (254,2) /dev/dm-2
Caching device /dev/dm-2 (0xFE02)
pf_hard_disk_scan: (254,3) /dev/dm-3
Caching device /dev/dm-3 (0xFE03)
pf_hard_disk_scan: (254,4) /dev/dm-4
Caching device /dev/dm-4 (0xFE04)
pf_hard_disk_scan: (254,5) /dev/dm-5
Caching device /dev/dm-5 (0xFE05)
pf_hard_disk_scan: (254,6) /dev/dm-6
Caching device /dev/dm-6 (0xFE06)
  0800  06647869  /dev/sda
pf_hard_disk_scan: ndevs=1
  0800  06647869  /dev/sda
Resolve invalid VolumeIDs
Resolve duplicate VolumeIDs
  0800  06647869  /dev/sda
device codes (user assigned pf) = 0
device codes (user assigned) = 0
device codes (BIOS assigned) = 1
device codes (canonical) = 1
geo_query_dev: device=0803
lookup_dev:  number=0803
exit geo_query_dev
bios_dev:  device 0803
lookup_dev:  number=0800
bios_dev:  masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: (0x80)  vol-ID=06647869  *PT=080770BC
bios_dev: PT match found 1 match (0x80)
Device 0x0803: BIOS drive 0x80, 255 heads, 9729 cylinders,
               63 sectors. Partition offset: 51003432 sectors.
registering bios=0x80  device=0x0803
Using Volume ID 06647869 on bios 80
part_verify:  dev_nr=0803, type=1
geo_get: device 0800, all=1
geo_query_dev: device=0800
lookup_dev:  number=0800
exit geo_query_dev
bios_dev:  device 0800
lookup_dev:  number=0800
bios_dev:  masked device 0800, which is /dev/sda
bios_dev: geometry check found 0 matches
bios_dev: (0x80)  vol-ID=06647869  *PT=080770BC
bios_dev: PT match found 1 match (0x80)
Device 0x0800: BIOS drive 0x80, 255 heads, 9729 cylinders,
               63 sectors. Partition offset: 0 sectors.
registering bios=0x80  device=0x0800
Using Volume ID 06647869 on bios 80
lookup_dev:  number=0800
part_verify:  part#=3
lookup_dev:  number=FE01
device-mapper: table ioctl failed: No such device or address
Fatal: device-mapper: dm_task_run(DM_DEVICE_TABLE) failed
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 15:50:43 on Nov 17 2006
Debian GNU/Linux

Warning: LBA32 addressing assumed
Reading boot sector from /dev/sda3
Warning: '/proc/partitions' does not match '/dev' directory structure.
    Name change: '/dev/dm-0' -> '/dev/.static/dev/mapper/vg0-lv0'
    The kernel was compiled without DEVFS, but the '/dev' directory structure
        implements the DEVFS filesystem.
    Name change: '/dev/dm-1' -> '/dev/.static/dev/mapper/vg0-lv1'
    Name change: '/dev/dm-2' -> '/dev/.static/dev/mapper/vg0-lv2'
    Name change: '/dev/dm-3' -> '/dev/.static/dev/mapper/vg0-lv3'
    Name change: '/dev/dm-4' -> '/dev/.static/dev/mapper/vg0-lv4'
    Name change: '/dev/dm-5' -> '/dev/.static/dev/mapper/vg0-lv5'
    Name change: '/dev/dm-6' -> '/dev/mapper/cswap'
Using MENU secondary loader
Calling map_insert_data

Boot image: /vmlinuz -> boot/vmlinuz-2.6.18-rc7-686
Mapping RAM disk /initrd.img -> boot/initrd.img-2.6.18-rc7-686
Added Linux *

Boot image: /vmlinuz.old -> boot/vmlinuz-2.6.18-rc6-686
Mapping RAM disk /initrd.img.old -> boot/initrd.img-2.6.18-rc6-686
Added LinuxOLD

The boot sector and the map file have *NOT* been altered.

Reply via email to