From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] trying to pvcreate
Date: Wed Nov 7 07:47:02 2001 [thread overview]
Message-ID: <20011107144324.C6920@sistina.com> (raw)
In-Reply-To: <20011105142032.3919438C40@perninha.conectiva.com.br>; from ffv@conectiva.com.br on Mon, Nov 05, 2001 at 12:20:16PM -0200
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2001-11-07 7:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-05 9:12 [linux-lvm] trying to pvcreate Fabiano Fantini Vitale
2001-11-07 7:47 ` Heinz J . Mauelshagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011107144324.C6920@sistina.com \
--to=mauelshagen@sistina.com \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.