Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2001 06:27:37 -0700 (PDT)
From:      hiro@physics.s.chiba-u.ac.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/26316: Booting FreeBSD on VMware2 with 2 or 3 ethernet adapters causes VMware panic.
Message-ID:  <200104031327.f33DRbP73557@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         26316
>Category:       kern
>Synopsis:       Booting FreeBSD on VMware2 with 2 or 3 ethernet adapters causes VMware panic.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 03 06:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hiroshi KATO
>Release:        FreeBSD 5.0-CURRENT i386 and FreeBSD 4.3-RC1 i386
>Organization:
Chiba university
>Environment:
FreeBSD *** 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Apr  3 17:26:08 JST 2001     root@***:/usr/src/sys/compile/GENERIC  i386
FreeBSD *** 4.3-RC1 FreeBSD 4.3-RC1 #0: Tue Mar 27 00:32:15 GMT 2001     jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC  i386
>Description:
While booting FreeBSD as a guest OS on VMware2.03 for Windows 2000 
with 2 or 3 virtual ethernet adapter devices,
VMware panics after probing for 1st ethernet adapter device(lnc0).

>How-To-Repeat:
Booting GENERIC kernel on VMware2 with 2 or 3 ethernet adpaters.

>Fix:
please apply this patch to $FreeBSD: /c/ncvs/src/sys/pci/if_pcn.c,v 1.20 2001/02/26 22:23:55 wpaul Exp $.

--- if_pcn.c.orig	Tue Apr  3 19:33:19 2001
+++ if_pcn.c	Tue Apr  3 19:39:27 2001
@@ -449,7 +449,9 @@
 			 * not supposed to be that way.
 			 */
 			if (chip_id == pci_read_config(dev,
-			    PCIR_SUBVEND_0, 4) || chip_id == 0x10001000) {
+			    PCIR_SUBVEND_0, 4) || chip_id == 0x10001000
+					       || chip_id == 0x10201020
+					       || chip_id == 0x10401040) {
 				/* We're in 16-bit mode. */
 				chip_id = pcn_csr_read16(sc, PCN_CSR_CHIPID1);
 				chip_id <<= 16;

>Release-Note:
>Audit-Trail:
>Unformatted:

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




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