Your message dated Thu, 13 Dec 2012 10:44:28 -0500
with message-id <[email protected]>
and subject line 
has caused the Debian Bug report #328629,
regarding parted: uses a deprecated ioctl interface for scsi
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
328629: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=328629
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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)


--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This does indeed appear to have been fixed way back in 1.7: parted now
tries to get the information from sysfs first before falling back to
the deprecated ioctl.  I installed wheezy last night and did not see
the message about the deprecated ioctl, so if you still see this, make
sure sysfs is mounted.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJQyffcAAoJEJrBOlT6nu75Q2kH/1G1ITqFSplgJpKZ8LV6nM1h
G6rrcf9xhutZkXCY4sS5Hy6kmAWezujt1ugXcNpCAaSePSthhK+A6QUCz+1KjYEB
+VSyxabFevWj35jkRcuKWWupkRR0DAAYK0gzjSJY/+1w0v/MWGtGjQOOdg+E9+19
2rdeZdxzAoP/mALEp7GMFCZ1vzqPwkGQjkp86XUHx1SFpRSOPeMHUTymcyYUx0hz
VbToANlOD+gPNfV24czPxY5w96tKmCWnHhYzR9MKlCdBt0M8/P3YuJ1+3l6Evp3z
stz4lwj8irWPMwSqOMaPFi0Tqw4U9YZGBmrLJHSQJitri7q6le2oIRzRlQhcmME=
=94v/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to