Re: “lscfg is not supported on t he Unknown” for Ubuntu Linux

Maximilian Brehm <[email protected]> Thu, 25 Sep 2014 12:18:04 +0200
Newsgroups gmane.linux.tools.diag.devel
Message-ID <5590d0149270fef26eb61ca0c46a2338@localhost>
--===============5964758678969476369==
Content-Type: multipart/alternative;
	boundary="=_cb954185ae4f0fa7be72dd706abc2b91"

--=_cb954185ae4f0fa7be72dd706abc2b91
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by wega.rz.tu-ilmenau.de
	id s8PAI3wh021141



Thanks for the quick answer! This is a bit embarrassing, I found
links about it on RedHat and Ubuntu pages and was excited to finally
find a tool for the job. Also, it didn't mind me building it for my
target. =20

The one thing I need is the network adapter/PCI device to
physical slot mapping. Is there any tool you know about that does this
for Linux machines?=20

Regards=20

Maximilian=20

Janani Venkataraman=20
schrieb:  Hi Maximilian,

 lsvpd package provides the lscfg command.
lsvpd is a tool for the powerpc platform. They are not
 supported on x86
machines. Hence the error: "lscfg is not supported on the Unknown"


Thanks.
 Janani

On 09/25/2014 02:56 PM, Maximilian Brehm wrote:

Hey
guys,=20

=C3=82 =20

I have a problem with running lscfg for Ubuntu Linux 10.4.
The original question was posted at
http://stackoverflow.com/questions/26012112/how-can-i-fix-lscfg-is-not-su=
pported-on-the-unknown-for-ubuntu-linux
[1] and then
http://superuser.com/questions/816100/how-can-i-fix-lscfg-is-not-supporte=
d-on-the-unknown-for-ubuntu-linux
[2]. My machine is this one:=20

uname -a
Linux 3.0.0-22-server
#36~lucid1-Ubuntu SMP Wed Jun 13 15:59:42 UTC 2012 x86_64 GNU/Linux


Here is the question:=20

I wanted to get information about the physical
location of my PCI cards and found that lscfg for AIX looked exactly
like what I needed. [lsvpd-1.7.4][1] that includes lscfg does exist for
Linux. As I am developing on Ubuntu 10.4 I had to get these two other
libs:

=C3=82 - [libvpd-2.2.1][2] (trial and error for this one really)
=C3=82 -
[librtas-1.3.12][3] (just the most recent version)

After successfully
compiling and installing the lsvpd tools I ran lscfg and the other
tools. Sadly, I get the response "lscfg is not supported on the Unknown"
for this and a similar one for all the other tools. Do the tools not
work on Ubuntu Linux or Linux in general? Can I fix my problem somehow?
The tools seem to be in active development for rpm-based
systems.

____
Note:
In particular, I need a line like this for my
network adapters (and possibly other cards):

"eth0=C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82=
 =C3=82
=C3=82 U787A.001.DNZ00Z5-P1-T5" (Source: [zombieprocess][4])

and wouldn't
mind any other Ubuntu Linux program that can do that. I asked a
[question][5] about this on stackoverflow already but didn't get the
answer that I needed.

=C3=82 [1]:
http://sourceforge.net/projects/linux-diag/files/lsvpd-new/ [3]
=C3=82 [2]:
http://sourceforge.net/projects/linux-diag/files/libvpd/ [4]
=C3=82 [3]:
http://sourceforge.net/projects/librtas/files/ [5]
=C3=82 [4]:
http://zombieprocess.wordpress.com/2007/11/13/hardware-inventory-with-lsv=
pd/
[6]
=C3=82 [5]:
http://stackoverflow.com/questions/25908782/in-linux-is-there-a-way-to-fi=
nd-out-which-pci-card-is-plugged-into-which-pci-sl
[7]=20

Can you help me?=20

=C3=82 =20

Regards=20

Maximilian Brehm=20

=C3=82 =20

=C3=82 =20

=C3=82=20


-------------------------------------------------------------------------=
-----
Meet
PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI
DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you
Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to
PCI DSS 3.0 Requirement 10 and 11.5 with EventLog
Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=3D154622311&iu=3D/4140/ostg=
.clktrk
[8]

_______________________________________________
Linux-diag-devel
mailing list
[email protected]
[9]
https://lists.sourceforge.net/lists/listinfo/linux-diag-devel
[10]



Links:
------
[1]
http://stackoverflow.com/questions/26012112/how-can-i-fix-lscfg-is-not-su=
pported-on-the-unknown-for-ubuntu-linux
[2]
http://superuser.com/questions/816100/how-can-i-fix-lscfg-is-not-supporte=
d-on-the-unknown-for-ubuntu-linux
[3]
http://sourceforge.net/projects/linux-diag/files/lsvpd-new/
[4]
http://sourceforge.net/projects/linux-diag/files/libvpd/
[5]
http://sourceforge.net/projects/librtas/files/
[6]
http://zombieprocess.wordpress.com/2007/11/13/hardware-inventory-with-lsv=
pd/
[7]
http://stackoverflow.com/questions/25908782/in-linux-is-there-a-way-to-fi=
nd-out-which-pci-card-is-plugged-into-which-pci-sl
[8]
http://pubads.g.doubleclick.net/gampad/clk?id=3D154622311&iu=3D/4140/ostg=
.clktrk
[9]
mailto:[email protected]
[10]
https://lists.sourceforge.net/lists/listinfo/linux-diag-devel

--=_cb954185ae4f0fa7be72dd706abc2b91
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p>Thanks  for the quick answer! This is a bit embarrassing, I found  links=
 about  it on RedHat and Ubuntu pages and was excited to finally  find a to=
ol for  the job. Also, it didn't mind me building it for my  target.&nbsp;<=
/p>
<p>The one thing I need is the network adapter/PCI device to physical   slo=
t mapping. Is there any tool you know about that does this for Linux   mach=
ines?</p>
<p>&nbsp;</p>
<p>Regards</p>
<p>Maximilian</p>
<p>&nbsp;</p>
<p>Janani Venkataraman &lt;[email protected]&gt; schrieb:</p>
<blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p=
x solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignore=
d --><!-- meta ignored --> <tt>Hi </tt><tt>Maximilian,<br /><br /> lsvpd pa=
ckage provides the lscfg command. lsvpd is a tool for the       powerpc pla=
tform. They are not<br /> supported on x86 machines. Hence the error: </tt>=
<tt>"lscfg is       not supported on the Unknown"<br /><br /> Thanks.<br />=
 Janani<br /><br /></tt>
<div class=3D"moz-cite-prefix"><tt>On 09/25/2014 02:56 PM, Maximilian      =
   Brehm wrote:</tt><tt><br /></tt></div>
<blockquote type=3D"cite" style=3D"padding-left:5px; border-left:#1010ff 2p=
x solid; margin-left:5px; width:100%"><!-- meta ignored -->
<p><tt>Hey guys,</tt></p>
<p><tt>&Acirc;&nbsp;</tt></p>
<p><tt>I have a problem with running lscfg for Ubuntu Linux 10.4.          =
 The original question was posted at           <a class=3D"moz-txt-link-fre=
etext" href=3D"http://stackoverflow.com/questions/26012112/how-can-i-fix-ls=
cfg-is-not-supported-on-the-unknown-for-ubuntu-linux">http://stackoverflow=
=2Ecom/questions/26012112/how-can-i-fix-lscfg-is-not-supported-on-the-unkno=
wn-for-ubuntu-linux</a> and then           <a class=3D"moz-txt-link-freetex=
t" href=3D"http://superuser.com/questions/816100/how-can-i-fix-lscfg-is-not=
-supported-on-the-unknown-for-ubuntu-linux">http://superuser.com/questions/=
816100/how-can-i-fix-lscfg-is-not-supported-on-the-unknown-for-ubuntu-linux=
</a>.           My machine is this one:</tt></p>
<p><tt>uname -a</tt><tt><br /></tt><tt>Linux  3.0.0-22-server           #36=
~lucid1-Ubuntu SMP Wed Jun 13 15:59:42 UTC 2012 x86_64           GNU/Linux<=
/tt></p>
<p><tt>Here is the question:</tt></p>
<p><tt>I wanted to get information about the physical location of          =
 my PCI cards and found that lscfg for AIX looked exactly like           wh=
at I needed. [lsvpd-1.7.4][1] that includes lscfg does exist           for =
Linux. As I am developing on Ubuntu 10.4 I had to get           these two o=
ther libs:</tt><tt><br /></tt><tt><br /></tt><tt>&Acirc;&nbsp;- [libvpd-2=
=2E2.1][2] (trial and error for this one           really)</tt><tt><br /></=
tt><tt>&Acirc;&nbsp;- [librtas-1.3.12][3] (just the most recent version)</t=
t><tt><br /></tt><tt><br /></tt><tt>After successfully compiling and instal=
ling the lsvpd           tools I ran lscfg and the other tools. Sadly, I ge=
t the           response "lscfg is not supported on the Unknown" for this a=
nd           a similar one for all the other tools. Do the tools not work  =
         on Ubuntu Linux or Linux in general? Can I fix my problem         =
  somehow? The tools seem to be in active development for           rpm-bas=
ed systems.</tt><tt><br /></tt><tt><br /></tt><tt>____</tt><tt><br /></tt><=
tt>Note:</tt><tt><br /></tt><tt>In particular, I need a line like this for =
my network           adapters (and possibly other cards):</tt><tt><br /></t=
t><tt><br /></tt><tt>"eth0&Acirc;&nbsp;&Acirc;&nbsp;&Acirc;&nbsp;&Acirc;&nb=
sp;&Acirc;&nbsp;&Acirc;&nbsp;&Acirc;&nbsp;&Acirc;&nbsp;&Acirc;&nbsp;&Acirc;=
&nbsp;&Acirc;&nbsp;&Acirc;&nbsp; U787A.001.DNZ00Z5-P1-T5" (Source:         =
  [zombieprocess][4])</tt><tt><br /></tt><tt><br /></tt><tt>and wouldn't mi=
nd any other Ubuntu Linux program that           can do that. I asked a [qu=
estion][5] about this on           stackoverflow already but didn't get the=
 answer that I needed.</tt><tt><br /></tt><tt><br /></tt><tt>&Acirc;&nbsp; =
[1]:           <a class=3D"moz-txt-link-freetext" href=3D"http://sourceforg=
e.net/projects/linux-diag/files/lsvpd-new/">http://sourceforge.net/projects=
/linux-diag/files/lsvpd-new/</a></tt><tt><br /></tt><tt>&Acirc;&nbsp; [2]: =
          <a class=3D"moz-txt-link-freetext" href=3D"http://sourceforge.net=
/projects/linux-diag/files/libvpd/">http://sourceforge.net/projects/linux-d=
iag/files/libvpd/</a></tt><tt><br /></tt><tt>&Acirc;&nbsp; [3]: <a class=3D=
"moz-txt-link-freetext" href=3D"http://sourceforge.net/projects/librtas/fil=
es/">http://sourceforge.net/projects/librtas/files/</a></tt><tt><br /></tt>=
<tt>&Acirc;&nbsp; [4]: <a class=3D"moz-txt-link-freetext" href=3D"http://zo=
mbieprocess.wordpress.com/2007/11/13/hardware-inventory-with-lsvpd/">http:/=
/zombieprocess.wordpress.com/2007/11/13/hardware-inventory-with-lsvpd/</a><=
/tt><tt><br /></tt><tt>&Acirc;&nbsp; [5]: <a class=3D"moz-txt-link-freetext=
" href=3D"http://stackoverflow.com/questions/25908782/in-linux-is-there-a-w=
ay-to-find-out-which-pci-card-is-plugged-into-which-pci-sl">http://stackove=
rflow.com/questions/25908782/in-linux-is-there-a-way-to-find-out-which-pci-=
card-is-plugged-into-which-pci-sl</a></tt></p>
<p><tt>Can you help me?</tt></p>
<p><tt>&Acirc;&nbsp;</tt></p>
<p><tt>Regards</tt></p>
<p><tt>Maximilian Brehm</tt></p>
<p><tt>&Acirc;&nbsp;</tt></p>
<p><tt>&Acirc;&nbsp;</tt></p>
<p><tt>&Acirc;&nbsp;</tt></p>
<tt><br /></tt> <fieldset class=3D"mimeAttachmentHeader"></fieldset><tt><br=
 /></tt>
<pre>----------------------------------------------------------------------=
--------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
<a class=3D"moz-txt-link-freetext" href=3D"http://pubads.g.doubleclick.net/=
gampad/clk?id=3D154622311&amp;iu=3D/4140/ostg.clktrk">http://pubads.g.doubl=
eclick.net/gampad/clk?id=3D154622311&amp;iu=3D/4140/ostg.clktrk</a></pre>
<tt><br /></tt> <fieldset class=3D"mimeAttachmentHeader"></fieldset><tt><br=
 /></tt>
<pre>_______________________________________________
Linux-diag-devel mailing list
<a class=3D"moz-txt-link-abbreviated" href=3D"mailto:Linux-diag-devel@lists=
=2Esourceforge.net">[email protected]</a>
<a class=3D"moz-txt-link-freetext" href=3D"https://lists.sourceforge.net/li=
sts/listinfo/linux-diag-devel">https://lists.sourceforge.net/lists/listinfo=
/linux-diag-devel</a>
</pre>
</blockquote>
<tt><br /></tt></blockquote>
--=_cb954185ae4f0fa7be72dd706abc2b91--



--===============5964758678969476369==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
--===============5964758678969476369==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Linux-diag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-diag-devel

--===============5964758678969476369==--