[Thread Prev][Thread Next][Thread Index]
Re: Pilotmgr crashing for unknown reason
- To: adam@xxxxxxxxxxxxxxxxxxxxxx, pilotmgr@xxxxxxxxxxxxxxxxxxxxxxx, asimzuberi@xxxxxxxxxx
- Subject: Re: Pilotmgr crashing for unknown reason
- From: John Simmons <John.Simmons@Eng>
- Date: Thu, 30 Jul 1998 14:18:22 -0700 (PDT)
- Reply-to: John Simmons <John.Simmons@Eng>
- Sender: owner-pilotmgr@moshpit
If you messed with the port using Admintool, therein lies your problem.
Admintool unalterably changes the serial ports when it addresses them (It
changes permissions, owner and group without any way of getting back to the
default!). Here is the fix:
When the Serial Port Permissions don't allow access to PI_BIND (assume
/dev/ttyb):
Run commands as root:
1. chmod 666 /dev/ttyb
2. chown root /dev/ttyb
3. chgrp sys /dev/ttyb
4. touch /reconfigure (may not be necessary)
5. reboot (may not be necessary)
This is to correct a change which can be made by "admintool" to change the
permissions, and to set ownder and group to "uucp" and "tty".
John
> Hi there,
>
> My settings are as follows; but the Pilotmgr still crashes!!!! The cradle is
> connected to `ttyb`. I have tried several options within `admintool`, but
> there wasn't any luck.
>
>
> ==============================================================================
> [diy]-[asim]->eeprom | grep -i ignore-cd
> ttyb-ignore-cd=false
> ttya-ignore-cd=false
> ==============================================================================
>
> [diy]-[asim]-> pmadm -l
> zsmon ttymon ttyb u root /dev/term/b cI -
> /usr/bin/login - 38400 ldterm,ttcompat ttyb login: - vt100 y #Terminal -
> Hardwired
>
>
>
>
> On Jul 30, 12:48pm, Adam Stein wrote:
> > Subject: Re: Pilotmgr crashing for unknown reason
> > I do know of one cause for PilotManager to crash. This is when it's
crashing
> > when trying to connect to the pilot (when it's doing a socket() call). This
> > happens when the Sun eeprom setting for the serial port has the ignore-cd
> > flag set to "true". In order to connect to the pilot, the ignore-cd
> > attribute for the serial port MUST be set to "false". Since the pilot isn't
> > on when PilotManager begins to connect, there never will be a carrier detect
> > signal, and so the socket() call goes down in flames. A modem on the same
> > port can also work with the ignore-cd option set to false, so you don't have
> > to worry about that.
> >
> > I spent 2 weeks finding this one. I had PilotManager working in Solaris
2.5.
> > I upgraded to Solaris 2.6 and used admintool to configure the serial port
> > for my modem. I have both devices hooked to the one serial port (I don't
> > have an AB cable) with a switchbox. Modem worked create, but PilotManager
> > crashed. Don't know what switched the eeprom's settings, the upgrade or
> > admintool.
> >
> > Hope this helps. Maybe this info should go into the "serial port FAQ" on
> > the PilotManager page? I see they talk about admintool settings. This
could
> > compliment that.
> >
> > Adam
> > --
> > Adam Stein @ Xerox Corporation Email: adam@xxxxxxxxxxxxxxxxxxxxxx
> >
> > Disclaimer: All views expressed
> > here have been proved to be my own. [http://www.csh.rit.edu/~adam/]
> >
> >
> > ------------------------------------------------------------------------
> > ***********************************************************
> > * This is a public mailing list! *
> > * Please do not publish Sun proprietary information here! *
> > * - - - - - - - - - - - - - - *
> > * http://www.moshpit.org/pilotmgr *
> > ***********************************************************
> >
> >-- End of excerpt from Adam Stein
>
>
> ------------------------------------------------------------------------
> ***********************************************************
> * This is a public mailing list! *
> * Please do not publish Sun proprietary information here! *
> * - - - - - - - - - - - - - - *
> * http://www.moshpit.org/pilotmgr *
> ***********************************************************
------------------------------------------------------------------------
***********************************************************
* This is a public mailing list! *
* Please do not publish Sun proprietary information here! *
* - - - - - - - - - - - - - - *
* http://www.moshpit.org/pilotmgr *
***********************************************************
|
|