On Mon, May 30, 2016 at 07:03:42PM +0300, Konstantin Belousov wrote:
> ...
> > May 30 11:29:31 g1-252 root: /etc/rc: WARNING: Unable to load kernel module 
> > linux64
> > May 30 11:29:31 g1-252 kernel: KLD linux64.ko: depends on kernel - not 
> > available or version mismatch
> > May 30 11:29:31 g1-252 kernel: linker_load_file: Unsupported file type
> 
> Your kernel was built from older sources than you used to build the nvidia
> module.  I mean, the kernel headers used for the module build where
> updated comparing with binaries that are installed into /boot/kernel.

Hmmm...  I'm ... unlcear ... on how that could have happened.

I've copied the typescript (from the build) to
http://www.catwhisker.org/~david/FreeBSD/head/typescript_r300994; the
"_bw" alias (ultimately) expands to:

setenv TMPDIR /tmp && \
 id && \
 mount && \
 cd /usr/src && \
 uname -a && \
 date && \
 make -j16 buildworld && \
 date && \
 make -j16 buildkernel && \
 date && \
 rm -fr /boot/modules.old && \
 cp -pr /boot/modules{,.old} && \
 make installkernel && \
 date && \
 pushd /usr/ports && \
 pushd x11/nvidia-driver && \
 make clean ; popd ; popd && \
 date && \
 mergemaster -U -u 0022 -p && \
 date && \
 rm -fr /usr/include.old && \
 date && \
 mv /usr/include{,.old} && \
 date && \
 rm -fr /usr/share/man && \
 date && \
 make installworld && \
 date && \
 mergemaster -F -U -u 0022 -i && \
 date && \
 make delete-old && \
 date && \
 df -k

I have some errands/chores to deal with so I won't be able to respond
right away, but I would like to resolve the issue.

I received one suggestion to try reverting r300990;, which I did
(without a change in the symptoms).

I then reverted the sources back to r300951 and performed exactly thhe
same type of build (that is, with 'WITH_META_MODE=yes' in
/etc/src-env.conf; no attempt to use -DNO_CLEAN; build world; build
kernel; install kernel; install world; mergemaster...).  That's working
Just fine; kldstat shows:

g1-252(11.0)[6] kldstat 
Id Refs Address            Size     Name
 1   37 0xffffffff80200000 1e0a3a8  kernel
 2    1 0xffffffff8200c000 232f8    geom_eli.ko
 3    2 0xffffffff82030000 9d6d8    linux.ko
 4    4 0xffffffff820ce000 d1f0     linux_common.ko
 5    1 0xffffffff820dc000 4c58     coretemp.ko
 6    1 0xffffffff820e1000 546b0    iwn5000fw.ko
 7    1 0xffffffff82136000 b67b50   nvidia.ko
 8    1 0xffffffff82c9e000 b838     filemon.ko
 9    1 0xffffffff82e21000 f01c     tmpfs.ko
10    1 0xffffffff82e31000 5959     fdescfs.ko
11    1 0xffffffff82e37000 a9e8     linprocfs.ko
12    1 0xffffffff82e42000 39671    linux64.ko
g1-252(11.0)[7] 

Note thaht linux64.ko shows up here, while in the r300994 case,
linux64.ko would not load (which, I believe, is why nvidia.ko wouldn't
load).

Peace,
david
-- 
David H. Wolfskill                              da...@catwhisker.org
Those who would murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Attachment: signature.asc
Description: PGP signature

Reply via email to