Subject: kern/26544: 2.0_BETA: bridge/fxp panic w/ vmware
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@rfhpc8323.fh-regensburg.de>
List: netbsd-bugs
Date: 08/04/2004 13:14:33
>Number:         26544
>Category:       kern
>Synopsis:       2.0_BETA: bridge/fxp panic w/ vmware
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 04 11:15:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hubert Feyrer
>Release:        NetBSD 2.0_BETA
>Organization:
Hubert Feyrer <hubertf@channel.regensburg.org>
>Environment:
	
	
System: NetBSD yui.fh-regensburg.de 2.0_BETA NetBSD 2.0_BETA (YUI) #0: Thu Jul 1 12:57:41 MEST 2004 feyrer@yui.fh-regensburg.de:/disk4/cvs/src-2.0/sys/arch/i386/compile/obj.i386/YUI i386
Architecture: i386
Machine: i386
>Description:
	I'm running VMware 3.2.1 from pkgsrc on a 2.0_BETA/i386 system,
	using the bridge setup described on the NetBSD VMware page.
	As guest OS, I run Gentoo 2004.2 right now. When doing some network
	IO ("emerge sync"), the host panics repeatable with the following
	trace (the machine uses fxp0 for ethernet):

	db> bt
	fxp_start
	bridge_enqueue
	bridge_forward
	bridge_input
	ether_input
	usb_alt_tasks
	usb_all_tasks
	spec_write
	VOP_WRITE
	vn_write
	dofilewrite
	sys_write
	linux_syscall_plain(cb2b4fa8,2b,81e002b,2,bfbf002b)

	I have no idea what usb_* does in there, the machine has fxp0
	at PCI.


>How-To-Repeat:
	Install vmware 3.2.1 from pkgsrc
	install gentoo 2004.2 inside vmware
	setup networking to use bridge on the host side
	run "emerge sync"

	I use the following in /etc/rc.conf:

		vmware_prefix=/usr/pkg
		vmmon=YES
		vmnet=YES
		linuxrtc=NO
		# XXX should cater for multiple interfaces
		vmnetif=YES
		vmnetifname=vmnet0
		vmnetdev=/dev/vmnet0
		#vmnetifconfig="inet 10.0.0.101 netmask 0xffffff00"
		vmnetifconfig="inet 192.168.0.1 netmask 0xffffff00"
		vmnetif_use_dhcpd=NO
		#
		ipfilter=no
		ipnat=no


	VMware is configured to use bridged mode for networking.

>Fix:
	Yes please.
>Release-Note:
>Audit-Trail:
>Unformatted: