Portable Netware on RS/6000: PServer crashes

Portable Netware on RS/6000: PServer crashes

Post by Stefan Ti » Sat, 27 Jun 1992 20:45:16



I can't get Portable Netware for AIX/6000 v3.11 (Version 1.1.0) running.

Netware comes up normally, but when the first print job is submitted,
the print server daemon (pserver) crashes:

PSERVER: Segmentation fault - core dumped

I asked for help from IBM a few days ago but I'm still waiting for their call.
--

Ismaninger Str. 32              Tel.: +49-89-471922
8000 Muenchen 80                FAX   +49-89-472212

 
 
 

Portable Netware on RS/6000: PServer crashes

Post by Jing Hua » Fri, 03 Jul 1992 13:04:50


Hi everyone:

        I was thinking to using a Interval Timer for some real-time data
acquisition. But when I tested it with the following small program, it did
not work. Since this is the first time I've used the Interval Timer, I wonder
if someone can point out to me what I do wrong with this simple program, or
perhaps, should I use a Interval Timer for my purpose at all? I am using
AIX 3.2 here.

        The problem is that the "getinterval" routine always return a zero
value for its "it_value.tv_nsec" member.

#include <stdio.h>
#include <sys/time.h>
#include <sys/events.h>

main()
{
        int n=0;
        timer_t tm_id;
        struct timestruc_t res, max;
        struct itimerstruc_t ctv,otv,stv;

                        /* establish timer */
        /*tm_id=gettimerid(TIMERID_REAL,DELIVERY_SIGNALS);*/
        tm_id=gettimerid(TIMEOFDAY,DELIVERY_SIGNALS);

                        /* find resolution */
        resabs(tm_id,&res,&max);
        printf("\nres=%ld/%ld\tmax=%ld/%ld\n\n",res.tv_sec,res.tv_nsec,
                max.tv_sec,max.tv_nsec);

                        /* preset timer */
        stv.it_interval.tv_sec=(unsigned long)0L;
        stv.it_interval.tv_nsec=(long)500000000L;
        stv.it_value.tv_sec=(unsigned long)0L;
        stv.it_value.tv_nsec=(long)0L;
        otv.it_interval.tv_sec=(unsigned long)0L;
        otv.it_interval.tv_nsec=(long)0L;
        otv.it_value.tv_sec=(unsigned long)0L;
        otv.it_value.tv_nsec=(long)10000000L;
        if (absinterval(tm_id,&stv,&otv))  {
           printf("\nTimer not set!\n\n");
           exit(1);
         }

                        /* simple test */
        while (getinterval(tm_id,&ctv)==0 && ++n<=10)  {
              if (ctv.it_value.tv_nsec>=300000000L) printf("\nPASS\n");

                           ctv.it_value.tv_nsec,ctv.it_interval.tv_nsec);
         }

                        /* release timer */
        reltimerid(tm_id);

Quote:}

        Thanks in advance.

--


 
 
 

Portable Netware on RS/6000: PServer crashes

Post by Jing Hua » Fri, 03 Jul 1992 13:14:44


Hi everyone:

        I was thinking to use an Interval Timer for some real-time data
acquisition process. But when I tested it with the following small program,
it did not work. Specifically, the "getinterval" routine always returns a
zero value for its "it_value.tv_nsec" member.

        Since this is the first time I've used an Interval Timer on AIX, I
wonder if someone can point out to me what I do wrong in the program, or
perhaps, should I use an Interval Timer for this purpose at all.

#include <stdio.h>
#include <sys/time.h>
#include <sys/events.h>

main()
{
        int n=0;
        timer_t tm_id;
        struct timestruc_t res, max;
        struct itimerstruc_t ctv,otv,stv;

                        /* establish timer */
        /*tm_id=gettimerid(TIMERID_REAL,DELIVERY_SIGNALS);*/
        tm_id=gettimerid(TIMEOFDAY,DELIVERY_SIGNALS);

                        /* find resolution */
        resabs(tm_id,&res,&max);
        printf("\nres=%ld/%ld\tmax=%ld/%ld\n\n",res.tv_sec,res.tv_nsec,
                max.tv_sec,max.tv_nsec);

                        /* preset timer */
        stv.it_interval.tv_sec=(unsigned long)0L;
        stv.it_interval.tv_nsec=(long)500000000L;
        stv.it_value.tv_sec=(unsigned long)0L;
        stv.it_value.tv_nsec=(long)0L;
        otv.it_interval.tv_sec=(unsigned long)0L;
        otv.it_interval.tv_nsec=(long)0L;
        otv.it_value.tv_sec=(unsigned long)0L;
        otv.it_value.tv_nsec=(long)10000000L;
        if (absinterval(tm_id,&stv,&otv))  {
           printf("\nTimer not set!\n\n");
           exit(1);
         }

                        /* simple test */
        while (getinterval(tm_id,&ctv)==0 && ++n<=10)  {
              if (ctv.it_value.tv_nsec>=300000000L) printf("\nPASS\n");

                           ctv.it_value.tv_nsec,ctv.it_interval.tv_nsec);
         }

                        /* release timer */
        reltimerid(tm_id);

Quote:}

        Thanks in advance.

--

 
 
 

1. RS/6000 error msgs (Was: Re: RS/6000 survey - will post summary)

[LANG=En_US]  ksh: kjj: 0403-016 Cannot find or open the file.
[LANG=C]      ksh: kjj: cannot open

[LANG=En_US]  0506-764 ln: /tmp: Cannot use this command with a directory.
[LANG=C]      ln : </tmp> directory

 Canonicalizing all the error msgs by assigning them numbers and more
verbose explanations isn't such a bad idea, but it will hardly make
the system usable by secretaries. It does nothing to prevent an
accidental "rm *" or hide the details of the filesystem from the user.
Secretaries will run Motif and shrink-wrapped applications in
which case they will probably never [want to] use Unix shells. And they
shouldn't need to.
 The big gain here will be made by IBM SEs who will now be able to
look up customers' complaints by the error number.

    I haven't heard about IBM shipping *anything* on a Powerstation
yet. You can buy SunOS 4.1 *today* which is B2 certified.
And AT&T is advertising System V/MLS which is B1
certified -- I don't know if it's shipping yet.
    If security is important to you, you sure don't want to go with
a measly C2 rated system.

      ---Jason
-----

Jason Martin Levitt    P.O. Box 49860  Austin, Texas 78765  (512) 459-0055

UUCP    : cs.utexas.edu!hackbox!jason |  the American spirit and continues to
BIX     : jlevitt                     |  show us the way to follow our dreams."
                                      |             -Ronald Reagan [1990]

2. SMC Ether express

3. Fonts for InfoExplorer on RS/6000 (was: Re: Font problems on RS/6000 running X11R5)

4. PPP 2.2.0e and Linux 1.3.79

5. Portable Netware on System/6000

6. dual boot Windows ME and Linux using loadlin

7. Linux on RS/6000 860 portable?

8. Wide file browser needed #2

9. Anyone Use RS/6000 With Novell Netware?

10. netware 3.11 vs netware/6000

11. RS/6000 crashes with IBM Java VM 1.2.2

12. RS/6000 CRASH when using iomem_att

13. What is the significance of 6000 in RS/6000?