* [linux-lvm] Patching Kernel 2.4.16.
@ 2001-12-12 18:21 Petro
2001-12-12 18:47 ` Petro
0 siblings, 1 reply; 5+ messages in thread
From: Petro @ 2001-12-12 18:21 UTC (permalink / raw)
To: linux-lvm
I'm trying to build a kernel with the 1.0.1 stuff, I run the
Makefile in the PATCHES file generating lvm-1.0.1-2.4.16.patch
and apply this to the kernel souce (patch -p1 < ../...) cleanly.
Run make oldconfig, make dep, make bzImage > output and I get a
whole bunch of errors starting with:
In file included from lvm.c:262:
lvm-internal.h:49: parse error before `*'
lvm-internal.h:49: warning: type defaults to `int' in declaration of
`vg'
lvm-internal.h:49: warning: data definition has no type or storage
class
lvm-internal.h:86: parse error before `*'
lvm-internal.h:86: warning: function declaration isn't a prototype
lvm-internal.h:87: parse error before `*'
lvm-internal.h:87: warning: function declaration isn't a prototype
lvm-internal.h:88: parse error before `vg_t'
lvm-internal.h:88: warning: function declaration isn't a prototype
lvm-internal.h:89: parse error before `lv_t'
lvm-internal.h:89: warning: function declaration isn't a prototype
lvm-internal.h:90: parse error before `*'
lvm-internal.h:90: warning: function declaration isn't a prototype
lvm-internal.h:91: parse error before `*'
lvm-internal.h:91: warning: function declaration isn't a prototype
lvm-internal.h:92: parse error before `*'
lvm-internal.h:92: warning: function declaration isn't a prototype
lvm-internal.h:93: parse error before `*'
lvm-internal.h:93: warning: function declaration isn't a prototype
lvm-internal.h:94: parse error before `*'
lvm-internal.h:94: warning: function declaration isn't a prototype
lvm-internal.h:101: parse error before `*'
lvm-internal.h:101: warning: function declaration isn't a prototype
lvm-internal.h:102: parse error before `*'
lvm-internal.h:102: warning: function declaration isn't a prototype
lvm-internal.h:103: parse error before `*'
lvm-internal.h:103: warning: function declaration isn't a prototype
lvm-internal.h:104: parse error before `*'
lvm-internal.h:104: warning: function declaration isn't a prototype
lvm-internal.h:105: parse error before `*'
lvm-internal.h:105: warning: function declaration isn't a prototype
lvm-internal.h:106: parse error before `*'
lvm-internal.h:106: warning: function declaration isn't a prototype
lvm.c:286: parse error before `*'
lvm.c:286: warning: function declaration isn't a prototype
lvm.c:287: warning: `struct lv_bmap' declared inside parameter list
lvm.c:287: warning: its scope is only this definition or
declaration, which is p
robably not what you want.
lvm.c:308: parse error before `*'
lvm.c:308: warning: function declaration isn't a prototype
lvm.c:310: parse error before `*'
lvm.c:310: warning: function declaration isn't a prototype
lvm.c:311: parse error before `*'
lvm.c:311: warning: function declaration isn't a prototype
lvm.c:312: parse error before `lv_t'
lvm.c:312: warning: function declaration isn't a prototype
lvm.c:313: parse error before `lv_t'
lvm.c:313: warning: function declaration isn't a prototype
lvm.c:315: parse error before `*'
lvm.c:315: warning: function declaration isn't a prototype
lvm.c:316: parse error before `*'
lvm.c:316: warning: function declaration isn't a prototype
lvm.c:317: parse error before `*'
lvm.c:317: warning: function declaration isn't a prototype
And going on for several pages.
This isn't right is it?
--
Share and Enjoy.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Patching Kernel 2.4.16.
2001-12-12 18:21 [linux-lvm] Patching Kernel 2.4.16 Petro
@ 2001-12-12 18:47 ` Petro
2001-12-12 19:06 ` Petro
0 siblings, 1 reply; 5+ messages in thread
From: Petro @ 2001-12-12 18:47 UTC (permalink / raw)
To: linux-lvm
On Wed, Dec 12, 2001 at 04:23:45PM -0800, Petro wrote:
> I'm trying to build a kernel with the 1.0.1 stuff, I run the
> Makefile in the PATCHES file generating lvm-1.0.1-2.4.16.patch
> and apply this to the kernel souce (patch -p1 < ../...) cleanly.
> Run make oldconfig, make dep, make bzImage > output and I get a
> whole bunch of errors starting with:
Interesting. I tried it again building LVM as a module and it
workeded.
> In file included from lvm.c:262:
> lvm-internal.h:49: parse error before `*'
> lvm-internal.h:49: warning: type defaults to `int' in declaration of
> `vg'
> lvm-internal.h:49: warning: data definition has no type or storage
> class
> lvm-internal.h:86: parse error before `*'
> lvm-internal.h:86: warning: function declaration isn't a prototype
> lvm-internal.h:87: parse error before `*'
> lvm-internal.h:87: warning: function declaration isn't a prototype
> lvm-internal.h:88: parse error before `vg_t'
> lvm-internal.h:88: warning: function declaration isn't a prototype
> lvm-internal.h:89: parse error before `lv_t'
> lvm-internal.h:89: warning: function declaration isn't a prototype
> lvm-internal.h:90: parse error before `*'
> lvm-internal.h:90: warning: function declaration isn't a prototype
> lvm-internal.h:91: parse error before `*'
> lvm-internal.h:91: warning: function declaration isn't a prototype
> lvm-internal.h:92: parse error before `*'
> lvm-internal.h:92: warning: function declaration isn't a prototype
> lvm-internal.h:93: parse error before `*'
> lvm-internal.h:93: warning: function declaration isn't a prototype
> lvm-internal.h:94: parse error before `*'
> lvm-internal.h:94: warning: function declaration isn't a prototype
> lvm-internal.h:101: parse error before `*'
> lvm-internal.h:101: warning: function declaration isn't a prototype
> lvm-internal.h:102: parse error before `*'
> lvm-internal.h:102: warning: function declaration isn't a prototype
> lvm-internal.h:103: parse error before `*'
> lvm-internal.h:103: warning: function declaration isn't a prototype
> lvm-internal.h:104: parse error before `*'
> lvm-internal.h:104: warning: function declaration isn't a prototype
> lvm-internal.h:105: parse error before `*'
> lvm-internal.h:105: warning: function declaration isn't a prototype
> lvm-internal.h:106: parse error before `*'
> lvm-internal.h:106: warning: function declaration isn't a prototype
> lvm.c:286: parse error before `*'
> lvm.c:286: warning: function declaration isn't a prototype
> lvm.c:287: warning: `struct lv_bmap' declared inside parameter list
> lvm.c:287: warning: its scope is only this definition or
> declaration, which is p
> robably not what you want.
> lvm.c:308: parse error before `*'
> lvm.c:308: warning: function declaration isn't a prototype
> lvm.c:310: parse error before `*'
> lvm.c:310: warning: function declaration isn't a prototype
> lvm.c:311: parse error before `*'
> lvm.c:311: warning: function declaration isn't a prototype
> lvm.c:312: parse error before `lv_t'
> lvm.c:312: warning: function declaration isn't a prototype
> lvm.c:313: parse error before `lv_t'
> lvm.c:313: warning: function declaration isn't a prototype
> lvm.c:315: parse error before `*'
> lvm.c:315: warning: function declaration isn't a prototype
> lvm.c:316: parse error before `*'
> lvm.c:316: warning: function declaration isn't a prototype
> lvm.c:317: parse error before `*'
> lvm.c:317: warning: function declaration isn't a prototype
>
> And going on for several pages.
>
> This isn't right is it?
>
>
> --
> Share and Enjoy.
>
> _______________________________________________
> 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
--
Share and Enjoy.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Patching Kernel 2.4.16.
2001-12-12 18:47 ` Petro
@ 2001-12-12 19:06 ` Petro
2001-12-13 2:21 ` Patrick Caulfield
0 siblings, 1 reply; 5+ messages in thread
From: Petro @ 2001-12-12 19:06 UTC (permalink / raw)
To: linux-lvm
On Wed, Dec 12, 2001 at 04:49:17PM -0800, Petro wrote:
> On Wed, Dec 12, 2001 at 04:23:45PM -0800, Petro wrote:
> > I'm trying to build a kernel with the 1.0.1 stuff, I run the
> > Makefile in the PATCHES file generating lvm-1.0.1-2.4.16.patch
> > and apply this to the kernel souce (patch -p1 < ../...) cleanly.
> > Run make oldconfig, make dep, make bzImage > output and I get a
> > whole bunch of errors starting with:
>
> Interesting. I tried it again building LVM as a module and it
> workeded.
So I built LVM as a module, it's in there:
Module Size Used by
nfs 71536 11 (autoclean)
lockd 47152 1 (autoclean) [nfs]
sunrpc 63648 1 (autoclean) [nfs lockd]
lvm-mod 47488 3
acenic 235584 1
Wait a minute.
I still need to apply the VFS Lock Patch, right?
--
Share and Enjoy.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Patching Kernel 2.4.16.
2001-12-12 19:06 ` Petro
@ 2001-12-13 2:21 ` Patrick Caulfield
2001-12-13 2:36 ` Petro
0 siblings, 1 reply; 5+ messages in thread
From: Patrick Caulfield @ 2001-12-13 2:21 UTC (permalink / raw)
To: linux-lvm
On Wed, Dec 12, 2001 at 05:08:14PM -0800, Petro wrote:
>
> Wait a minute.
>
> I still need to apply the VFS Lock Patch, right?
Only if you need snapshotting of journalled filesystems.
patrick
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Patching Kernel 2.4.16.
2001-12-13 2:21 ` Patrick Caulfield
@ 2001-12-13 2:36 ` Petro
0 siblings, 0 replies; 5+ messages in thread
From: Petro @ 2001-12-13 2:36 UTC (permalink / raw)
To: linux-lvm
On Thu, Dec 13, 2001 at 08:23:14AM +0000, Patrick Caulfield wrote:
> On Wed, Dec 12, 2001 at 05:08:14PM -0800, Petro wrote:
> >
> > Wait a minute.
> >
> > I still need to apply the VFS Lock Patch, right?
>
> Only if you need snapshotting of journalled filesystems.
Yeah, that's our primary reason for using LVM.
I applied the patch and it works fine now. a
Sorry about that last email, that was me thinking aloud.
--
Share and Enjoy.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-12-13 2:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-12 18:21 [linux-lvm] Patching Kernel 2.4.16 Petro
2001-12-12 18:47 ` Petro
2001-12-12 19:06 ` Petro
2001-12-13 2:21 ` Patrick Caulfield
2001-12-13 2:36 ` Petro
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.