Modules.Symvers update for open-iscsi

15 views
Skip to first unread message

mani.subramaniyan

unread,
Jan 3, 2008, 3:48:36 AM1/3/08
to open-iscsi
Has anybody come across this issue?

Since the downloaded open-iscsi's make or "make install" doesn't seem
to update the current kernel's Modules.symvers file (/usr/src/linux),
trying to add a new open-iscsi transport (similar to iscsi_tcp) leads
to link errors (symbol version mismatch...).
I deleted the open-iscsi symbols from the Modules.symvers file to
workaround this so I can build (in spite of LD warnings), and I can
load the newly built transport.
But the better way is to update the Modules files based on the kernel
we are building the open-iscsi for, right?
I believe OpenIB does this; if the make install option of open-iscsi
also takes care of this it will be great.
I can come up with a patch for this, if needed.

I saw this problem on SLES 10 with Open-iscsi 2.0.865-15 (semi-stable)
on x86_64 arch.

Thanks
Mani Subramaniyan

Erez Zilber

unread,
Jan 3, 2008, 7:58:17 AM1/3/08
to open-...@googlegroups.com
This problem was discussed here a year ago:

http://groups.google.com/group/open-iscsi/browse_thread/thread/f6f87467967e3dd5#08abdcad25e0fd28

You can use the script that I attached to one of the messages in that thread. Instead, you can build a kernel with your transport (is it iSER?) and use the userspace code from open-iscsi.org (this is what I always do).

I hope it helps.

Erez

mani.subramaniyan

unread,
Feb 1, 2008, 2:18:36 PM2/1/08
to open-iscsi
Hi Erez,
Thanks for the response. We did manage to do a patch. But the reason I
posted this was to say that many will have this same need of patching
and so it can be folded in to open-iscsi makefiles, so that it will
help a lot of people.

Our patch was also very similar to the one you pointed out, but we did
the patch before seeing this earlier post! (reinventing
unnecessarily..)

Thanks
Mani Subramaniyan

On Jan 3, 4:58 am, Erez Zilber <er...@Voltaire.COM> wrote:
> mani.subramaniyan wrote:
> > Has anybody come across this issue?
>
> > Since the downloaded open-iscsi's make or "make install" doesn't seem
> > to update the current kernel's Modules.symvers file (/usr/src/linux),
> > trying to add a new open-iscsi transport (similar to iscsi_tcp) leads
> > to link errors (symbol version mismatch...).
> > I deleted the open-iscsi symbols from the Modules.symvers file to
> > workaround this so I can build (in spite of LD warnings), and I can
> > load the newly built transport.
> > But the better way is to update the Modules files based on the kernel
> > we are building the open-iscsi for, right?
> > I believe OpenIB does this; if the make install option of open-iscsi
> > also takes care of this it will be great.
> > I can come up with a patch for this, if needed.
>
> > I saw this problem on SLES 10 with Open-iscsi 2.0.865-15 (semi-stable)
> > on x86_64 arch.
>
> This problem was discussed here a year ago:
>
> http://groups.google.com/group/open-iscsi/browse_thread/thread/f6f874...
Reply all
Reply to author
Forward
0 new messages