[parisc-linux] Probleme while compiling last CVS kernel.

joel.soete@freebel.net joel.soete@freebel.net
Fri, 07 Jun 2002 17:31:29 +0200 (CEST)


This message is in MIME format.

---MOQ102346388941a5794325967400bcc584b45f0161e6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Hi all,

Here is attached the patch to uptdate lvm structures in ioctl32.c
(arch/parisc/kernel).

Can somebody check in for me.

I check it (Ok) for 32bit kernel on my b180l.

Patrick,

Don't you see anything else to verify?

Bruno,

Could you see if it compiles now well for 64bits.

Thanks in advance for all,
    Joel

Quoting Patrick Caulfield <patrick@tykepenguin.com>:

> On Fri, Jun 07, 2002 at 09:28:07AM +0200, joel.soete@freebel.net wrote:
> > Quoting joel.soete@freebel.net:
> > 
> > > Quoting Patrick Caulfield <patrick@tykepenguin.com>:
> > > 
> > > ...
> > 
> > > So surprised too ??
> > 
> > Not anymore, in fact all seems already include in ioctl32.
> > 
> > So I just have to find how to compile a 64bits kernel. There should it
> be some
> > hack to bring it works.
> 
> The stuff that's in there is for LVM0.8, whereas LVM 1.0 is in the rest
> of the
> kernel. The structures have changed slightly which is why it won't
> compile ATM.
> 
> patrick
> 
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
> 
> 


-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

---MOQ102346388941a5794325967400bcc584b45f0161e6
Content-Type: application/octet-stream; name="ioctl32-lvm10.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ioctl32-lvm10.patch"

LS0tIGlvY3RsMzIuYy5vcmlnCUZyaSBKdW4gIDcgMTA6MDE6MDQgMjAwMgorKysgaW9jdGwzMi5j
CUZyaSBKdW4gIDcgMTI6MjU6NDQgMjAwMgpAQCAtNTEsOCArNTEsOCBAQAogI2luY2x1ZGUgPGxp
bnV4L3NlcmlhbC5oPgogI2lmIGRlZmluZWQoQ09ORklHX0JM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