hi. On Fri, 20 Dec 2002 09:42:46 -0800 Maksim Yevmenkin <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message