NetAdminTools.com
 
SignalQ Sites:
NetAdminTools - Coprolite - NoNIC - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - MCJ - FixRambler
Categories:
GNU/Linux | Homebrew designs | Perl | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS | Hail Support


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·REALbasic
·All Categories


Detailed Sparc Info w/ Openpromfs Module for Linux
Topic: Hardware   Posted:2003-02-03
Printer Friendly: Print

spacerspacer
You can retrieve detailed information about your Sun box by selecting the Openprom module in the General setup area of the Linux kernel:

<M> Openprom tree appears in /proc/openprom

The module should load automatically when needed under most circumstances, but we will load it manually in this example:

srv-44 / # insmod openpromfs
Using /lib/modules/2.4.20/kernel/fs/
openpromfs/openpromfs.o

To mount the openprom filesystem:

srv-44 / # mount -t openpromfs none /proc/openprom

You can view a lot of detailed info about your Sun box:

srv-44 / # cd /proc/openprom
srv-44 openprom # ls
#size-cells	       idprom
SUNW,UltraSPARC@1c,0   memory@0,0
aliases		       model
banner-name	       name
breakpoint-trap        openprom
chosen		       options
clock-frequency        packages
counter-timer@1f,3c00  reset-reason
device_type	       sbus@1f,0
energystar-v2	       virtual-memory
srv-44 openprom #
srv-44 openprom # cat name
'SUNW,Ultra-2'
srv-44 openprom # cat model
'SUNW,501-3132'
srv-44 openprom # cd aliases
srv-44 aliases # ls
cdrom  disk2  disk6	 name  tape0
disk   disk3  floppy	 net   tape1
disk0  disk4  keyboard	 scsi  ttya
disk1  disk5  keyboard!  tape  ttyb
srv-44 aliases # cat disk0
'/sbus/SUNW,fas@e,8800000/sd@0,0'
srv-44 aliases #





Please read our Terms of Use
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2008 NetAdminTools.com

Created by:
MCJ
MCJ CMS