Re: 2.4.0 SCSI doesn't compile without modules

From: Mr. James W. Laferriere (babydr@baby-dragons.com)
Date: Wed Sep 13 2000 - 17:40:05 EST


 
        Hello Torben , My manual edit of drivers/scsi/sr.c was the same
        as your patch . And yes I am now running the 2.4-test8 .
                Tnx , JimL

 root@test:~# uname -a
Linux test 2.4.0-test8 #2 Wed Sep 13 14:28:35 PDT 2000 i586 unknown

 root@test:~# sh /usr/src/linux/scripts/ver_linux
-- Versions installed: (if some fields are empty or look
-- unusual then possibly you have very old versions)
Linux test 2.4.0-test8 #2 Wed Sep 13 14:28:35 PDT 2000 i586 unknown
Kernel modules 2.3.11
Gnu C egcs-2.91.66
Binutils 2.9.1.0.25
Linux C Library 2.1.3
Dynamic linker ldd: version 1.9.9
Procps 2.0.6
Mount 2.10l
Net-tools 1.55
Kbd 0.99
Sh-utils 2.0
cat: /proc/modules: No such file or directory
Modules Loaded

On Wed, 13 Sep 2000, Torben Mathiasen wrote:
> On Wed, Sep 13 2000, Mr. James W. Laferriere wrote:
> > Hello Torben ,
> > Has anyone caught this one yet . I assume it is just the same
> > patch added (manually) to sr.c/h as well ? Tia , JimL
> > drivers/scsi/scsidrv.o: In function `init_sr':
> > drivers/scsi/scsidrv.o(.text+0x1cfce): undefined reference to
> > `scsi_register_module'
> > drivers/scsi/scsidrv.o: In function `exit_sr':
> > drivers/scsi/scsidrv.o(.text+0x1cfe0): undefined reference to
> > `scsi_unregister_module'
> > make: *** [vmlinux] Error 1
> Probaly, I prefer to revert to good old init/cleanup_module. Forcing
> the new module_init with older non compatible drivers seems wrong.
> I'll look into what needs to be done to get it clean.
> The patch attached goes back to the old interface, please verify its
> success. I'll then send it to Linus for test9-p1.
       +----------------------------------------------------------------+
       | James W. Laferriere | System Techniques | Give me VMS |
       | Network Engineer | 25416 22nd So | Give me Linux |
       | babydr@baby-dragons.com | DesMoines WA 98198 | only on AXP |
       +----------------------------------------------------------------+

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



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:22 EST