* [linux-lvm] LVM and 2.4.13
@ 2001-10-30 13:30 James Kelty
2001-10-30 13:38 ` Patrick Boutilier
2001-10-30 13:43 ` Mitch Miller
0 siblings, 2 replies; 6+ messages in thread
From: James Kelty @ 2001-10-30 13:30 UTC (permalink / raw)
To: linux-lvm
Ok,
I created a new kernel using the latest patch from lvm 1.0.1-rc4. I
compiled it into the kernel, and it loads pretty well.
I have a new 100GB drive that I carved into 4 slices w/ 8e as the type, did
the pvcreate w/o any problems,
created the vg00 volume group. But! When I try to create the logical volume,
I get a Seg Fault and core dump.
What's the deal?
--- Volume group ---
VG Name vg00
VG Access read/write
VG Status available/resizable
VG # 0
MAX LV 255
Cur LV 0
Open LV 0
MAX LV Size 255.99 GB
Max PV 255
Cur PV 3
Act PV 3
VG Size 73.24 GB
PE Size 4.00 MB
Total PE 18750
Alloc PE / Size 0 / 0
Free PE / Size 18750 / 73.24 GB
VG UUID 5d6C0e-zgYC-jWju-6Vx1-mzlo-AY0n-kAlDPd
root@warbaby: ~ >> lvcreate -L73.24G vg00
lvcreate -- rounding up size to physical extent boundary "73.24 GB"
Segmentation fault (core dumped)
root@warbaby: ~ >> lvcreate -L73.00G vg00
Segmentation fault (core dumped)
root@warbaby: ~ >>
-James
--
James Kelty
Sr. Unix Systems Administrator
The Ashland Agency
541.488.0801
jamesk@ashlandagency.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] LVM and 2.4.13
2001-10-30 13:30 [linux-lvm] LVM and 2.4.13 James Kelty
@ 2001-10-30 13:38 ` Patrick Boutilier
2001-10-30 13:40 ` James Kelty
2001-10-30 13:43 ` Mitch Miller
1 sibling, 1 reply; 6+ messages in thread
From: Patrick Boutilier @ 2001-10-30 13:38 UTC (permalink / raw)
To: linux-lvm
Does this work?
lvcreate -L73G vg00
James Kelty wrote:
>Ok,
>
>I created a new kernel using the latest patch from lvm 1.0.1-rc4. I
>compiled it into the kernel, and it loads pretty well.
>
>I have a new 100GB drive that I carved into 4 slices w/ 8e as the type, did
>the pvcreate w/o any problems,
>created the vg00 volume group. But! When I try to create the logical volume,
>I get a Seg Fault and core dump.
>
>What's the deal?
>
>
>--- Volume group ---
>VG Name vg00
>VG Access read/write
>VG Status available/resizable
>VG # 0
>MAX LV 255
>Cur LV 0
>Open LV 0
>MAX LV Size 255.99 GB
>Max PV 255
>Cur PV 3
>Act PV 3
>VG Size 73.24 GB
>PE Size 4.00 MB
>Total PE 18750
>Alloc PE / Size 0 / 0
>Free PE / Size 18750 / 73.24 GB
>VG UUID 5d6C0e-zgYC-jWju-6Vx1-mzlo-AY0n-kAlDPd
>
>root@warbaby: ~ >> lvcreate -L73.24G vg00
>lvcreate -- rounding up size to physical extent boundary "73.24 GB"
>Segmentation fault (core dumped)
>root@warbaby: ~ >> lvcreate -L73.00G vg00
>Segmentation fault (core dumped)
>root@warbaby: ~ >>
>
>
>
>
>
>-James
>
>--
>James Kelty
>Sr. Unix Systems Administrator
>The Ashland Agency
>541.488.0801
>jamesk@ashlandagency.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] 6+ messages in thread
* RE: [linux-lvm] LVM and 2.4.13
2001-10-30 13:38 ` Patrick Boutilier
@ 2001-10-30 13:40 ` James Kelty
0 siblings, 0 replies; 6+ messages in thread
From: James Kelty @ 2001-10-30 13:40 UTC (permalink / raw)
To: linux-lvm
No.
root@warbaby: ~ >> lvcreate -L73G vg00
Segmentation fault (core dumped)
root@warbaby: ~ >>
-James
-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
Behalf Of Patrick Boutilier
Sent: Tuesday, October 30, 2001 11:39 AM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] LVM and 2.4.13
Does this work?
lvcreate -L73G vg00
James Kelty wrote:
>Ok,
>
>I created a new kernel using the latest patch from lvm 1.0.1-rc4. I
>compiled it into the kernel, and it loads pretty well.
>
>I have a new 100GB drive that I carved into 4 slices w/ 8e as the type, did
>the pvcreate w/o any problems,
>created the vg00 volume group. But! When I try to create the logical
volume,
>I get a Seg Fault and core dump.
>
>What's the deal?
>
>
>--- Volume group ---
>VG Name vg00
>VG Access read/write
>VG Status available/resizable
>VG # 0
>MAX LV 255
>Cur LV 0
>Open LV 0
>MAX LV Size 255.99 GB
>Max PV 255
>Cur PV 3
>Act PV 3
>VG Size 73.24 GB
>PE Size 4.00 MB
>Total PE 18750
>Alloc PE / Size 0 / 0
>Free PE / Size 18750 / 73.24 GB
>VG UUID 5d6C0e-zgYC-jWju-6Vx1-mzlo-AY0n-kAlDPd
>
>root@warbaby: ~ >> lvcreate -L73.24G vg00
>lvcreate -- rounding up size to physical extent boundary "73.24 GB"
>Segmentation fault (core dumped)
>root@warbaby: ~ >> lvcreate -L73.00G vg00
>Segmentation fault (core dumped)
>root@warbaby: ~ >>
>
>
>
>
>
>-James
>
>--
>James Kelty
>Sr. Unix Systems Administrator
>The Ashland Agency
>541.488.0801
>jamesk@ashlandagency.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
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [linux-lvm] LVM and 2.4.13
2001-10-30 13:30 [linux-lvm] LVM and 2.4.13 James Kelty
2001-10-30 13:38 ` Patrick Boutilier
@ 2001-10-30 13:43 ` Mitch Miller
2001-10-30 15:25 ` James Kelty
1 sibling, 1 reply; 6+ messages in thread
From: Mitch Miller @ 2001-10-30 13:43 UTC (permalink / raw)
To: linux-lvm
James,
> When I try to create the logical volume,
> I get a Seg Fault and core dump.
Take a look at Sistina's web page, and search Bugzilla for core dump. There
is a documented issue with the version of GCC you are using, which is
happening because of broken compiler optimizations. As I recall, there are
two workarounds. First, you can edit your make file, and change -O2 to -O
or you can edit the source and add a printf() statement inside the function
which the compiler is to optimize by making it an inline function.
I chose the 2nd fix so I didn't have to get rid of all optimizations, but
that fix has to be applied in a number of places to make sure that all
command line tools get fixed appropriately. The first fix has the benefit
of being changed in one place, and the entire works after recompilation, at
the cost of compiler optimization.
-- Mitch
P.S. Seems like there is also another version of GCC which you can use, but
I don't know which one.
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [linux-lvm] LVM and 2.4.13
2001-10-30 13:43 ` Mitch Miller
@ 2001-10-30 15:25 ` James Kelty
0 siblings, 0 replies; 6+ messages in thread
From: James Kelty @ 2001-10-30 15:25 UTC (permalink / raw)
To: linux-lvm
Thanks to everyone! The optimization changes worked perfectly.
-James
-----Original Message-----
From: linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]On
Behalf Of Mitch Miller
Sent: Tuesday, October 30, 2001 11:47 AM
To: linux-lvm@sistina.com
Subject: RE: [linux-lvm] LVM and 2.4.13
James,
> When I try to create the logical volume,
> I get a Seg Fault and core dump.
Take a look at Sistina's web page, and search Bugzilla for core dump. There
is a documented issue with the version of GCC you are using, which is
happening because of broken compiler optimizations. As I recall, there are
two workarounds. First, you can edit your make file, and change -O2 to -O
or you can edit the source and add a printf() statement inside the function
which the compiler is to optimize by making it an inline function.
I chose the 2nd fix so I didn't have to get rid of all optimizations, but
that fix has to be applied in a number of places to make sure that all
command line tools get fixed appropriately. The first fix has the benefit
of being changed in one place, and the entire works after recompilation, at
the cost of compiler optimization.
-- Mitch
P.S. Seems like there is also another version of GCC which you can use, but
I don't know which one.
_______________________________________________
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] 6+ messages in thread
* RE: [linux-lvm] LVM and 2.4.13
@ 2001-10-31 1:03 Jean-Eric Cuendet
0 siblings, 0 replies; 6+ messages in thread
From: Jean-Eric Cuendet @ 2001-10-31 1:03 UTC (permalink / raw)
To: linux-lvm
Try with the tools from lvm1rc1 or rc2. It corrected that for me. Kernel
can be in rc4 though.
-jec
> -----Original Message-----
> From: James Kelty [mailto:jamesk@ashlandagency.com]
> Sent: mardi, 30. octobre 2001 20:42
> To: linux-lvm@sistina.com
> Subject: RE: [linux-lvm] LVM and 2.4.13
>
>
> No.
>
>
> root@warbaby: ~ >> lvcreate -L73G vg00
> Segmentation fault (core dumped)
> root@warbaby: ~ >>
>
> -James
>
> -----Original Message-----
> From: linux-lvm-admin@sistina.com
> [mailto:linux-lvm-admin@sistina.com]On
> Behalf Of Patrick Boutilier
> Sent: Tuesday, October 30, 2001 11:39 AM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] LVM and 2.4.13
>
>
> Does this work?
>
> lvcreate -L73G vg00
>
>
>
>
> James Kelty wrote:
>
> >Ok,
> >
> >I created a new kernel using the latest patch from lvm 1.0.1-rc4. I
> >compiled it into the kernel, and it loads pretty well.
> >
> >I have a new 100GB drive that I carved into 4 slices w/ 8e
> as the type, did
> >the pvcreate w/o any problems,
> >created the vg00 volume group. But! When I try to create the logical
> volume,
> >I get a Seg Fault and core dump.
> >
> >What's the deal?
> >
> >
> >--- Volume group ---
> >VG Name vg00
> >VG Access read/write
> >VG Status available/resizable
> >VG # 0
> >MAX LV 255
> >Cur LV 0
> >Open LV 0
> >MAX LV Size 255.99 GB
> >Max PV 255
> >Cur PV 3
> >Act PV 3
> >VG Size 73.24 GB
> >PE Size 4.00 MB
> >Total PE 18750
> >Alloc PE / Size 0 / 0
> >Free PE / Size 18750 / 73.24 GB
> >VG UUID 5d6C0e-zgYC-jWju-6Vx1-mzlo-AY0n-kAlDPd
> >
> >root@warbaby: ~ >> lvcreate -L73.24G vg00
> >lvcreate -- rounding up size to physical extent boundary "73.24 GB"
> >Segmentation fault (core dumped)
> >root@warbaby: ~ >> lvcreate -L73.00G vg00
> >Segmentation fault (core dumped)
> >root@warbaby: ~ >>
> >
> >
> >
> >
> >
> >-James
> >
> >--
> >James Kelty
> >Sr. Unix Systems Administrator
> >The Ashland Agency
> >541.488.0801
> >jamesk@ashlandagency.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
>
>
> _______________________________________________
> 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] 6+ messages in thread
end of thread, other threads:[~2001-10-31 1:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-30 13:30 [linux-lvm] LVM and 2.4.13 James Kelty
2001-10-30 13:38 ` Patrick Boutilier
2001-10-30 13:40 ` James Kelty
2001-10-30 13:43 ` Mitch Miller
2001-10-30 15:25 ` James Kelty
-- strict thread matches above, loose matches on Subject: below --
2001-10-31 1:03 Jean-Eric Cuendet
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.