<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4916.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am running into a problem with lvm and a 2.4.19
install. I have built a 2.4.19 box w/ lvm 1.1-rc2. When I run a
vgscan, it core dumps. When I run pvcreate on a lvm partition, I get a
warning message saying that I need to run it w/ -ff. Apparently it thinks
the partition is in use with an existing volume group. However, none are
defined / created. </FONT><FONT face=Arial size=2>The debug shows it working on
a VG - rootvg. However, that vg doesn't exist. At least not on this
install. It used to exist on the previous install. However, the
system still thinks it exists somehow. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here's the debug of the vgscan prior to
core:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><22> vg_read_with_pv_and_lv -- CALLED for
rootvg<BR><333> vg_check_name -- CALLED with VG: rootvg<BR><4444>
lvm_check_chars -- CALLED with name: "rootvg"<BR><4444> lvm_check_chars --
LEAVING with ret: 0<BR><333> vg_check_name -- LEAVING with ret:
0<BR><333> vg_read -- CALLED<BR><4444> vg_check_name -- CALLED with
VG: rootvg<BR><55555> lvm_check_chars -- CALLED with name:
"rootvg"<BR><55555> lvm_check_chars -- LEAVING with ret: 0<BR><4444>
vg_check_name -- LEAVING with ret: 0<BR><4444> pv_read_all_pv_of_vg --
CALLED with vg_name: "rootvg"<BR><55555> vg_check_name -- CALLED with VG:
rootvg<BR><666666> lvm_check_chars -- CALLED with name:
"rootvg"<BR><666666> lvm_check_chars -- LEAVING with ret:
0<BR><55555> vg_check_name -- LEAVING with ret: 0<BR><4444>
pv_read_all_pv_of_vg -- LEAVING with ret: 0<BR><4444> vg_read_from_pv --
CALLED<BR><55555> pv_check_name -- CALLED with
"/dev/sdb2"<BR><666666> lvm_check_chars -- CALLED with name:
"/dev/sdb2"<BR><666666> lvm_check_chars -- LEAVING with ret:
0<BR><55555> pv_check_name -- LEAVING with ret: 0<BR><55555> pv_read
-- CALLED with /dev/sdb2<BR><666666> pv_check_name -- CALLED with
"/dev/sdb2"<BR><7777777> lvm_check_chars -- CALLED with name:
"/dev/sdb2"<BR><7777777> lvm_check_chars -- LEAVING with ret:
0<BR><666666> pv_check_name -- LEAVING with ret: 0<BR><55555>
pv_read -- going to read /dev/sdb2<BR><666666> lvm_malloc -- CALLED with
size 468<BR><7777777> lvm_realloc -- CALLED with pointer 0, size
468<BR><7777777> lvm_realloc -- LEAVING with pointer
81538F0<BR><666666> lvm_malloc -- LEAVING with pointer
81538F0<BR><666666> lvm_check_dev -- CALLED<BR><7777777>
lvm_check_partitioned_dev -- CALLED<BR><88888888> lvm_get_device_type
called<BR><88888888> lvm_get_device_type leaving with 1<BR><7777777>
lvm_check_partitioned_dev -- LEAVING with ret: TRUE<BR><666666>
lvm_check_dev -- LEAVING with ret: 1<BR><666666> pv_copy_from_disk --
CALLED<BR><7777777> lvm_malloc -- CALLED with size 516<BR><88888888>
lvm_realloc -- CALLED with pointer 0, size 516<BR><88888888> lvm_realloc
-- LEAVING with pointer 8153AC8<BR><7777777> lvm_malloc -- LEAVING with
pointer 8153AC8<BR><666666> pv_copy_from_disk -- LEAVING ret =
0x8153ac8<BR><666666> lvm_free -- CALLED with pointer
81538F0<BR><666666> lvm_free -- LEAVING<BR><666666>
pv_create_name_from_kdev_t -- CALLED with 8:18<BR><7777777> lvm_check_dev
-- CALLED<BR><88888888> lvm_check_partitioned_dev --
CALLED<BR><999999999> lvm_get_device_type called<BR><999999999>
lvm_get_device_type leaving with 1<BR><88888888> lvm_check_partitioned_dev
-- LEAVING with ret: TRUE<BR><7777777> lvm_check_dev -- LEAVING with ret:
1<BR><7777777> lvm_dir_cache -- CALLED<BR><7777777> lvm_dir_cache --
LEAVING with ret: 47<BR><666666> pv_create_name_from_kdev_t -- LEAVING
with dev_name: /dev/sdb2<BR><666666> system_id_check_exported --
CALLED<BR><666666> system_id_check_exported -- LEAVING with ret:
0<BR><55555> pv_read -- LEAVING with ret: 0<BR><55555> lvm_malloc --
CALLED with size 188<BR><666666> lvm_realloc -- CALLED with pointer 0,
size 188<BR><666666> lvm_realloc -- LEAVING with pointer
8153CD0<BR><55555> lvm_malloc -- LEAVING with pointer
8153CD0<BR><55555> vg_copy_from_disk -- CALLED<BR><666666>
lvm_malloc -- CALLED with size 2484<BR><7777777> lvm_realloc -- CALLED
with pointer 0, size 2484<BR><7777777> lvm_realloc -- LEAVING with pointer
8153D90<BR><666666> lvm_malloc -- LEAVING with pointer
8153D90<BR>Segmentation fault (core dumped)<BR></FONT></DIV></BODY></HTML>