Skip to contentSkip to conversation

Problems on compile

linux-lvm Heinz Mauelshagen 2 participants 2 messages Feb 18, 1999 – Feb 19, 1999

lore
Share & tools
lore
#0 lore raw
Quoted 21 lines

Ok, it seems it is fixed by re-arranging liblvm.h a little. Heinz sent me this a while back.

I suspect this was your problem as well.

tools/lib/liblvm.h Mon Feb 1 00:54:29 1999 renamed from tools/lib/liblvm.h Sat Jan 30 13:46:35 1999 +0 -4
@@ -46,10 +46,6 @@
 #  endif
 #endif
 
-#include <sys/ioctl.h>
-#include <linux/genhd.h>
-#include <linux/major.h>
-
 #if __GLIBC__ > 1
 #  ifndef uint8_t
 #    define uint8_t    u_int8_t

tools/lib/liblvm.h Mon Feb 1 00:54:29 1999 line 102

Quoted 10 lines
tools/lib/liblvm.h Mon Feb 1 00:54:29 1999 renamed from tools/lib/liblvm.h Sat Jan 30 13:46:35 1999 +4 -0
@@ -97,6 +93,10 @@
 #  include <malloc.h>
 #  include <stdio.h>
 #endif /* __GLIBC__ > 1 */
+
+#include <sys/ioctl.h>
+#include <linux/genhd.h>
+#include <linux/major.h>
 
 #include <lvm.h>
 

Thank you Shawn.

It's concerned with BSD disk label support.
I never choosed that config option ;*)

It will be in 0.6alpha anyway.

BTW: hope to bring out 0.6alpha including some features and
bug fixes before march.

Heinz
--

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Systemmanagement C/S Deutsche Telekom AG
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41

                                                 64205 Darmstadt
[email protected]                      Germany
                                                 +49 6151 886-425
                                                          FAX-386

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

--

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Systemmanagement C/S Deutsche Telekom AG
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41

                                                 64205 Darmstadt
[email protected]                      Germany
                                                 +49 6151 886-425
                                                          FAX-386

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

#1 lore raw
Quoted 9 lines · Heinz Mauelshagen

Thank you Shawn.

It's concerned with BSD disk label support.
I never choosed that config option ;*)

It will be in 0.6alpha anyway.

BTW: hope to bring out 0.6alpha including some features and
bug fixes before march.

I did not apply the patch, but deselecting the BSD disk label support gave me a clean compile. Thanks for the help.

The creation of volume groups and logical volumes works wonderfully. However, making an e2fs filesystem on a logical volume that is part of a 2 physical volume group causes a null pointer dereference and a kernel dump, which causes the kernel to dump it's registers to screen.

I can sucessfully make an e2fs filesystem on a logical volume that is part of a 1 physical volume group. I can also mount it. I can touch a file on the filesystem, but any data that is written to the filesystem causes a similar kernel dump.

After I connect a serial console to my machine I should be able to get details.

But one general question: Has smp support been tested? I'm willing to be the guinea pig. :)

)chris(

-----------------------------------------------------------------------------
Chris Stamborski | "Make it idiot proof and someone will make a
[email protected] | better idiot."