From: Chris Anderson <chris@alwan.com>
To: Heinz Mauelshagen <mauelsha@ez-darmstadt.telekom.de>
Cc: "linux-lvm@msede.com" <linux-lvm@msede.com>
Subject: Re: [linux-lvm] Trouble 2.2.14 setup - unresolved symbol lvm_map_ptr (My first time)
Date: Sun, 30 Jan 2000 09:49:25 -0600 [thread overview]
Message-ID: <38945D85.256215BF@alwan.com> (raw)
In-Reply-To: 200001301356.OAA06686@u9etz.ez-darmstadt.telekom.de
[-- Attachment #1: Type: text/plain, Size: 3290 bytes --]
Heinz Mauelshagen wrote:
> > Heinz Mauelshagen wrote:
> >
> > > > Heinz Mauelshagen wrote:
> > > >
> > > > > Please have a look at the BUGS file on the <ftp://linux.msede.com/lvm/v0.8>
> > > > > as well. The fixes in there should help.
> > > >
> > > > Thanks. I just found that right before this email.
> > >
> > > Good.
> > >
> > > >
> > > > Not that this is a big problem but maybe a little bug:
> > > >
> > > > $ vgdisplay -A
> > > > Segmentation fault (core dumped)
> >
> > $ /sbin/vgdisplay -dA
> > lvm_check_kernel_lvmtab_consistency -- CALLED
> > vg_check_active_all_vg -- CALLED
> > vg_status_get_count -- CALLED
> > vg_status_get_count -- LEAVING with ret: 0 and count: 1
> > vg_status_get_namelist -- CALLED
> > vg_status_get_namelist -- LEAVING
> > vg_check_active_all_vg -- LEAVING
> > lvm_tab_vg_check_exist_all_vg -- CALLED
> > lvm_tab_read -- CALLED
> > lvm_tab_read -- LEAVING with ret: 0 data: 804B740 size: 8
> > lvm_tab_vg_check_exist_all_vg -- LEAVING with ret: 0
> > lvm_check_kernel_lvmtab_consistency -- LEAVING with ret: 1
> > lvm_get_iop_version -- CALLED
> > lvm_get_iop_version -- AFTER ioctl ret: 0
> > lvm_get_iop_version -- LEAVING with ret: 0
> > vg_check_active_all_vg -- CALLED
> > vg_status_get_count -- CALLED
> > vg_status_get_count -- LEAVING with ret: 0 and count: 1
> > vg_status_get_namelist -- CALLED
> > vg_status_get_namelist -- LEAVING
> > vg_check_active_all_vg -- LEAVING
> > vg_check_name -- CALLED
> > vg_check_name -- vg_name: "main_vg"
> > lvm_check_chars -- CALLED
> > lvm_check_chars -- LEAVING
> > vg_check_name -- LEAVING with ret: 0
> > lvm_tab_vg_check_exist -- CALLED with vg_name: "main_vg"
> > vg_check_name -- CALLED
> > vg_check_name -- vg_name: "main_vg"
> > lvm_check_chars -- CALLED
> > lvm_check_chars -- LEAVING
> > vg_check_name -- LEAVING with ret: 0
> > lvm_tab_read -- CALLED
> > Segmentation fault
> >
>
> <SNIP>
>
> Would you please be so kind as to change "free ( data);" to
>
> if ( data != NULL) {
> free ( data);
> data = NULL;
> }
Only found one of these in lvm_tab_vg_check_exist.c
But it cores in the lvm_tab_read.c function at the else if
around line 70 (not sure because of my debug code)
The below code is the problem.
else if ( ( buffer = malloc ( stat_b.st_size)) == NULL) {
ret = -LVM_ELVM_TAB_READ_MALLOC;
I placed debug statements in it to see this.
Note that stat_b.st_size = 8
I hope this helps. I do not know enough (yet) about the code to know what buffer is
and why it is setup this way.
>
>
> and recompile/retry.
>
> Heinz
> --
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> Systemmanagement CS-TS T-Nova
> Entwicklungszentrum Darmstadt
> Heinz Mauelshagen Otto-Roehm-Strasse 71c
> Senior Systems Engineer Postfach 10 05 41
> 64205 Darmstadt
> mge@EZ-Darmstadt.Telekom.de Germany
> +49 6151 886-425
> FAX-386
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 2550 bytes --]
next prev parent reply other threads:[~2000-01-30 15:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-29 20:24 [linux-lvm] Trouble 2.2.14 setup - unresolved symbol lvm_map_ptr (My first time) Michael Marxmeier
2000-01-30 0:26 ` Chris Anderson
2000-01-30 0:32 ` Heinz Mauelshagen
2000-01-30 1:07 ` Chris Anderson
2000-01-30 1:51 ` Heinz Mauelshagen
2000-01-30 2:32 ` Chris Anderson
2000-01-30 13:56 ` Heinz Mauelshagen
2000-01-30 15:49 ` Chris Anderson [this message]
2000-01-30 18:13 ` Heinz Mauelshagen
2000-01-30 19:44 ` Michael Marxmeier
2000-01-30 20:57 ` Andi Kleen
2000-01-30 21:29 ` Chris Anderson
2000-01-30 21:39 ` Michael Marxmeier
2000-01-30 21:51 ` [linux-lvm] Trouble 2.2.14 setup " Chris Anderson
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=38945D85.256215BF@alwan.com \
--to=chris@alwan.com \
--cc=linux-lvm@msede.com \
--cc=mauelsha@ez-darmstadt.telekom.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox