Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2002 07:38:38 -0800 (PST)
From:      Jesse McConnell <jesse@gallup.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/34373: SMP lockup somewhat similar to bug #33986, unless vmware is running...
Message-ID:  <200201281538.g0SFccw43585@freefall.freebsd.org>

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

>Number:         34373
>Category:       kern
>Synopsis:       SMP lockup somewhat similar to bug #33986, unless vmware is running...
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 28 07:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jesse McConnell
>Release:        FreeBSD 4.5-RC #10
>Organization:
>Environment:
FreeBSD jammerwock.gallup.com 4.5-RC FreeBSD 4.5-RC #10: Mon Jan 21 08:36:00 CST 2002     root@jammerwock.gallup.com:/usr/obj/usr/src/sys/JAMMERWOCK  i386
>Description:
      I have had this problem for a while, but seeing another similar bug report made me think that I should submit it and it might not be hardware related as we kinda thought it might be from #freebsdhelp.  A Dell Precision 220, dualie machine has been locking for the past 3+ months or so.  I have tried removing almost every option in the kernel I thought might be tied to, but no real luck.  If memory serves it still locked up with the sound removed.  

The strange part is that it never locks up as long as I have the vmware2 port running with win2k running.  I shutdown vmware and the system locks within a few minutes.  I kid you not, it has been doing that for two months.  I have toyed with it being an X bug as well, but it seems suspicious....I also seem to remember it locking in console mode once.  When I boot the machine, I might have 5 minutes to get vmware up and running, otherwise the system locks hard.  X just freezes up, keyboard is non-functional, and the nic is dead to the world.  Only a power toogle gets me going again.  If I can boot and get vmware up and running, then I can work for an indefinite amount of time, over a week or two pretty easy.  If you need more information, please contact me.

--kernel configuration
FreeBSD jammerwock.gallup.com 4.5-RC FreeBSD 4.5-RC #10: Mon Jan 21 08:36:00 CST 2002     root@jammerwock.gallup.com:/usr/obj/usr/src/sys/JAMMERWOCK  i386
su-2.05a# cat /usr/src/sys/i386/conf/JAMMERWOCK 
#
# JAMMERWOCK -- jammerwock kernel configuration file for FreeBSD/i386
#

machine         i386
cpu                     I686_CPU
ident                   JAMMERWOCK
maxusers                128
options         NMBCLUSTERS=65536

#makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols

options         MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
#options        INET6                   #IPv6 communications protocols
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         MFS                     #Memory Filesystem
options         MD_ROOT                 #MD is a potential root device
options         NFS                     #Network Filesystem
#options        NFS_ROOT                #NFS usable as root device, NFS required
options         MSDOSFS                 #MSDOS Filesystem
options         CD9660                  #ISO 9660 Filesystem
options         CD9660_ROOT             #CD-ROM usable as root, CD9660 required
options         PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=15000        #Delay (in ms) before probing SCSI
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         P1003_1B                #Posix P1003_1B real-time extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev

# For vmware vmnet support
options         BRIDGE
options         IPFIREWALL
options         IPDIVERT

# Samba options take from LINT
#options         NETSMB
#options         NETSMBCRYPTO
#options         LIBMCHAIN
#options         LIBICONV
#options                SMBFS


# To make an SMP kernel, the next two are needed
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O

# Different Slot Support
device          isa
device          eisa
device          pci

# Floppy drives
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0
#device         fd1     at fdc0 drive 1

# ATA and ATAPI devices
device          ata0    at isa? port IO_WD1 irq 14
device          ata1    at isa? port IO_WD2 irq 15
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
#device         atapist                 # ATAPI tape drives
options                 ATA_STATIC_ID           #Static device numbering


# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12

device          vga0    at isa?

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? flags 0x100

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
device          vt0     at isa?
options         XSERVER                 # support for X server on a vt console
options         FAT_CURSOR              # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options        PCVT_SCANSET=2          # IBM keyboards are non-std

# Floating point support - do not disable.
device          npx0    at nexus? port IO_NPX irq 13



# SMB bus
#
# System Management Bus support is provided by the 'smbus' device.
# Access to the SMBus device is via the 'smb' device (/dev/smb*),
# which is a child of the 'smbus' device.
#
# Supported devices:
# smb           standard io through /dev/smb*
#
# Supported SMB interfaces:
# iicsmb        I2C to SMB bridge with any iicbus interface
# bktr          brooktree848 I2C hardware interface
# intpm         Intel PIIX4 Power Management Unit
# alpm          Acer Aladdin-IV/V/Pro2 Power Management Unit
# ichsmb        Intel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
#
device     smbus           # Bus support, required for smb below.

device     intpm
device     alpm
device     ichsmb

# Three from man wmhm
#device    iicbus
#device    iicbb

device      smb


# Serial (COM) ports
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3
#device         sio2    at isa? disable port IO_COM3 irq 5
#device         sio3    at isa? disable port IO_COM4 irq 9

# Parallel port
#device         ppc0    at isa? irq 7
device          ppbus           # Parallel port bus (required)
#device         lpt             # Printer
#device         plip            # TCP/IP over parallel
#device         ppi             # Parallel port interface device
#device         vpo             # Requires scbus and da


# 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 allocated.
pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
#pseudo-device  sl      1       # Kernel SLIP
#pseudo-device  ppp     1       # Kernel PPP
#pseudo-device  tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
#pseudo-device  md              # Memory "disks"
#pseudo-device  gif     4       # IPv6 and IPv4 tunneling
#pseudo-device  faith   1       # IPv6-to-IPv4 relaying (translation)

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device   bpf             #Berkeley packet filter

# Sound Support
device          pcm

--mptable info

===============================================================================

MPTable, version 2.0.15

-------------------------------------------------------------------------------

MP Floating Pointer Structure:

  location:                     BIOS
  physical address:             0x000fe710
  signature:                    '_MP_'
  length:                       16 bytes
  version:                      1.4
  checksum:                     0x91
  mode:                         Virtual Wire

-------------------------------------------------------------------------------

MP Config Table Header:

  physical address:             0x000f0000
  signature:                    'PCMP'
  base table length:            476
  version:                      1.4
  checksum:                     0xe4
  OEM ID:                       'DELL    '
  Product ID:                   'Opti GX300  '
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  51
  local APIC address:           0xfee00000
  extended table length:        0
  extended table checksum:      0

-------------------------------------------------------------------------------

MP Config Base Table Entries:

--
Processors:     APIC ID Version State           Family  Model   Step    Flags
                 0       0x11    BSP, usable     6       8       6       0x383fbff
                 1       0x11    AP, usable      6       8       6       0x383fbff
--
Bus:            Bus ID  Type
                 0       PCI   
                 1       PCI   
                 2       PCI   
                 3       ISA   
--
I/O APICs:      APIC ID Version State           Address
                 2       0x20    usable          0xfec00000
--
I/O Ints:       Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                ExtINT  active-hi        edge        3     0          2    0
                INT      conforms    conforms        3     1          2    1
                INT      conforms    conforms        3     0          2    2
                INT      conforms    conforms        3     3          2    3
                INT      conforms    conforms        3     4          2    4
                INT      conforms    conforms        3     5          2    5
                INT      conforms    conforms        3     6          2    6
                INT      conforms    conforms        3     7          2    7
                INT      conforms    conforms        3     8          2    8
                INT      conforms    conforms        3     9          2    9
                INT      conforms    conforms        3    10          2   10
                INT      conforms    conforms        3    11          2   11
                INT      conforms    conforms        3    12          2   12
                INT      conforms    conforms        3    14          2   14
                INT      conforms    conforms        3    15          2   15
                INT      conforms    conforms        1   0:A          2   16
                INT      conforms    conforms        2   7:A          2   16
                INT      conforms    conforms        2   8:D          2   16
                INT      conforms    conforms        2   9:C          2   16
                INT      conforms    conforms        2  10:B          2   16
                INT      conforms    conforms        2  11:A          2   16
                INT      conforms    conforms        0  31:A          2   16
                INT      conforms    conforms        0  31:B          2   17
                INT      conforms    conforms        1   0:B          2   17
                INT      conforms    conforms        2   7:B          2   17
                INT      conforms    conforms        2   8:A          2   17
                INT      conforms    conforms        2   9:D          2   17
                INT      conforms    conforms        2  10:C          2   17
                INT      conforms    conforms        2  11:B          2   17
                INT      conforms    conforms        2   7:C          2   18
                INT      conforms    conforms        2   8:B          2   18
                INT      conforms    conforms        2   9:A          2   18
                INT      conforms    conforms        2  10:D          2   18
                INT      conforms    conforms        2  11:C          2   18
                INT      conforms    conforms        2  12:A          2   18
                INT      conforms    conforms        0  31:C          2   18
                INT      conforms    conforms        0  31:D          2   19
                INT      conforms    conforms        2   7:D          2   19
                INT      conforms    conforms        2   8:C          2   19
                INT      conforms    conforms        2   9:B          2   19
                INT      conforms    conforms        2  10:A          2   19
                INT      conforms    conforms        2  11:D          2   19
--
Local Ints:     Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                ExtINT  active-hi        edge        3     0        255    0
                NMI     active-hi        edge        3     0        255    1

-------------------------------------------------------------------------------

dmesg output:

Copyright (c) 1992-2002 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 4.5-RC #10: Mon Jan 21 08:36:00 CST 2002
    root@jammerwock.gallup.com:/usr/obj/usr/src/sys/JAMMERWOCK
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (927.11-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536469504 (523896K bytes)
avail memory = 518221824 (506076K bytes)
Changing APIC ID for IO APIC #0 from 0 to 2 on chip
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170020, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0374000.
Preloaded elf module "agp.ko" at 0xc037409c.
Pentium Pro MTRR support enabled
Using $PIR table, 9 entries at 0xc00fbbc0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 17 -> irq 2
pci0: <PCI bus> on pcib0
agp0: <Intel 82820 host to AGP bridge> mem 0xf0000000-0xf3ffffff at device 0.0 on pci0
pcib1: <PCI to PCI bridge (vendor=8086 device=250f)> at device 1.0 on pci0
IOAPIC #0 intpin 16 -> irq 13
pci1: <PCI bus> on pcib1
pci1: <NVidia GeForce2 GTS graphics accelerator> at 0.0 irq 13
pcib2: <Intel 82801AA (ICH) Hub to PCI bridge> at device 30.0 on pci0
IOAPIC #0 intpin 18 -> irq 16
pci2: <PCI bus> on pcib2
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xec80-0xecff mem 0xfafffc00-0xfafffc7f irq 16 at device 12.0 on pci2
xl0: Ethernet address: 00:b0:d0:df:e7:33
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <Intel 82801AA (ICH) PCI to LPC bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH ATA66 controller> port 0xffa0-0xffaf at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ichsmb0: <Intel 82801AA (ICH) SMBus controller> port 0xdcd0-0xdcdf irq 2 at device 31.3 on pci0
smbus0: <System Management Bus> on ichsmb0
smb0: <SMBus general purpose I/O> on smbus0
pcm0: <Intel 82801AA (ICH)> port 0xdc80-0xdcbf,0xd800-0xd8ff irq 2 at device 31.5 on pci0
vt0 on isa0
vt0: generic, 80 col, color, 8 scr, unknown kbd, [R3.20-b24]
vt0: driver is using old-style compatability shims
orm0: <Option ROMs> at iomem 0xc0000-0xca7ff,0xca800-0xcbfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
BRIDGE 011031, have 1 interfaces
-- index 1  type 6 phy 0 addrl 6 addr 00.b0.d0.df.e7.33
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, logging disabled
SMP: AP CPU #1 Launched!
ad0: 19092MB <WDC WD200BB-75AUA1> [38792/16/63] at ata0-master UDMA66
acd0: CDROM <CRD-8482B> at ata1-master using UDMA33
Mounting root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
xl0: promiscuous mode enabled
>How-To-Repeat:
      kill vmware and wait a couple of minutes...tops.
>Fix:
      no idea, but good luck!
>Release-Note:
>Audit-Trail:
>Unformatted:
 >> now xl0 promisc ON if_flags 0xffff8943 bdg_flags 0x5
 /dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-570 $
 /dev/vmmon: Module vmmon: initialized
 BRIDGE 011031, have 3 interfaces
 -- index 1 xl0:1 type 6 phy 0 addrl 6 addr 00.b0.d0.df.e7.33
 -- index 3  type 6 phy 0 addrl 6 addr 00.bd.bd.20.00.01
 BRIDGE 011031, have 3 interfaces
 -- index 1 xl0:1 type 6 phy 0 addrl 6 addr 00.b0.d0.df.e7.33
 -- index 3 vmnet1:1 type 6 phy 0 addrl 6 addr 00.bd.bd.20.00.01
 >> now xl0 promisc ON if_flags 0xffff8943 bdg_flags 0x5
 vmnet1: promiscuous mode enabled
 >> now vmnet1 promisc ON if_flags 0xffff8943 bdg_flags 0x5
 arp: unknown hardware address format (0x0800)
 
 ===============================================================================
 

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?200201281538.g0SFccw43585>