Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2002 09:22:58 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, FreeBSD current users <current@FreeBSD.ORG>
Subject:   Re: linux broken? 
Message-ID:  <20020426162258.58AD838FF@overcee.wemm.org>
In-Reply-To: <Pine.BSF.4.21.0204251950590.45467-100000@InterJet.elischer.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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