I am attempting to install the module svr4 under FreeBSD version 6.1

I initially tried to run my SVR4 binary by compiling svr4 right into the
kernel. The kernel compiles, but the svr4 binary will not run. 

Attempting to run my svr4 binary gives the error;

1250 Abort trap: 6

I know my svr4 binary runs under FreeBSD 4.9, so I figure "fine, I can 
load the module.  Presently, under my 4.9 system, modules are;

Id Refs Address    Size     Name
 1    6 0xc0100000 402368   kernel
 2    2 0xc0dc3000 a000     ibcs2.ko
 3    1 0xc0dd0000 3000     ibcs2_coff.ko
 4    1 0xc0dd6000 15000    linux.ko
 5    1 0xc0df4000 3000     streams.ko
 6    1 0xc0df7000 15000    svr4.ko

Back to my problem 6.1 system;

I looked in /boot/kernel but the svr4.ko file doesn't exist.
So I went into /sys/modules/svr4 and attempt to compile it.
I get errors that the files opt_sysvipc.h and opt_ktrace.h were missing.

A locate command found that those files were available elsewhere in the
system, so now I try copying those files to /sys/modules/svr4.
Following another compile, now svr4.ko is created, but it will not load;

192# kldload svr4
kldload: can't load svr4: File exists

Of course it won't - it's compiled into the system. So I take the module
-out- of configuration file,  and I recompile the kernel.

Again I have to compile the svr4 separately. When I try to load it now 
after reboot, I get;

# cd /boot/kernel
# kldload svr4
kldload: can't load svr4: No such file or directory

OK - so I try and add the extension;

# kldload svr4.ko
kldload: can't load svr4.ko: No such file or directory

Yet the file exists;

# ls -tld /boot/kernel/svr4.ko
-r-xr-xr-x  1 root  wheel  79856 Aug  7 20:33 /boot/kernel/svr4.ko

I checked /sys/modules/svr4/README and checked that streams in compiled into
the kernel, which it is.

Now I am at a loss as to where to go from here. My next step is to 
cvsup the system and rebuild and reinstall world.
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to