From owner-freebsd-emulation@FreeBSD.ORG Mon May 31 11:02:01 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 428C516A4D0 for ; Mon, 31 May 2004 11:02:01 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CC2043D3F for ; Mon, 31 May 2004 11:02:01 -0700 (PDT) (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 i4VI1dSu022583 for ; Mon, 31 May 2004 11:01:39 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4VI1dJj022577 for emulation@freebsd.org; Mon, 31 May 2004 11:01:39 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 31 May 2004 11:01:39 -0700 (PDT) Message-Id: <200405311801.i4VI1dJj022577@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, 31 May 2004 18:02:01 -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/21] 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/14] 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 4 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/06/19] misc/19391 emulation Evilness with Linux Terminus, causes X to 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/26] kern/45785 emulation Linux WineX seems to require a few new li 4 problems total. From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 2 04:08: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 5115C16A4CE for ; Wed, 2 Jun 2004 04:08:51 -0700 (PDT) Received: from smtp08.web.de (smtp08.web.de [217.72.192.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 156B643D1F for ; Wed, 2 Jun 2004 04:08:51 -0700 (PDT) (envelope-from kay_lehmann@web.de) Received: from lehmann.in-dsl.de ([217.197.85.240] helo=web.de) by smtp08.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.101 #91) id 1BVTbu-0005Xq-00 for freebsd-emulation@freebsd.org; Wed, 02 Jun 2004 13:08:42 +0200 Message-ID: <40BDB549.4010203@web.de> Date: Wed, 02 Jun 2004 13:08:57 +0200 From: Kay Lehmann User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-AT; rv:1.6) Gecko/20040405 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: kay_lehmann@web.de Subject: rtc and kern.hz setting 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: Wed, 02 Jun 2004 11:08:51 -0000 Hello everybody, sorry I have to ask this, but can you tell me where (how) I have to set kern.hz. It was sometimes said that a value of 1000 should be a good choice for vmware. And since I get errors when vmware is under heavy load, I want to increase it (it seems to be set to 100, according to the error-messages). Is this a kernel option (there is no note about it in LINT) or is it a sysctl-variable (when it is, it isn't set yet)? Thanks and greets, Kay From owner-freebsd-emulation@FreeBSD.ORG Wed Jun 2 04:26:43 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 B6FC416A4CE for ; Wed, 2 Jun 2004 04:26:43 -0700 (PDT) Received: from mail1.arcor-ip.de (mail1.arcor-ip.de [145.253.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 207CD43D31 for ; Wed, 2 Jun 2004 04:26:43 -0700 (PDT) (envelope-from Lutz.Kittler@sse-erfurt.de) Received: from mail.sse-erfurt.de (145.253.64.194) by mail1.arcor-ip.de (5.5.044) id 40BC748300038442 for freebsd-emulation@freebsd.org; Wed, 2 Jun 2004 13:26:29 +0200 Received: from master.sse-erfurt.de (mailhost.sse-erfurt.de [192.105.75.4]) by mail.sse-erfurt.de (Postfix) with ESMTP id 3F4F012CC2 for ; Wed, 2 Jun 2004 13:26:28 +0200 (CEST) Received: from tycho.sse-erfurt.de (kittler@tycho.sse-erfurt.de [192.105.75.11])id NAA02519 for ; Wed, 2 Jun 2004 13:26:27 +0200 From: Lutz Kittler To: freebsd-emulation@freebsd.org Date: Wed, 2 Jun 2004 13:26:27 +0200 User-Agent: KMail/1.5 References: <40BDB549.4010203@web.de> In-Reply-To: <40BDB549.4010203@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200406021326.27141.Lutz.Kittler@sse-erfurt.de> Subject: Re: rtc and kern.hz setting 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: Wed, 02 Jun 2004 11:26:43 -0000 Am Mittwoch, 2. Juni 2004 13:08 schrieb Kay Lehmann: > Hello everybody, > > sorry I have to ask this, but can you tell me where (how) I have to set > kern.hz. It was sometimes said that a value of 1000 should be a good > choice for vmware. And since I get errors when vmware is under heavy > load, I want to increase it (it seems to be set to 100, according to the > error-messages). Is this a kernel option (there is no note about it in > LINT) or is it a sysctl-variable (when it is, it isn't set yet)? > > Thanks and greets, > Kay see LINT: options HZ=100 Lutz From owner-freebsd-emulation@FreeBSD.ORG Fri Jun 4 18:10: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 C705216A4CE for ; Fri, 4 Jun 2004 18:10:06 -0700 (PDT) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAEA443D4C for ; Fri, 4 Jun 2004 18:10:04 -0700 (PDT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (uucp@gwyn [127.0.0.1]) i54INVsY017687 for ; Fri, 4 Jun 2004 20:23:31 +0200 Received: from saturn.kn-bremen.de (uucp@localhost)i54INVvM017685 for freebsd-emulation@freebsd.org; Fri, 4 Jun 2004 20:23:31 +0200 Received: (from nox@localhost) by saturn.kn-bremen.de (8.11.4/8.8.5) id i54IWGR95745 for freebsd-emulation@freebsd.org; Fri, 4 Jun 2004 20:32:16 +0200 (CEST) From: Juergen Lock Date: Fri, 4 Jun 2004 20:32:12 +0200 To: freebsd-emulation@freebsd.org Message-ID: <20040604203211.A95031@saturn.kn-bremen.de> Mail-Followup-To: freebsd-emulation@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3i Subject: [repost:] qemu; emulators/rtc doesnt send SIGIO, is this patch right? 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: Sat, 05 Jun 2004 01:10:06 -0000 [reposting from -hackers as i found this to be the place where emulators/rtc has been discussed previously] Hi! Is the following patch to the emulators/rtc port right? qemu (ports/emulators/qemu) expects it to send SIGIO and i'm not that good at kernel hacking to know if the following is correct... it seems to work for me tho. (Anyone interested in helping fixing the other problems mentioned in the pkg-message is welcome also. This looks like a coool project...) Index: files/rtc.c =================================================================== RCS file: /home/ncvs/ports/emulators/rtc/files/rtc.c,v retrieving revision 1.15 diff -u -r1.15 rtc.c --- files/rtc.c 13 Mar 2004 21:20:03 -0000 1.15 +++ files/rtc.c 1 Jun 2004 15:46:19 -0000 @@ -74,6 +74,11 @@ int opened:1; int enabled:1; } flags; +#if __FreeBSD_version >= 500023 + struct thread *sproc; +#else + struct proc *sproc; +#endif struct callout rtc_handle; struct timespec lasttime; struct selinfo sip; @@ -207,6 +212,7 @@ if (sc->var.flags.opened) return (EBUSY); + sc->var.sproc = NULL; sc->var.flags.opened = 1; return 0; @@ -222,6 +228,7 @@ struct rtc_softc *sc = (struct rtc_softc *) dev->si_drv1; rtc_detach(dev, sc); + sc->var.sproc = NULL; sc->var.flags.opened = 0; return 0; } @@ -261,6 +268,7 @@ break; case RTCIO_PIE_ON: sc->var.flags.enabled = 1; + sc->var.sproc = p; DLog(Linfo, "Enable interrupts"); break; default: @@ -394,6 +402,7 @@ return; /* Wakeup sleepers */ sc->var.woken++; + psignal(sc->var.sproc, SIGIO); selwakeup(&sc->var.sip); wakeup(&sc->var.rtc_ident); Thanks, Juergen