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

Janani Venkataraman <[email protected]> Thu, 25 Sep 2014 15:50:55 +0530
Newsgroups gmane.linux.tools.diag.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============2834129277859795934==
Content-Type: multipart/alternative;
	boundary="------------090403010203020006040906"

This is a multi-part message in MIME format.
--------------090403010203020006040906
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

You could try using lshw and check if that output suits your requirement.

http://ezix.org/project/wiki/HardwareLiSter

Thanks.
Janani

On 09/25/2014 03:48 PM, Maximilian Brehm wrote:
>
> 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.
>
> 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?
>
> Regards
>
> Maximilian
>
> Janani Venkataraman <[email protected]> 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,
>>>
>>> Â
>>>
>>> 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-supported-on-the-unknown-for-ubuntu-linuxand 
>>> then 
>>> http://superuser.com/questions/816100/how-can-i-fix-lscfg-is-not-supported-on-the-unknown-for-ubuntu-linux. 
>>> My machine is this one:
>>>
>>> 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:
>>>
>>> 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:
>>>
>>> Â - [libvpd-2.2.1][2] (trial and error for this one really)
>>> Â - [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Â Â Â Â Â Â Â Â Â Â Â Â 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.
>>>
>>> Â  [1]: http://sourceforge.net/projects/linux-diag/files/lsvpd-new/
>>> Â  [2]: http://sourceforge.net/projects/linux-diag/files/libvpd/
>>> Â  [3]: http://sourceforge.net/projects/librtas/files/
>>> Â  [4]: 
>>> http://zombieprocess.wordpress.com/2007/11/13/hardware-inventory-with-lsvpd/
>>> Â  [5]: 
>>> http://stackoverflow.com/questions/25908782/in-linux-is-there-a-way-to-find-out-which-pci-card-is-plugged-into-which-pci-sl
>>>
>>> Can you help me?
>>>
>>> Â
>>>
>>> Regards
>>>
>>> Maximilian Brehm
>>>
>>> Â
>>>
>>> Â
>>>
>>> Â
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>>
>>>
>>> _______________________________________________
>>> Linux-diag-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/linux-diag-devel
>>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
> _______________________________________________
> Linux-diag-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/linux-diag-devel


--------------090403010203020006040906
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi,<br>
      <br>
      You could try using lshw and check if that output suits your
      requirement.<br>
    </tt><br>
    <tt>
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <a href="http://ezix.org/project/wiki/HardwareLiSter">http://ezix.org/project/wiki/HardwareLiSter</a><br>
      <br>
      Thanks.<br>
      Janani<br>
      <br>
    </tt>
    <div class="moz-cite-prefix"><tt>On 09/25/2014 03:48 PM, Maximilian
        Brehm wrote:</tt><tt><br>
      </tt></div>
    <blockquote cite="mid:5590d0149270fef26eb61ca0c46a2338@localhost"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
      <p><tt>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. </tt></p>
      <p><tt>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?</tt></p>
      <p><tt> </tt></p>
      <p><tt>Regards</tt></p>
      <p><tt>Maximilian</tt></p>
      <p><tt> </tt></p>
      <p><tt>Janani Venkataraman <a class="moz-txt-link-rfc2396E" href="mailto:[email protected]">&lt;[email protected]&gt;</a>
          schrieb:</tt></p>
      <blockquote type="cite"> <tt>Hi </tt><tt>Maximilian,</tt><tt><br>
        </tt><tt><br>
        </tt><tt> lsvpd package provides the lscfg command. lsvpd is a
          tool for the powerpc platform. They are not</tt><tt><br>
        </tt><tt> supported on x86 machines. Hence the error: </tt><tt>"lscfg
          is not supported on the Unknown"</tt><tt><br>
        </tt><tt><br>
        </tt><tt> Thanks.</tt><tt><br>
        </tt><tt> Janani</tt><tt><br>
        </tt><tt><br>
        </tt>
        <div class="moz-cite-prefix"><tt>On 09/25/2014 02:56 PM,
            Maximilian Brehm wrote:</tt><tt><br>
          </tt></div>
        <blockquote type="cite">
          <p><tt>Hey guys,</tt></p>
          <p><tt> </tt></p>
          <p><tt>I have a problem with running lscfg for Ubuntu Linux
              10.4. The original question was posted at </tt><tt><a
                moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://stackoverflow.com/questions/26012112/how-can-i-fix-lscfg-is-not-supported-on-the-unknown-for-ubuntu-linux">http://stackoverflow.com/questions/26012112/how-can-i-fix-lscfg-is-not-supported-on-the-unknown-for-ubuntu-linux</a></tt><tt>
              and then </tt><tt><a moz-do-not-send="true"
                class="moz-txt-link-freetext"
href="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></tt><tt>.
              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 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:</tt><tt><br>
            </tt><tt><br>
            </tt><tt> - [libvpd-2.2.1][2] (trial and error for this one
              really)</tt><tt><br>
            </tt><tt> - [librtas-1.3.12][3] (just the most recent
              version)</tt><tt><br>
            </tt><tt><br>
            </tt><tt>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.</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>
            </tt><tt><br>
            </tt><tt>"eth0            
              U787A.001.DNZ00Z5-P1-T5" (Source: [zombieprocess][4])</tt><tt><br>
            </tt><tt><br>
            </tt><tt>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.</tt><tt><br>
            </tt><tt><br>
            </tt><tt>  [1]: </tt><tt><a moz-do-not-send="true"
                class="moz-txt-link-freetext"
                href="http://sourceforge.net/projects/linux-diag/files/lsvpd-new/">http://sourceforge.net/projects/linux-diag/files/lsvpd-new/</a></tt><tt><br>
            </tt><tt>  [2]: </tt><tt><a moz-do-not-send="true"
                class="moz-txt-link-freetext"
                href="http://sourceforge.net/projects/linux-diag/files/libvpd/">http://sourceforge.net/projects/linux-diag/files/libvpd/</a></tt><tt><br>
            </tt><tt>  [3]: </tt><tt><a moz-do-not-send="true"
                class="moz-txt-link-freetext"
                href="http://sourceforge.net/projects/librtas/files/">http://sourceforge.net/projects/librtas/files/</a></tt><tt><br>
            </tt><tt>  [4]: </tt><tt><a moz-do-not-send="true"
                class="moz-txt-link-freetext"
href="http://zombieprocess.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>  [5]: </tt><tt><a moz-do-not-send="true"
                class="moz-txt-link-freetext"
href="http://stackoverflow.com/questions/25908782/in-linux-is-there-a-way-to-find-out-which-pci-card-is-plugged-into-which-pci-sl">http://stackoverflow.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> </tt></p>
          <p><tt>Regards</tt></p>
          <p><tt>Maximilian Brehm</tt></p>
          <p><tt> </tt></p>
          <p><tt> </tt></p>
          <p><tt> </tt></p>
          <tt><br>
          </tt>
          <fieldset class="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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=154622311&amp;iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=154622311&amp;iu=/4140/ostg.clktrk</a></pre>
          <tt><br>
          </tt>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <tt><br>
          </tt>
          <pre>_______________________________________________
Linux-diag-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/linux-diag-devel">https://lists.sourceforge.net/lists/listinfo/linux-diag-devel</a>
</pre>
        </blockquote>
        <tt><br>
        </tt></blockquote>
      <tt><br>
      </tt>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <tt><br>
      </tt>
      <pre wrap="">------------------------------------------------------------------------------
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="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=154622311&amp;iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=154622311&amp;iu=/4140/ostg.clktrk</a></pre>
      <tt><br>
      </tt>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <tt><br>
      </tt>
      <pre wrap="">_______________________________________________
Linux-diag-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/linux-diag-devel">https://lists.sourceforge.net/lists/listinfo/linux-diag-devel</a>
</pre>
    </blockquote>
    <tt><br>
    </tt>
  </body>
</html>

--------------090403010203020006040906--



--===============2834129277859795934==
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
--===============2834129277859795934==
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

--===============2834129277859795934==--