From owner-freebsd-stable Tue Jan 2 16:57:40 2001 From owner-freebsd-stable@FreeBSD.ORG Tue Jan 2 16:57:38 2001 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from henry.cs.adfa.edu.au (henry.cs.adfa.edu.au [131.236.21.158]) by hub.freebsd.org (Postfix) with ESMTP id 1353B37B400 for ; Tue, 2 Jan 2001 16:57:37 -0800 (PST) Received: (from wkt@localhost) by henry.cs.adfa.edu.au (8.11.1/8.9.3) id f03143902756 for stable@freebsd.org; Wed, 3 Jan 2001 12:04:03 +1100 (EST) (envelope-from wkt) From: Warren Toomey Message-Id: <200101030104.f03143902756@henry.cs.adfa.edu.au> Subject: kldload: Exec format error, is 4.2 problem? To: stable@freebsd.org Date: Wed, 3 Jan 2001 12:04:02 +1100 (EST) Reply-To: wkt@cs.adfa.edu.au X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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