From owner-freebsd-current Fri Apr 26 9:23: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from fw.wemm.org (12-232-135-171.client.attbi.com [12.232.135.171]) by hub.freebsd.org (Postfix) with ESMTP id 4EA7A37B405; Fri, 26 Apr 2002 09:22:58 -0700 (PDT) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (8.11.6/8.11.6) with ESMTP id g3QGMwe43464; Fri, 26 Apr 2002 09:22:58 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id 58AD838FF; Fri, 26 Apr 2002 09:22:58 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Julian Elischer Cc: John Baldwin , FreeBSD current users Subject: Re: linux broken? In-Reply-To: Date: Fri, 26 Apr 2002 09:22:58 -0700 From: Peter Wemm Message-Id: <20020426162258.58AD838FF@overcee.wemm.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Julian Elischer wrote: > > > On Thu, 25 Apr 2002, John Baldwin wrote: > > > > > On 25-Apr-2002 Julian Elischer wrote: > > > > kldload sysvipc.ko or compile the SYSV stuff into your kernel. > > Perhaps the linux kld needs to have a module dependency on > > the sysvipc modules? > > there is no sysvipc module but this is what I tried.. > > jules# cd /boot/kernel > jules# ls sy* > sym.ko syscall_gate.ko sysvmsg.ko sysvsem.ko sysvshm.ko > jules# kldload sysvmsg > jules# kldload sysvsem > jules# kldload sysvshm > jules# kldload linux > link_elf: symbol semop undefined > kldload: can't load linux: Exec format error > jules# Like John said, there needs to be a module dependency. The dependency from linux to sysvsem (for example) is used for two things. 1) to prevent sysvsem being unloaded before linux, and 2) to add sysvsem to the symbol search order for linux. You cannot "see" symbols in other modules without registering a dependency for this reason. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message