From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 19 11:01:42 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA1EE16A4CE for ; Mon, 19 Jul 2004 11:01:42 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEECD43D41 for ; Mon, 19 Jul 2004 11:01:42 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i6JB1gbZ015342 for ; Mon, 19 Jul 2004 11:01:42 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6JB1gke015336 for emulation@freebsd.org; Mon, 19 Jul 2004 11:01:42 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 19 Jul 2004 11:01:42 GMT Message-Id: <200407191101.i6JB1gke015336@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: emulation@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 11:01:43 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/06/28] kern/53874 emulation /usr/ports/emulators/linux_base isn't wor 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow o [2000/11/13] kern/22826 emulation Memory limits have no effect in linux com o [2000/12/15] misc/23561 emulation Linux compatibility mode does not support o [2001/03/28] kern/26171 emulation not work Linux-emulator, but hi is work i f [2004/03/04] ports/63747 emulation vmmon is not performing o [2004/06/18] kern/68079 emulation linux ibm jdk 1.4.1 fails with: JVMLH050: o [2004/06/22] ports/68202 emulation [patch] Make vmware2 compile on -current o [2004/06/24] ports/68265 emulation [patch] Make rtc compile on -current (nee 8 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/06/20] misc/19391 emulation Evilness with Linux Terminus, causes X to o [2001/08/14] kern/29698 emulation linux ipcs doesn'work p [2002/04/16] misc/37161 emulation ext2 linux file system, error handling la o [2002/06/12] kern/39201 emulation ptrace(2) and rfork(RFLINUXTHPN) confuse o [2002/08/11] kern/41543 emulation Easier wine/w23 support p [2002/09/04] kern/42404 emulation TIOCSCTTY not implemented in linuxulator o [2002/11/27] kern/45785 emulation Linux WineX seems to require a few new li p [2003/01/22] kern/47349 emulation Fake a sound ioctl (plus linux hook) o [2003/08/21] kern/55835 emulation Linux IPC emulation missing SETALL syscal o [2003/09/24] kern/57192 emulation linux-ibm-java1.4 freeze o [2004/06/20] kern/68131 emulation java/linux-ibm-jdk14: linux ibm jdk 1.4.1 f [2004/06/30] ports/68532 emulation Add support for multiple VMWare instances o [2004/07/16] ports/69152 emulation emulators/rtc - /usr/local/etc/rc.d/rtc.s 13 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 19 21:47:18 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D41316A4CF for ; Mon, 19 Jul 2004 21:47:18 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2091743D5C for ; Mon, 19 Jul 2004 21:47:18 +0000 (GMT) (envelope-from gwk@rahn-koltermann.de) Received: from [212.227.126.179] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Bmfyf-0004lO-00 for freebsd-emulation@freebsd.org; Mon, 19 Jul 2004 23:47:17 +0200 Received: from [217.232.136.231] (helo=[192.168.0.3]) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1Bmfyf-0007ew-00 for freebsd-emulation@freebsd.org; Mon, 19 Jul 2004 23:47:17 +0200 From: "Georg-W. Koltermann" To: freebsd-emulation@freebsd.org Content-Type: text/plain Message-Id: <1090273635.1511.15.camel@localhost.muc.eu.mscsoftware.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 19 Jul 2004 23:47:15 +0200 Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:90bcaad5e51ecc993b2919ba4b74e6dc Subject: how to implement linux_gettid X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 21:47:18 -0000 Hi, I am trying to get SUNs Linux JRE 1.5 beta2 to work, which currently fails with unsupported system call #224, which is gettid(). In the Linux kernel this call returns the pid, which makes sense as their threading model allocates a proc structure per thread. I first tried to simply return a unique number for the gettid() call by returning (int)td. That seemed to work, although I sometimes got JVM crashes with negative thread ids. Interestingly I observed that with the JRE 1.5 I also seem to get one proc per thread in our Linux emulation on FreeBSD; ps(1) shows multiple processes for one java invocation. So my current attempt is to return td->td_proc->p_pid, which is the pid just as in the Linux kernel. This also works, just as fine, for simple cases. I still get JVM crashes easily when I start a Swing GUI application and resize the window a couple times. So I suppose returning the pid is not really the correct solution. Could someone explain how our threading works when accessed from Linux, and maybe give me a hint how gettid() should be implemented correctly? -- Thanks, Regards, Georg. ------------------------------------------ FreeBSD 5.2.1-p5 linux_base-8 linprocfs is mounted Index: linux_misc.c =================================================================== RCS file: /usr/ncvs/src/sys/compat/linux/linux_misc.c,v retrieving revision 1.150 diff -u -r1.150 linux_misc.c --- linux_misc.c 16 Nov 2003 15:07:10 -0000 1.150 +++ linux_misc.c 14 Jul 2004 18:57:55 -0000 @@ -1328,6 +1328,20 @@ return (0); } +/* + * A trial implementation of linux gettid(2). + * + * We'll see if it works. The linux source returns the pid + * for this call. + */ +int +linux_gettid(struct thread *td, struct linux_gettid_args *args) +{ + /* td->td_retval[0] = (int)td; */ + td->td_retval[0] = td->td_proc->p_pid; + return (0); +} + int linux_getgid(struct thread *td, struct linux_getgid_args *args) { From owner-freebsd-emulation@FreeBSD.ORG Mon Jul 19 21:58:46 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0C6016A4CE for ; Mon, 19 Jul 2004 21:58:46 +0000 (GMT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8662A43D41 for ; Mon, 19 Jul 2004 21:58:46 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from dhcp50.pn.xcllnt.net (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.12.11/8.12.11) with ESMTP id i6JLwkho023401; Mon, 19 Jul 2004 14:58:46 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp50.pn.xcllnt.net (localhost [127.0.0.1]) i6JLwjlW012089; Mon, 19 Jul 2004 14:58:46 -0700 (PDT) (envelope-from marcel@dhcp50.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp50.pn.xcllnt.net (8.12.11/8.12.11/Submit) id i6JLwjHu012088; Mon, 19 Jul 2004 14:58:45 -0700 (PDT) (envelope-from marcel) Date: Mon, 19 Jul 2004 14:58:45 -0700 From: Marcel Moolenaar To: "Georg-W. Koltermann" Message-ID: <20040719215845.GA12055@dhcp50.pn.xcllnt.net> References: <1090273635.1511.15.camel@localhost.muc.eu.mscsoftware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1090273635.1511.15.camel@localhost.muc.eu.mscsoftware.com> User-Agent: Mutt/1.4.2.1i cc: freebsd-emulation@freebsd.org Subject: Re: how to implement linux_gettid X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 21:58:47 -0000 On Mon, Jul 19, 2004 at 11:47:15PM +0200, Georg-W. Koltermann wrote: > > Could someone explain how our threading works when accessed from Linux, > and maybe give me a hint how gettid() should be implemented correctly? It depends. If user threading under linux compatibility is still implemented using fork(2), then you'll have a process per user thread. In that case it doesn't matter how threading is natively implemented. So, if fork(2) is the basis for threading, return td->td_proc->p_pid, otherwise you probably want to return td->td_tid. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net From owner-freebsd-emulation@FreeBSD.ORG Tue Jul 20 21:59:39 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D835D16A4CE for ; Tue, 20 Jul 2004 21:59:39 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 235A743D48 for ; Tue, 20 Jul 2004 21:59:39 +0000 (GMT) (envelope-from gwk@rahn-koltermann.de) Received: from [212.227.126.205] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1Bn2e8-0004w3-00; Tue, 20 Jul 2004 23:59:36 +0200 Received: from [217.232.150.205] (helo=[192.168.0.3]) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1Bn2e8-00089J-00; Tue, 20 Jul 2004 23:59:36 +0200 From: "Georg-W. Koltermann" To: Marcel Moolenaar In-Reply-To: <20040719215845.GA12055@dhcp50.pn.xcllnt.net> References: <1090273635.1511.15.camel@localhost.muc.eu.mscsoftware.com> <20040719215845.GA12055@dhcp50.pn.xcllnt.net> Content-Type: text/plain Message-Id: <1090360772.1047.5.camel@localhost.muc.eu.mscsoftware.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 20 Jul 2004 23:59:33 +0200 Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:90bcaad5e51ecc993b2919ba4b74e6dc cc: freebsd-emulation@freebsd.org Subject: Re: how to implement linux_gettid X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 21:59:40 -0000 Am Mo, den 19.07.2004 schrieb Marcel Moolenaar um 23:58: > On Mon, Jul 19, 2004 at 11:47:15PM +0200, Georg-W. Koltermann wrote: > > > > Could someone explain how our threading works when accessed from Linux, > > and maybe give me a hint how gettid() should be implemented correctly? > > It depends. If user threading under linux compatibility is still > implemented using fork(2), then you'll have a process per user thread. > In that case it doesn't matter how threading is natively implemented. I am not quite sure. I see that i386/linux/syscalls.master has fork, vfork, and clone. clone is implemented by calling fork1(). Does this make sure that Linux threading is implemented using fork()? Or could it depend on the application or library layer, e.g. libpthread in linux_base? -- Regards, Georg. From owner-freebsd-emulation@FreeBSD.ORG Tue Jul 20 22:19:06 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E41D916A4CE for ; Tue, 20 Jul 2004 22:19:06 +0000 (GMT) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8657243D1D for ; Tue, 20 Jul 2004 22:19:06 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (localhost [127.0.0.1]) by ns1.xcllnt.net (8.12.11/8.12.11) with ESMTP id i6KMJ6QW028631; Tue, 20 Jul 2004 15:19:06 -0700 (PDT) (envelope-from marcel@ns1.xcllnt.net) Received: (from marcel@localhost) by ns1.xcllnt.net (8.12.11/8.12.11/Submit) id i6KMJ60h028630; Tue, 20 Jul 2004 15:19:06 -0700 (PDT) (envelope-from marcel) Date: Tue, 20 Jul 2004 15:19:06 -0700 From: Marcel Moolenaar To: "Georg-W. Koltermann" Message-ID: <20040720221906.GA28599@ns1.xcllnt.net> References: <1090273635.1511.15.camel@localhost.muc.eu.mscsoftware.com> <20040719215845.GA12055@dhcp50.pn.xcllnt.net> <1090360772.1047.5.camel@localhost.muc.eu.mscsoftware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1090360772.1047.5.camel@localhost.muc.eu.mscsoftware.com> User-Agent: Mutt/1.5.5.1i cc: freebsd-emulation@freebsd.org Subject: Re: how to implement linux_gettid X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 22:19:07 -0000 On Tue, Jul 20, 2004 at 11:59:33PM +0200, Georg-W. Koltermann wrote: > Am Mo, den 19.07.2004 schrieb Marcel Moolenaar um 23:58: > > On Mon, Jul 19, 2004 at 11:47:15PM +0200, Georg-W. Koltermann wrote: > > > > > > Could someone explain how our threading works when accessed from Linux, > > > and maybe give me a hint how gettid() should be implemented correctly? > > > > It depends. If user threading under linux compatibility is still > > implemented using fork(2), then you'll have a process per user thread. > > In that case it doesn't matter how threading is natively implemented. > > I am not quite sure. I see that i386/linux/syscalls.master has fork, > vfork, and clone. clone is implemented by calling fork1(). Does this > make sure that Linux threading is implemented using fork()? You want to look at what the threading library calls when it needs to create a new thread. I think this will be clone(2) and if it is, then threading is basicly implemented using fork(1) and the thread IDs is the process ID. > Or could it depend on the application or library layer, e.g. libpthread > in linux_base? Yes. See above. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 22 10:10:40 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2144F16A4CE; Thu, 22 Jul 2004 10:10:40 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0295643D3F; Thu, 22 Jul 2004 10:10:40 +0000 (GMT) (envelope-from vs@FreeBSD.org) Received: from freefall.freebsd.org (vs@localhost [127.0.0.1]) i6MAAddk006844; Thu, 22 Jul 2004 10:10:39 GMT (envelope-from vs@freefall.freebsd.org) Received: (from vs@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6MAAdPp006840; Thu, 22 Jul 2004 10:10:39 GMT (envelope-from vs) Date: Thu, 22 Jul 2004 10:10:39 GMT From: Volker Stolz Message-Id: <200407221010.i6MAAdPp006840@freefall.freebsd.org> To: GrandDixence@gmx.net, vs@FreeBSD.org, emulation@FreeBSD.org Subject: Re: ports/69152: emulators/rtc - /usr/local/etc/rc.d/rtc.sh don't load rtc.ko X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2004 10:10:40 -0000 Synopsis: emulators/rtc - /usr/local/etc/rc.d/rtc.sh don't load rtc.ko State-Changed-From-To: open->feedback State-Changed-By: vs State-Changed-When: Thu Jul 22 10:07:39 GMT 2004 State-Changed-Why: Hm, on 4.10 the naming of the script shouldn't matter. Was the script initially chmod a+x (it should have been)? What happens if you run the script as root "by hand"? http://www.freebsd.org/cgi/query-pr.cgi?pr=69152 From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 22 15:12:57 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65B6616A4CF for ; Thu, 22 Jul 2004 15:12:57 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CF1143D5D for ; Thu, 22 Jul 2004 15:12:56 +0000 (GMT) (envelope-from itetcu@apropo.ro) Received: (qmail 25077 invoked by uid 89); 22 Jul 2004 15:07:00 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 22 Jul 2004 15:07:00 -0000 Received: from localhost (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 6E53C135; Thu, 22 Jul 2004 18:09:47 +0300 (EEST) Received: from it.buh.tecnik93.com ([127.0.0.1]) by localhost (it.buh.tecnik93.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32177-06; Thu, 22 Jul 2004 18:09:47 +0300 (EEST) Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with SMTP id C9EBE34; Thu, 22 Jul 2004 18:09:46 +0300 (EEST) Date: Thu, 22 Jul 2004 18:09:46 +0300 From: Ion-Mihai Tetcu To: Volker Stolz Message-Id: <20040722180946.7d6aa664@it.buh.tecnik93.com> In-Reply-To: <200407221010.i6MAAdPp006840@freefall.freebsd.org> References: <200407221010.i6MAAdPp006840@freefall.freebsd.org> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at it.buh.cameradicommercio.ro cc: emulation@FreeBSD.org cc: vs@FreeBSD.org cc: GrandDixence@gmx.net Subject: Re: ports/69152: emulators/rtc - /usr/local/etc/rc.d/rtc.sh don't load rtc.ko X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2004 15:12:57 -0000 On Thu, 22 Jul 2004 10:10:39 GMT Volker Stolz wrote: > Synopsis: emulators/rtc - /usr/local/etc/rc.d/rtc.sh don't load rtc.ko > > State-Changed-From-To: open->feedback > State-Changed-By: vs > State-Changed-When: Thu Jul 22 10:07:39 GMT 2004 > State-Changed-Why: > Hm, on 4.10 the naming of the script shouldn't matter. > Was the script initially chmod a+x (it should have been)? > What happens if you run the script as root "by hand"? # /usr/local/etc/rc.d/rtc.sh Usage: rtc.sh {start|stop} itetcu@it> /home/itetcu [18:06:25] 64 # /usr/local/etc/rc.d/rtc.sh start rtckldload: can't load /usr/local/modules/rtc.ko: No such file or directory itetcu@it> /home/itetcu [18:06:28] 1 # ll /usr/local/modules/rtc.ko -r-xr-xr-x 1 root wheel 7587 Mar 21 04:21 /usr/local/modules/rtc.ko itetcu@it> /home/itetcu [18:07:39] 1 # /sbin/kldload -v /usr/local/modules/rtc.ko kldload: can't load /usr/local/modules/rtc.ko: No such file or directory FreeBSD it.buh.tecnik93.com 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Wed May 26 02:08:58 EEST 2004 -- IOnut Unregistered ;) FreeBSD "user" From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 22 15:45:26 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DC0816A4D1 for ; Thu, 22 Jul 2004 15:45:26 +0000 (GMT) Received: from atlas.informatik.rwth-aachen.de (atlas.informatik.RWTH-Aachen.DE [137.226.194.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9EF543D1F for ; Thu, 22 Jul 2004 15:45:25 +0000 (GMT) (envelope-from stolz@i2.informatik.rwth-aachen.de) Received: from menelaos.informatik.rwth-aachen.de (menelaos.informatik.RWTH-Aachen.DE [137.226.194.73]) with ESMTP id i6MFjOum000280; Thu, 22 Jul 2004 17:45:24 +0200 Received: (from stolz@localhost)i6MFjOZS077778; Thu, 22 Jul 2004 17:45:24 +0200 (CEST) (envelope-from stolz) Date: Thu, 22 Jul 2004 17:45:24 +0200 From: Volker Stolz To: Ion-Mihai Tetcu Message-ID: <20040722154524.GU13048@i2.informatik.rwth-aachen.de> References: <200407221010.i6MAAdPp006840@freefall.freebsd.org> <20040722180946.7d6aa664@it.buh.tecnik93.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040722180946.7d6aa664@it.buh.tecnik93.com> X-PGP-Key: finger vs@foldr.org X-PGP-Id: 0x3FD1B6B5 User-Agent: Mutt/1.5.4i cc: emulation@FreeBSD.org cc: GrandDixence@gmx.net Subject: Re: ports/69152: emulators/rtc - /usr/local/etc/rc.d/rtc.sh don't load rtc.ko X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2004 15:45:26 -0000 Am 22. Jul 2004 um 17:09 CEST schrieb Ion-Mihai Tetcu: > # /usr/local/etc/rc.d/rtc.sh > Usage: rtc.sh {start|stop} > itetcu@it> /home/itetcu [18:06:25] 64 > # /usr/local/etc/rc.d/rtc.sh start > rtckldload: can't load /usr/local/modules/rtc.ko: No such file or directory > itetcu@it> /home/itetcu [18:06:28] 1 > # ll /usr/local/modules/rtc.ko > -r-xr-xr-x 1 root wheel 7587 Mar 21 04:21 /usr/local/modules/rtc.ko > itetcu@it> /home/itetcu [18:07:39] 1 > # /sbin/kldload -v /usr/local/modules/rtc.ko > kldload: can't load /usr/local/modules/rtc.ko: No such file or directory Can you please check dmesg & /var/log/messages? Maybe a symbol is missing... -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME L-Attriwutgrammatik From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 22 15:58:17 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06BE416A4CE for ; Thu, 22 Jul 2004 15:58:17 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E76D43D45 for ; Thu, 22 Jul 2004 15:58:16 +0000 (GMT) (envelope-from itetcu@apropo.ro) Received: (qmail 1453 invoked by uid 89); 22 Jul 2004 15:52:20 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 22 Jul 2004 15:52:20 -0000 Received: from localhost (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 40B53135; Thu, 22 Jul 2004 18:55:08 +0300 (EEST) Received: from it.buh.tecnik93.com ([127.0.0.1]) by localhost (it.buh.tecnik93.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 49557-03; Thu, 22 Jul 2004 18:55:07 +0300 (EEST) Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with SMTP id D8A8B34; Thu, 22 Jul 2004 18:55:06 +0300 (EEST) Date: Thu, 22 Jul 2004 18:55:05 +0300 From: Ion-Mihai Tetcu To: Volker Stolz Message-Id: <20040722185505.2fb46baf@it.buh.tecnik93.com> In-Reply-To: <20040722154524.GU13048@i2.informatik.rwth-aachen.de> References: <200407221010.i6MAAdPp006840@freefall.freebsd.org> <20040722180946.7d6aa664@it.buh.tecnik93.com> <20040722154524.GU13048@i2.informatik.rwth-aachen.de> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at it.buh.cameradicommercio.ro cc: emulation@FreeBSD.org cc: GrandDixence@gmx.net Subject: Re: ports/69152: emulators/rtc - /usr/local/etc/rc.d/rtc.sh don't load rtc.ko X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2004 15:58:17 -0000 On Thu, 22 Jul 2004 17:45:24 +0200 Volker Stolz wrote: > Am 22. Jul 2004 um 17:09 CEST schrieb Ion-Mihai Tetcu: > > # /usr/local/etc/rc.d/rtc.sh > > Usage: rtc.sh {start|stop} > > itetcu@it> /home/itetcu [18:06:25] 64 > > # /usr/local/etc/rc.d/rtc.sh start > > rtckldload: can't load /usr/local/modules/rtc.ko: No such file or directory > > itetcu@it> /home/itetcu [18:06:28] 1 > > # ll /usr/local/modules/rtc.ko > > -r-xr-xr-x 1 root wheel 7587 Mar 21 04:21 /usr/local/modules/rtc.ko > > itetcu@it> /home/itetcu [18:07:39] 1 > > # /sbin/kldload -v /usr/local/modules/rtc.ko > > kldload: can't load /usr/local/modules/rtc.ko: No such file or directory > > Can you please check dmesg & /var/log/messages? Maybe a symbol is missing... Uf, yes, I forgot about that: link_elf: symbol callout_stop undefined I think this is happening from about a month -- IOnut Unregistered ;) FreeBSD "user" From owner-freebsd-emulation@FreeBSD.ORG Thu Jul 22 16:54:31 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BB5F316A4CE; Thu, 22 Jul 2004 16:54:31 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D06E43D58; Thu, 22 Jul 2004 16:54:31 +0000 (GMT) (envelope-from vs@FreeBSD.org) Received: from freefall.freebsd.org (vs@localhost [127.0.0.1]) i6MGsVAN053338; Thu, 22 Jul 2004 16:54:31 GMT (envelope-from vs@freefall.freebsd.org) Received: (from vs@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6MGsVWw053334; Thu, 22 Jul 2004 16:54:31 GMT (envelope-from vs) Date: Thu, 22 Jul 2004 16:54:31 GMT From: Volker Stolz Message-Id: <200407221654.i6MGsVWw053334@freefall.freebsd.org> To: GrandDixence@gmx.net, vs@FreeBSD.org, emulation@FreeBSD.org Subject: Re: ports/69152: emulators/rtc - /usr/local/etc/rc.d/rtc.sh don't load rtc.ko X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jul 2004 16:54:31 -0000 Synopsis: emulators/rtc - /usr/local/etc/rc.d/rtc.sh don't load rtc.ko State-Changed-From-To: feedback->open State-Changed-By: vs State-Changed-When: Thu Jul 22 16:53:20 GMT 2004 State-Changed-Why: Additional information from the submitter which made it into GNATS: link_elf: symbol callout_stop undefined http://www.freebsd.org/cgi/query-pr.cgi?pr=69152 From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 23 07:36:51 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED46E16A4CE; Fri, 23 Jul 2004 07:36:51 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CECBD43D2F; Fri, 23 Jul 2004 07:36:51 +0000 (GMT) (envelope-from vs@FreeBSD.org) Received: from freefall.freebsd.org (vs@localhost [127.0.0.1]) i6N7abXP063188; Fri, 23 Jul 2004 07:36:37 GMT (envelope-from vs@freefall.freebsd.org) Received: (from vs@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6N7abFG063184; Fri, 23 Jul 2004 07:36:37 GMT (envelope-from vs) Date: Fri, 23 Jul 2004 07:36:37 GMT From: Volker Stolz Message-Id: <200407230736.i6N7abFG063184@freefall.freebsd.org> To: GrandDixence@gmx.net, vs@FreeBSD.org, emulation@FreeBSD.org Subject: Re: ports/69152: emulators/rtc - /usr/local/etc/rc.d/rtc.sh don't load rtc.ko X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2004 07:36:52 -0000 Synopsis: emulators/rtc - /usr/local/etc/rc.d/rtc.sh don't load rtc.ko State-Changed-From-To: open->closed State-Changed-By: vs State-Changed-When: Fri Jul 23 07:36:20 GMT 2004 State-Changed-Why: Closed on submitter's request: Resolved after reinstallation http://www.freebsd.org/cgi/query-pr.cgi?pr=69152