Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 May 2000 06:05:38 -0700
From:      Peter Wemm <peter@netplex.com.au>
To:        sanpei@sanpei.org (MIHIRA Yoshiro)
Cc:        kuriyama@FreeBSD.ORG, freebsd-emulation@FreeBSD.ORG
Subject:   Re: Loading rtc.ko failed on -current 
Message-ID:  <20000505130538.5E80B1CE3@overcee.netplex.com.au>
In-Reply-To: Message from sanpei@sanpei.org (MIHIRA Yoshiro)  of "Fri, 05 May 2000 08:54:59 %2B0900." <200005042354.IAA07664@lavender.yy.cs.keio.ac.jp> 

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




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