[Orca-dev] Re: orcallator.se v1.28b7 - mknod: argument mismatch

EMelander at wyndham.com EMelander at wyndham.com
Fri Oct 5 13:58:03 PDT 2001


Forgive my ignorance, but how do I apply this patch? :)  The
orcallator that I am trying to patch is the latest downloaded from
the source code section.

[root at eclipse /opt/RICHPse/orcallator]# patch -p0 < se-3.2.1-x86-stat-
patch.txt
  Looks like a unified context diff.
File to patch: orcallator.se.patched
  I can't seem to find a patch in there anywhere.

--- In orca-developers at y..., Blair Zajac <blair at o...> wrote:
> This is a problem with SE on x86.  Can you try the following patch
to
> orcallator.se as a work around for it?
>
> Blair
>
> EMelander at w... wrote:
> >
> > Solaris 8 x86:
> >
> > [root at eclipse /tmp]# se ./test.se
> > "/opt/RICHPse/include/kstat.se", line 418: mknod: argument
mismatch
> > "/opt/RICHPse/include/kstat.se", line 418: mknod: argument
mismatch
> > "/opt/RICHPse/include/kstat.se", line 447: mknod: argument
mismatch
> > "/opt/RICHPse/include/kstat.se", line 447: mknod: argument
mismatch
> > "/opt/RICHPse/include/kstat.se", line 418: error: syntax error
> > "/opt/RICHPse/include/kstat.se", line 418: fatal: Errors detected.
> > Exiting.
> >
> > Solaris 7 sparc and Solaris 8 sparc return cleanly.
> >
> > --- In orca-developers at y..., Blair Zajac <blair at o...> wrote:
> > > Looking at the code I'm guessing the problem is on x86 Solaris?
> > >
> > > Can you try this SE program on Sparc and x86?
> > >
> > > #include <stat.se>
> > > #include <kstat.se>
> > >
> > > int main()
> > > {
> > >   return 0;
> > > }
> > >
> > > Blair
> > >
> > > EMelander at w... wrote:
> > > >
> > > > To provide more information, I was using an intel machine
using
> > > > Solaris 8 as my test environment to evenutally roll out ORCA
to
> > the
> > > > enterprise.  I installed the SEToolkit on a pair of sparcs
running
> > > > Solaris 7 and Solaris 8 without any issue.  The remainer of
the
> > > > SEToolkit scripts work without issue, although I am unable to
test
> > > > the scripts that require X as it is not installed (i.e.
toptool)
> > > >
> > > > The previous versions of orcallator work without issue
(1.28b5 and
> > > > lower).
> > > >
> > > > --- In orca-developers at y..., Blair Zajac <blair at o...> wrote:
> > > > > I just downloaded and installed SE 3.2.1 and tried
orcallator
> > 1.28
> > > > and didn't
> > > > > get these messages.
> > > > >
> > > > > I am seeing these as non-root
> > > > >
> > > > > > ./RICHPse-3.2.1/reloc/RICHPse/bin/se orcallator.se-
1.28.txt
> > > > > Warning: cannot open /dev/ip
> > > > > Warning: Mib not initialized: Variables will have invalid
> > values:
> > > > Near line 62
> > > > >
> > > > > Is SE properly installed?  Do any of the other SE example
> > scripts
> > > > fail in the
> > > > > same manner, such as toptool?
> > > > >
> > > > > Blair
> > > > >
> > > > > EMelander at w... wrote:
> > > > > >
> > > > > > When using the latest SEToolkit v3.2.1 with the latest
> > > > orcallator.se
> > > > > > v1.28b7, I experience the following error:
> > > > > >
> > > > > > [root at eclipse /tmp]# se ./orcallator.se
> > > > > > "/opt/RICHPse/include/kstat.se", line 418: mknod: argument
> > > > mismatch
> > > > > > "/opt/RICHPse/include/kstat.se", line 418: mknod: argument
> > > > mismatch
> > > > > > "/opt/RICHPse/include/kstat.se", line 447: mknod: argument
> > > > mismatch
> > > > > > "/opt/RICHPse/include/kstat.se", line 447: mknod: argument
> > > > mismatch
> > > > > > "/opt/RICHPse/include/kstat.se", line 418: error: syntax
error
> > > > > > "/opt/RICHPse/include/kstat.se", line 418: fatal: Errors
> > detected.
> > > > > > Exiting.
> > > > > >
> > > > > > Any ideas?
> > > >
> > Service.
> >
> >                    Yahoo! Groups Sponsor
> >                           [Image]
> >
> >
Service.
> --- orcallator.se-1.28.txt      Tue Oct  2 18:02:03 2001
> +++ orcallator.se-1.29.txt      Fri Oct  5 13:39:05 2001
>  #include <unistd.se>
>  #include <string.se>
>  #include <time.se>
> -#include <stat.se>
>  #include <kstat.se>
> +#include <stat.se>
>  #include <utsname.se>
> 
>  #include <p_iostat_class.se>



More information about the Orca-dev mailing list