lshw uses deprecated PCMCIA ioctl interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lshw (Ubuntu) |
In Progress
|
Undecided
|
Unassigned |
Bug Description
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://
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 address hidden>.
*/
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.
Revolving upstream. ezix.org/ project/ ticket/ 118
http://