[9277] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

RE: need help

daemon@ATHENA.MIT.EDU (hiren_mehta@agilent.com)
Mon Jul 31 15:18:17 2000

Message-ID: <FEEBE78C8360D411ACFD00D0B74779718807FF@xsj02.sjs.agilent.com>
From:	hiren_mehta@agilent.com
To:	kurt@garloff.de
Cc:	linux-scsi@vger.rutgers.edu
Date:	Mon, 31 Jul 2000 15:12:19 -0400
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"

Hi Kurt,

This time it worked after I placed the module sources under the drivers/scsi
 directory. The module loaded on SMP kernel without giving
unresolved-symbols
errors. I guess, the key is to use the right CFLAGS while compiling the
module. You were right. I was using my own makefile. After I modified
the makefile, everything went smoothly.

Thanks a lot for the help.

-hiren

> -----Original Message-----
> From: Kurt Garloff [mailto:kurt@garloff.de]
> Sent: Friday, July 28, 2000 7:05 AM
> To: hiren_mehta@agilent.com
> Cc: Linux SCSI list
> Subject: Re: need help
> 
> 
> On Thu, Jul 27, 2000 at 06:38:12PM -0600, 
> hiren_mehta@agilent.com wrote:
> > I am using the io_request_lock as you mentioned below.
> 
> Is the source code available somewhere? Maybe, somebody can 
> find the mistake
> just by having a quick look?
> 
> > The another problem is that, when I build the driver for SMP,
> > and when I try to load it, I get a bunch of undefined symbols.
> > To get rid of this undefined symbols warnings and to make the 
> > loading of the module work, I have to re-compile the kernel
> > with "set version information" option disabled. How do I make
> > my module loadable on the kernel compiled with "set version 
> information"
> > option enabled ?
> 
> I don't know how your driver is in the kernel? Did you patch 
> it and have the
> driver compiled by the Makefile in linux/drivers/scsi/
> If this is the case, doing a kernel and module compile should 
> result in
> consistent kernel and module symbol versions.
> If you compile the module outside with your own makefile, you 
> will probably
> not use the correct symbol versions from the kernel ...
> 
> Note that changing any kernel config option can result in new 
> symbol versions.
> 
> I suggest to just turn symbol versioning off for testing and 
> development
> purposes. 
> 
> Regards,
> -- 
> Kurt Garloff                   <kurt@garloff.de>         
> [Eindhoven, NL]
> Physics: Plasma simulations <k.garloff@phys.tue.nl>   [TU 
> Eindhoven, NL]
> Linux: SCSI, Security          <garloff@suse.de>   [SuSE 
> Nuernberg, FRG]
>  (See mail header or public key servers for PGP2 and GPG public keys.)
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post