From owner-freebsd-emulation Thu Jul 25 3:26:47 2002 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 6833337B400 for ; Thu, 25 Jul 2002 03:26:43 -0700 (PDT) Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B9F843E84 for ; Thu, 25 Jul 2002 03:26:42 -0700 (PDT) (envelope-from marks@ripe.net) Received: from laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.11.6/8.11.6) with SMTP id g6PAQWA04873; Thu, 25 Jul 2002 12:26:32 +0200 Received: (nullmailer pid 9855 invoked by uid 1000); Thu, 25 Jul 2002 10:26:32 -0000 Date: Thu, 25 Jul 2002 12:26:32 +0200 From: Mark Santcroos To: "Vladimir B.Grebenschikov" Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: Invalid behavior of emulators/rtc on -CURRENT, both build and run time. Message-ID: <20020725102631.GI617@laptop.6bone.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i X-Handles: MS6-6BONE, MS18417-RIPE Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org When I have time I will look at #2, already promised that to someone else also. Mark On Thu, Jul 25, 2002 at 02:23:27PM +0400, Vladimir B.Grebenschikov wrote: > > >Submitter-Id: current-users > >Originator: Vladimir B. Grebenschikov > >Organization: SWsoft > >Confidential: no > >Synopsis: Invalid behavior of emulators/rtc on -CURRENT, both build and run time. > >Severity: serious > >Priority: medium > >Category: ports > >Class: sw-bug > >Release: FreeBSD 5.0-CURRENT i386 > >Environment: > System: FreeBSD vbook.express.ru 5.0-CURRENT FreeBSD 5.0-CURRENT #20: Tue Jul 23 17:08:59 MSD 2002 root@walder.asplinux.ru:/usr/obj/ext/current/src/sys/VBOOK i386 > > rtc from fresh ports. > > >Description: > > First problem: > > Port simply don't duilds on -CURRENT due to invalid module > depenance defines. > > /usr/ports/emulators/rtc# make > I don't fetch anything... > ===> Extracting for rtc-2001.09.16.1 > >> No MD5 checksum file. > ===> Patching for rtc-2001.09.16.1 > ===> Configuring for rtc-2001.09.16.1 > ===> Building for rtc-2001.09.16.1 > "/sys/conf/kmod.mk", line 66: "Do not use KMODDEPS on 5.0+, use > MODULE_VERSION/MODULE_DEPEND" > *** Error code 1 > /usr/ports/emulators/rtc# > > Fix for this problem attached (don't ever test it on -STABLE) > > Second problem: > > There are no /dev/rtc device on -CURRENT's devfs. I understand that this > ports is mostly used for Linux-compatibility, but as I understand - > rtc device work well not only for Linux's binaries, so we need device on > -CURRENT devfs, isn't it ? > > > >How-To-Repeat: > > on -CURRENT: > > 1: > > # cd /usr/ports/emulators/rtc > # make > .. > "/sys/conf/kmod.mk", line 66: "Do not use KMODDEPS on 5.0+, use > MODULE_VERSION/MODULE_DEPEND" > *** Error code 1 > > > 2: > > # ls -l /dev/rtc > ls: /dev/rtc: No such file or directory > # kldstat | fgrep rtc > 16 1 0xc3a87000 2000 rtc.ko > # > > >Fix: > > 1: > > RCS file: /ext/ncvs/ports/emulators/rtc/files/Makefile,v > retrieving revision 1.2 > diff -u -r1.2 Makefile > --- files/Makefile 10 Sep 2000 15:06:55 -0000 1.2 > +++ files/Makefile 21 May 2002 09:46:51 -0000 > @@ -28,7 +28,7 @@ > SYS?= /sys > NOMAN= YES > KMOD= rtc > -KMODDEPS= linux > +MODULE_DEPEND= linux > CDEV_MAJOR?= 202 > DEVNAME= ${KMOD} > SRCS= rtc.c rtc_linux.c vnode_if.h > > 2: > > I have no > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-emulation" in the body of the message -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message