From owner-freebsd-emulation Fri May 5 6: 5:43 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from overcee.netplex.com.au (peter1.yahoo.com [208.48.107.4]) by hub.freebsd.org (Postfix) with ESMTP id 5344937B8EE; Fri, 5 May 2000 06:05:39 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 5E80B1CE3; Fri, 5 May 2000 06:05:38 -0700 (PDT) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: sanpei@sanpei.org (MIHIRA Yoshiro) Cc: kuriyama@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG Subject: Re: Loading rtc.ko failed on -current In-Reply-To: Message from sanpei@sanpei.org (MIHIRA Yoshiro) of "Fri, 05 May 2000 08:54:59 +0900." <200005042354.IAA07664@lavender.yy.cs.keio.ac.jp> Date: Fri, 05 May 2000 06:05:38 -0700 From: Peter Wemm Message-Id: <20000505130538.5E80B1CE3@overcee.netplex.com.au> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org MIHIRA Yoshiro wrote: > peter@netplex.com.au wrote: > > >> MIHIRA Yoshiro wrote: > >> > kuriyama@FreeBSD.ORG wrote: > >> > > >> > >> On my "few-hours-ago make world"ed 5.0-current, kldload complains > >> > >> below at loading rtc.ko, vmnet.ko and vmmon.ko. > >> > >> > >> > >> link_elf: symbol linux_ioctl_register_handler undefined > >> > >> link_elf: symbol linux_ioctl_register_handler undefined > >> > >> link_elf: symbol linux_ioctl_register_handler undefined > >> > >> > >> > >> Are there occured only my environment? > >> > > >> > I also have this problem. I can't use vmware2 in 5-current any more :- < > >> > > >> > and ldconfig in /usr/sbin/linux was core dumped. > >> > > >> > cherry# /compat/linux/sbin/ldconfig > >> > Segmentation fault(core dumped) > >> > pid 313 (ldconfig), uid 0: exited on signal 11 (core dumped) > >> > >> The rtc port needs this in it: > >> > >> #ifdef MODULE_DEPEND > >> MODULE_DEPEND(rtc, linux, 1, 1, 1); > >> #endif > >> > >> .near the top of the main source file. > > But I already loaded linux module with linux_enbale="YES" in /etc/rc.conf. > and I can check that it was already loaded. > > cherry# kldstat > Id Refs Address Size Name > 1 3 0xc0100000 3428d4 kernel > 2 1 0xc0f9e000 11000 linux.ko <---- > 3 1 0xc0fbc000 5000 linprocfs.ko That does not matter. You must still have that patch. rtc.ko will not be able to use linux.ko's symbols unless a dependency is registered. If there is no dependency, then you could accidently unload linux.ko with rtc.ko still active. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "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-emulation" in the body of the message