From owner-freebsd-stable Thu Jan 4 15: 9:39 2001 From owner-freebsd-stable@FreeBSD.ORG Thu Jan 4 15:09:37 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 C17FE37B400 for ; Thu, 4 Jan 2001 15:09:35 -0800 (PST) Received: (from wkt@localhost) by henry.cs.adfa.edu.au (8.11.1/8.9.3) id f04NFuF07406; Fri, 5 Jan 2001 10:15:56 +1100 (EST) (envelope-from wkt) From: Warren Toomey Message-Id: <200101042315.f04NFuF07406@henry.cs.adfa.edu.au> Subject: Re: kldload: Exec format error, is 4.2 problem? In-Reply-To: <14932.40645.130709.857043@onceler.kciLink.com> from Vivek Khera at "Jan 4, 2001 11:03:17 am" To: Vivek Khera Date: Fri, 5 Jan 2001 10:15:56 +1100 (EST) Cc: stable@FreeBSD.ORG 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 In article by Vivek Khera: > >>>>> "WT" == Warren Toomey writes: > WT> ld -Bshareable -o vmmon_up.ko setdef0.o vmmon_up.kld setdef1.o linux > > WT> By commenting out this flag, the file `linux' isn't used, and the module > WT> can then be loaded by kldload. Also, vmware appears to work fine. > > Do you comment it out on both vmware2 modules and rtc module or just > one of them? > Vivek Khera I'm thinking that I can't load modules that are linked with `linux' because I have the Linux emulation stuff built-in to my kernel, and not as a separate module. Can any module guru tell us exactly what the `linux' word does on the link line? Does it mean ``the linux kernel module is required to load this module''? If so, that's why I need to leave it off when I'm making these modules. Vivek, I can't load any modules that were linked with the `linux' option. Cheers, Warren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message