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:[EMAIL PROTECTED]]
> Sent: Friday, July 28, 2000 7:05 AM
> To: [EMAIL PROTECTED]
> Cc: Linux SCSI list
> Subject: Re: need help
> 
> 
> On Thu, Jul 27, 2000 at 06:38:12PM -0600, 
> [EMAIL PROTECTED] 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                   <[EMAIL PROTECTED]>         
> [Eindhoven, NL]
> Physics: Plasma simulations <[EMAIL PROTECTED]>   [TU 
> Eindhoven, NL]
> Linux: SCSI, Security          <[EMAIL PROTECTED]>   [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 [EMAIL PROTECTED]

Reply via email to