* [linux-lvm] trying to pvcreate
@ 2001-11-05 9:12 Fabiano Fantini Vitale
2001-11-07 7:47 ` Heinz J . Mauelshagen
0 siblings, 1 reply; 2+ messages in thread
From: Fabiano Fantini Vitale @ 2001-11-05 9:12 UTC (permalink / raw
To: linux-lvm
Hi,
when I try to perform a pvcreate a segmentation fault error
occur. I'm using kernel 2.4.12-BOOT, iop10 and lvm-1.0.1
thanks for any help
/* logs */
pvcreate /dev/hda3
<1> lvm_get_iop_version -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_get_iop_version -- AFTER ioctl ret: 0
<1> lvm_get_iop_version -- LEAVING with ret: 10
<1> lvm_lock -- CALLED
<22> lvm_check_special -- CALLED
<22> lvm_check_special -- LEAVING
<1> lvm_lock -- LEAVING with ret: 0
<1> pv_check_name -- CALLED with "/dev/hda3"
<22> lvm_check_chars -- CALLED with name: "/dev/hda3"
<22> lvm_check_chars -- LEAVING with ret: 0
<22> lvm_check_dev -- CALLED
<333> lvm_check_partitioned_dev -- CALLED
<4444> lvm_get_device_type called
<4444> lvm_get_device_type leaving with 0
<333> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<22> lvm_check_dev -- LEAVING with ret: 1
<1> pv_check_name -- LEAVING with ret: 0
<1> pv_get_size -- CALLED with /dev/hda3 and 0xbffffa48
<22> lvm_dir_cache -- CALLED
<333> lvm_add_dir_cache -- CALLED with /dev/hda
<4444> lvm_check_dev -- CALLED
<55555> lvm_check_partitioned_dev -- CALLED
<666666> lvm_get_device_type called
<666666> lvm_get_device_type leaving with 0
<55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<4444> lvm_check_dev -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING with ret: ADDED
<333> lvm_add_dir_cache -- CALLED with /dev/hda1
<4444> lvm_check_dev -- CALLED
<55555> lvm_check_partitioned_dev -- CALLED
<666666> lvm_get_device_type called
<666666> lvm_get_device_type leaving with 0
<55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<4444> lvm_check_dev -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING with ret: ADDED
<333> lvm_add_dir_cache -- CALLED with /dev/hda2
<4444> lvm_check_dev -- CALLED
<55555> lvm_check_partitioned_dev -- CALLED
<666666> lvm_get_device_type called
<666666> lvm_get_device_type leaving with 0
<55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<4444> lvm_check_dev -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING with ret: ADDED
<333> lvm_add_dir_cache -- CALLED with /dev/hda2
<4444> lvm_check_dev -- CALLED
<55555> lvm_check_partitioned_dev -- CALLED
<666666> lvm_get_device_type called
<666666> lvm_get_device_type leaving with 0
<55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<4444> lvm_check_dev -- LEAVING with ret: 1
<333> lvm_add_dir_cache -- LEAVING with ret: NOT ADDED
<22> lvm_dir_cache -- LEAVING with ret: 3
<22> lvm_dir_cache_find -- CALLED with /dev/hda3
<333> pv_check_name -- CALLED with "/dev/hda3"
<4444> lvm_check_chars -- CALLED with name: "/dev/hda3"
<4444> lvm_check_chars -- LEAVING with ret: 0
<4444> lvm_check_dev -- CALLED
<55555> lvm_check_partitioned_dev -- CALLED
<666666> lvm_get_device_type called
<666666> lvm_get_device_type leaving with 0
<55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<4444> lvm_check_dev -- LEAVING with ret: 1
<333> pv_check_name -- LEAVING with ret: 0
<333> lvm_dir_cache -- CALLED
<333> lvm_dir_cache -- LEAVING with ret: 3
<22> lvm_dir_cache_find -- LEAVING with entry: -1
<22> pv_get_dev_size -- CALLED with /dev/hda3 and 0xbffffa48
<22> pv_get_dev_size -- LEAVING with ret: 0
<1> pv_get_size -- LEAVING with ret: 0
<1> pv_create_kdev_t -- CALLED with "/dev/hda3"
<22> pv_check_name -- CALLED with "/dev/hda3"
<333> lvm_check_chars -- CALLED with name: "/dev/hda3"
<333> lvm_check_chars -- LEAVING with ret: 0
<333> lvm_check_dev -- CALLED
<4444> lvm_check_partitioned_dev -- CALLED
<55555> lvm_get_device_type called
<55555> lvm_get_device_type leaving with 0
<4444> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<333> lvm_check_dev -- LEAVING with ret: 1
<22> pv_check_name -- LEAVING with ret: 0
<1> pv_create_kdev_t -- LEAVING with ret: 303
<1> lvm_check_partitioned_dev -- CALLED
<22> lvm_get_device_type called
<22> lvm_get_device_type leaving with 0
<1> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<1> lvm_partition_count -- CALLED for 0x303
<22> lvm_get_device_type called
<22> lvm_get_device_type leaving with 0
<1> lvm_partition_count -- LEAVING with ret: 16
<1> lvm_dir_cache -- CALLED
<1> lvm_dir_cache -- LEAVING with ret: 3
<1> pv_read -- CALLED with /dev/hda3
<22> pv_check_name -- CALLED with "/dev/hda3"
<333> lvm_check_chars -- CALLED with name: "/dev/hda3"
<333> lvm_check_chars -- LEAVING with ret: 0
<333> lvm_check_dev -- CALLED
<4444> lvm_check_partitioned_dev -- CALLED
<55555> lvm_get_device_type called
<55555> lvm_get_device_type leaving with 0
<4444> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<333> lvm_check_dev -- LEAVING with ret: 1
<22> pv_check_name -- LEAVING with ret: 0
<22> pv_read_already_red -- CALLED with PV /dev/hda3
<22> pv_read_already_red -- LEAVING with ret: 0
<22> pv_flush -- CALLED to flush /dev/hda3
<333> pv_check_name -- CALLED with "/dev/hda3"
<4444> lvm_check_chars -- CALLED with name: "/dev/hda3"
<4444> lvm_check_chars -- LEAVING with ret: 0
<4444> lvm_check_dev -- CALLED
<55555> lvm_check_partitioned_dev -- CALLED
<666666> lvm_get_device_type called
<666666> lvm_get_device_type leaving with 0
<55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
<4444> lvm_check_dev -- LEAVING with ret: 1
<333> pv_check_name -- LEAVING with ret: 0
<22> pv_flush -- LEAVING with ret: 0
<1> pv_read -- going to read /dev/hda3
<1> pv_read -- LEAVING with ret: -282
<1> pv_check_active -- CALLED
Segmentation Fault
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] trying to pvcreate
2001-11-05 9:12 [linux-lvm] trying to pvcreate Fabiano Fantini Vitale
@ 2001-11-07 7:47 ` Heinz J . Mauelshagen
0 siblings, 0 replies; 2+ messages in thread
From: Heinz J . Mauelshagen @ 2001-11-07 7:47 UTC (permalink / raw
To: linux-lvm
Fabiano,
the debug output shows a read error on /dev/hda3 which is strange if it is
a valid device.
In case you have a 2.96 gcc compiler, you might suffer from its optimizer flaws.
If so, please try to compile LVM without optimization by changing '-O2'
to '-O0' in LVMs configure script, regenerate and reinstall.
Regards,
Heinz -- The LVM Guy --
On Mon, Nov 05, 2001 at 12:20:16PM -0200, Fabiano Fantini Vitale wrote:
> Hi,
>
> when I try to perform a pvcreate a segmentation fault error
> occur. I'm using kernel 2.4.12-BOOT, iop10 and lvm-1.0.1
> thanks for any help
>
> /* logs */
> pvcreate /dev/hda3
>
> <1> lvm_get_iop_version -- CALLED
> <22> lvm_check_special -- CALLED
> <22> lvm_check_special -- LEAVING
> <1> lvm_get_iop_version -- AFTER ioctl ret: 0
> <1> lvm_get_iop_version -- LEAVING with ret: 10
> <1> lvm_lock -- CALLED
> <22> lvm_check_special -- CALLED
> <22> lvm_check_special -- LEAVING
> <1> lvm_lock -- LEAVING with ret: 0
> <1> pv_check_name -- CALLED with "/dev/hda3"
> <22> lvm_check_chars -- CALLED with name: "/dev/hda3"
> <22> lvm_check_chars -- LEAVING with ret: 0
> <22> lvm_check_dev -- CALLED
> <333> lvm_check_partitioned_dev -- CALLED
> <4444> lvm_get_device_type called
> <4444> lvm_get_device_type leaving with 0
> <333> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
> <22> lvm_check_dev -- LEAVING with ret: 1
> <1> pv_check_name -- LEAVING with ret: 0
> <1> pv_get_size -- CALLED with /dev/hda3 and 0xbffffa48
> <22> lvm_dir_cache -- CALLED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda1
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda2
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: ADDED
> <333> lvm_add_dir_cache -- CALLED with /dev/hda2
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> lvm_add_dir_cache -- LEAVING with ret: NOT ADDED
> <22> lvm_dir_cache -- LEAVING with ret: 3
> <22> lvm_dir_cache_find -- CALLED with /dev/hda3
> <333> pv_check_name -- CALLED with "/dev/hda3"
> <4444> lvm_check_chars -- CALLED with name: "/dev/hda3"
> <4444> lvm_check_chars -- LEAVING with ret: 0
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> pv_check_name -- LEAVING with ret: 0
> <333> lvm_dir_cache -- CALLED
> <333> lvm_dir_cache -- LEAVING with ret: 3
> <22> lvm_dir_cache_find -- LEAVING with entry: -1
> <22> pv_get_dev_size -- CALLED with /dev/hda3 and 0xbffffa48
> <22> pv_get_dev_size -- LEAVING with ret: 0
> <1> pv_get_size -- LEAVING with ret: 0
> <1> pv_create_kdev_t -- CALLED with "/dev/hda3"
> <22> pv_check_name -- CALLED with "/dev/hda3"
> <333> lvm_check_chars -- CALLED with name: "/dev/hda3"
> <333> lvm_check_chars -- LEAVING with ret: 0
> <333> lvm_check_dev -- CALLED
> <4444> lvm_check_partitioned_dev -- CALLED
> <55555> lvm_get_device_type called
> <55555> lvm_get_device_type leaving with 0
> <4444> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
> <333> lvm_check_dev -- LEAVING with ret: 1
> <22> pv_check_name -- LEAVING with ret: 0
> <1> pv_create_kdev_t -- LEAVING with ret: 303
> <1> lvm_check_partitioned_dev -- CALLED
> <22> lvm_get_device_type called
> <22> lvm_get_device_type leaving with 0
> <1> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
> <1> lvm_partition_count -- CALLED for 0x303
> <22> lvm_get_device_type called
> <22> lvm_get_device_type leaving with 0
> <1> lvm_partition_count -- LEAVING with ret: 16
> <1> lvm_dir_cache -- CALLED
> <1> lvm_dir_cache -- LEAVING with ret: 3
> <1> pv_read -- CALLED with /dev/hda3
> <22> pv_check_name -- CALLED with "/dev/hda3"
> <333> lvm_check_chars -- CALLED with name: "/dev/hda3"
> <333> lvm_check_chars -- LEAVING with ret: 0
> <333> lvm_check_dev -- CALLED
> <4444> lvm_check_partitioned_dev -- CALLED
> <55555> lvm_get_device_type called
> <55555> lvm_get_device_type leaving with 0
> <4444> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
> <333> lvm_check_dev -- LEAVING with ret: 1
> <22> pv_check_name -- LEAVING with ret: 0
> <22> pv_read_already_red -- CALLED with PV /dev/hda3
> <22> pv_read_already_red -- LEAVING with ret: 0
> <22> pv_flush -- CALLED to flush /dev/hda3
> <333> pv_check_name -- CALLED with "/dev/hda3"
> <4444> lvm_check_chars -- CALLED with name: "/dev/hda3"
> <4444> lvm_check_chars -- LEAVING with ret: 0
> <4444> lvm_check_dev -- CALLED
> <55555> lvm_check_partitioned_dev -- CALLED
> <666666> lvm_get_device_type called
> <666666> lvm_get_device_type leaving with 0
> <55555> lvm_check_partitioned_dev -- LEAVING with ret: TRUE
> <4444> lvm_check_dev -- LEAVING with ret: 1
> <333> pv_check_name -- LEAVING with ret: 0
> <22> pv_flush -- LEAVING with ret: 0
> <1> pv_read -- going to read /dev/hda3
> <1> pv_read -- LEAVING with ret: -282
> <1> pv_check_active -- CALLED
> Segmentation Fault
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
*** 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
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-07 7:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-05 9:12 [linux-lvm] trying to pvcreate Fabiano Fantini Vitale
2001-11-07 7:47 ` Heinz J . Mauelshagen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.