Public bug reported:

Binary package hint: lshw

When using the lshw tool to get a list of the hardware in my system, I
get the following warning in /var/log/syslog:

Mar  8 15:18:13 ferrari kernel: [25713.197235] pcmcia: Detected deprecated 
PCMCIA ioctl usage from process: lshw.
Mar  8 15:18:13 ferrari kernel: [25713.197239] pcmcia: This interface will soon 
be removed from the kernel; please expect breakage unless you upgrade to new 
tools.
Mar  8 15:18:13 ferrari kernel: [25713.197242] pcmcia: see 
http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html for details.

I'm not familiar with the lshw code or the pcmcia-cs package and the
work going on there in Debian and being merged into Ubuntu, nor do I
have the pcmcia-cs package installed.  Having taken a brief look at the
lshw code, I noticed the following in src/core/pcmcia.cc:

/* parts of this code come from the excellent pcmcia-cs package written by
 * David A. Hinds <[EMAIL PROTECTED]>.
 */

plus ioctl() usage in the get_tuple(), pcmcia_ident() and scan_pcmcia()
functions.  I'm no kernel hacker, so I don't know what the correct
solution to this is, but the promise of breakage suggests that this
should be addressed.

** Affects: lshw (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
lshw uses deprecated PCMCIA ioctl interface
https://launchpad.net/bugs/90709

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to