CAD CAM EDM DRO - Yahoo Group Archive

Re: Linux vs. DOS

Posted by Matt Shaver
on 1999-05-30 20:35:33 UTC
> My new problem is that when I execute run.64step378 I get a number of
> "command not found" errors. In poking through the run.64step378 file it
> looks like the problem is with the insmod command. If I try insmod at a
> command line I also get "command not found" and in searching the drive I
> find a bunch of copies of insmod.1 (the man page for insmod), but I cant
> find the actual file. Is there a module I may have missed installing?

OK:
1. You must be logged in as root to use insmod.
2. The insmod program lives at /sbin/insmod so make sure this file exists
(insmod is part of Linux itself, not the EMC).
3. If the insmod program exists then try doing a '/sbin/insmod' from the
command prompt. When insmod is run without any arguments you should get a
message like "Usage:..." then a detailed syntax diagram and brief
instructions.

Here the troubleshooting flowchart forks:

4a. If '/sbin/insmod' works, but 'insmod' by itself doesn't then the /sbin
directory isn't in your path. Check this by entering 'echo $PATH' at the
prompt and your path will be displayed. It might look like
"/do/re/mi:/sbin:/fa/so/la:...". If /sbin isn't there you can either add it
in your .bash_profile file in the /root directory (if you look at this and
it's not self evident how to do this, just let me know). I'm not sure where
the PATH is set initially, but if this is the problem I'll research it
further and figure out what to do. Many initialization files reside in
/etc. Another option would be to edit run.64step378 and change the lines
that start with insmod to /sbin/insmod.

4b. If /sbin/insmod doesn't exist then my initial reaction is to say
something along the lines of "Uh, like wow man, I dunno". Since this isn't
very helpful I think that you should (from a terminal window in X) do 'cd
/usr/src/linux' and then 'make xconfig'. Look in the "Loadable module
support" section and be sure that all three items in there are set to "y".
Also, and I'm stretching it here, check in the "General setup" section and
see if "Support for a.out binaries" and "Support for ELF binaries" are set
to "y" as well. If you change any of this you'll need to save the changes
and continue on with 'make dep', 'make clean', 'make zlmage', 'make
modules', 'make modules-install', and finally 'cp arch/i386/boot/zImage
/boot/vmlinuz'. I don't know whether this process actually creates the
/sbin/insmod file when loadable module support is enabled, or not, but it's
all I can think of right now. One other thing, when you installed Red Hat
5.2 did you pick "Everything" from the list of stuff to install, or did you
use the "Workstation" option or ... I always pick the "Custom" choice and
then install "Everything", although I can't imagine that insmod is optional
in any case as it's pretty important.

Let me know what happens ASAP and I'll try to get you going.

Thanks,

Matt Shaver
(410) 521-3715

Discussion Thread

Andrew Werby 1999-05-29 04:16:11 UTC Linux vs. DOS john@x... 1999-05-29 15:07:09 UTC Re: Linux vs. DOS Jon Elson 1999-05-29 21:21:47 UTC Re: Linux vs. DOS Matt Shaver 1999-05-29 21:29:06 UTC Re: Linux vs. DOS Tim Goldstein 1999-05-29 22:27:47 UTC Re: Linux vs. DOS Matt Shaver 1999-05-30 00:12:13 UTC Re: Linux vs. DOS Tim Goldstein 1999-05-30 15:39:08 UTC Re: Linux vs. DOS Tim Goldstein 1999-05-30 20:37:55 UTC Re: Linux vs. DOS Matt Shaver 1999-05-30 20:35:33 UTC Re: Linux vs. DOS Matt Shaver 1999-05-30 20:48:44 UTC Re: Linux vs. DOS Jon Elson 1999-05-30 23:19:07 UTC Re: Linux vs. DOS Tim Goldstein 1999-05-31 11:54:03 UTC Re: Linux vs. DOS Tim Goldstein 1999-05-31 11:54:07 UTC Re: Linux vs. DOS Matt Shaver 1999-05-31 12:12:57 UTC Re: Linux vs. DOS Matt Shaver 1999-05-31 12:17:39 UTC Re: Linux vs. DOS Tim Goldstein 1999-05-31 13:30:23 UTC Re: Linux vs. DOS Matt Shaver 1999-05-31 14:13:26 UTC Re: Linux vs. DOS Tim Goldstein 1999-05-31 16:00:38 UTC Re: Linux vs. DOS Matt Shaver 1999-05-31 16:00:51 UTC Re: Linux vs. DOS Tim Goldstein 1999-05-31 17:32:03 UTC Re: Linux vs. DOS Matt Shaver 1999-05-31 17:33:17 UTC Re: Linux vs. DOS Matt Shaver 1999-05-31 17:43:39 UTC Re: Linux vs. DOS Dan Falck 1999-05-31 19:55:12 UTC Re: Linux vs. DOS Matt Shaver 1999-05-31 22:48:46 UTC Re: Linux vs. DOS Jon Elson 1999-05-31 22:58:57 UTC Re: Linux vs. DOS Tim Goldstein 1999-05-31 23:32:27 UTC Re: Linux vs. DOS Tim Goldstein 1999-05-31 23:32:29 UTC Re: Linux vs. DOS Matt Shaver 1999-05-31 23:32:50 UTC Re: Linux vs. DOS Matt Shaver 1999-06-01 00:38:11 UTC Re: Linux vs. DOS Dan Mauch 1999-06-01 06:32:41 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-01 09:45:52 UTC Re: Linux vs. DOS Jon Elson 1999-06-01 12:16:50 UTC Re: Linux vs. DOS Ian W. Wright 1999-06-01 12:37:43 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-01 17:03:26 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-01 22:05:54 UTC Re: Linux vs. DOS Dan Mauch 1999-06-02 06:30:25 UTC Re: Linux vs. DOS Dan Mauch 1999-06-02 06:42:14 UTC Re: Linux vs. DOS Buchanan, James (Jim) 1999-06-02 13:01:09 UTC Re: Linux vs. DOS Jon Elson 1999-06-02 13:33:07 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-02 14:26:20 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-02 14:45:01 UTC Re: Linux vs. DOS Matt Shaver 1999-06-02 15:01:17 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-02 23:19:44 UTC Re: Linux vs. DOS Matt Shaver 1999-06-03 00:26:35 UTC Re: Linux vs. DOS Ian W. Wright 1999-06-04 13:47:19 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-05 16:54:15 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-05 17:34:22 UTC Re: Linux vs. DOS Jon Elson 1999-06-05 23:39:08 UTC Re: Linux vs. DOS Jon Elson 1999-06-05 23:41:51 UTC Re: Linux vs. DOS Matt Shaver 1999-06-05 23:42:39 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-06 00:03:27 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-06 00:30:52 UTC Re: Linux vs. DOS Matt Shaver 1999-06-06 01:00:46 UTC Re: Linux vs. DOS Matt Shaver 1999-06-06 01:37:57 UTC Re: Linux vs. DOS Dan Falck 1999-06-06 05:51:38 UTC Re: Linux vs. DOS Jon Elson 1999-06-06 17:16:33 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-06 21:05:20 UTC Re: Linux vs. DOS Matt Shaver 1999-06-06 22:06:24 UTC Re: Linux vs. DOS Matt Shaver 1999-06-06 22:30:17 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-06 22:57:18 UTC Re: Linux vs. DOS Matt Shaver 1999-06-06 23:16:03 UTC Re: Linux vs. DOS Jon Elson 1999-06-06 23:29:41 UTC Re: Linux vs. DOS Jon Elson 1999-06-06 23:46:32 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-07 21:59:53 UTC Re: Linux vs. DOS Tim Goldstein 1999-06-08 22:07:54 UTC Re: Linux vs. DOS Dan Mauch 1999-06-09 06:18:23 UTC Re: Linux vs. DOS