linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Patching Linus' pre- kernels?
@ 2001-05-25 15:26 Hugo Mills
  2001-05-28 11:22 ` Heinz J. Mauelshagen
  0 siblings, 1 reply; 3+ messages in thread
From: Hugo Mills @ 2001-05-25 15:26 UTC (permalink / raw)
  To: linux-lvm

   Hi - 

   I've just tried to patch a recent, but otherwise virgin, Linus
kernel, and had the kernel compile fail:

make[2]: Leaving directory `/usr/src/linux-2.4.5-pre3/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.4.5-pre3/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
        drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o  drivers/parport/driver.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/md/mddev.o \
        net/network.o \
        /usr/src/linux-2.4.5-pre3/arch/i386/lib/lib.a /usr/src/linux-2.4.5-pre3/lib/lib.a /usr/src/linux-2.4.5-pre3/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/md/mddev.o: In function `__update_hardblocksize':
drivers/md/mddev.o(.text+0x22f1): undefined reference to `get_hardblocksize'
drivers/md/mddev.o(.text+0x2332): undefined reference to `get_hardblocksize'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.5-pre3'
make: *** [stamp-build] Error 2

I'm using:
Debian testing
Kernel 2.4.5-pre3
LVM 0.9.1-beta7

   Is the beta7 LVM expected to patch against Linus' pre- kernels? If
it is, what have I done wrong? If not, which kernels should I be able
to patch against?

   Also, are there any potential problems with running LVM and devfs
together?

   Thanks,
   Hugo.

--
    ---- Hugo Mills --- The Creature from the Black Logon ----
hugo@lug.org.uk     hugo@carfax.nildram.co.uk     hugo@soton.ac.uk
     ---- "We did a risk management review. We concluded ----
            that there was no risk of any management."

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

* Re: [linux-lvm] Patching Linus' pre- kernels?
  2001-05-25 15:26 [linux-lvm] Patching Linus' pre- kernels? Hugo Mills
@ 2001-05-28 11:22 ` Heinz J. Mauelshagen
  2001-05-28 13:40   ` hugo
  0 siblings, 1 reply; 3+ messages in thread
From: Heinz J. Mauelshagen @ 2001-05-28 11:22 UTC (permalink / raw)
  To: linux-lvm

Hugo,

there's 2 optional solutions:

- change get_hardblocksize to get_hardsect_size and recompile -or-
- get the recent LVM code from CVS at www.sistina.com

Regards,
Heinz    -- The LVM Guy --


On Fri, May 25, 2001 at 04:26:19PM +0100, Hugo Mills wrote:
>    Hi - 
> 
>    I've just tried to patch a recent, but otherwise virgin, Linus
> kernel, and had the kernel compile fail:
> 
> make[2]: Leaving directory `/usr/src/linux-2.4.5-pre3/arch/i386/lib'
> ld -m elf_i386 -T /usr/src/linux-2.4.5-pre3/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
>         --start-group \
>         arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
>         drivers/block/block.o drivers/char/char.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o  drivers/parport/driver.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/md/mddev.o \
>         net/network.o \
>         /usr/src/linux-2.4.5-pre3/arch/i386/lib/lib.a /usr/src/linux-2.4.5-pre3/lib/lib.a /usr/src/linux-2.4.5-pre3/arch/i386/lib/lib.a \
>         --end-group \
>         -o vmlinux
> drivers/md/mddev.o: In function `__update_hardblocksize':
> drivers/md/mddev.o(.text+0x22f1): undefined reference to `get_hardblocksize'
> drivers/md/mddev.o(.text+0x2332): undefined reference to `get_hardblocksize'
> make[1]: *** [vmlinux] Error 1
> make[1]: Leaving directory `/usr/src/linux-2.4.5-pre3'
> make: *** [stamp-build] Error 2
> 
> I'm using:
> Debian testing
> Kernel 2.4.5-pre3
> LVM 0.9.1-beta7
> 
>    Is the beta7 LVM expected to patch against Linus' pre- kernels? If
> it is, what have I done wrong? If not, which kernels should I be able
> to patch against?
> 
>    Also, are there any potential problems with running LVM and devfs
> together?
> 
>    Thanks,
>    Hugo.
> 
> --
>     ---- Hugo Mills --- The Creature from the Black Logon ----
> hugo@lug.org.uk     hugo@carfax.nildram.co.uk     hugo@soton.ac.uk
>      ---- "We did a risk management review. We concluded ----
>             that there was no risk of any management."
> _______________________________________________
> 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

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

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: [linux-lvm] Patching Linus' pre- kernels?
  2001-05-28 11:22 ` Heinz J. Mauelshagen
@ 2001-05-28 13:40   ` hugo
  0 siblings, 0 replies; 3+ messages in thread
From: hugo @ 2001-05-28 13:40 UTC (permalink / raw)
  To: linux-lvm

On 28 May 2001, 11:22:24 +0000 (+0000), Heinz J. Mauelshagen wrote:

   Heinz - 

> - change get_hardblocksize to get_hardsect_size and recompile -or-

   Someone else (Gergely Tamas; thank you) sent me the same patch,
which compiles with no problems. Thanks.

   I am pleased to report that LVM is now holding /var, /tmp and /usr
on my system, without problems. I shall put /home under LVM as soon as
I can pluck up the courage to trust my backups :) (I have little free
space on this system -- moving things is a bit tight).

   Thank you for your help,
   Hugo.

-- 
    ---- Hugo Mills --- The Creature from the Black Logon ----
hugo@lug.org.uk     hugo@carfax.nildram.co.uk     hugo@soton.ac.uk
     ---- "We did a risk management review. We concluded ----
            that there was no risk of any management."

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

end of thread, other threads:[~2001-05-28 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-25 15:26 [linux-lvm] Patching Linus' pre- kernels? Hugo Mills
2001-05-28 11:22 ` Heinz J. Mauelshagen
2001-05-28 13:40   ` hugo

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).