* [linux-lvm] Problems compiling 2.4.4
@ 2001-05-02 16:28 Emanuel Quass
2001-05-02 23:06 ` Glenn Shannon
0 siblings, 1 reply; 7+ messages in thread
From: Emanuel Quass @ 2001-05-02 16:28 UTC (permalink / raw)
To: linux-lvm
Hi,
I compiled a kernel(2.4.4) with your lvm patch (0.9.1_beta7).
At the end of make bzImage an error occours:
ld -m elf_i386 -T /mnt/kernel/linux/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/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 \
/mnt/kernel/linux/arch/i386/lib/lib.a \
/mnt/kernel/linux/lib/lib.a /mnt/kernel/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinux \
drivers/md/mddev.o: In function `__update_hardblocksize':
drivers/md/mddev.o(.text+0x2316): undefined reference to `get_hardblocksize'
drivers/md/mddev.o(.text+0x2352): undefined reference to `get_hardblocksize'
make: *** [vmlinux] Error 1
Does anybody knwo where this comes from!
Thanks in advance
Emanuel
P.S. Please CC me because I am not in the list.
--
++++++++++++++++++++++++++++++++
Emanuel Quass
email : emanuel.quass@temic.com
In a world without fences and walls,
who needs Windows and Gates?
++++++++++++++++++++++++++++++++
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Problems compiling 2.4.4
2001-05-02 16:28 Emanuel Quass
@ 2001-05-02 23:06 ` Glenn Shannon
2001-05-04 9:38 ` Heinz J. Mauelshagen
0 siblings, 1 reply; 7+ messages in thread
From: Glenn Shannon @ 2001-05-02 23:06 UTC (permalink / raw)
To: linux-lvm
Emanuel Quass wrote:
> Hi,
>
> I compiled a kernel(2.4.4) with your lvm patch (0.9.1_beta7).
> At the end of make bzImage an error occours:
>
> ld -m elf_i386 -T /mnt/kernel/linux/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/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 \
> /mnt/kernel/linux/arch/i386/lib/lib.a \
> /mnt/kernel/linux/lib/lib.a /mnt/kernel/linux/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux \
> drivers/md/mddev.o: In function `__update_hardblocksize':
> drivers/md/mddev.o(.text+0x2316): undefined reference to `get_hardblocksize'
> drivers/md/mddev.o(.text+0x2352): undefined reference to `get_hardblocksize'
> make: *** [vmlinux] Error 1
> Does anybody knwo where this comes from!
>
> Thanks in advance
>
> Emanuel
>
> P.S. Please CC me because I am not in the list.
>
> --
>
> ++++++++++++++++++++++++++++++++
> Emanuel Quass
> email : emanuel.quass@temic.com
>
> In a world without fences and walls,
> who needs Windows and Gates?
> ++++++++++++++++++++++++++++++++
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
go to your /usr/src/linux directory.....go to drivers/md and edit lvm.c and
change the two entries of get_hardblocksize with get_hardsect_size
That should do the trick.
Glenn
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [linux-lvm] Problems compiling 2.4.4
@ 2001-05-02 23:19 Lionel COTTIN
2001-05-02 23:29 ` Glenn Shannon
0 siblings, 1 reply; 7+ messages in thread
From: Lionel COTTIN @ 2001-05-02 23:19 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
Hi,
it seems you have activated the md driver (raid 0...5), which is not LVM
related....
try to de-activate it if possible, then try again.
I have compiled the 2.4.4 kernel with LVM 0.9.1beta7 today without any
problem.
Good luck ;)
Lionel
-----Message d'origine-----
De : linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]De
la part de Emanuel Quass
Envoyé : mercredi 2 mai 2001 18:28
À : linux-lvm@sistina.com
Objet : [linux-lvm] Problems compiling 2.4.4
Hi,
I compiled a kernel(2.4.4) with your lvm patch (0.9.1_beta7).
At the end of make bzImage an error occours:
ld -m elf_i386 -T /mnt/kernel/linux/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/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 \
/mnt/kernel/linux/arch/i386/lib/lib.a \
/mnt/kernel/linux/lib/lib.a /mnt/kernel/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinux \
drivers/md/mddev.o: In function `__update_hardblocksize':
drivers/md/mddev.o(.text+0x2316): undefined reference to `get_hardblocksize'
drivers/md/mddev.o(.text+0x2352): undefined reference to `get_hardblocksize'
make: *** [vmlinux] Error 1
Does anybody knwo where this comes from!
Thanks in advance
Emanuel
P.S. Please CC me because I am not in the list.
--
++++++++++++++++++++++++++++++++
Emanuel Quass
email : emanuel.quass@temic.com
In a world without fences and walls,
who needs Windows and Gates?
++++++++++++++++++++++++++++++++
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [linux-lvm] Problems compiling 2.4.4
@ 2001-05-02 23:20 Day, Evan
0 siblings, 0 replies; 7+ messages in thread
From: Day, Evan @ 2001-05-02 23:20 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
Actually, the LVM code is part of the "md" subsystem and the LVM options in
the kernel are under the MD section; you can't have LVM without having base
md (independent of the RAID code).
-----Original Message-----
From: Lionel COTTIN [mailto:noc@industrysuppliers.com]
Sent: Wednesday, May 02, 2001 4:19 PM
To: 'linux-lvm@sistina.com'
Subject: RE: [linux-lvm] Problems compiling 2.4.4
Hi,
it seems you have activated the md driver (raid 0...5), which is not LVM
related....
try to de-activate it if possible, then try again.
I have compiled the 2.4.4 kernel with LVM 0.9.1beta7 today without any
problem.
Good luck ;)
Lionel
-----Message d'origine-----
De : linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]De
la part de Emanuel Quass
Envoyé : mercredi 2 mai 2001 18:28
À : linux-lvm@sistina.com
Objet : [linux-lvm] Problems compiling 2.4.4
Hi,
I compiled a kernel(2.4.4) with your lvm patch (0.9.1_beta7).
At the end of make bzImage an error occours:
ld -m elf_i386 -T /mnt/kernel/linux/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/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 \
/mnt/kernel/linux/arch/i386/lib/lib.a \
/mnt/kernel/linux/lib/lib.a /mnt/kernel/linux/arch/i386/lib/lib.a \
--end-group \
-o vmlinux \
drivers/md/mddev.o: In function `__update_hardblocksize':
drivers/md/mddev.o(.text+0x2316): undefined reference to `get_hardblocksize'
drivers/md/mddev.o(.text+0x2352): undefined reference to `get_hardblocksize'
make: *** [vmlinux] Error 1
Does anybody knwo where this comes from!
Thanks in advance
Emanuel
P.S. Please CC me because I am not in the list.
--
++++++++++++++++++++++++++++++++
Emanuel Quass
email : emanuel.quass@temic.com
In a world without fences and walls,
who needs Windows and Gates?
++++++++++++++++++++++++++++++++
_______________________________________________
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Problems compiling 2.4.4
2001-05-02 23:19 [linux-lvm] Problems compiling 2.4.4 Lionel COTTIN
@ 2001-05-02 23:29 ` Glenn Shannon
0 siblings, 0 replies; 7+ messages in thread
From: Glenn Shannon @ 2001-05-02 23:29 UTC (permalink / raw)
To: linux-lvm
Lionel COTTIN wrote:
> Hi,
>
> it seems you have activated the md driver (raid 0...5), which is not LVM
> related....
> try to de-activate it if possible, then try again.
>
> I have compiled the 2.4.4 kernel with LVM 0.9.1beta7 today without any
> problem.
>
> Good luck ;)
>
> Lionel
>
> -----Message d'origine-----
> De : linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]De
> la part de Emanuel Quass
> Envoy� : mercredi 2 mai 2001 18:28
> � : linux-lvm@sistina.com
> Objet : [linux-lvm] Problems compiling 2.4.4
>
> Hi,
>
> I compiled a kernel(2.4.4) with your lvm patch (0.9.1_beta7).
> At the end of make bzImage an error occours:
>
> ld -m elf_i386 -T /mnt/kernel/linux/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/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 \
> /mnt/kernel/linux/arch/i386/lib/lib.a \
> /mnt/kernel/linux/lib/lib.a /mnt/kernel/linux/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux \
> drivers/md/mddev.o: In function `__update_hardblocksize':
> drivers/md/mddev.o(.text+0x2316): undefined reference to `get_hardblocksize'
> drivers/md/mddev.o(.text+0x2352): undefined reference to `get_hardblocksize'
> make: *** [vmlinux] Error 1
>
> Does anybody knwo where this comes from!
>
> Thanks in advance
>
> Emanuel
>
> P.S. Please CC me because I am not in the list.
>
> --
>
> ++++++++++++++++++++++++++++++++
> Emanuel Quass
> email : emanuel.quass@temic.com
>
> In a world without fences and walls,
> who needs Windows and Gates?
> ++++++++++++++++++++++++++++++++
> _______________________________________________
> 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
So does this mean that raid is broken in 2.4.4?
Glenn
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [linux-lvm] Problems compiling 2.4.4
@ 2001-05-02 23:54 Day, Evan
0 siblings, 0 replies; 7+ messages in thread
From: Day, Evan @ 2001-05-02 23:54 UTC (permalink / raw)
To: 'linux-lvm@sistina.com'
No, RAID isn't broken. The mddev.o file contains object files for all RAID
and LVM source files. The offending code is in drivers/md/lvm.c (IIRC), and
will only show up if LVM is activated in the configuration.
-----Original Message-----
From: Glenn Shannon [mailto:glenn@gecpalau.com]
Sent: Wednesday, May 02, 2001 4:30 PM
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Problems compiling 2.4.4
Lionel COTTIN wrote:
> Hi,
>
> it seems you have activated the md driver (raid 0...5), which is not LVM
> related....
> try to de-activate it if possible, then try again.
>
> I have compiled the 2.4.4 kernel with LVM 0.9.1beta7 today without any
> problem.
>
> Good luck ;)
>
> Lionel
>
> -----Message d'origine-----
> De : linux-lvm-admin@sistina.com [mailto:linux-lvm-admin@sistina.com]De
> la part de Emanuel Quass
> Envoyé : mercredi 2 mai 2001 18:28
> À : linux-lvm@sistina.com
> Objet : [linux-lvm] Problems compiling 2.4.4
>
> Hi,
>
> I compiled a kernel(2.4.4) with your lvm patch (0.9.1_beta7).
> At the end of make bzImage an error occours:
>
> ld -m elf_i386 -T /mnt/kernel/linux/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/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 \
> /mnt/kernel/linux/arch/i386/lib/lib.a \
> /mnt/kernel/linux/lib/lib.a /mnt/kernel/linux/arch/i386/lib/lib.a \
> --end-group \
> -o vmlinux \
> drivers/md/mddev.o: In function `__update_hardblocksize':
> drivers/md/mddev.o(.text+0x2316): undefined reference to
`get_hardblocksize'
> drivers/md/mddev.o(.text+0x2352): undefined reference to
`get_hardblocksize'
> make: *** [vmlinux] Error 1
>
> Does anybody knwo where this comes from!
>
> Thanks in advance
>
> Emanuel
>
> P.S. Please CC me because I am not in the list.
>
> --
>
> ++++++++++++++++++++++++++++++++
> Emanuel Quass
> email : emanuel.quass@temic.com
>
> In a world without fences and walls,
> who needs Windows and Gates?
> ++++++++++++++++++++++++++++++++
> _______________________________________________
> 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
So does this mean that raid is broken in 2.4.4?
Glenn
_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [linux-lvm] Problems compiling 2.4.4
2001-05-02 23:06 ` Glenn Shannon
@ 2001-05-04 9:38 ` Heinz J. Mauelshagen
0 siblings, 0 replies; 7+ messages in thread
From: Heinz J. Mauelshagen @ 2001-05-04 9:38 UTC (permalink / raw)
To: linux-lvm
Glenn is right.
I've already applied support for the changed symbol (get_hardsect_size rather
than get_hardblocksize) in recent LVM CVS.
Regards,
Heinz -- The LVM Guy --
On Thu, May 03, 2001 at 08:06:25AM +0900, Glenn Shannon wrote:
> Emanuel Quass wrote:
>
> > Hi,
> >
> > I compiled a kernel(2.4.4) with your lvm patch (0.9.1_beta7).
> > At the end of make bzImage an error occours:
> >
> > ld -m elf_i386 -T /mnt/kernel/linux/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/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 \
> > /mnt/kernel/linux/arch/i386/lib/lib.a \
> > /mnt/kernel/linux/lib/lib.a /mnt/kernel/linux/arch/i386/lib/lib.a \
> > --end-group \
> > -o vmlinux \
> > drivers/md/mddev.o: In function `__update_hardblocksize':
> > drivers/md/mddev.o(.text+0x2316): undefined reference to `get_hardblocksize'
> > drivers/md/mddev.o(.text+0x2352): undefined reference to `get_hardblocksize'
> > make: *** [vmlinux] Error 1
> > Does anybody knwo where this comes from!
> >
> > Thanks in advance
> >
> > Emanuel
> >
> > P.S. Please CC me because I am not in the list.
> >
> > --
> >
> > ++++++++++++++++++++++++++++++++
> > Emanuel Quass
> > email : emanuel.quass@temic.com
> >
> > In a world without fences and walls,
> > who needs Windows and Gates?
> > ++++++++++++++++++++++++++++++++
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
>
> go to your /usr/src/linux directory.....go to drivers/md and edit lvm.c and
> change the two entries of get_hardblocksize with get_hardsect_size
>
> That should do the trick.
>
> Glenn
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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] 7+ messages in thread
end of thread, other threads:[~2001-05-04 9:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-02 23:19 [linux-lvm] Problems compiling 2.4.4 Lionel COTTIN
2001-05-02 23:29 ` Glenn Shannon
-- strict thread matches above, loose matches on Subject: below --
2001-05-02 23:54 Day, Evan
2001-05-02 23:20 Day, Evan
2001-05-02 16:28 Emanuel Quass
2001-05-02 23:06 ` Glenn Shannon
2001-05-04 9:38 ` Heinz J. Mauelshagen
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).