Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2002 09:42:46 -0800
From:      Maksim Yevmenkin <myevmenk@exodus.net>
To:        Yoshinori KASAZAKI <mia@gold.ocn.ne.jp>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: if_tap is working ?
Message-ID:  <3E035696.2090909@exodus.net>
References:  <20021220235558.6c4352a6.mia@gold.ocn.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

Yoshinori KASAZAKI wrote:

>hi, guys.
>
>Does anyone have VMware2 port running successfully on -current ?
>
i'm :)

>
>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?

/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

>my -current is built yesterday and I've even re-installed VMware2 port a few times.
>CPUTYPE and no special CFLAGS etc are not defined in make.conf.
>
>same script works on -stable.
>Am I missing anything obvious ?
>
>  
>
not really :) just a DEVFS side effect

thanks,
max
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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