eeprom command on Sparcs

David L. Markowitz dav at genisco.gtc.com
Tue Jan 15 11:02:25 AEST 1991


In comp.sys.sun you write:

>Does /usr/bin/eeprom work on other peoples Sparc's?

Yes.

>On a 4/65 with OS 4.1, (eeprom rev 1.3) mine says
>    eeprom: /dev/eeprom: Error 0

Never seen this.  Is this info accurate?  (Especially the major/minor
device number.)

	# ls -l /dev/eeprom
	crw-r--r--  1 root     staff      3,  11 Jan 10 13:20 /dev/eeprom

>On a 4/490 server, it says,
>    eeprom: software area checksum wrong

RTFM!  Try eeprom -i (which ignores the checksum), or even better eeprom
-i -c (which fixes it).

>Looking inside /usr/bin/eeprom with strings shows a bunch of strings which
>correspond to those in the manual entry, not those of the actual eeprom.

Don't know about this, but if you are dealing with openprom machines, try
(from the PROM monitor in new mode):

	ok printenv

>Finally, it seems that the eeprom could also live in
>  /dev/openprom
>but
>  eeprom -f /dev/openprom
>says
>  eeprom: /dev/openprom: No such device

Where did you get this idea?

[[Ed's Note: This is true for Sparcstations - other architectures will return
the "No such device" error (even those which have the /dev/openprom device
[looked at a 4.1 Sun 3/60]. Check your eeprom man page for more info. -bdg]]

	David L. Markowitz
	Genisco Technology Corporation
	dav at gtc.com



More information about the Comp.sys.sun mailing list