From owner-freebsd-current Fri Dec 20 13:25:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DBCEA37B401 for ; Fri, 20 Dec 2002 13:25:54 -0800 (PST) Received: from akd.no-ip.org (zaqd38751f2.zaq.ne.jp [211.135.81.242]) by mx1.FreeBSD.org (Postfix) with SMTP id 5EF1E43EDC for ; Fri, 20 Dec 2002 13:25:48 -0800 (PST) (envelope-from mia@gold.ocn.ne.jp) Received: (qmail 12521 invoked by uid 0); 20 Dec 2002 21:25:41 -0000 Received: from unknown (HELO intasity.akd.or.jp) (192.168.128.243) by atropos.akd.or.jp with SMTP; 20 Dec 2002 21:25:41 -0000 Date: Sat, 21 Dec 2002 06:25:41 +0900 From: Yoshinori KASAZAKI To: Maksim Yevmenkin Cc: freebsd-current@freebsd.org Subject: Re: if_tap is working ? Message-Id: <20021221062541.1509307d.mia@gold.ocn.ne.jp> In-Reply-To: <3E035696.2090909@exodus.net> References: <20021220235558.6c4352a6.mia@gold.ocn.ne.jp> <3E035696.2090909@exodus.net> X-Mailer: Sylpheed version 0.8.6 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi. On Fri, 20 Dec 2002 09:42:46 -0800 Maksim Yevmenkin wrote: > Hello, > > Yoshinori KASAZAKI wrote: > > >hi, guys. > > > >Does anyone have VMware2 port running successfully on -current ? > > > i'm :) that's great :) > >my VMware2 port's startup script says > > /usr/local/etc/rc.d/vmware.sh: cannot create /compat/linux/dev/vmnet1: Device not configured > > > >I digged into this a little and found that this message is from the line > > echo -n > $dev_vmnet1 > >here, $dev_vmnet1 points to /usr/compat/linux/dev/vmnet1. > > > >if_tap is loaded as KLD as follows: > > 29 1 0xc3acd000 4000 if_tap.ko > > > what does `ls -la /usr/compat/linux/dev/vmnet1' say? tower# ls -al /usr/compat/linux/dev/vmnet1 crw-r--r-- 1 root wheel 149, 0x00010001 12 21 05:54 /usr/compat/linux/dev/vmnet1 > /usr/compat/linux/dev/vmnet1 should be symlink to /dev/vmnet1 > > vmware2 still wants to create device nodes under /linux/dev/ > not symlinks. someone please fix > > --- pre-install.orig Fri Dec 20 09:40:06 2002 > +++ pre-install Fri Dec 20 09:40:43 2002 > @@ -18,7 +18,8 @@ > mknod ${linux_dev}/null c 2 2 > chmod 666 ${linux_dev}/null > echo Creating vmnet1 node > -mknod /compat/linux/dev/vmnet1 c 149 65537 > +rm /compat/linux/dev/vmnet1 > +ln -s /dev/vmnet1 /compat/linux/dev/vmnet1 > echo Creating $linux_dev/hd\? > mknod ${linux_dev}/hda b 0 0x00010002 > mknod ${linux_dev}/hdb b 0 0x0001000a yes, that's it !! Thanks a lot !! > >same script works on -stable. > >Am I missing anything obvious ? > > > not really :) just a DEVFS side effect I see. > thanks, > max thanks again, max :) Y.Kasazaki // To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message