Re: Scsi disks duplicated

From: Jens Axboe (axboe@suse.de)
Date: Sat Sep 09 2000 - 14:04:44 EDT

  • Next message: Ralph Corderoy: "Reversing klogd's EIP Resolution."

    On Sat, Sep 09 2000, Jens Axboe wrote:
    > > > Detected scsi disk sdb at scsi0, channel 0, id 4, lun 0
    > > > [...]
    > > > Detected scsi disk sdc at scsi0, channel 0, id 3, lun 0
    > > > [...]
    > > > Detected scsi disk sdd at scsi0, channel 0, id 4, lun 0
    > > >
    > > > I think this is caused by the addition of module_init(init_sd);
    > > > at the end of drivers/scsi/sd.c.
    > > >
    > >
    > > This seems to some kind of scsi weirdness. Jens reports its the
    > > same with sr. Maybe Eric have a comment on this?
    >
    > Det er ikke et SCSI problem, det opstår bare pga den måde SCSI
    > loader sine moduler på. Som jeg skrev, bare brug init_module osv
    > igen, så spiller det som det skal.

    Let's try this again, in english :-). I was saying that it seems to
    be caused by the way scsi modules register, and the problem is solved
    by either hiding the module_init inside an #ifdef MODULE or just reverting
    to the previous way of doing it.

    -- 
    * Jens Axboe <axboe@suse.de>
    * SuSE Labs
    -
    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 09 2000 - 14:09:21 EDT