SUMMARY: Still cannot load evq module

From: Michiel Steltman (mist@source.nl)
Date: Wed Nov 18 1992 - 10:59:20 CST


Hi,

Thanks everybody for your help sofar, only no luck this time.
THe problem looks weirder by the minute: it now appears to be
user-dependent rather than system dependent as I first said..
(See try # 1: I used another login on the other machine.... oops...)

below the original posting + some answers.

A. I forgot to mention in my original posting that I DID run install-openwin.
B. I followed your suggestions and checks:, that didn't yield any results
C. When I run loadmodule as root, or as a few other users, it works!
   So I checked permissions, access rights, umasks, environment variables,
   but stil no luck. I believe I am overlooking something very obvious.

----

Original posting:

> Hi, > > ON one of my systems, openwin -nosunview does not work. It is: > > a SS1, Running OW V3.0, jumbopatches installed, OS 4.1.2 > > When I startup openwin with -nosunview, xnews exits while trying to load > the evq module. It aborts openwin with a message: > > override protection 664 for /var/tmp/loadmodule.out? loadmodule: child > process died with status 65024 > xnews: Error: Unable to load evq module. > xnews: Error: Check your installation. > giving up. > /usr/openwin/bin/xinit: No such file or directory (errno 2): unable to > connect to X server > > I tried some things: > > 1. run this on another system. Guess what: -nosunview works just fine. > > 2. Compare the relevant directories, files, permissions, on both systems: > I do not find any differences. > > 3. Remove all other loadable modules. > > 4. Find out what program generates the message: this appears to be > loadmodule > The xnews server calls a program 'loadmodule' When I run this manually, > the folowing happens: > > loadmodule evqmod-sun4c.o evqload > > override protection 600 for /var/tmp/loadmodule.out? y > can't mmap /var/tmp/loadmodule.out: Invalid argument > loadmodule: child process died with status 5632 >

SUMMARY:

-----

You need to run the openwin/bin/install_openwin script on the machine that is not working. (Mike Halderman) ups!upstage!glenn@fourx.Aus.Sun.COM (Glenn Satchell) russell@gssec.bt.co.uk (Russell Ritchie)

---------

What are the permissions on the excutable loadmodule? It should be setuid to root like this:

$ ls -lg loadmodule -rwsr-xr-x 1 root daemon 24576 Jul 31 21:37 loadmodule

ups!upstage!glenn@fourx.Aus.Sun.COM (Glenn Satchell)

-----------

Just a guess. Is the kernel built with the VDDRV option to allow modloaded drivers?

Sender: Dave_G._Kruse.sd@xerox.com

-----------

I had a similar problem when I installed OW 3.0 a while ago. It turned out that my problem was that /var/tmp was a symbolic link to /tmp. A file named loadmodule.out is created both in /tmp and in /var/tmp. I don't know if they differ, but when I made /var/tmp a "real" directory everything worked fine.

and

How do the permissions on /var/tmp compare to a system where it works? And/or /tmp?

epkakeh@kaepk2.ericsson.se (Ake Hjalmarsson) Mike Raffety <miker@il.us.swissbank.com>

----

Check your modload list with modstat, If you have three modules loaded already you will need to add more loadable module area's for more modules. If you need a more detailed description on how to do this please let me know.

From: jeff@auratek.com (Jeff Martin)

----

-- Michiel Steltman email:mist@source.nl Phone (+31)-79-615511 ============= Source Information Technology ================



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:53 CDT