[Sunhelp] prom name

Magnus Abrante Magnus.Abrante at nocke.Sweden.Sun.COM
Thu Jun 15 02:21:38 CDT 2000


Hello Jermemiah,

Ok, i knew i had seen that somewhere ;)

The problem here is the powersave daemon, the "statefile" entry in
power.conf tells powerd where to save the systemstate in case of a 
system suspend.

What pmconfig tries to do is that it wants to convert the / device
(mounted as /dev/md/dsk/d1) to the prom name, but the prom doesn't know
anything about this device since its a metadevice, and the prom doesn't
know anything about metadevices, only about real devices.

I guess the reason to this is that when a system suspends it sets
the boot-file and(or?) boot-device to the choosen file so the system
will use it when it boots and restore itself to the state it had before
the suspend.

On  the other hand i dont think that you really want to use powersave 
on a server... since it's most likely that you want a server
to be up 24/7, so i would simply remove or move the S85power file from
/etc/rc2.d to prevent it from starting at boottime.

cheers,

        //Magnus Abrante - Sun Service
/* This is not the opinion of my company, its just my own */


> Thanks Magnus!
> I'm running a Sparc E250 with Solaris 2.6. 
> 
> The error message states:
> "pmconfig: /etc/power.conf line (30) failed to convert mount point
> /dev/md.dsk.d1 to prom name: Invalid argument"
> 
> Line 30 of power.conf reads:
> "statefile	/.CPR"
> 
> What do I do?
> Jeremiah
> 
> 
> Magnus Abrante wrote:
> > 
> > Basicly, the prom finds all devices when you reset/poweron a machine, then
> > it will translate those and send them to the OS, so that the OS will know
> > which devices that are attached to the machine.
> > 
> > Which OS are we talking about and which hardware?
> > 
> > > Does anyone know what a prom name is? I've recently encountered an error
> > > on boot that uses this expression in regards to 'converting a mount
> > > point to a prom name'.
> > > What gives?
> > > Many thanks in advance, and perhaps some home-baked cookies in the mail
> > > if you can help me,






More information about the SunHELP mailing list