Re: SCSI scanning

From: Torben Mathiasen (tmm@image.dk)
Date: Sat Sep 16 2000 - 20:42:08 EDT

  • Next message: davej@suse.de: "Re: /proc/sys/vm/freepages not writable."

    On Sat, Sep 16 2000, Jan Niehusmann wrote:
    > test9-pre1 does not contain a fix for the test8 scsi scanning problem. SCSI
    > disks are detected twice if scsi is not compiled as a module. Torben already
    > posted a patch.
    >

    Linus,

    The proper way of fixing this is to add #ifdef MODULE around the init
    functions or going back to init/exit_module.
    I know it looks ugly, but because of the structure of the
    scsi subsytem this is the only way out besides doing a nasty hack
    to scsi.c. And even with the hack, the initialisation functions
    will get called twice which is wrong.

    I guess the scsi subsystem is in need of an overhaul for 2.5.

    Patches have already been sent to you for sd (me) and sr (Jens Axboe).

    -- 
    Torben Mathiasen <tmm@image.dk>
    Linux ThunderLAN maintainer 
    http://tlan.kernel.dk
    -
    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 : Sat Sep 16 2000 - 20:39:50 EDT