Dan Mick's Little Shop of Hints

Main | Watching system... »
20050317 Thursday March 17, 2005

prtpci: digest and display prtconf -pv output

Here's a tool (prtpci.tar.Z) for digesting PCI information from prtconf -pv output.

There are several tools around that will show you a PCI manifest; this one

It's useful to me, and I hope it is useful to you. Here's a little sample output:

3/0xb/0 1095,3114 (1095,3114)
Silicon Image, Inc. (formerly CMD Technology Inc) SiI 3114 [SATALink/SATARaid] Serial ATA Controller
class 1/80/0: Mass storage controller/Unknown mass storage controller
BAR[0]: I/O 0xbc00 0x8
BAR[1]: I/O 0xb802 0x1
BAR[2]: I/O 0xb400 0x8
BAR[3]: I/O 0xb002 0x1
BAR[4]: I/O 0xac00 0x10
BAR[5]: I/O 0xfc8ffc00 0x400
ROM: 32-bit memory 0xfc800000 0x80000

3/0xc/0 104c,8023 (10f1,2885)
Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
class c/0/10: Serial bus controller/FireWire (IEEE 1394)
BAR[0]: 32-bit memory 0xfc8ff000 0x800
BAR[1]: 32-bit memory 0xfc8f8000 0x4000
( Mar 17 2005, 06:43:47 PM PST ) Permalink Comments [8]

Trackback URL: http://blogs.sun.com/dmick/entry/prtpci_digest_and_display_prtconf
Comments:

Dis is da shiznit bomb, yo!

Posted by Da SethMeister on March 17, 2005 at 07:24 PM PST #

Sweetness! I'll have to blog about this soon.

Posted by Binary Crusader on March 17, 2005 at 10:45 PM PST #

Dang I wish I'd thought of this first!

Posted by Smackdown in Da Hood on March 18, 2005 at 02:53 PM PST #

The link doesn't work, it says ftp:// where it should be http://; in other words, using http://playground.sun.com/pub/dmick/prtpci.tar.Z worked.

Posted by R. Berber on April 11, 2006 at 02:55 PM PDT #

Hi Dan, I'm guessing based on your blog contents that you've been able to get the Si3114 pci card to work as a JBOD controller under Solaris 10. I've had no luck with either Solaris 10 10/06 or Solaris Nevada 55. Under Nevada, I actually get a system freeze when I use the 'format' command to enumerate device id's. I've attempted to add the device info to /etc/driver_aliases (there's already and entry in /boot/solaris/driverdb/master), but to no avail. Any ideas? cheers, blake/

Posted by Blake Irvin on May 02, 2007 at 11:43 AM PDT #

Thanks for the tool. It's very good.

Posted by Jacky on June 08, 2007 at 02:19 AM PDT #

+1. Very easy and nice to use. I just got a new laptop and I was trying to parse my prtconf results tree - your script simple did that for me :)

Posted by Stefan Parvu on November 05, 2007 at 06:37 AM PST #

Hey, any chance you can include a proxy server parameter to the pci database update?

It looks like the script getnew.pci.ids needs to be modified. The sourceforge resources is under v2.2.

Posted by Pedro Cortez on June 26, 2009 at 02:38 PM PDT #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed

Calendar

RSS Feeds

Search

Links

Navigation

Referers