lvcreate is segfaulting
Hello--
I'm getting segfaults when attempting to build a logical volume using lvcreate...
[root@mp3gimp /root]# lvcreate -v -n now -L 8G test lvcreate -- checking volume group name "test" lvcreate -- checking volume group existence lvcreate -- checking volume group activity lvcreate -- checking logical volume path /dev/test/now"
[other verbosity ignored]
lvcreate -- setting up logical volume lvcreate -- setting read ahead sectors lvcreate -- creating logical volume VGDA in kernel Segmentation fault (core dumped)
This is a Redhat 7.1 box with a custom kernel. I've tried using both 2.4.9 and 2.4.10pre5 to no avail. LVM module is compiled into the kernel directly and I've applied the patches in the /PATCHES dir. I've also tried the latest tarball release of rc2 as well as a CVS install as late as today (September 8th, 2001).
If anybody has any insight on this, i'd appreciate it. Thanks.
-Willie
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
Hi
Quoted 3 lines
I've
applied the patches in the /PATCHES dir. I've also
i was wondering
did you aplied the patches from PATCHES
or you did run configure ; cd PATCHES ; make ;
and then aplied
it should be only one patch
Yes, i ran configure then make from within the PATCHES dir then a cd /usr/src/linux and a patch < p1 using the newly created lvm-CVS-2.4.9 patch file...
Sorry for the confusion in my original email, but I only installed 1 patch.
Cheers,
-Willie
--- svetljo <[email protected]>
Quoted 10 lines · wrote:
Hi
Quoted 3 lines
I've
applied the patches in the /PATCHES dir. I've alsoi was wondering
did you aplied the patches from PATCHES
or you did run configure ; cd PATCHES ; make ;
and then aplied
Quoted 8 lines
it should be only one patch
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at
http://www.sistina.com/lvm/Pages/howto.html
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
Quoted 4 lines
dir then a cd
/usr/src/linuxand a patch < p1 using
that's a typo i couldn't be misstaken ?
you could do
.... ; cd PATCHES ;make ; cat lvm-CVS-2.4.9.patch | patch -p1 -d /usr/src/linux
and what tells " cat /proc/lvm/general " , could you attach it
it was a typo on my part. The patch is installed correctly. I don't have a /proc/lvm/general, but here is /proc/lvm/global:
[root@mp3gimp lvm]# ls /proc/lvm
global VGs
[root@mp3gimp lvm]# cat /proc/lvm/global
LVM driver LVM version CVS(CVS_DATE)
Total: 1 VG 1 PV 0 LVs (0 LVs open) Global: 3167 bytes malloced IOP version: 10
5:49:19 active
VG: test [1 PV, 0 LV/0 open] PE Size: 4096 KB
Usage [KB/PE]: 8949760 /2185 total 0 /0 used
8949760 /2185 free
PV: [AA] sdb 8949760 /2185
0 /0 8949760 /2185
LVs: none[root@mp3gimp lvm]#
--- svetljo <[email protected]>
Quoted 16 lines · wrote:
Quoted 4 lines
dir then a cd
/usr/src/linuxand a patch < p1 usingthat's a typo i couldn't be misstaken ?
you could do
.... ; cd PATCHES ;make ; cat lvm-CVS-2.4.9.patch | patch -p1 -d
/usr/src/linuxand what tells " cat
/proc/lvm/general" , could
you attach it
Quoted 5 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at
http://www.sistina.com/lvm/Pages/howto.html
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
my mistake
have you tried
lvcreate -L6G -nnew -v test
and you did installed the tools and lib form the cvs tree
is there smth in "demsg | ksymoops"
Quoted 58 lines · William Vadnais
it was a typo on my part. The patch is installed correctly. I don't have a
/proc/lvm/general, but here is/proc/lvm/global:[root@mp3gimp lvm]# ls
/proc/lvm
global VGs
[root@mp3gimp lvm]# cat/proc/lvm/global
LVM driver LVM versionCVS(CVS_DATE)Total: 1 VG 1 PV 0 LVs (0 LVs open) Global: 3167 bytes malloced IOP version: 10 5:49:19 activeVG: test [1 PV, 0 LV/0 open] PE Size: 4096 KB
Usage [KB/PE]: 8949760 /2185 total 0 /0 used
8949760 /2185 free
PV: [AA] sdb 8949760 /2185
0 /0 8949760 /2185
LVs: none
[root@mp3gimp lvm]#--- svetljo <[email protected]>
Quoted 14 lines · wrote:
Quoted 3 lines
dir then a cd
/usr/src/linuxand a patch < p1 usingthat's a typo i couldn't be misstaken ?
you could do
.... ; cd PATCHES ;make ; cat lvm-CVS-2.4.9.patch | patch -p1 -d
/usr/src/linuxand what tells " cat
/proc/lvm/general" , could
you attach itQuoted 6 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO athttp://www.sistina.com/lvm/Pages/howto.html
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
[root@mp3gimp /root]# lvcreate -L6G -nnew -v test lvcreate -- checking volume group name "test" lvcreate -- checking volume group existence lvcreate -- checking volume group activity
[other verbosity removed]
lvcreate -- setting up logical volume lvcreate -- setting read ahead sectors lvcreate -- creating logical volume VGDA in kernel Segmentation fault (core dumped)
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[root@mp3gimp linux]# dmesg | ksymoops
No modules in ksyms, skipping objects
Warning (read_lsmod): no symbols in lsmod, is /proc/modules a valid lsmod file?
cpu: 0, clocks: 997540, slice: 498770
Receiver lock-up bug exists -- enabling work-around.
ds: no socket drivers loaded!
2 warnings issued. Results may not be reliable.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
LVM is compiled directly into kernel, not as a module.
I did remove completely the tools from the non CVS version and then reinstalled LVM from the CVS source (i did this previously, not just now ;)
[root@mp3gimp src]# strings /sbin/lvcreate | grep CVS liblvm-10.so.CVS
Logical Volume Manager CVS
Heinz Mauelshagen, Sistina Software CVS_DATE [root@mp3gimp src]#
Thanks for the help, btw, it is much appreciated.
Cheers,
-Willie
--- svetljo <[email protected]>
Quoted 81 lines · wrote:
my mistake
have you tried
lvcreate -L6G -nnew -v test
and you did installed the tools and lib form the cvs treeis there smth in "demsg | ksymoops"
Quoted 2 lines · William Vadnais
it was a typo on my part. The patch is installed
correctly. I don't have a/proc/lvm/general, buthere
Quoted 16 lines
is
/proc/lvm/global:[root@mp3gimp lvm]# ls
/proc/lvm
global VGs
[root@mp3gimp lvm]# cat/proc/lvm/global
LVM driver LVM versionCVS(CVS_DATE)Total: 1 VG 1 PV 0 LVs (0 LVs open) Global: 3167 bytes malloced IOP version: 105:49:19 active
VG: test [1 PV, 0 LV/0 open] PE Size: 4096 KB
Usage [KB/PE]: 8949760 /2185 total 0 /0 used
8949760 /2185 free
PV: [AA] sdb 8949760 /2185Quoted 10 lines
0 /0 8949760 /2185 LVs: none[root@mp3gimp lvm]#
--- svetljo <[email protected]>
Quoted 2 lines · wrote:
Quoted 2 lines
dir then a cd
/usr/src/linuxand a patch < p1using
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
that's a typo i couldn't be misstaken ?
you could do
.... ; cd PATCHES ;make ; cat lvm-CVS-2.4.9.patch
|
Quoted 12 lines
Quoted 10 lines
patch -p1 -d
/usr/src/linuxand what tells " cat
/proc/lvm/general" , could
you attach it_______________________________________________
linux-lvm mailing list
[email protected]Quoted 8 lines
Quoted 2 lines
read the LVM HOW-TO at
http://www.sistina.com/lvm/Pages/howto.html
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instantmessaging with Yahoo! Messenger
Quoted 7 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO athttp://www.sistina.com/lvm/Pages/howto.html
Quoted 1 line
Quoted 5 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at
http://www.sistina.com/lvm/Pages/howto.html
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
I had the same problem - it was fixed when I configured with --enable-static_link.
Jonathan DeHaan
[email protected]
Quoted 155 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of William Vadnais
Sent: Saturday, September 08, 2001 5:42 PM
To: [email protected]
Subject: Re: [linux-lvm] lvcreate is segfaulting[root@mp3gimp /root]# lvcreate -L6G -nnew -v test lvcreate -- checking volume group name "test" lvcreate -- checking volume group existence lvcreate -- checking volume group activity
[other verbosity removed]
lvcreate -- setting up logical volume lvcreate -- setting read ahead sectors lvcreate -- creating logical volume VGDA in kernel Segmentation fault (core dumped)Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
[root@mp3gimp linux]# dmesg | ksymoops
No modules in ksyms, skipping objects
Warning (read_lsmod): no symbols in lsmod, is/proc/modulesa valid lsmod file?
cpu: 0, clocks: 997540, slice: 498770
Receiver lock-up bug exists -- enabling work-around.
ds: no socket drivers loaded!2 warnings issued. Results may not be reliable.
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
LVM is compiled directly into kernel, not as a module.
I did remove completely the tools from the non CVS version and then reinstalled LVM from the CVS source (i did this previously, not just now ;)
[root@mp3gimp src]# strings
/sbin/lvcreate| grep CVS liblvm-10.so.CVS
Logical Volume Manager CVS
Heinz Mauelshagen, Sistina SoftwareCVS_DATE[root@mp3gimp src]#Thanks for the help, btw, it is much appreciated.
Cheers,
-Willie--- svetljo <[email protected]>
Quoted 81 lines · wrote:
my mistake
have you tried
lvcreate -L6G -nnew -v test
and you did installed the tools and lib form the cvs treeis there smth in "demsg | ksymoops"
Quoted 2 lines · William Vadnais
it was a typo on my part. The patch is installed
correctly. I don't have a/proc/lvm/general, buthere
Quoted 16 lines
is
/proc/lvm/global:[root@mp3gimp lvm]# ls
/proc/lvm
global VGs
[root@mp3gimp lvm]# cat/proc/lvm/global
LVM driver LVM versionCVS(CVS_DATE)Total: 1 VG 1 PV 0 LVs (0 LVs open) Global: 3167 bytes malloced IOP version: 105:49:19 active
VG: test [1 PV, 0 LV/0 open] PE Size: 4096 KB
Usage [KB/PE]: 8949760 /2185 total 0 /0 used
8949760 /2185 free
PV: [AA] sdb 8949760 /2185Quoted 10 lines
0 /0 8949760 /2185 LVs: none[root@mp3gimp lvm]#
--- svetljo <[email protected]>
Quoted 2 lines · wrote:
Quoted 2 lines
dir then a cd
/usr/src/linuxand a patch < p1using
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
that's a typo i couldn't be misstaken ?
you could do
.... ; cd PATCHES ;make ; cat lvm-CVS-2.4.9.patch
|
Quoted 12 lines
Quoted 10 lines
patch -p1 -d
/usr/src/linuxand what tells " cat
/proc/lvm/general" , could
you attach it_______________________________________________
linux-lvm mailing list
[email protected]Quoted 8 lines
Quoted 2 lines
read the LVM HOW-TO at
http://www.sistina.com/lvm/Pages/howto.html
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instantmessaging with Yahoo! Messenger
Quoted 7 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO athttp://www.sistina.com/lvm/Pages/howto.html
Quoted 1 line
Quoted 5 lines
_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO athttp://www.sistina.com/lvm/Pages/howto.html
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html