Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] lvcreate is segfaulting
@ 2001-09-08 19:23 William Vadnais
  2001-09-08 19:37 ` svetljo
  0 siblings, 1 reply; 8+ messages in thread
From: William Vadnais @ 2001-09-08 19:23 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] lvcreate is segfaulting
  2001-09-08 19:23 [linux-lvm] lvcreate is segfaulting William Vadnais
@ 2001-09-08 19:37 ` svetljo
  2001-09-08 20:02   ` William Vadnais
  0 siblings, 1 reply; 8+ messages in thread
From: svetljo @ 2001-09-08 19:37 UTC (permalink / raw)
  To: linux-lvm

Hi

>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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] lvcreate is segfaulting
  2001-09-08 19:37 ` svetljo
@ 2001-09-08 20:02   ` William Vadnais
  2001-09-08 20:34     ` svetljo
  0 siblings, 1 reply; 8+ messages in thread
From: William Vadnais @ 2001-09-08 20:02 UTC (permalink / raw)
  To: linux-lvm

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 <galia@st-peter.stw.uni-erlangen.de>
wrote:
> Hi
> 
> >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
> 
> 
> _______________________________________________
> 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


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] lvcreate is segfaulting
  2001-09-08 20:02   ` William Vadnais
@ 2001-09-08 20:34     ` svetljo
  2001-09-08 20:49       ` William Vadnais
  0 siblings, 1 reply; 8+ messages in thread
From: svetljo @ 2001-09-08 20:34 UTC (permalink / raw)
  To: linux-lvm

>
>
>dir then a cd /usr/src/linux and 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] lvcreate is segfaulting
  2001-09-08 20:34     ` svetljo
@ 2001-09-08 20:49       ` William Vadnais
  2001-09-08 21:07         ` svetljo
  0 siblings, 1 reply; 8+ messages in thread
From: William Vadnais @ 2001-09-08 20:49 UTC (permalink / raw)
  To: linux-lvm

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 <galia@st-peter.stw.uni-erlangen.de>
wrote:
> >
> >
> >dir then a cd /usr/src/linux and 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
> 
> 
> _______________________________________________
> 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


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] lvcreate is segfaulting
  2001-09-08 20:49       ` William Vadnais
@ 2001-09-08 21:07         ` svetljo
  2001-09-08 21:41           ` William Vadnais
  0 siblings, 1 reply; 8+ messages in thread
From: svetljo @ 2001-09-08 21:07 UTC (permalink / raw)
  To: linux-lvm

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"

William Vadnais wrote:

>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 <galia@st-peter.stw.uni-erlangen.de>
>wrote:
>
>>>
>>>dir then a cd /usr/src/linux and 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
>>
>>
>>_______________________________________________
>>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
>
>
>__________________________________________________
>Do You Yahoo!?
>Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
>http://im.yahoo.com
>
>_______________________________________________
>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
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [linux-lvm] lvcreate is segfaulting
  2001-09-08 21:07         ` svetljo
@ 2001-09-08 21:41           ` William Vadnais
  2001-09-09 16:58             ` Jonathan DeHaan
  0 siblings, 1 reply; 8+ messages in thread
From: William Vadnais @ 2001-09-08 21:41 UTC (permalink / raw)
  To: linux-lvm

[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)

>>>>>>>>>>>>>>>>>>>>>>>>>>>

[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.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>

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 <galia@st-peter.stw.uni-erlangen.de>
wrote:
> 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"
> 
> William Vadnais wrote:
> 
> >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 <galia@st-peter.stw.uni-erlangen.de>
> >wrote:
> >
> >>>
> >>>dir then a cd /usr/src/linux and 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
> >>
> >>
> >>_______________________________________________
> >>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
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Get email alerts & NEW webcam video instant
> messaging with Yahoo! Messenger
> >http://im.yahoo.com
> >
> >_______________________________________________
> >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
> >
> 
> 
> 
> _______________________________________________
> 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



__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: [linux-lvm] lvcreate is segfaulting
  2001-09-08 21:41           ` William Vadnais
@ 2001-09-09 16:58             ` Jonathan DeHaan
  0 siblings, 0 replies; 8+ messages in thread
From: Jonathan DeHaan @ 2001-09-09 16:58 UTC (permalink / raw)
  To: linux-lvm

I had the same problem - it was fixed when I configured
with --enable-static_link.

Jonathan DeHaan
jdehaan@home.com

> -----Original Message-----
> From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
> Behalf Of William Vadnais
> Sent: Saturday, September 08, 2001 5:42 PM
> To: linux-lvm@sistina.com
> 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)
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> [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.
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> 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 <galia@st-peter.stw.uni-erlangen.de>
> wrote:
> > 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"
> >
> > William Vadnais wrote:
> >
> > >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 <galia@st-peter.stw.uni-erlangen.de>
> > >wrote:
> > >
> > >>>
> > >>>dir then a cd /usr/src/linux and 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
> > >>
> > >>
> > >>_______________________________________________
> > >>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
> > >
> > >
> > >__________________________________________________
> > >Do You Yahoo!?
> > >Get email alerts & NEW webcam video instant
> > messaging with Yahoo! Messenger
> > >http://im.yahoo.com
> > >
> > >_______________________________________________
> > >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
> > >
> >
> >
> >
> > _______________________________________________
> > 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
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
> Messenger
> http://im.yahoo.com
>
> _______________________________________________
> 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
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-09-09 16:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-08 19:23 [linux-lvm] lvcreate is segfaulting William Vadnais
2001-09-08 19:37 ` svetljo
2001-09-08 20:02   ` William Vadnais
2001-09-08 20:34     ` svetljo
2001-09-08 20:49       ` William Vadnais
2001-09-08 21:07         ` svetljo
2001-09-08 21:41           ` William Vadnais
2001-09-09 16:58             ` Jonathan DeHaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox