linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] 2.2.19 Patches??
@ 2001-04-06 23:34 gerry
  2001-04-07  0:01 ` Goetz Bock
  2001-04-07  0:21 ` Patrick Boutilier
  0 siblings, 2 replies; 6+ messages in thread
From: gerry @ 2001-04-06 23:34 UTC (permalink / raw)
  To: linux-lvm

I just spent the better part of a week finding out what patches to apply
in what order to get the 2.2.17 stock kernel working with lvm.  Now that
I've got that working it seems like I should go all the way and install
2.2.19.

Would someone please tell me what patches need to be applied and their
location.  BTW, I think this information would be really, really nice in
the HowTo!

Gerry

PS.  I'm running Redhat 7.0.  Are there patches available for the RH
kernels??

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

* Re: [linux-lvm] 2.2.19 Patches??
  2001-04-06 23:34 [linux-lvm] 2.2.19 Patches?? gerry
@ 2001-04-07  0:01 ` Goetz Bock
  2001-04-07  0:21 ` Patrick Boutilier
  1 sibling, 0 replies; 6+ messages in thread
From: Goetz Bock @ 2001-04-07  0:01 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 1230 bytes --]


On Fri, Apr 06 '01 at 19:34, gerry@dorfam.ca wrote:
> I just spent the better part of a week finding out what patches to apply
> in what order to get the 2.2.17 stock kernel working with lvm.  Now that
> I've got that working it seems like I should go all the way and install
> 2.2.19.
Depends on what you want ;-)

If you're fine with out the new RAID patches, all you need is the RAW-IO
Patch ant the LVM patch. The current 0.9.1_beta6 creates fine patches
for stock 2.2.19 + RawIO (what is included as a patch for 2.2.18, but it
works fine with 2.2.19)

> PS.  I'm running Redhat 7.0.  Are there patches available for the RH
> kernels??
While I used to use Redhat, they screwed it with the 7.0 distribution ...
If you want, you can get a patch for the stock 2.2.19 from me (but you
can easyly make it yourself), and you can find a lot of nice patches for
the 2.2.19 kernel mantained by Paul Drain with some additions by me at:
ftp://ftp.earthlink.au.com/private/people/pd/kernels/individual/2.2.19-fnk/

Paul is currently test my LVM patch (integrated with the new RAID
patches) for functionality (I only was able to compile it and have it
boot my diskless workstation ;-) ). He will add it till Monday.

Have fun,
    Goetz.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

* Re: [linux-lvm] 2.2.19 Patches??
  2001-04-06 23:34 [linux-lvm] 2.2.19 Patches?? gerry
  2001-04-07  0:01 ` Goetz Bock
@ 2001-04-07  0:21 ` Patrick Boutilier
  2001-04-07 16:46   ` gerry
  1 sibling, 1 reply; 6+ messages in thread
From: Patrick Boutilier @ 2001-04-07  0:21 UTC (permalink / raw)
  To: linux-lvm

gerry@dorfam.ca wrote:

> I just spent the better part of a week finding out what patches to apply
> in what order to get the 2.2.17 stock kernel working with lvm.  Now that
> I've got that working it seems like I should go all the way and install
> 2.2.19.
>
> Would someone please tell me what patches need to be applied and their
> location.  BTW, I think this information would be really, really nice in
> the HowTo!

Below is some instructions direct from the README in the PATCHES directory.
If you want to get your own raw-io patch get
ftp://ftp.kernel.org/pub/linux/kernel/people/sct/raw-io/kiobuf-2.2.18.tar.bz2.
I used raw-2.2.18.FULL.diff to patch my 2.2.19 kernel.



Creating the patch
------------------

o untar your clean Linus kernel

o run 'make distclean' in the directory above this one to clean up any
  previous configure information.  If you get an error that says
  "make: *** No rule to make target `distclean'.  Stop." it generally
  means your source tree is clean and you can ignore it.

o run configure in the directory above this one to produce 'Makefile',
making
  sure to specify the '--with-kernel_dir=' flag if your kernel source is
not
  in '/usr/src/linux'.

o check the following variables at the top of 'Makefile' in the PATCHES
  directory

  KERNEL_DIR should point to the kernel source that you wish to patch
  eg, KERNEL_DIR=/usr/src/linux

  LVM_VERSION the LVM version
  eg, LVM_VERSION=0.9.1_beta5

  KERNEL_VERSION the version of your kernel that is to be patched
  eg, KERNEL_VERSION=2.2.18

o Apply raw_io patch if you're using a 2.2 kernel (see below).

o type 'make', a file of the form lvm-<LVM_VERSION>-<KERNEL_VERSION>.patch
  should be built


Applying the patch to a 2.2 kernel
----------------------------------

LVM requires Stephen Tweedie's raw_io patch to work under linux-2.2,
we have included versions of this patch for various kernel releases
(linux-2.2.*-rawio.patch).  However we do not guarantee that this is
the most up to date version.

See ftp://ftp.kernel.org/pub/linux/kernel/people/sct/raw-io/

This patch must be applied before you make the LVM patch.

eg,

cd /usr/src/linux
patch -p1 < /home/joe/develop/LVM/PATCHES/linux-2.2.18-rawio.patch
cd /home/joe/develop/LVM/PATCHES
make
cd /usr/src/linux
patch -p1 < /home/joe/develop/LVM/PATCHES/lvm-0.9.1_beta5-2.2.18.patch

>
>
> Gerry
>
> PS.  I'm running Redhat 7.0.  Are there patches available for the RH
> kernels??
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

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

* Re: [linux-lvm] 2.2.19 Patches??
  2001-04-07  0:21 ` Patrick Boutilier
@ 2001-04-07 16:46   ` gerry
  2001-04-07 23:28     ` Patrick Boutilier
  0 siblings, 1 reply; 6+ messages in thread
From: gerry @ 2001-04-07 16:46 UTC (permalink / raw)
  To: linux-lvm

Well, I tried to follow the instructions and surprisingly...LVM is working
with a fresh new 2.2.19 kernel!  I found it confusing to install patches
labeled for other kernels.  Also, I don't normally venture into the realm
of building my own kernel patches!

I had a question though.  When I got LVM working with the older 2.2.17
kernel I had two choices when I was running make xconfig.  The first was
to include LVM as inline or a module and the second was for lvm proc
support.  This time around with the 2.2.19 kernel I didn't get the lvm
proc support option.  Did I miss something???

Gerry


On Fri, 6 Apr 2001, Patrick Boutilier wrote:

> Below is some instructions direct from the README in the PATCHES directory.
> If you want to get your own raw-io patch get
> ftp://ftp.kernel.org/pub/linux/kernel/people/sct/raw-io/kiobuf-2.2.18.tar.bz2.
> I used raw-2.2.18.FULL.diff to patch my 2.2.19 kernel.
>
>snip....
>

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

* Re: [linux-lvm] 2.2.19 Patches??
  2001-04-07 16:46   ` gerry
@ 2001-04-07 23:28     ` Patrick Boutilier
  2001-04-09  3:40       ` AJ Lewis
  0 siblings, 1 reply; 6+ messages in thread
From: Patrick Boutilier @ 2001-04-07 23:28 UTC (permalink / raw)
  To: linux-lvm

I didn't see that option either but the LVM information is in /proc so it must be
in by default now.


gerry@dorfam.ca wrote:

> Well, I tried to follow the instructions and surprisingly...LVM is working
> with a fresh new 2.2.19 kernel!  I found it confusing to install patches
> labeled for other kernels.  Also, I don't normally venture into the realm
> of building my own kernel patches!
>
> I had a question though.  When I got LVM working with the older 2.2.17
> kernel I had two choices when I was running make xconfig.  The first was
> to include LVM as inline or a module and the second was for lvm proc
> support.  This time around with the 2.2.19 kernel I didn't get the lvm
> proc support option.  Did I miss something???
>
> Gerry
>
> On Fri, 6 Apr 2001, Patrick Boutilier wrote:
>
> > Below is some instructions direct from the README in the PATCHES directory.
> > If you want to get your own raw-io patch get
> > ftp://ftp.kernel.org/pub/linux/kernel/people/sct/raw-io/kiobuf-2.2.18.tar.bz2.
> > I used raw-2.2.18.FULL.diff to patch my 2.2.19 kernel.
> >
> >snip....
> >
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

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

* Re: [linux-lvm] 2.2.19 Patches??
  2001-04-07 23:28     ` Patrick Boutilier
@ 2001-04-09  3:40       ` AJ Lewis
  0 siblings, 0 replies; 6+ messages in thread
From: AJ Lewis @ 2001-04-09  3:40 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 2337 bytes --]

On Sat, Apr 07, 2001 at 08:28:11PM -0300, Patrick Boutilier wrote:
> I didn't see that option either but the LVM information is in /proc so it must be
> in by default now.

Precisely right.  If you look at LVM/kernel/lvm.c, you'll see that this was
changed on Jan. 8, 2001.  (search for 08/01/2001)

> gerry@dorfam.ca wrote:
> 
> > Well, I tried to follow the instructions and surprisingly...LVM is working
> > with a fresh new 2.2.19 kernel!  I found it confusing to install patches
> > labeled for other kernels.  Also, I don't normally venture into the realm
> > of building my own kernel patches!
> >
> > I had a question though.  When I got LVM working with the older 2.2.17
> > kernel I had two choices when I was running make xconfig.  The first was
> > to include LVM as inline or a module and the second was for lvm proc
> > support.  This time around with the 2.2.19 kernel I didn't get the lvm
> > proc support option.  Did I miss something???
> >
> > Gerry
> >
> > On Fri, 6 Apr 2001, Patrick Boutilier wrote:
> >
> > > Below is some instructions direct from the README in the PATCHES directory.
> > > If you want to get your own raw-io patch get
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/sct/raw-io/kiobuf-2.2.18.tar.bz2.
> > > I used raw-2.2.18.FULL.diff to patch my 2.2.19 kernel.
> > >
> > >snip....
> > >
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm

-- 
AJ Lewis
Sistina Software Inc.                  Voice:  612-379-3951
1313 5th St SE, Suite 111              Fax:    612-379-3952
Minneapolis, MN 55414                  E-Mail: lewis@sistina.com
http://www.sistina.com

Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 1261 0029 2648
Get my key at: http://www.sistina.com/~lewis/gpgkey
 (Unfortunately, the PKS-type keyservers do not work with multiple sub-keys)

-----Begin Obligatory Humorous Quote----------------------------------------
cthread. cthread_fork(). Fork, thread, fork!
-----End Obligatory Humorous Quote------------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

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

end of thread, other threads:[~2001-04-09  3:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-06 23:34 [linux-lvm] 2.2.19 Patches?? gerry
2001-04-07  0:01 ` Goetz Bock
2001-04-07  0:21 ` Patrick Boutilier
2001-04-07 16:46   ` gerry
2001-04-07 23:28     ` Patrick Boutilier
2001-04-09  3:40       ` AJ Lewis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).