* Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
@ 2003-01-28 5:09 jrelist
2003-01-28 5:20 ` Patrick Caulfield
0 siblings, 1 reply; 11+ messages in thread
From: jrelist @ 2003-01-28 5:09 UTC (permalink / raw)
To: Peter A. Castro; +Cc: linux-lvm
Peter
Still get the problem with kernel 2.4.9-38. I took your advice and checked out the System.map and got this:
000315e8 T lock_kiovec
00031800 T unlock_kiovec
00050940 T brw_kiovec
00068688 T alloc_kiovec_sz
0006873c T free_kiovec_sz
001ca412 ? __kstrtab_alloc_kiovec_sz
001ca430 ? __kstrtab_free_kiovec_sz
001ca4a4 ? __kstrtab_lock_kiovec
001ca4be ? __kstrtab_unlock_kiovec
001ca4da ? __kstrtab_brw_kiovec
001d1d68 ? __ksymtab_alloc_kiovec_sz
001d1d70 ? __ksymtab_free_kiovec_sz
001d1d90 ? __ksymtab_lock_kiovec
001d1d98 ? __ksymtab_unlock_kiovec
001d1da0 ? __ksymtab_brw_kiovec
Strikes me that it could be something (hopefully) as simple as amending labels in the appropriate lvm code - just got to suss out what needs changing now.
Thanks for the advice so far
John
>
> From: "Peter A. Castro" <doctor@fruitbat.org>
> Date: 2003/01/24 Fri AM 12:31:55 GMT
> To: jrelist@ntlworld.com
> CC: linux-lvm@sistina.com
> Subject: Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
>
> On Thu, 23 Jan 2003 jrelist@ntlworld.com wrote:
>
> > Peter
>
> Hi John,
>
> > I followed the instructions from the LVM how-to to do the configuration
> > and patch. To be safe, each time I tried I re-installed the kernel-source
> > & header rpms (Saving my .config beforehand) then amending the kernel
> > extension in the Makefile before configure / patching, then went through
> > the process in the r/h doc
> >
> > make mrproper
> > make config (actually xconfig)
>
> You'd missing the 'make dep' step here. Creating the dependencies is
> important.
>
> > make clean
> > make image
> > make modules
> >
> > which would all work very nicely
>
> You might try saving the output from the 'make image' and 'make modules'
> to see if iobuf.c gets compiled and linked into fs.o
>
> > then make modules_install which would always give the error.
> > I tried it with config_modversions on and off in the config, no joy.
> >
> > I'll try getting the version you have. You mention timer patches - are
> > they significant ? Also, those depmods that cause problems - do you know
> > of anywhere else I might locate them or might need to do during the
> > building of the patch to get them ?
>
> The specific version shouldn't matter much, nor should the distro as long
> as it supports S/390.
> I'm not the one who built our systems here, but I'll ask. I'd assume it
> was the stock distro from SuSE. Not sure about the timer patches, again
> I'll ask, and in any case it wouldn't help with your module symbol
> resolving problem.
>
> > Thanks
> >
> > John
> >
> > >
> > > From: "Peter A. Castro" <doctor@fruitbat.org>
> > > Date: 2003/01/23 Thu PM 08:50:33 GMT
> > > To: jrelist@ntlworld.com
> > > Subject: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
> > >
> > > On Thu, 23 Jan 2003 jrelist@ntlworld.com wrote:
> > >
> > > > Hi
> > >
> > > Hi John,
> > >
> > > > I'm wondering has anybody been able to install LVM onto s/390 Redhat
> > > > Linux 7.2 ? I have kernel 2.4.7-39 running and the rpm for lvm 1.0.3. is
> > > > part of the build, but not the lvm-mod.o module.
> > >
> > > We have LVM 0.9.1_beta7 running on SuSE SLES-7.2 (s390) under
> > > a 2.4.7-SuSE-SMP kernel, with some timer patches, at work.
> > >
> > > > I've attempted rebuilding the kernel from source with patches etc. from
> > > > versions 1.0.3 and 1.0.6 following the instructions from sistina and
> > > > redhat (including enabling lvm support !) but I always fall at the final
> > > > hurdle, when doing the make_install :
> > > >
> > > > ---------------------------------------
> > > > cd /lib/modules/2.4.9-37lvm; \
> > > > mkdir -p pcmcia; \
> > > > find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
> > > > if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.9-37lvm; fi
> > > > depmod: *** Unresolved symbols in /lib/modules/2.4.9-37lvm/kernel/drivers/md/lvm-mod.o
> > > > depmod: alloc_kiovec
> > > > depmod: free_kiovec
> > > > make: *** [_modinst_post] Error 1
> > > > [root@rother-8 linux]#
> > > > ------------------------------------
> > > >
> > > > If anyone can help me, I'd be grateful. I'm an os/390 guy, this is my
> > > > first dive into the Linux pool and so far I'm enjoying it !
> > >
> > > alloc_kiovec and free_kiovec are part of the fs code and should always be
> > > present. You should be able to grep for either in the System.map.
> > >
> > > Did you do a 'make dep' and 'make clean' before doing a 'make all'? For
> > > that matter, did you do a 'make mrproper' before creating your config
> > > ('make menuconfig')? Save your existing .config before doing make mrproper!!
> > >
> > > > Thanks in advance
> > > > John Ellis
> > > > UK
> > >
> > > --
> > > Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
> > > "Cats are just autistic Dogs" -- Dr. Tony Attwood
> > >
> > >
> >
>
> --
> Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
> "Cats are just autistic Dogs" -- Dr. Tony Attwood
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
2003-01-28 5:09 Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39 jrelist
@ 2003-01-28 5:20 ` Patrick Caulfield
2003-01-28 18:58 ` Peter A. Castro
0 siblings, 1 reply; 11+ messages in thread
From: Patrick Caulfield @ 2003-01-28 5:20 UTC (permalink / raw)
To: linux-lvm
On Tue, Jan 28, 2003 at 11:08:11AM +0000, jrelist@ntlworld.com wrote:
>
> Peter
>
> Still get the problem with kernel 2.4.9-38. I took your advice and checked out the System.map and got this:
>
> 000315e8 T lock_kiovec
> 00031800 T unlock_kiovec
> 00050940 T brw_kiovec
> 00068688 T alloc_kiovec_sz
> 0006873c T free_kiovec_sz
> 001ca412 ? __kstrtab_alloc_kiovec_sz
> 001ca430 ? __kstrtab_free_kiovec_sz
> 001ca4a4 ? __kstrtab_lock_kiovec
> 001ca4be ? __kstrtab_unlock_kiovec
> 001ca4da ? __kstrtab_brw_kiovec
> 001d1d68 ? __ksymtab_alloc_kiovec_sz
> 001d1d70 ? __ksymtab_free_kiovec_sz
> 001d1d90 ? __ksymtab_lock_kiovec
> 001d1d98 ? __ksymtab_unlock_kiovec
> 001d1da0 ? __ksymtab_brw_kiovec
>
> Strikes me that it could be something (hopefully) as simple as amending labels in the appropriate lvm code - just got to suss out what needs changing now.
>
> Thanks for the advice so far
>
> John
This is quite an old problem (but then 2.4.9 is an old kernel I suppose!)
See:
http://www.uwsg.iu.edu/hypermail/linux/kernel/0111.1/0815.html
patrick
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
2003-01-28 5:20 ` Patrick Caulfield
@ 2003-01-28 18:58 ` Peter A. Castro
0 siblings, 0 replies; 11+ messages in thread
From: Peter A. Castro @ 2003-01-28 18:58 UTC (permalink / raw)
To: linux-lvm
On Tue, 28 Jan 2003, Patrick Caulfield wrote:
> On Tue, Jan 28, 2003 at 11:08:11AM +0000, jrelist@ntlworld.com wrote:
> >
> > Peter
> >
> > Still get the problem with kernel 2.4.9-38. I took your advice and checked out the System.map and got this:
> >
> > 000315e8 T lock_kiovec
> > 00031800 T unlock_kiovec
> > 00050940 T brw_kiovec
> > 00068688 T alloc_kiovec_sz
> > 0006873c T free_kiovec_sz
> > 001ca412 ? __kstrtab_alloc_kiovec_sz
> > 001ca430 ? __kstrtab_free_kiovec_sz
> > 001ca4a4 ? __kstrtab_lock_kiovec
> > 001ca4be ? __kstrtab_unlock_kiovec
> > 001ca4da ? __kstrtab_brw_kiovec
> > 001d1d68 ? __ksymtab_alloc_kiovec_sz
> > 001d1d70 ? __ksymtab_free_kiovec_sz
> > 001d1d90 ? __ksymtab_lock_kiovec
> > 001d1d98 ? __ksymtab_unlock_kiovec
> > 001d1da0 ? __ksymtab_brw_kiovec
> >
> > Strikes me that it could be something (hopefully) as simple as amending labels in the appropriate lvm code - just got to suss out what needs changing now.
> >
> > Thanks for the advice so far
> >
> > John
>
> This is quite an old problem (but then 2.4.9 is an old kernel I suppose!)
> See:
> http://www.uwsg.iu.edu/hypermail/linux/kernel/0111.1/0815.html
Excellent! This looks like the problem. John, you might just want to
punt and go grab a later 2.4 kernel source (2.4.19?) instead of hashing
with this old one as the later kernels have quite a few fixes in them.
Grab the later LVM source (1.0.6?) while you're at it and build fresh.
Thanks Patrick for the link!
> patrick
--
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
"Cats are just autistic Dogs" -- Dr. Tony Attwood
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
@ 2003-01-30 12:23 jrelist
0 siblings, 0 replies; 11+ messages in thread
From: jrelist @ 2003-01-30 12:23 UTC (permalink / raw)
To: linux-lvm
Well, it's working ! I removed the lvm 1.0.3-10 rpm, and compiled the 1.0.6 tools, then set up libraries and manually placed files in a similar way to a note I saw from Bill Blunn in Feb 02, and I've now got a functioning VG and Lvols with ext3 ! It's all started to go right with that little patch for alloc_sz etc.
Just to be on the safeside, I've been taking full backups of the 3390s from the os/390 side before I made major changes !
Thanks for your help Peter and Patrick.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
@ 2003-01-30 5:56 jrelist
2003-01-30 6:05 ` Patrick Caulfield
2003-01-30 11:04 ` Peter A. Castro
0 siblings, 2 replies; 11+ messages in thread
From: jrelist @ 2003-01-30 5:56 UTC (permalink / raw)
To: linux-lvm
Well, it's kind of working now ! I followed the link, got the patch. I patched lvm 1.0.6 to my kernel, ended up having to manually change lvm-snap.c, went throught the build and IPL'd successfully !
However, I'm now faced with another problem. After creating, then extending a VG, a subsequent vgscan gives 'segmentation error' and a pvscan now says the vg the devices are connected to is unknown. The rpm installed for the lvm utilities is 1.0.3-10, and from searching the lists I believe I need an updated version of VGSCAN. I know there won't be a binary available for s/390 redhat at 1.0.6 level, but I'd like to what would be the best SRPMS to get - I've seen a couple of different versions but nothing specifically mentioned as for a Redhat distro.
Thanks for your help so far, nearly there.... !
John
>
> From: Patrick Caulfield <caulfield@sistina.com>
> Date: 2003/01/28 Tue AM 11:19:07 GMT
> To: linux-lvm@sistina.com
> Subject: Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
>
> On Tue, Jan 28, 2003 at 11:08:11AM +0000, jrelist@ntlworld.com wrote:
> >
> > Peter
> >
> > Still get the problem with kernel 2.4.9-38. I took your advice and checked out the System.map and got this:
> >
> > 000315e8 T lock_kiovec
> > 00031800 T unlock_kiovec
> > 00050940 T brw_kiovec
> > 00068688 T alloc_kiovec_sz
> > 0006873c T free_kiovec_sz
> > 001ca412 ? __kstrtab_alloc_kiovec_sz
> > 001ca430 ? __kstrtab_free_kiovec_sz
> > 001ca4a4 ? __kstrtab_lock_kiovec
> > 001ca4be ? __kstrtab_unlock_kiovec
> > 001ca4da ? __kstrtab_brw_kiovec
> > 001d1d68 ? __ksymtab_alloc_kiovec_sz
> > 001d1d70 ? __ksymtab_free_kiovec_sz
> > 001d1d90 ? __ksymtab_lock_kiovec
> > 001d1d98 ? __ksymtab_unlock_kiovec
> > 001d1da0 ? __ksymtab_brw_kiovec
> >
> > Strikes me that it could be something (hopefully) as simple as amending labels in the appropriate lvm code - just got to suss out what needs changing now.
> >
> > Thanks for the advice so far
> >
> > John
>
> This is quite an old problem (but then 2.4.9 is an old kernel I suppose!)
>
> See:
>
> http://www.uwsg.iu.edu/hypermail/linux/kernel/0111.1/0815.html
>
> patrick
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
2003-01-30 5:56 jrelist
@ 2003-01-30 6:05 ` Patrick Caulfield
2003-01-30 11:04 ` Peter A. Castro
1 sibling, 0 replies; 11+ messages in thread
From: Patrick Caulfield @ 2003-01-30 6:05 UTC (permalink / raw)
To: linux-lvm
On Thu, Jan 30, 2003 at 11:55:03AM +0000, jrelist@ntlworld.com wrote:
>
> Well, it's kind of working now ! I followed the link, got the patch. I patched lvm 1.0.6 to my kernel, ended up having to manually change lvm-snap.c, went throught the build and IPL'd successfully !
>
> However, I'm now faced with another problem. After creating, then extending a VG, a subsequent vgscan gives 'segmentation error' and a pvscan now says the vg the devices are connected to is unknown. The rpm installed for the lvm utilities is 1.0.3-10, and from searching the lists I believe I need an updated version of VGSCAN. I know there won't be a binary available for s/390 redhat at 1.0.6 level, but I'd like to what would be the best SRPMS to get - I've seen a couple of different versions but nothing specifically mentioned as for a Redhat distro.
>
> Thanks for your help so far, nearly there.... !
>
I don't think there are any SRPMS (not official ones anyway), but the tar.gz
sources should build just fine.
--
patrick
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
2003-01-30 5:56 jrelist
2003-01-30 6:05 ` Patrick Caulfield
@ 2003-01-30 11:04 ` Peter A. Castro
1 sibling, 0 replies; 11+ messages in thread
From: Peter A. Castro @ 2003-01-30 11:04 UTC (permalink / raw)
To: linux-lvm
On Thu, 30 Jan 2003 jrelist@ntlworld.com wrote:
> Well, it's kind of working now ! I followed the link, got the patch. I
> patched lvm 1.0.6 to my kernel, ended up having to manually change
> lvm-snap.c, went throught the build and IPL'd successfully !
Hmmm.. this is why I suggested getting the latest standard kernel for 2.4
as it'll have the latest fixes already applied. It doesn't have to be a
RedHat blessed kernel, ya know :) The kernel is still just the kernel
reguardless of which distro it came with.
> However, I'm now faced with another problem. After creating, then
> extending a VG, a subsequent vgscan gives 'segmentation error' and a
> pvscan now says the vg the devices are connected to is unknown. The rpm
> installed for the lvm utilities is 1.0.3-10, and from searching the lists
> I believe I need an updated version of VGSCAN. I know there won't be a
> binary available for s/390 redhat at 1.0.6 level, but I'd like to what
> would be the best SRPMS to get - I've seen a couple of different versions
> but nothing specifically mentioned as for a Redhat distro.
As Patrick mentioned in another reply, there isn't any official SRPM, but
the .tar source is readily downloadable and buildable from sistina.com.
If you really prefer a SRPM, I have one for LVM 1.0.5 and 1.0.6 that I
put together for a PPC port. It's not from Red Hat, but it should build
reguardless (or at least with a minimum of hacking). You are welcome to
download and try build it. Let me know. If you aren't familiar with
build SRPMs, then I highly suggest going for the .tar instead.
> Thanks for your help so far, nearly there.... !
Keep at it!
> John
>
>
>
> >
> > From: Patrick Caulfield <caulfield@sistina.com>
> > Date: 2003/01/28 Tue AM 11:19:07 GMT
> > To: linux-lvm@sistina.com
> > Subject: Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
> >
> > On Tue, Jan 28, 2003 at 11:08:11AM +0000, jrelist@ntlworld.com wrote:
> > >
> > > Peter
> > >
> > > Still get the problem with kernel 2.4.9-38. I took your advice and checked out the System.map and got this:
> > >
> > > 000315e8 T lock_kiovec
> > > 00031800 T unlock_kiovec
> > > 00050940 T brw_kiovec
> > > 00068688 T alloc_kiovec_sz
> > > 0006873c T free_kiovec_sz
> > > 001ca412 ? __kstrtab_alloc_kiovec_sz
> > > 001ca430 ? __kstrtab_free_kiovec_sz
> > > 001ca4a4 ? __kstrtab_lock_kiovec
> > > 001ca4be ? __kstrtab_unlock_kiovec
> > > 001ca4da ? __kstrtab_brw_kiovec
> > > 001d1d68 ? __ksymtab_alloc_kiovec_sz
> > > 001d1d70 ? __ksymtab_free_kiovec_sz
> > > 001d1d90 ? __ksymtab_lock_kiovec
> > > 001d1d98 ? __ksymtab_unlock_kiovec
> > > 001d1da0 ? __ksymtab_brw_kiovec
> > >
> > > Strikes me that it could be something (hopefully) as simple as amending labels in the appropriate lvm code - just got to suss out what needs changing now.
> > >
> > > Thanks for the advice so far
> > >
> > > John
> >
> > This is quite an old problem (but then 2.4.9 is an old kernel I suppose!)
> >
> > See:
> >
> > http://www.uwsg.iu.edu/hypermail/linux/kernel/0111.1/0815.html
> >
> > patrick
> >
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> >
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
--
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
"Cats are just autistic Dogs" -- Dr. Tony Attwood
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
@ 2003-01-29 4:31 jrelist
0 siblings, 0 replies; 11+ messages in thread
From: jrelist @ 2003-01-29 4:31 UTC (permalink / raw)
To: linux-lvm
>
> From: "Peter A. Castro" <doctor@fruitbat.org>
> Date: 2003/01/29 Wed AM 12:44:04 GMT
> To: linux-lvm@sistina.com
> Subject: Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
>
> On Tue, 28 Jan 2003, Patrick Caulfield wrote:
>
> > On Tue, Jan 28, 2003 at 11:08:11AM +0000, jrelist@ntlworld.com wrote:
> > >
> > > Peter
> > >
> > > Still get the problem with kernel 2.4.9-38. I took your advice and checked out the System.map and got this:
> > >
> > > 000315e8 T lock_kiovec
> > > 00031800 T unlock_kiovec
> > > 00050940 T brw_kiovec
> > > 00068688 T alloc_kiovec_sz
> > > 0006873c T free_kiovec_sz
> > > 001ca412 ? __kstrtab_alloc_kiovec_sz
> > > 001ca430 ? __kstrtab_free_kiovec_sz
> > > 001ca4a4 ? __kstrtab_lock_kiovec
> > > 001ca4be ? __kstrtab_unlock_kiovec
> > > 001ca4da ? __kstrtab_brw_kiovec
> > > 001d1d68 ? __ksymtab_alloc_kiovec_sz
> > > 001d1d70 ? __ksymtab_free_kiovec_sz
> > > 001d1d90 ? __ksymtab_lock_kiovec
> > > 001d1d98 ? __ksymtab_unlock_kiovec
> > > 001d1da0 ? __ksymtab_brw_kiovec
> > >
> > > Strikes me that it could be something (hopefully) as simple as amending labels in the appropriate lvm code - just got to suss out what needs changing now.
> > >
> > > Thanks for the advice so far
> > >
> > > John
> >
> > This is quite an old problem (but then 2.4.9 is an old kernel I suppose!)
> > See:
> > http://www.uwsg.iu.edu/hypermail/linux/kernel/0111.1/0815.html
>
> Excellent! This looks like the problem. John, you might just want to
> punt and go grab a later 2.4 kernel source (2.4.19?) instead of hashing
> with this old one as the later kernels have quite a few fixes in them.
> Grab the later LVM source (1.0.6?) while you're at it and build fresh.
>
> Thanks Patrick for the link!
>
> > patrick
>
> --
> Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
> "Cats are just autistic Dogs" -- Dr. Tony Attwood
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
Thanks to both of you, I'll try this out. As far as getting a newer kernel is concerned, I'd like to, but from what I can see 2.4.9-38 is the latest Redhat s/390 production kernel, unless anyone can advise me differently. I might just have to request an evaluation version from Suse if I can't get this working !
John
John
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
@ 2003-01-27 7:05 jrelist
0 siblings, 0 replies; 11+ messages in thread
From: jrelist @ 2003-01-27 7:05 UTC (permalink / raw)
To: linux-lvm
I had been doing the make dep, forgot to list it.
I've moved up to kernel 2.4.9-38, going to try with that. Failing that, I might have to get an evaluation copy of Suse linux.
John
>
> From: "Peter A. Castro" <doctor@fruitbat.org>
> Date: 2003/01/24 Fri AM 12:31:55 GMT
> To: jrelist@ntlworld.com
> CC: linux-lvm@sistina.com
> Subject: Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
>
> On Thu, 23 Jan 2003 jrelist@ntlworld.com wrote:
>
> > Peter
>
> Hi John,
>
> > I followed the instructions from the LVM how-to to do the configuration
> > and patch. To be safe, each time I tried I re-installed the kernel-source
> > & header rpms (Saving my .config beforehand) then amending the kernel
> > extension in the Makefile before configure / patching, then went through
> > the process in the r/h doc
> >
> > make mrproper
> > make config (actually xconfig)
>
> You'd missing the 'make dep' step here. Creating the dependencies is
> important.
>
> > make clean
> > make image
> > make modules
> >
> > which would all work very nicely
>
> You might try saving the output from the 'make image' and 'make modules'
> to see if iobuf.c gets compiled and linked into fs.o
>
> > then make modules_install which would always give the error.
> > I tried it with config_modversions on and off in the config, no joy.
> >
> > I'll try getting the version you have. You mention timer patches - are
> > they significant ? Also, those depmods that cause problems - do you know
> > of anywhere else I might locate them or might need to do during the
> > building of the patch to get them ?
>
> The specific version shouldn't matter much, nor should the distro as long
> as it supports S/390.
> I'm not the one who built our systems here, but I'll ask. I'd assume it
> was the stock distro from SuSE. Not sure about the timer patches, again
> I'll ask, and in any case it wouldn't help with your module symbol
> resolving problem.
>
> > Thanks
> >
> > John
> >
> > >
> > > From: "Peter A. Castro" <doctor@fruitbat.org>
> > > Date: 2003/01/23 Thu PM 08:50:33 GMT
> > > To: jrelist@ntlworld.com
> > > Subject: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
> > >
> > > On Thu, 23 Jan 2003 jrelist@ntlworld.com wrote:
> > >
> > > > Hi
> > >
> > > Hi John,
> > >
> > > > I'm wondering has anybody been able to install LVM onto s/390 Redhat
> > > > Linux 7.2 ? I have kernel 2.4.7-39 running and the rpm for lvm 1.0.3. is
> > > > part of the build, but not the lvm-mod.o module.
> > >
> > > We have LVM 0.9.1_beta7 running on SuSE SLES-7.2 (s390) under
> > > a 2.4.7-SuSE-SMP kernel, with some timer patches, at work.
> > >
> > > > I've attempted rebuilding the kernel from source with patches etc. from
> > > > versions 1.0.3 and 1.0.6 following the instructions from sistina and
> > > > redhat (including enabling lvm support !) but I always fall at the final
> > > > hurdle, when doing the make_install :
> > > >
> > > > ---------------------------------------
> > > > cd /lib/modules/2.4.9-37lvm; \
> > > > mkdir -p pcmcia; \
> > > > find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
> > > > if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.9-37lvm; fi
> > > > depmod: *** Unresolved symbols in /lib/modules/2.4.9-37lvm/kernel/drivers/md/lvm-mod.o
> > > > depmod: alloc_kiovec
> > > > depmod: free_kiovec
> > > > make: *** [_modinst_post] Error 1
> > > > [root@rother-8 linux]#
> > > > ------------------------------------
> > > >
> > > > If anyone can help me, I'd be grateful. I'm an os/390 guy, this is my
> > > > first dive into the Linux pool and so far I'm enjoying it !
> > >
> > > alloc_kiovec and free_kiovec are part of the fs code and should always be
> > > present. You should be able to grep for either in the System.map.
> > >
> > > Did you do a 'make dep' and 'make clean' before doing a 'make all'? For
> > > that matter, did you do a 'make mrproper' before creating your config
> > > ('make menuconfig')? Save your existing .config before doing make mrproper!!
> > >
> > > > Thanks in advance
> > > > John Ellis
> > > > UK
> > >
> > > --
> > > Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
> > > "Cats are just autistic Dogs" -- Dr. Tony Attwood
> > >
> > >
> >
>
> --
> Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
> "Cats are just autistic Dogs" -- Dr. Tony Attwood
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
@ 2003-01-23 16:00 jrelist
2003-01-23 18:35 ` Peter A. Castro
0 siblings, 1 reply; 11+ messages in thread
From: jrelist @ 2003-01-23 16:00 UTC (permalink / raw)
To: Peter A. Castro; +Cc: linux-lvm
Peter
I followed the instructions from the LVM how-to to do the configuration and patch. To be safe, each time I tried I re-installed the kernel-source & header rpms (Saving my .config beforehand) then amending the kernel extension in the Makefile before configure / patching, then went through the process in the r/h doc
make mrproper
make config (actually xconfig)
make clean
make image
make modules
which would all work very nicely
then make modules_install which would always give the error.
I tried it with config_modversions on and off in the config, no joy.
I'll try getting the version you have. You mention timer patches - are they significant ? Also, those depmods that cause problems - do you know of anywhere else I might locate them or might need to do during the building of the patch to get them ?
Thanks
John
>
> From: "Peter A. Castro" <doctor@fruitbat.org>
> Date: 2003/01/23 Thu PM 08:50:33 GMT
> To: jrelist@ntlworld.com
> Subject: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
>
> On Thu, 23 Jan 2003 jrelist@ntlworld.com wrote:
>
> > Hi
>
> Hi John,
>
> > I'm wondering has anybody been able to install LVM onto s/390 Redhat
> > Linux 7.2 ? I have kernel 2.4.7-39 running and the rpm for lvm 1.0.3. is
> > part of the build, but not the lvm-mod.o module.
>
> We have LVM 0.9.1_beta7 running on SuSE SLES-7.2 (s390) under
> a 2.4.7-SuSE-SMP kernel, with some timer patches, at work.
>
> > I've attempted rebuilding the kernel from source with patches etc. from
> > versions 1.0.3 and 1.0.6 following the instructions from sistina and
> > redhat (including enabling lvm support !) but I always fall at the final
> > hurdle, when doing the make_install :
> >
> > ---------------------------------------
> > cd /lib/modules/2.4.9-37lvm; \
> > mkdir -p pcmcia; \
> > find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
> > if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.9-37lvm; fi
> > depmod: *** Unresolved symbols in /lib/modules/2.4.9-37lvm/kernel/drivers/md/lvm-mod.o
> > depmod: alloc_kiovec
> > depmod: free_kiovec
> > make: *** [_modinst_post] Error 1
> > [root@rother-8 linux]#
> > ------------------------------------
> >
> > If anyone can help me, I'd be grateful. I'm an os/390 guy, this is my
> > first dive into the Linux pool and so far I'm enjoying it !
>
> alloc_kiovec and free_kiovec are part of the fs code and should always be
> present. You should be able to grep for either in the System.map.
>
> Did you do a 'make dep' and 'make clean' before doing a 'make all'? For
> that matter, did you do a 'make mrproper' before creating your config
> ('make menuconfig')? Save your existing .config before doing make mrproper!!
>
> > Thanks in advance
> > John Ellis
> > UK
>
> --
> Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
> "Cats are just autistic Dogs" -- Dr. Tony Attwood
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
2003-01-23 16:00 jrelist
@ 2003-01-23 18:35 ` Peter A. Castro
0 siblings, 0 replies; 11+ messages in thread
From: Peter A. Castro @ 2003-01-23 18:35 UTC (permalink / raw)
To: jrelist; +Cc: linux-lvm
On Thu, 23 Jan 2003 jrelist@ntlworld.com wrote:
> Peter
Hi John,
> I followed the instructions from the LVM how-to to do the configuration
> and patch. To be safe, each time I tried I re-installed the kernel-source
> & header rpms (Saving my .config beforehand) then amending the kernel
> extension in the Makefile before configure / patching, then went through
> the process in the r/h doc
>
> make mrproper
> make config (actually xconfig)
You'd missing the 'make dep' step here. Creating the dependencies is
important.
> make clean
> make image
> make modules
>
> which would all work very nicely
You might try saving the output from the 'make image' and 'make modules'
to see if iobuf.c gets compiled and linked into fs.o
> then make modules_install which would always give the error.
> I tried it with config_modversions on and off in the config, no joy.
>
> I'll try getting the version you have. You mention timer patches - are
> they significant ? Also, those depmods that cause problems - do you know
> of anywhere else I might locate them or might need to do during the
> building of the patch to get them ?
The specific version shouldn't matter much, nor should the distro as long
as it supports S/390.
I'm not the one who built our systems here, but I'll ask. I'd assume it
was the stock distro from SuSE. Not sure about the timer patches, again
I'll ask, and in any case it wouldn't help with your module symbol
resolving problem.
> Thanks
>
> John
>
> >
> > From: "Peter A. Castro" <doctor@fruitbat.org>
> > Date: 2003/01/23 Thu PM 08:50:33 GMT
> > To: jrelist@ntlworld.com
> > Subject: Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39
> >
> > On Thu, 23 Jan 2003 jrelist@ntlworld.com wrote:
> >
> > > Hi
> >
> > Hi John,
> >
> > > I'm wondering has anybody been able to install LVM onto s/390 Redhat
> > > Linux 7.2 ? I have kernel 2.4.7-39 running and the rpm for lvm 1.0.3. is
> > > part of the build, but not the lvm-mod.o module.
> >
> > We have LVM 0.9.1_beta7 running on SuSE SLES-7.2 (s390) under
> > a 2.4.7-SuSE-SMP kernel, with some timer patches, at work.
> >
> > > I've attempted rebuilding the kernel from source with patches etc. from
> > > versions 1.0.3 and 1.0.6 following the instructions from sistina and
> > > redhat (including enabling lvm support !) but I always fall at the final
> > > hurdle, when doing the make_install :
> > >
> > > ---------------------------------------
> > > cd /lib/modules/2.4.9-37lvm; \
> > > mkdir -p pcmcia; \
> > > find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
> > > if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.9-37lvm; fi
> > > depmod: *** Unresolved symbols in /lib/modules/2.4.9-37lvm/kernel/drivers/md/lvm-mod.o
> > > depmod: alloc_kiovec
> > > depmod: free_kiovec
> > > make: *** [_modinst_post] Error 1
> > > [root@rother-8 linux]#
> > > ------------------------------------
> > >
> > > If anyone can help me, I'd be grateful. I'm an os/390 guy, this is my
> > > first dive into the Linux pool and so far I'm enjoying it !
> >
> > alloc_kiovec and free_kiovec are part of the fs code and should always be
> > present. You should be able to grep for either in the System.map.
> >
> > Did you do a 'make dep' and 'make clean' before doing a 'make all'? For
> > that matter, did you do a 'make mrproper' before creating your config
> > ('make menuconfig')? Save your existing .config before doing make mrproper!!
> >
> > > Thanks in advance
> > > John Ellis
> > > UK
> >
> > --
> > Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
> > "Cats are just autistic Dogs" -- Dr. Tony Attwood
> >
> >
>
--
Peter A. Castro <doctor@fruitbat.org> or <Peter.Castro@oracle.com>
"Cats are just autistic Dogs" -- Dr. Tony Attwood
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2003-01-30 12:23 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-28 5:09 Re: [linux-lvm] Installing LVM on s/390 redhat 7.2 2.4.7-39 jrelist
2003-01-28 5:20 ` Patrick Caulfield
2003-01-28 18:58 ` Peter A. Castro
-- strict thread matches above, loose matches on Subject: below --
2003-01-30 12:23 jrelist
2003-01-30 5:56 jrelist
2003-01-30 6:05 ` Patrick Caulfield
2003-01-30 11:04 ` Peter A. Castro
2003-01-29 4:31 jrelist
2003-01-27 7:05 jrelist
2003-01-23 16:00 jrelist
2003-01-23 18:35 ` Peter A. Castro
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.