Emulating a SCSI device

Aniruddha Bohra bohra at cs.rutgers.edu
Tue May 27 13:43:56 PDT 2003


Hello
    I am trying to write a SIM module for FreeBSD which basically
emulates a SCSI controller with a disk attached at target 0 lun 0.

    I go as far as the action function of the controller getting called
with a XPT_PATH_INQ - where I fill in the fake data.

    Nothing happens after that. I have looked for documentation
of how to get the psuedo disk attached to the da driver but did
not make much headway.
   
    My question is : How do I get the da or any SCSI peripheral
driver attach to the emulated disk.

    I would appreciate any help or pointers.

Thanks
Aniruddha



More information about the freebsd-scsi mailing list