Re: 2.2.6, sg.c, scsi_logging_level and a versioned kernel

Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Sat, 17 Apr 1999 18:01:19 +0200


On Apr 17, Uwe Bonnes wrote:

> Hallo,
>
> with following config settings
> CONFIG_MODULES=y
> CONFIG_MODVERSIONS=y
> CONFIG_KMOD=y
>
> and
>
> CONFIG_SCSI_LOGGING=y
>
> gives and unresolved symbol in module sg.o:
>
> bash-2.02# modprobe sg
> /lib/modules/2.2.6/scsi/sg.o: unresolved symbol scsi_logging_level
>
> 2.2.6/scsi> nm /lib/modules/2.2.6/scsi/sg.o | grep log
> U scsi_logging_level
> 2.2.6/scsi> cat /proc/ksyms | grep logg
> c02040e8 scsi_logging_level_R__ver_scsi_logging_level
>
> I couldn't figure out how to fix.

`make mrproper' should be able to fix this (but don't forget to save/copy your .config file
before mr. proper starts cleanign up!)

`rm include/linux/modversions.h' might be sufficient too...

Harald

--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/