[Parted-maintainers] Bug#328629: parted: uses a deprecated ioctl interface for scsi

Frans Pop aragorn at tiscali.nl
Fri Sep 16 14:25:21 BST 2005


Package: parted
Version: 1.6.24-2
Severity: important
Tags: d-i

During a d-i installation in vmware I noticed the following warnings in the 
logfiles:
program parted_devices is using a deprecated SCSI ioctl, please convert it to SG_IO
program parted_server is using a deprecated SCSI ioctl, please convert it to SG_IO

This seems to originate from the following kernel code in
drivers/scsi/scsi_ioctl.c
        /* 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);

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-16.0508-2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)




More information about the Parted-maintainers mailing list