HAL (as used in Redhat Linux, version 0.2.97.cvs20040823) prints out this message when running recent -mm Linux kernels: "Aug 26 20:24:58 tornado kernel: program hald is using a deprecated SCSI ioctl, please convert it to SG_IO" Actually, it spews out lots of copies of this message to the console ;-) The code which generates this message in the kernel in drivers/scsi/scsi_ioctl.c states: /* Check for deprecated ioctls ... all the ioctls which don't * follow the new unique numbering scheme are deprecated */ switch (cmd) { case SCSI_IOCTL_SEND_COMMAND: case SCSI_IOCTL_TEST_UNIT_READY: case SCSI_IOCTL_BENCHMARK_COMMAND: case SCSI_IOCTL_SYNC: case SCSI_IOCTL_START_UNIT: case SCSI_IOCTL_STOP_UNIT: printk(KERN_WARNING "program %s is using a deprecated SCSI ioctl, please convert it to SG_IO\n", current->comm); break; default: break; } As most of the code in -mm and the scsi bk tree, eventually it is likely to get merged into mainline, it may be worthwhile to start using the new ioctl's in HAL sooner rather than later..
This patch about deprecated SCSI ioctl's is now in the mainline Linux kernel.
Hi, Sorry for the lag. I'll look into this; of course, if you have a patch handy that would be useful as well.
IMO this is fixed, no usage of deprecated commands in current HAL trees (0.4.x and 0.5.x).
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.