Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2002 06:25:41 +0900
From:      Yoshinori KASAZAKI <mia@gold.ocn.ne.jp>
To:        Maksim Yevmenkin <myevmenk@exodus.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
hi.

On Fri, 20 Dec 2002 09:42:46 -0800
Maksim Yevmenkin <myevmenk@exodus.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021221062541.1509307d.mia>