Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2001 12:04:02 +1100 (EST)
From:      Warren Toomey <wkt@henry.cs.adfa.edu.au>
To:        stable@freebsd.org
Subject:   kldload: Exec format error, is 4.2 problem?
Message-ID:  <200101030104.f03143902756@henry.cs.adfa.edu.au>

next in thread | raw e-mail | index | archive | help
Hi all,
	Just did a CVS on 4.x src-sys, make buildworld, make buildkernel,
make installkernel, reboot, make installworld, mergemaster, reboot.

I'm trying to load the modules required for vmware2 after building from
the 4.2 port of vmware2 and rtc after rebooting to 4.2-STABLE. I see:

# kldload /usr/local/modules/rtc.ko
kldload: can't load /usr/local/modules/rtc.ko: Exec format error

Fortunately, I kept a copy of rtc.ko from before the rebuild, and it
loads fine.

-r-xr-xr-x  1 root  wheel  6087 Jan  3 12:00 good_rtc.ko
-r-xr-xr-x  1 root  wheel  6095 Jan  3 12:02 rtc.ko

I also can't load vmmon.ko nor vmnet.ko, same problem.

Is this a 4.2-thing, or have I just done something wrong? I've
searched the FreeBSD mail lists for clues, with no luck.

Feel free to point out an act of gross stupidity on my part :-)

	Warren

P.S I also see this message during the compile of rtc.ko:

dev2unit() not found in sys/kern/kern_conf.c.  Using lminor() instead.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101030104.f03143902756>