1.0.1-rc4 and kernel 2.4.14
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.
Signature · 4 lines
Darin Perusich Unix Systems Administrator Cognigen Corp. [email protected]
Quoted 3 lines · Darin Perusich
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.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
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
Quoted 21 lines · Darin Perusich
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/sdcor 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.
this fixed the problem,
thank you
Quoted 16 lines · Luca Berra
Quoted 3 lines · Darin Perusich
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 -O0L.
--
Luca Berra -- [email protected]
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
Signature · 4 lines
Darin Perusich Unix Systems Administrator Cognigen Corp. [email protected]
[linux-lvm] 1.0.1-rc4 and kernel 2.4.14, A different question.
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)?
Signature · 1 line
Share and Enjoy.
Quoted 2 lines · Darin Perusich
"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 Tue Nov 13 10:49:31 2001 renamed from configure~ Thu Sep 6 07:02:34 2001 +10 -2
@@ -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@