#15 kernel 2.6.9: deprecated SCSI ioctls

closed-fixed
None
5
2010-07-25
2004-10-21
No

kernel 2.6.9 has deprecated the ioctls in scsi_ioctl.h;
since noflushd uses SCSI_IOCTL_(START|STOP)_UNIT, the
kernel now warns: "program noflushd is using a
deprecated SCSI ioctl, please convert it to SG_IO".
These ioctls are probably going away in the next
release. Unfortunately I know too little about SCSI
programming or I'd contribute a patch, but wanted to
report this anyway.

Discussion

  • Daniel Kobras

    Daniel Kobras - 2005-07-28
    • assigned_to: nobody --> nold
     
  • Daniel Kobras

    Daniel Kobras - 2005-07-28

    Logged In: YES
    user_id=7832

    Thanks for reporting this problem. I've just had a look into
    the necessary modifications. Judging from the source of the
    sg3_utils package, this is not straightforward to implement.
    Instead, it'll turn a one-line ioctl() call into a mess of
    magic constants and intimate knowledge about the scsi
    interface of the kernel in use. Yuck! It's doable, but needs
    a few noflushd-internal details sorted out first, so don't
    hold your breath.

     
  • Daniel Kobras

    Daniel Kobras - 2010-07-25
    • status: open --> closed-fixed
     
  • Daniel Kobras

    Daniel Kobras - 2010-07-25

    Not even six years later, this bug is finally fixed in noflushd 2.8. Yay!

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks