From owner-freebsd-current Sat Jun 3 22:56: 2 2000 Delivered-To: freebsd-current@freebsd.org Received: from relay.butya.kz (butya-gw.butya.kz [212.154.129.94]) by hub.freebsd.org (Postfix) with ESMTP id C87AA37C826 for ; Sat, 3 Jun 2000 22:55:53 -0700 (PDT) (envelope-from bp@butya.kz) Received: from bp (helo=localhost) by relay.butya.kz with local-esmtp (Exim 3.13 #1) id 12yTNo-000AHJ-00; Sun, 04 Jun 2000 12:55:36 +0700 Date: Sun, 4 Jun 2000 12:55:36 +0700 (ALMST) From: Boris Popov To: Julian Elischer Cc: Jeroen Ruigrok van der Werven , current@FreeBSD.ORG Subject: Re: vmware1/linux broken In-Reply-To: <3939D745.41C67EA6@elischer.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 3 Jun 2000, Julian Elischer wrote: > kldload: can't load /usr/local/lib/vmware/lib/modules/vmmon.ko: Exec > format error > kldload: can't load /usr/local/lib/vmware/lib/modules/vmnet.ko: Exec > format error > vmware.sh: cannot create /dev/vmnet1: no such device or address > jules# dmesg > [...] > link_elf: symbol linux_ioctl_register_handler undefined > link_elf: symbol linux_ioctl_register_handler undefined > jules# Could you check if vmmon and vmnet sources contains the following lines: MODULE_DEPEND(vmmon, linux, 1, 1, 1); , and MODULE_DEPEND(vmnet, linux, 1, 1, 1); respectively ? If not, add one line to the each module and recompile them. I'm unsure if vmware1 port was updated to reflect recent changes in the kernel. (vmware2 runs fine for me, the only grief is that license will expire soon :) > the symbols are present and the linux module is loaded. > link-elf is just incapable of seeing symbols in the module, > only in the actual kernel. The symbols looked up in the module name space only if dependency tag is present. This effectively allows us to have multiple versions of kernel interfaces to be loaded simultaneously. -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message