From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 11 13:30:14 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDFB437B41E for ; Sun, 11 May 2003 13:30:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CDB8D43FBF for ; Sun, 11 May 2003 13:30:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4BKUBUp089775 for ; Sun, 11 May 2003 13:30:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4BKUBgg089774; Sun, 11 May 2003 13:30:11 -0700 (PDT) Resent-Date: Sun, 11 May 2003 13:30:11 -0700 (PDT) Resent-Message-Id: <200305112030.h4BKUBgg089774@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bruce M Simpson Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33B5C37B401 for ; Sun, 11 May 2003 13:25:42 -0700 (PDT) Received: from bigboy.spc.org (dolly.good1.com [195.206.69.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6936743F93 for ; Sun, 11 May 2003 13:25:38 -0700 (PDT) (envelope-from bms@spc.org) Received: from saboteur.dek.spc.org (unknown [81.3.72.88]) by bigboy.spc.org (Postfix) with ESMTP id 163FD3260 for ; Sun, 11 May 2003 21:27:56 +0100 (BST) Received: by saboteur.dek.spc.org (Postfix, from userid 1001) id 7B78484C; Sun, 11 May 2003 21:25:36 +0100 (BST) Message-Id: <20030511202536.7B78484C@saboteur.dek.spc.org> Date: Sun, 11 May 2003 21:25:36 +0100 (BST) From: Bruce M Simpson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/52079: vmware3 hangs when nmdm(4) is used as COM1 device X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Bruce M Simpson List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2003 20:30:15 -0000 >Number: 52079 >Category: ports >Synopsis: vmware3 hangs when nmdm(4) is used as COM1 device >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 11 13:30:11 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Bruce M Simpson >Release: FreeBSD 5.1-BETA i386 >Organization: >Environment: System: FreeBSD saboteur.dek.spc.org 5.1-BETA FreeBSD 5.1-BETA #3: Fri May 9 08:06:22 BST 2003 root@saboteur.dollah.com:/usr/obj/usr/src/sys/SABOTEUR i386 >Description: I believe that the bug is really in VMware not detecting this failure mode, and backing out of its allocation. My theory is events run as follows: VMware acquires VMx86 pages via vmmon. VMware tries to open nmdm device and apply some Linux ioctl. This fails. VMware does not free the VMx86 memory objects obtained via vmmon. VMware goes into an infinite loop. The following is printed on stdout: VMware PANIC: (VMX) NOT_IMPLEMENTED F(5010):895 top(1) reveals: 705 root 123 0 31908K 3648K RUN 6:50 98.49% 98.49% vmware A full dmesg and kernel configuration is attached. --- SABOTEUR begins here --- # # $Id$ # # Configuration for IBM ThinkPad T22 (PIII/900Mhz 256MB) # # XXX RESTARTABLE_PANICS option is broken # machine i386 cpu I686_CPU ident SABOTEUR maxusers 0 makeoptions DEBUG=-g #Build kernel with full symbols makeoptions MODULES_OVERRIDE="nmdm nfsclient nfsserver wi acpi an speaker bridge cue if_gre if_disc if_faith if_gif if_tun if_sl if_ppp if_stf if_tap if_vlan aue kue netgraph/async netgraph/bluetooth netgraph/bpf netgraph/bridge netgraph/cisco netgraph/echo netgraph/eiface netgraph/etf netgraph/ether netgraph/fec netgraph/frame_relay netgraph/gif netgraph/gif_demux netgraph/hole netgraph/iface netgraph/ip_input netgraph/ksocket netgraph/l2tp netgraph/lmi netgraph/mppc netgraph/netgraph netgraph/one2many netgraph/ppp netgraph/pppoe netgraph/pptpgre netgraph/rfc1490 netgraph/sample netgraph/socket netgraph/source netgraph/split netgraph/sync_ar netgraph/sync_sr netgraph/tee netgraph/tty netgraph/vjc ubsa ucom udbp udf ufm uhid ukbd ulpt ums umass umodem uplcom uscanner uvscom uftdi sound/driver/csa sound/pcm linux procfs linprocfs md vesa vpo plip ppi lpt splash/bmp splash/pcx dummynet crypto cryptodev aio libiconv cbb cardbus exca pccard cam scsi_low libmchain oldcard pcic ntf s s3 syscons/apm syscons/blank syscons/daemon fdc" options PQ_CACHESIZE=256 # color for 256KB/16KB cache # omit dvd reason - something to do with acpi and low power mode # for the dvd drive and/or cpu speed... #options PQ_CACHESIZE=512 # color for 512KB/16KB cache options INCLUDE_CONFIG_FILE # Include this file in kernel options PERFMON # addition: PPro performance registers options SCHED_4BSD # Use the non-experimental scheduler options INET #InterNETworking options INET6 #IPv6 communications protocols options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) options IPSEC_DEBUG #debug for IP security #options FAST_IPSEC #new IPsec (cannot define w/ IPSEC) options IPFIREWALL #firewall options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_FORWARD #enable transparent proxy support options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default options IPV6FIREWALL #firewall for IPv6 options IPV6FIREWALL_VERBOSE options IPV6FIREWALL_VERBOSE_LIMIT=100 options IPV6FIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT #divert sockets options IPSTEALTH #support for stealth forwarding #options TCPDEBUG # problem? options RANDOM_IP_ID options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN options ZERO_COPY_SOCKETS # #options VFS_AIO # as module... options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories #options MD_ROOT #MD is a potential root device options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS #Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev # Debugging for use in -current options DDB #Enable the kernel debugger options DDB_TRACE #options RESTARTABLE_PANICS # XXX enabling this breaks compile # in md directory #options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS device isa device eisa # Leave this in for ESCD support... device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives options ATA_STATIC_ID #Static device numbering # below are all now modules (CAM) #device scbus # SCSI bus (required) #device ch # SCSI media changers #device da # Direct Access (disks) #device sa # Sequential Access (tape etc) #device cd # CD #device pass # Passthrough device (direct SCSI access) #device ses # SCSI Environmental Services (and SAF-TE) # #device atapicam # XXX cannot be compiled as module # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse options PSM_HOOKRESUME #hook the system resume event, useful options PSM_RESETAFTERSUSPEND #reset the device at the resume event device vga # VGA video card driver options FB_INSTALL_CDEV # install a CDEV entry in /dev # syscons is the default console driver, resembling an SCO console # XXX todo rebuild with vesa and graphical console/fb supporT # XXX VESA is in a module device sc options MAXCONS=16 # number of virtual consoles options SC_ALT_MOUSE_IMAGE # simplified mouse cursor in text mode options SC_PIXEL_MODE # add support for the raster text mode options SC_DISABLE_DDBKEY # disable `debug' key options SC_DISABLE_REBOOT # disable reboot key sequence device splash device agp # support several AGP chipsets # Floating point support - do not disable. device npx # Power management support (see NOTES for more options) device apm # Add suspend/resume support for the i8254. device pmtimer # below are all now modules (cardbus cbb exca pccard) # PCCARD (PCMCIA) support # Pcmcia and cardbus bridge support #device cbb # cardbus (yenta) bridge #device pccard # PC Card (16-bit) bus #device cardbus # CardBus (32-bit) bus # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # PCI serial support device puc # Parallel port # Hardware only, rest are modules device ppc device ppbus # Parallel port bus (required) # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # Pseudo devices - the number indicates how many units to allocate. device random # Entropy device device loop # Network loopback device ether # Ethernet support device tun # Packet tunnel. device tap # if_tap device pty # Pseudo-ttys (telnet etc) device bpf # Berkeley packet filter # module #device md # Memory "disks" # USB support device uhci # UHCI PCI->USB interface device usb # USB Bus (required) # Support for SMBus/Power Management Controller device smbus device intpm device iicbus device iicbb device ic device iic device iicsmb device smb --- SABOTEUR ends here --- --- dmesg begins here --- cvt/keycap/keycap.src /usr/share/misc/keycap.pcvt Waiting (max 60 seconds) for system process `vnlru' to stop...stopped Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped Waiting (max 60 seconds) for system process `syncer' to stop...stopped syncing disks, buffers remaining... 11 11 done Uptime: 6m27s Rebooting... Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.1-BETA #3: Fri May 9 08:06:22 BST 2003 root@saboteur.dollah.com:/usr/obj/usr/src/sys/SABOTEUR Preloaded elf kernel "/boot/kernel/kernel" at 0xc04ec000. Preloaded elf module "/boot/kernel/vesa.ko" at 0xc04ec244. Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04ec2f0. Preloaded elf module "/boot/kernel/snd_csa.ko" at 0xc04ec39c. Preloaded elf module "/boot/kernel/uhid.ko" at 0xc04ec448. Preloaded elf module "/boot/kernel/ums.ko" at 0xc04ec4f4. Preloaded elf module "/boot/kernel/nmdm.ko" at 0xc04ec59c. Preloaded elf module "/boot/kernel/netgraph.ko" at 0xc04ec648. Preloaded elf module "/boot/kernel/cardbus.ko" at 0xc04ec6f8. Preloaded elf module "/boot/kernel/exca.ko" at 0xc04ec7a4. Preloaded elf module "/boot/kernel/cbb.ko" at 0xc04ec850. Preloaded elf module "/boot/kernel/pccard.ko" at 0xc04ec8f8. Preloaded elf module "/boot/kernel/fdc.ko" at 0xc04ec9a4. Timecounter "i8254" frequency 1193182 Hz CPU: Intel Pentium III (896.11-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 268435456 (256 MB) avail memory = 255279104 (243 MB) Pentium Pro MTRR support enabled VESA: v2.0, 8192k memory, flags:0x0, mode table:0xc0473c82 (1000022) VESA: S3 Incorporated. M7 BIOS npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 11 entries at 0xc00fdee0 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 pcib0: at pcibus 0 on motherboard pci0: on pcib0 agp0: mem 0xf8000000-0xfbffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) cbb0: mem 0x50000000-0x50000fff irq 11 at device 2.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x50100000-0x50100fff irq 11 at device 2.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 xl0: <3Com 3c556B Fast Etherlink XL> port 0x1800-0x18ff mem 0xe8101000-0xe810107f,0xe8101400-0xe810147f irq 11 at device 3.0 on pci0 xl0: Ethernet address: 00:04:76:5e:ec:7d miibus0: on xl0 acphy0: on miibus0 acphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: at device 3.1 (no driver attached) csa0: mem 0xe8000000-0xe80fffff,0xe8100000-0xe8100fff irq 11 at device 5.0 on pci0 csa: card is Thinkpad 600X/A20/T20 pcm0: on csa0 pcm0: isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1c00-0x1c0f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1c20-0x1c3f irq 11 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered intpm0: port 0x1040-0x104f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 1040 intpm0: intr IRQ 9 enabled revision 0 intsmb0: on intpm0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 1000 orm0: