Linux LVM users
 help / color / mirror / Atom feed
From: AJ Lewis <lewis@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] LVM and -ac kernels?
Date: Mon, 10 Sep 2001 08:01:24 -0500	[thread overview]
Message-ID: <20010910080124.A8459@sistina.com> (raw)
In-Reply-To: <20010909104606.B967@befunk.com>; from ranger@befunk.com on Sun, Sep 09, 2001 at 10:46:06AM -0400

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

On Sun, Sep 09, 2001 at 10:46:06AM -0400, Benjamin Reed wrote:
> I've tried applying 1.0.1-rc2 to 2.4.9-ac9 and it appears
> that something's not matching up; I was wondering if anyone
> has had any luck with the 2.4.9 ac kernels?
> 
> I get a reject in the Makefile for something that Alan's
> already added to his tree, and when I build, I get:
> 
> ---(snip!)---
> make[3]: Entering directory `/usr/src/linux-2.4.9-ac9-eb1/drivers/md'
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.9-ac9-eb1/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686    -c -o lvm.o lvm.c
> lvm.c: In function `__extend_reduce':
> lvm.c:2329: warning: implicit declaration of function `min'

Yep, this is caused by the great MIN/MAX macro change in the 2.4.9 stock
kernel.   Alan didn't think it was a good idea, so his AC series kernels
still use the old style MIN/MAX macros.  Unfortunately, the way the patches
are currently generated, any kernel above 2.4.9 is assumed to have the new
format.

> Feel free to tell me "don't bother with -ac kernels and LVM", all
> I *truly* care about from the -ac tree is ext3, but it would be nice
> if it's a simple fix.

I'm not sure what the best way to fix this is.  You possibly could go in and
manually change the kernel version in the PATCHES/Makefile file to be
2.4.8-ac9; this shouldn't change anything but which versions of the patches
are put into the patch and the patch name, but it may not work.  I would try
this first...if that doesn't work, we'll have to start looking at
alternatives.

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

Current GPG fingerprint = 60F3 160D C0D5 2C4B 751B  4FF9 6F67 E9BC 44CD DE95

-----Begin Obligatory Humorous Quote----------------------------------------
Employment tip #127: Never take a beer to a job interview.
-----End Obligatory Humorous Quote------------------------------------------

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

  parent reply	other threads:[~2001-09-10 13:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-09 14:46 [linux-lvm] LVM and -ac kernels? Benjamin Reed
2001-09-09 15:21 ` svetljo
2001-09-10 13:01 ` AJ Lewis [this message]
2001-09-26  8:41 ` Jim Cromie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010910080124.A8459@sistina.com \
    --to=lewis@sistina.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox