Unresolved Symbol best_memcpy and best_memset

Doug Ledford dledford at redhat.com
Thu Jan 6 00:05:34 PST 2000


Shahid Sheikh wrote:
> 
> Hi,
> 
> I'm trying to create an initrd image for a machine with an aic7xxx but get a
> kernel panic 'cause the module comes up with Unresolved Symbols best_memcpy
> and best_memset and the aic7xxx module failes to load.

That module and your kernel are *not* going to work together.  One of them has
been compiled with my PIII optimization code and the other hasn't (the
best_memcpy and best_memset functions are part of the PIII code).

> The aic7xxx.o was compiled as a module after patching it with
> aic7xxx-5.1.22.patch in a 2.2.13 kernel source from Redhat
> (kernel-source-2.2.13-0.9.rpm).

This is a kernel out of the rawhide tree evidently.  I wouldn't recommend that
you use it unless you can modify it without breaking things.  At least I would
recommend that if you are going to use an RPM based kernel like this that you
modify the RPM spec file and rebuild the RPM with the aic7xxx patch added
instead of trying to do things manually.  Besides, all of the kernel RPMs
version 2.2.13-0.11 and later already have the 5.1.22 aic7xxx driver patch in
them.

> The system is an bare bone install from
> RedHat 6.1

Not with that kernel it's not, you had to have downloaded a kernel off the
internet because we've never shipped that kernel on any CD (or else someone
else made a CD with that kernel on it, shame on them for using an experimental
kernel build).

> and the /boot dir does have the proper System.map file. The /lib
> dir of initrd.img has the two files aic7xxx.o and initio.o in it and the
> linuxrc just does an insmod for the aic7xxx.o module.
> 
> Would like to keep aic7xxx as a module 'cause I'm trying to create a
> standard kernel with all scsi drivers compiled as modules. Linking it
> directly in the kernel works fine.
> 
> Any ideas what I'm doing wrong here? Sorry if this has been asked before.
> Just subscribed to the list and couldn't find any archive or related
> articles on the net.
> 
> Thanks,
> 
> Shahid
> 
> To Unsubscribe: send mail to majordomo at FreeBSD.org
> with "unsubscribe aic7xxx" in the body of the message

-- 
  Doug Ledford   <dledford at redhat.com>
   Opinions expressed are my own, but
      they should be everybody's.


To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message




More information about the aic7xxx mailing list