From owner-freebsd-bugs Tue Apr 3 6:30: 6 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C243537B71E for ; Tue, 3 Apr 2001 06:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f33DU1a73818; Tue, 3 Apr 2001 06:30:01 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7EBE437B720 for ; Tue, 3 Apr 2001 06:27:37 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f33DRbP73557; Tue, 3 Apr 2001 06:27:37 -0700 (PDT) (envelope-from nobody) Message-Id: <200104031327.f33DRbP73557@freefall.freebsd.org> Date: Tue, 3 Apr 2001 06:27:37 -0700 (PDT) From: hiro@physics.s.chiba-u.ac.jp To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/26316: Booting FreeBSD on VMware2 with 2 or 3 ethernet adapters causes VMware panic. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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