Skip to contentSkip to conversation

2.4.20pre5 CONFIG_BLK_STATS breaks LVM tools

DISCUSSION Andreas Steinmetz 2 participants 2 messages Sep 5, 2002 – Sep 9, 2002

lore
Share & tools
lore
#0 lore raw

If CONFIG_BLK_STATS is enabled in 2.4.20pre5 this breaks at least the LVM tools. The symptom on a system running initrd to do vgscan/vgchange to be able to boot is that after

RAMDISK: Compressed image found at block 0
Freeing initrd memory: 734k freed
VFS: Mounted root (ext2 filesystem).

the system hangs with the CPU under load. It is difficult for me to investigate this further as both systems I do have available run a LVM/reiserfs only setup and thus I can't have a look at the layout of /proc/partitions in the CONFIG_BLK_STATS enabled page.

It would, however, be worth a word of warning in Configure.help that this option can break userspace tools that may be important for system boot and other system functions.

Signature · 2 lines
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH
#1 lore raw

Andreas,

this is a known issue and I am working on a patch to send to Marcelo.

Try removing the add_gendisk() call (~line 460) in drivers/md/lvm.c and retry as a workaround for now,

Quoted 28 lines · Andreas Steinmetz

If CONFIG_BLK_STATS is enabled in 2.4.20pre5 this breaks at least the LVM tools. The symptom on a system running initrd to do vgscan/vgchange to be able to boot is that after

RAMDISK: Compressed image found at block 0
Freeing initrd memory: 734k freed
VFS: Mounted root (ext2 filesystem).

the system hangs with the CPU under load. It is difficult for me to investigate this further as both systems I do have available run a LVM/reiserfs only setup and thus I can't have a look at the layout of /proc/partitions in the CONFIG_BLK_STATS enabled page.

It would, however, be worth a word of warning in Configure.help that this option can break userspace tools that may be important for system boot and other system functions.

Signature · 11 lines
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH




_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
Signature · 15 lines
Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
[email protected]                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-