* [linux-lvm] 1.0.1-rc4 and kernel 2.4.14
@ 2001-11-13 16:08 Darin Perusich
2001-11-13 16:14 ` Luca Berra
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Darin Perusich @ 2001-11-13 16:08 UTC (permalink / raw)
To: linux-lvm
hello all,
i'm setting up LVM on a redhat 7.1 system with kernel 2.4.14. i'm able
to use pvcreate to setup either disks, /dev/sdb /dev/sdc or partitions,
/dev/sdb1 /dev/sdc1. vgcreate successfully creates the group and
activetes the volumes. when i do just about anything else it dumps core.
i'm running the command "lvcreate -L5G -ntestlv test", or "vgextend test
/dev/sdd" core dump. any of the *display, or vgremove commands run
without problem.
i've pretty much been following the how-to as i test LVM. i've compiled
lvm into the kernel, i'm not running it as a module. moving to a older
version of the kernel is not a problem, i just grap 2.4.14 since it's
the latest and the versions above 2.4.9 do not need
linux-2.4.*-VFS-lock.patch, all the filesystems on this machine are
reiserfs, except /boot. the box itself is an hp lp2000r, 2x933mhz chips,
2Gb ram, 4x18gb sca disks.
any pointers.
--
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper@cognigencorp.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] 1.0.1-rc4 and kernel 2.4.14
2001-11-13 16:08 [linux-lvm] 1.0.1-rc4 and kernel 2.4.14 Darin Perusich
@ 2001-11-13 16:14 ` Luca Berra
2001-11-14 7:28 ` Darin Perusich
2001-11-13 16:16 ` [linux-lvm] 1.0.1-rc4 and kernel 2.4.14 Mitchell D. Miller
2001-11-14 13:26 ` Jim Cromie
2 siblings, 1 reply; 6+ messages in thread
From: Luca Berra @ 2001-11-13 16:14 UTC (permalink / raw)
To: Darin Perusich; +Cc: linux-lvm
On Tue, Nov 13, 2001 at 10:05:29PM +0000, Darin Perusich wrote:
> hello all,
>
> i'm setting up LVM on a redhat 7.1 system with kernel 2.4.14. i'm able
redhat ships with a buggy compiler,
please rebuild with -O0
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] 1.0.1-rc4 and kernel 2.4.14
2001-11-13 16:08 [linux-lvm] 1.0.1-rc4 and kernel 2.4.14 Darin Perusich
2001-11-13 16:14 ` Luca Berra
@ 2001-11-13 16:16 ` Mitchell D. Miller
2001-11-14 13:26 ` Jim Cromie
2 siblings, 0 replies; 6+ messages in thread
From: Mitchell D. Miller @ 2001-11-13 16:16 UTC (permalink / raw)
To: linux-lvm
Darin,
Search their BugZilla page for core dump ... you'll find lots of
information about compiling LVM without the -O2 option. The problem is a
compiler but with GCC 2.96 (I think that was the version).
-- Mitch
On Tue, 13 Nov 2001, Darin Perusich wrote:
> hello all,
>
> i'm setting up LVM on a redhat 7.1 system with kernel 2.4.14. i'm able
> to use pvcreate to setup either disks, /dev/sdb /dev/sdc or partitions,
> /dev/sdb1 /dev/sdc1. vgcreate successfully creates the group and
> activetes the volumes. when i do just about anything else it dumps core.
> i'm running the command "lvcreate -L5G -ntestlv test", or "vgextend test
> /dev/sdd" core dump. any of the *display, or vgremove commands run
> without problem.
>
> i've pretty much been following the how-to as i test LVM. i've compiled
> lvm into the kernel, i'm not running it as a module. moving to a older
> version of the kernel is not a problem, i just grap 2.4.14 since it's
> the latest and the versions above 2.4.9 do not need
> linux-2.4.*-VFS-lock.patch, all the filesystems on this machine are
> reiserfs, except /boot. the box itself is an hp lp2000r, 2x933mhz chips,
> 2Gb ram, 4x18gb sca disks.
>
> any pointers.
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] 1.0.1-rc4 and kernel 2.4.14
2001-11-13 16:14 ` Luca Berra
@ 2001-11-14 7:28 ` Darin Perusich
2001-11-14 12:55 ` [linux-lvm] 1.0.1-rc4 and kernel 2.4.14, A different question Petro
0 siblings, 1 reply; 6+ messages in thread
From: Darin Perusich @ 2001-11-14 7:28 UTC (permalink / raw)
To: linux-lvm; +Cc: bluca
this fixed the problem,
thank you
Luca Berra wrote:
>
> On Tue, Nov 13, 2001 at 10:05:29PM +0000, Darin Perusich wrote:
> > hello all,
> >
> > i'm setting up LVM on a redhat 7.1 system with kernel 2.4.14. i'm able
> redhat ships with a buggy compiler,
> please rebuild with -O0
>
> L.
> --
> Luca Berra -- bluca@comedia.it
> Communication Media & Services S.r.l.
> /"\
> \ / ASCII RIBBON CAMPAIGN
> X AGAINST HTML MAIL
> / \
--
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper@cognigencorp.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [linux-lvm] 1.0.1-rc4 and kernel 2.4.14, A different question.
2001-11-14 7:28 ` Darin Perusich
@ 2001-11-14 12:55 ` Petro
0 siblings, 0 replies; 6+ messages in thread
From: Petro @ 2001-11-14 12:55 UTC (permalink / raw)
To: linux-lvm; +Cc: bluca
Question, if I apply a patch generated off the 1.0.1-rc4 source code,
can I stull use the utils from .91beta7, or do I need to upgrade
everything?
If the answer is everything, anyone have a .deb laying around? (or at
least the debian/ directory that someone who isn't all that familiar
with building debian packages yet could use to build a .deb)?
--
Share and Enjoy.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] 1.0.1-rc4 and kernel 2.4.14
2001-11-13 16:08 [linux-lvm] 1.0.1-rc4 and kernel 2.4.14 Darin Perusich
2001-11-13 16:14 ` Luca Berra
2001-11-13 16:16 ` [linux-lvm] 1.0.1-rc4 and kernel 2.4.14 Mitchell D. Miller
@ 2001-11-14 13:26 ` Jim Cromie
2 siblings, 0 replies; 6+ messages in thread
From: Jim Cromie @ 2001-11-14 13:26 UTC (permalink / raw)
To: linux-lvm
Darin Perusich wrote:
> "lvcreate -L5G -ntestlv test", or "vgextend test
> /dev/sdd" core dump
others have recommended -g -O0
I succeeded with -O1, with rh 7.1, gcc 2.96-85, using following patch to
configure
[root@groucho 1.0.1-rc4]# diff -u configure~ configure
--- configure~ Thu Sep 6 07:02:34 2001
+++ configure Tue Nov 13 10:49:31 2001
@@ -796,18 +796,26 @@
fi
+${CC-cc} -v 2>&1 | grep -l 2.96
+if [ $? = 0 ] ; then
+ echo "this gcc version breaks with -g -O2"
+ optimize=1
+else
+ optimize=2
+fi
+
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
if test "$ac_test_CFLAGS" = set; then
CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
- CFLAGS="-g -O2"
+ CFLAGS="-g -O$optimize"
else
CFLAGS="-g"
fi
else
if test "$GCC" = yes; then
- CFLAGS="-O2"
+ CFLAGS="-O$optimize"
else
CFLAGS=
fi
[root@
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-11-14 13:26 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-13 16:08 [linux-lvm] 1.0.1-rc4 and kernel 2.4.14 Darin Perusich
2001-11-13 16:14 ` Luca Berra
2001-11-14 7:28 ` Darin Perusich
2001-11-14 12:55 ` [linux-lvm] 1.0.1-rc4 and kernel 2.4.14, A different question Petro
2001-11-13 16:16 ` [linux-lvm] 1.0.1-rc4 and kernel 2.4.14 Mitchell D. Miller
2001-11-14 13:26 ` Jim Cromie
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.