From polzun@scar.jinr.ru  Fri Apr 19 11:29:42 2002
Return-Path: <polzun@scar.jinr.ru>
Received: from scar.jinr.ru (scar.jinr.ru [159.93.25.160])
	by hub.freebsd.org (Postfix) with ESMTP id 3529037B405
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Apr 2002 11:29:41 -0700 (PDT)
Received: from scar.jinr.ru (localhost [127.0.0.1])
	by scar.jinr.ru (8.12.3/8.12.3) with ESMTP id g3JITcmE021260
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 Apr 2002 22:29:38 +0400 (MSD)
	(envelope-from polzun@scar.jinr.ru)
Received: (from root@localhost)
	by scar.jinr.ru (8.12.3/8.12.3/Submit) id g3JITXLc021213;
	Fri, 19 Apr 2002 22:29:33 +0400 (MSD)
Message-Id: <200204191829.g3JITXLc021213@scar.jinr.ru>
Date: Fri, 19 Apr 2002 22:29:33 +0400 (MSD)
From: Pizik Ilya <polzun@ultra.v.gz.ru>
Reply-To: Pizik Ilya <polzun@ultra.v.gz.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: SMP 4.5 freezes
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         37257
>Category:       kern
>Synopsis:       SMP 4.5 freezes
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 19 11:30:01 PDT 2002
>Closed-Date:    Fri Aug 15 20:30:08 PDT 2003
>Last-Modified:  Fri Aug 15 20:30:22 PDT 2003
>Originator:     Pizik Ilya
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Joint Institute for Nuclear Research
>Environment:
System: FreeBSD scar.jinr.ru 4.5-STABLE FreeBSD 4.5-STABLE #1: Thu Apr 18 20:42:54 MSD 2002 root@scar.jinr.ru:/usr/obj/usr/src/sys/SCAR i386
Dual P3 1GHz, Asus CUV4X-D, VIA 82C686 ATA100 controller
>Description:
FreeBSD can freesez in any moment. I can ping it via net, but can not do something else. Localy mashine looks dead - no kbd, mouse actions and no video out, hdd led is inactive. Only reset can solve the problem. 
>How-To-Repeat:
>Fix:
It could be ata problem.
>Release-Note:
>Audit-Trail:

From: Hiten Pandya <hitmaster2k@yahoo.com>
To: Pizik Ilya <polzun@ultra.v.gz.ru>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/37257: SMP 4.5 freezes
Date: Fri, 19 Apr 2002 11:42:35 -0700 (PDT)

 --- Pizik Ilya <polzun@ultra.v.gz.ru> wrote:
 > >Description:
 > FreeBSD can freesez in any moment. I can ping it via net, but can not do
 > something else. Localy mashine looks dead - no kbd, mouse actions and no
 > video out, hdd led is inactive. Only reset can solve the problem. 
 
 Hello Pizik,
 
 Could you please supply more information on this defact/problem, such as the 
 dmesg(1) output on the victim system, your kernel configuration file.  This
 will let us debug the problem more efficiently. Please send us the output of 
 the following command:
 
   + dmesg -a
   + You kernel configuration file.
 
 Thanks.
 
   -- Hiten Pandya
   -- <hiten@uk.FreeBSD.org>
 
 __________________________________________________
 Do You Yahoo!?
 Yahoo! Tax Center - online filing with TurboTax
 http://taxes.yahoo.com/

From: Pizik Ilya <polzun@ulta.v.gz.ru.jinr.ru>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/37257: SMP 4.5 freezes
Date: Sat, 20 Apr 2002 13:06:35 +0400

 This is a multi-part message in MIME format.
 --------------050207040302010603020302
 Content-Type: text/plain; charset=KOI8-R; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Information that you have requested is attached
 
 -- 
 With respect, Pizik Ilya.
 
 
 --------------050207040302010603020302
 Content-Type: text/plain;
  name="dmesg"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="dmesg"
 
 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-STABLE #1: Thu Apr 18 20:42:54 MSD 2002
     root@scar.jinr.ru:/usr/obj/usr/src/sys/SCAR
 Timecounter "i8254"  frequency 1193182 Hz
 CPU: Pentium III/Pentium III Xeon/Celeron (1004.52-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
   Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 1073741824 (1048576K bytes)
 avail memory = 1041670144 (1017256K bytes)
 Programming 24 pins in IOAPIC #0
 IOAPIC #0 intpin 2 -> irq 0
 FreeBSD/SMP: Multiprocessor motherboard
  cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee00000
  cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
  io0 (APIC): apic id:  2, version: 0x00178011, at 0xfec00000
 Preloaded elf kernel "kernel" at 0xc033b000.
 VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc02d3f02 (1000022)
 VESA: ATI RAGE128
 Pentium Pro MTRR support enabled
 Using $PIR table, 7 entries at 0xc00f12d0
 apm0: <APM BIOS> on motherboard
 apm: found APM BIOS v1.2, connected at v1.2
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Host to PCI bridge> on motherboard
 IOAPIC #0 intpin 18 -> irq 2
 IOAPIC #0 intpin 19 -> irq 5
 IOAPIC #0 intpin 17 -> irq 9
 pci0: <PCI bus> on pcib0
 agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xfc000000-0xfdffffff at device 0.0 on pci0
 pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
 IOAPIC #0 intpin 16 -> irq 10
 pci1: <PCI bus> on pcib2
 pci1: <ATI model 5446 graphics accelerator> at 0.0 irq 10
 isab0: <VIA 82C686 PCI-ISA bridge> at device 4.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <VIA 82C686 ATA100 controller> port 0xb800-0xb80f at device 4.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 pci0: <VIA 83C572 USB controller> at 4.2 irq 2
 pci0: <VIA 83C572 USB controller> at 4.3 irq 2
 fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0xa800-0xa81f mem 0xf4800000-0xf48fffff,0xf7000000-0xf7000fff irq 5 at device 9.0 on pci0
 fxp0: Ethernet address 00:08:c7:d2:21:11
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp1: <Intel Pro 10/100B/100+ Ethernet> port 0xa400-0xa41f mem 0xf4000000-0xf40fffff,0xf6000000-0xf6000fff irq 9 at device 11.0 on pci0
 fxp1: Ethernet address 00:04:ac:d8:85:fe
 inphy1: <i82555 10/100 media interface> on miibus1
 inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 pcib1: <Host to PCI bridge> on motherboard
 pci2: <PCI bus> on pcib1
 orm0: <Option ROMs> at iomem 0xc0000-0xcafff,0xcc000-0xcc7ff,0xd0000-0xd07ff on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: model Generic PS/2 mouse, device ID 0
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 sc0: <System console> on isa0
 sc0: VGA <16 virtual consoles, flags=0x200>
 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
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A esp_port has com 3
  esp_port has com 3
  esp_port has com 3
 
 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A esp_port has com 3
  esp_port has com 3
  esp_port has com 3
 
 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/8 bytes threshold
 lpt0: <Printer> on ppbus0
 lpt0: Interrupt-driven port
 APIC_IO: Testing 8254 interrupt delivery
 APIC_IO: routing 8254 via IOAPIC #0 intpin 2
 IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 10000 packets/entry by default
 DUMMYNET initialized (011031)
 IPsec: Initialized Security Association Processing.
 ata1-slave: ATAPI identify retries exceeded
 SMP: AP CPU #1 Launched!
 ad0: 57241MB <ST360021A> [116301/16/63] at ata0-master UDMA100
 ad1: 57241MB <ST360021A> [116301/16/63] at ata0-slave UDMA100
 acd0: CD-RW <CD-W524E> at ata1-master UDMA33
 Mounting root from ufs:/dev/ad0s1a
 WARNING: / was not properly dismounted
 swapon: adding /dev/ad0s1b as swap device
 Automatic boot in progress...
 /dev/ad0s1a: 
 UNREF FILE
  I=1513  OWNER=root MODE=20640
 /dev/ad0s1a: SIZE=0 MTIME=Apr 18 21:37 2002  (CLEARED)
 /dev/ad0s1a: 
 UNREF FILE
  I=1517  OWNER=root MODE=20666
 /dev/ad0s1a: SIZE=0 MTIME=Apr 18 21:42 2002  (CLEARED)
 /dev/ad0s1a: 
 UNREF FILE
  I=2341  OWNER=root MODE=20600
 /dev/ad0s1a: SIZE=0 MTIME=Apr 18 21:37 2002  (CLEARED)
 /dev/ad0s1a: 
 UNREF FILE
  I=2886  OWNER=root MODE=20600
 /dev/ad0s1a: SIZE=0 MTIME=Apr 18 21:37 2002  (CLEARED)
 /dev/ad0s1a: 
 UNREF FILE
  I=2887  OWNER=root MODE=20600
 /dev/ad0s1a: SIZE=0 MTIME=Apr 18 21:37 2002  (CLEARED)
 /dev/ad0s1a: 
 UNREF FILE
  I=2888  OWNER=root MODE=20600
 /dev/ad0s1a: SIZE=0 MTIME=Apr 18 21:37 2002  (CLEARED)
 /dev/ad0s1a: 
 UNREF FILE
  I=2889  OWNER=root MODE=20600
 /dev/ad0s1a: SIZE=0 MTIME=Apr 18 21:37 2002  (CLEARED)
 /dev/ad0s1a: 
 UNREF FILE
  I=2890  OWNER=root MODE=20600
 /dev/ad0s1a: SIZE=0 MTIME=Apr 18 21:37 2002  (CLEARED)
 /dev/ad0s1a: 
 UNREF FILE
  I=2891  OWNER=root MODE=20600
 /dev/ad0s1a: SIZE=0 MTIME=Apr 18 21:37 2002  (CLEARED)
 /dev/ad0s1a: 
 UNREF FILE
  I=2892  OWNER=root MODE=20600
 /dev/ad0s1a: SIZE=0 MTIME=Apr 18 21:37 2002  (CLEARED)
 /dev/ad0s1a: 
 UNREF FILE
  I=3001  OWNER=root MODE=20600
 /dev/ad0s1a: SIZE=0 MTIME=Apr 18 21:37 2002  (CLEARED)
 /dev/ad0s1a: 
 UNREF FILE
  I=3003  OWNER=root MODE=20600
 /dev/ad0s1a: SIZE=0 MTIME=Apr 18 21:37 2002  (CLEARED)
 /dev/ad0s1a: 
 FREE BLK COUNT(S) WRONG IN SUPERBLK
  (SALVAGED)
 /dev/ad0s1a: 
 SUMMARY INFORMATION BAD
  (SALVAGED)
 /dev/ad0s1a: 
 BLK(S) MISSING IN BIT MAPS
  (SALVAGED)
 /dev/ad0s1a: 
 1307 files, 28539 used, 101940 free 
 (652 frags, 12661 blocks, 0.5% fragmentation)
 /dev/ad0s1d: 
 932 files, 41475 used, 1470580 free 
 (220 frags, 183795 blocks, 0.0% fragmentation)
 /dev/ad0s1e: 
 125181 files, 843875 used, 9374612 free 
 (25244 frags, 1168671 blocks, 0.2% fragmentation)
 /dev/ad0s1f: 
 289 files, 2517 used, 17165325 free 
 (53 frags, 2145659 blocks, 0.0% fragmentation)
 kern.timecounter.method: 
 0
  -> 
 1
 
 kern.ipc.shm_use_phys: 
 0
  -> 
 1
 
 vfs.vmiodirenable: 
 1
  -> 
 1
 
 vfs.usermount: 
 0
  -> 
 1
 
 kern.ipc.maxsockbuf: 
 262144
  -> 
 2097152
 
 kern.ipc.somaxconn: 
 128
  -> 
 8192
 
 sysctl: 
 oid 'kern.ipc.maxsockets' is read only
 
 kern.maxfiles: 
 12328
  -> 
 65536
 
 kern.maxfilesperproc: 
 11095
  -> 
 32768
 
 net.inet.tcp.rfc1323: 
 1
  -> 
 1
 
 net.inet.tcp.delayed_ack: 
 1
  -> 
 0
 
 net.inet.tcp.sendspace: 
 32768
  -> 
 65535
 
 net.inet.tcp.recvspace: 
 65536
  -> 
 65535
 
 net.inet.udp.recvspace: 
 41600
  -> 
 65535
 
 net.inet.udp.maxdgram: 
 9216
  -> 
 57344
 
 net.local.stream.recvspace: 
 8192
  -> 
 65535
 
 net.local.stream.sendspace: 
 8192
  -> 
 65535
 
 net.inet.icmp.icmplim: 
 200
  -> 
 5
 
 net.inet.tcp.blackhole: 
 0
  -> 
 2
 
 net.inet.udp.blackhole: 
 0
  -> 
 1
 
 Doing initial network setup:
  hostname
 .
 fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
 	inet 159.93.25.160 netmask 0xfffff000 broadcast 159.93.31.255
 	ether 00:08:c7:d2:21:11
 	media: Ethernet autoselect (10baseT/UTP)
 	status: active
 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
 	inet 127.0.0.1 netmask 0xff000000 
 Flushed all rules.
 00100 
 allow
  ip
  from 
 any
  to 
 any
  via lo0
 
 00200 
 deny
  ip
  from 
 any
  to 
 127.0.0.0
 /8
 
 00300 
 deny
  ip
  from 
 127.0.0.0
 /8
  to 
 any
 
 65000 
 allow
  ip
  from 
 any
  to 
 any
 
 Firewall rules loaded, starting divert daemons:
 .
 Firewall logging=YES
 add net default: gateway 159.93.17.1
 Additional routing options:
  ignore ICMP redirect=YES
  log ICMP redirect=YES
  TCP keepalive=YES
  drop SYN+FIN packets=YES
 .
 Routing daemons:
 .
 Additional daemons:
  syslogd
 .
 Doing additional network setup:
  named
  ntpd
  portmap
 .
 Checking quotas:
  done.
 Enabling quotas:
  done.
 Starting final network daemons:
 .
 Turning on accounting:
 ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
 a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
 Starting standard daemons:
  cron
  sendmail
  sshd
 .
 Initial rc.i386 initialization:
  apm
 .
 entropy IRQs:
  10
  14
  15
  5
 .
 Configuring syscons:
  keymap
  keyrate
  keychange
  screen_map
  font8x16
  font8x14
  font8x8
  blank_time
  screensaver
  moused
 .
 Additional ABI support:
 .
 Local package initialization:
  imapd
  mysqld
 .
 Additional TCP options:
  log_in_vain=YES
 .
 
 Sat Apr 20 12:40:52 MSD 2002
 Apr 20 12:41:10 <auth.notice> scar login: ROOT LOGIN (root) ON ttyv1
 Apr 20 12:41:10 <auth.err> scar login: no modules loaded for `login' service
 Apr 20 12:41:10 <auth.err> scar login: pam_open_session: Permission denied
 Apr 20 12:41:52 <auth.notice> scar su: polzun to polzun on /dev/ttyp0
 Apr 20 12:41:58 <auth.notice> scar su: polzun to root on /dev/ttyp1
 Apr 20 12:42:03 <auth.notice> scar su: polzun to root on /dev/ttyp2
 
 --------------050207040302010603020302
 Content-Type: text/plain;
  name="sysctl"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="sysctl"
 
 kern.ostype: FreeBSD
 kern.osrelease: 4.5-STABLE
 kern.osrevision: 199506
 kern.version: FreeBSD 4.5-STABLE #1: Thu Apr 18 20:42:54 MSD 2002
     root@scar.jinr.ru:/usr/obj/usr/src/sys/SCAR
 
 kern.maxvnodes: 70431
 kern.maxproc: 6164
 kern.maxfiles: 65536
 kern.argmax: 65536
 kern.securelevel: -1
 kern.hostname: scar.jinr.ru
 kern.hostid: 0
 kern.clockrate: { hz = 100, tick = 10000, tickadj = 5, profhz = 1024, stathz = 128 }
 kern.posix1version: 199309
 kern.ngroups: 16
 kern.job_control: 1
 kern.saved_ids: 0
 kern.boottime: { sec = 1019291991, usec = 726673 } Sat Apr 20 12:39:51 2002
 kern.domainname: 
 kern.osreldate: 450004
 kern.bootfile: /kernel
 kern.maxfilesperproc: 32768
 kern.maxprocperuid: 5547
 kern.dumpdev: 
 kern.ipc.maxsockbuf: 2097152
 kern.ipc.sockbuf_waste_factor: 8
 kern.ipc.somaxconn: 8192
 kern.ipc.max_linkhdr: 16
 kern.ipc.max_protohdr: 40
 kern.ipc.max_hdr: 56
 kern.ipc.max_datalen: 156
 kern.ipc.nmbclusters: 16384
 kern.ipc.semmap: 30
 kern.ipc.semmni: 10
 kern.ipc.semmns: 60
 kern.ipc.semmnu: 30
 kern.ipc.semmsl: 60
 kern.ipc.semopm: 100
 kern.ipc.semume: 10
 kern.ipc.semusz: 92
 kern.ipc.semvmx: 32767
 kern.ipc.semaem: 16384
 kern.ipc.shmmax: 33554432
 kern.ipc.shmmin: 1
 kern.ipc.shmmni: 192
 kern.ipc.shmseg: 128
 kern.ipc.shmall: 8192
 kern.ipc.shm_use_phys: 1
 kern.ipc.mbuf_wait: 32
 kern.ipc.mbtypes: 47 129 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 kern.ipc.nmbufs: 65536
 kern.ipc.maxsockets: 16384
 kern.dummy: 0
 kern.ps_strings: 3217031152
 kern.usrstack: 3217031168
 kern.logsigexit: 1
 kern.cam.da.retry_count: 4
 kern.cam.da.default_timeout: 60
 kern.cam.da.no_6_byte: 0
 kern.fallback_elf_brand: -1
 kern.init_path: /sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall
 kern.module_path: /;/boot/;/modules/
 kern.acct_suspend: 2
 kern.acct_resume: 4
 kern.acct_chkfreq: 15
 kern.cp_time: 16089 0 7046 291 73070
 kern.timecounter.method: 1
 kern.timecounter.hardware: i8254
 kern.openfiles: 184
 kern.kq_calloutmax: 4096
 kern.ps_arg_cache_limit: 256
 kern.ps_argsopen: 1
 kern.randompid: 0
 kern.maxusers: 384
 kern.ps_showallprocs: 1
 kern.shutdown.poweroff_delay: 5000
 kern.shutdown.kproc_shutdown_wait: 60
 kern.sugid_coredump: 0
 kern.coredump: 1
 kern.corefile: %N.core
 kern.quantum: 100000
 kern.ccpu: 1948
 kern.fscale: 2048
 kern.devstat.numdevs: 4
 kern.devstat.generation: 4
 kern.devstat.version: 4
 kern.disks: ad1 ad0
 kern.log_wakeups_per_second: 5
 kern.msgbuf: 
 kern.msgbuf_clear: 0
 kern.nselcoll: 0
 kern.consmute: 0
 kern.filedelay: 30
 kern.dirdelay: 29
 kern.metadelay: 28
 kern.minvnodes: 17607
 kern.chroot_allow_open_directories: 1
 vm.loadavg: { 0.27 0.38 0.18 }
 vm.v_free_min: 1700
 vm.v_free_target: 7216
 vm.v_free_reserved: 416
 vm.v_inactive_target: 10824
 vm.v_cache_min: 7216
 vm.v_cache_max: 14432
 vm.v_pageout_free_min: 34
 vm.pageout_algorithm: 0
 vm.swap_enabled: 1
 vm.swap_async_max: 4
 vm.swap_idle_threshold1: 2
 vm.swap_idle_threshold2: 10
 vm.v_free_severe: 1058
 vm.stats.sys.v_swtch: 146086
 vm.stats.sys.v_trap: 695890
 vm.stats.sys.v_syscall: 1955504
 vm.stats.sys.v_intr: 148142
 vm.stats.sys.v_soft: 57269
 vm.stats.vm.v_vm_faults: 678965
 vm.stats.vm.v_cow_faults: 136090
 vm.stats.vm.v_cow_optim: 0
 vm.stats.vm.v_zfod: 494699
 vm.stats.vm.v_ozfod: 489325
 vm.stats.vm.v_swapin: 0
 vm.stats.vm.v_swapout: 0
 vm.stats.vm.v_swappgsin: 0
 vm.stats.vm.v_swappgsout: 0
 vm.stats.vm.v_vnodein: 1171
 vm.stats.vm.v_vnodeout: 182
 vm.stats.vm.v_vnodepgsin: 9880
 vm.stats.vm.v_vnodepgsout: 2720
 vm.stats.vm.v_intrans: 7
 vm.stats.vm.v_reactivated: 542
 vm.stats.vm.v_pdwakeups: 0
 vm.stats.vm.v_pdpages: 0
 vm.stats.vm.v_dfree: 0
 vm.stats.vm.v_pfree: 518716
 vm.stats.vm.v_tfree: 751978
 vm.stats.vm.v_page_size: 4096
 vm.stats.vm.v_page_count: 257071
 vm.stats.vm.v_free_reserved: 416
 vm.stats.vm.v_free_target: 7216
 vm.stats.vm.v_free_min: 1700
 vm.stats.vm.v_free_count: 210279
 vm.stats.vm.v_wire_count: 18215
 vm.stats.vm.v_active_count: 10826
 vm.stats.vm.v_inactive_target: 10824
 vm.stats.vm.v_inactive_count: 17527
 vm.stats.vm.v_cache_count: 128
 vm.stats.vm.v_cache_min: 7216
 vm.stats.vm.v_cache_max: 14432
 vm.stats.vm.v_pageout_free_min: 34
 vm.stats.vm.v_interrupt_free_min: 2
 vm.stats.vm.v_forks: 8432
 vm.stats.vm.v_vforks: 8182
 vm.stats.vm.v_rforks: 0
 vm.stats.vm.v_kthreads: 5
 vm.stats.vm.v_forkpages: 490661
 vm.stats.vm.v_vforkpages: 684974
 vm.stats.vm.v_rforkpages: 0
 vm.stats.vm.v_kthreadpages: 0
 vm.stats.misc.zero_page_count: 145376
 vm.stats.misc.cnt_prezero: 619148
 vm.max_proc_mmap: 43690
 vm.max_launder: 32
 vm.pageout_stats_max: 7216
 vm.pageout_full_stats_interval: 20
 vm.pageout_stats_interval: 5
 vm.pageout_stats_free_max: 5
 vm.swap_idle_enabled: 0
 vm.defer_swapspace_pageouts: 0
 vm.disable_swapspace_pageouts: 0
 vm.pageout_lock_miss: 0
 vm.zone: 
 ITEM            SIZE     LIMIT    USED    FREE  REQUESTS
 
 PIPE:            160,        0,     44,     58,     1874
 SWAPMETA:        160,   257071,      0,      0,        0
 ripcb:           192,    16384,      0,     42,        6
 divcb:           192,    16384,      0,      0,        0
 syncache:        160,    15359,      0,      0,        0
 tcpcb:           544,    16384,     12,     10,       16
 udpcb:           192,    16384,      7,     35,       39
 unpcb:           160,        0,     37,     38,       55
 socket:          192,    16384,     56,     29,      117
 KNOTE:            64,        0,      0,    128,       12
 VNODE:           192,        0,  11020,    110,    11020
 NAMEI:          1024,        0,      0,     24,   431646
 VMSPACE:         192,        0,     46,     82,    16614
 PROC:            416,        0,     51,     47,    16619
 DP fakepg:        64,        0,     68,    188,       69
 PV ENTRY:         28,  1757066,  28940, 233193,  2592939
 MAP ENTRY:        48,        0,   1109,    294,   209360
 KMAP ENTRY:       48,    64395,    231,    153,     4527
 MAP:             108,        0,      7,      3,        7
 VM OBJECT:        96,        0,   6936,    124,   152270
 vm.zone_kmem_pages: 14
 vm.zone_kmem_kvaspace: 110034944
 vm.zone_kern_pages: 737
 vm.kvm_size: 1065353216
 vm.kvm_free: 432013312
 vfs.numdirtybuffers: 9
 vfs.lodirtybuffers: 910
 vfs.hidirtybuffers: 1820
 vfs.numfreebuffers: 7191
 vfs.lofreebuffers: 405
 vfs.hifreebuffers: 810
 vfs.runningbufspace: 0
 vfs.lorunningspace: 524288
 vfs.hirunningspace: 1048576
 vfs.maxbufspace: 117964800
 vfs.hibufspace: 117309440
 vfs.lobufspace: 117243904
 vfs.bufspace: 117243904
 vfs.maxmallocbufspace: 5865472
 vfs.bufmallocspace: 2522112
 vfs.getnewbufcalls: 11767
 vfs.getnewbufrestarts: 0
 vfs.vmiodirenable: 1
 vfs.bufdefragcnt: 0
 vfs.buffreekvacnt: 0
 vfs.bufreusecnt: 7156
 vfs.cache.numneg: 579
 vfs.cache.numcache: 9265
 vfs.cache.numcalls: 2037425
 vfs.cache.dothits: 12289
 vfs.cache.dotdothits: 155708
 vfs.cache.numchecks: 1903360
 vfs.cache.nummiss: 81381
 vfs.cache.nummisszap: 567
 vfs.cache.numposzaps: 1547
 vfs.cache.numposhits: 1653950
 vfs.cache.numnegzaps: 1703
 vfs.cache.numneghits: 130280
 vfs.cache.numcwdcalls: 8373
 vfs.cache.numcwdfail1: 0
 vfs.cache.numcwdfail2: 0
 vfs.cache.numcwdfail3: 0
 vfs.cache.numcwdfail4: 0
 vfs.cache.numcwdfound: 8373
 vfs.cache.numfullpathcalls: 0
 vfs.cache.numfullpathfail1: 0
 vfs.cache.numfullpathfail2: 0
 vfs.cache.numfullpathfail3: 0
 vfs.cache.numfullpathfail4: 0
 vfs.cache.numfullpathfound: 0
 vfs.write_behind: 1
 vfs.reassignbufcalls: 16708
 vfs.reassignbufloops: 0
 vfs.reassignbufsortgood: 3501
 vfs.reassignbufsortbad: 4719
 vfs.reassignbufmethod: 1
 vfs.nameileafonly: 0
 vfs.timestamp_precision: 0
 vfs.usermount: 1
 vfs.ffs.doreallocblks: 1
 vfs.ffs.doasyncfree: 1
 net.local.stream.sendspace: 65535
 net.local.stream.recvspace: 65535
 net.local.dgram.maxdgram: 2048
 net.local.dgram.recvspace: 4096
 net.local.inflight: 0
 net.inet.ip.portrange.lowfirst: 1023
 net.inet.ip.portrange.lowlast: 600
 net.inet.ip.portrange.first: 49152
 net.inet.ip.portrange.last: 65535
 net.inet.ip.portrange.hifirst: 49152
 net.inet.ip.portrange.hilast: 65535
 net.inet.ip.forwarding: 0
 net.inet.ip.redirect: 1
 net.inet.ip.ttl: 64
 net.inet.ip.rtexpire: 3600
 net.inet.ip.rtminexpire: 10
 net.inet.ip.rtmaxcache: 128
 net.inet.ip.sourceroute: 0
 net.inet.ip.intr_queue_maxlen: 50
 net.inet.ip.intr_queue_drops: 0
 net.inet.ip.accept_sourceroute: 0
 net.inet.ip.fastforwarding: 0
 net.inet.ip.keepfaith: 0
 net.inet.ip.subnets_are_local: 0
 net.inet.ip.dummynet.hash_size: 64
 net.inet.ip.dummynet.curr_time: 37669
 net.inet.ip.dummynet.ready_heap: 0
 net.inet.ip.dummynet.extract_heap: 0
 net.inet.ip.dummynet.searches: 0
 net.inet.ip.dummynet.search_steps: 0
 net.inet.ip.dummynet.expire: 1
 net.inet.ip.dummynet.max_chain_len: 16
 net.inet.ip.dummynet.red_lookup_depth: 256
 net.inet.ip.dummynet.red_avg_pkt_size: 512
 net.inet.ip.dummynet.red_max_pkt_size: 1500
 net.inet.ip.fw.enable: 1
 net.inet.ip.fw.one_pass: 1
 net.inet.ip.fw.debug: 1
 net.inet.ip.fw.verbose: 1
 net.inet.ip.fw.verbose_limit: 10000
 net.inet.ip.fw.dyn_buckets: 256
 net.inet.ip.fw.curr_dyn_buckets: 256
 net.inet.ip.fw.dyn_count: 0
 net.inet.ip.fw.dyn_max: 1000
 net.inet.ip.fw.static_count: 5
 net.inet.ip.fw.dyn_ack_lifetime: 300
 net.inet.ip.fw.dyn_syn_lifetime: 20
 net.inet.ip.fw.dyn_fin_lifetime: 1
 net.inet.ip.fw.dyn_rst_lifetime: 1
 net.inet.ip.fw.dyn_udp_lifetime: 10
 net.inet.ip.fw.dyn_short_lifetime: 5
 net.inet.ip.fw.dyn_grace_time: 10
 net.inet.ip.maxfragpackets: 4096
 net.inet.ip.check_interface: 0
 net.inet.ip.stealth: 0
 net.inet.icmp.maskrepl: 0
 net.inet.icmp.icmplim: 5
 net.inet.icmp.drop_redirect: 1
 net.inet.icmp.log_redirect: 1
 net.inet.icmp.bmcastecho: 0
 net.inet.tcp.rfc1323: 1
 net.inet.tcp.rfc1644: 0
 net.inet.tcp.mssdflt: 512
 net.inet.tcp.keepidle: 7200000
 net.inet.tcp.keepintvl: 75000
 net.inet.tcp.sendspace: 65535
 net.inet.tcp.recvspace: 65535
 net.inet.tcp.keepinit: 75000
 net.inet.tcp.delacktime: 100
 net.inet.tcp.log_in_vain: 1
 net.inet.tcp.blackhole: 2
 net.inet.tcp.delayed_ack: 0
 net.inet.tcp.drop_synfin: 1
 net.inet.tcp.path_mtu_discovery: 1
 net.inet.tcp.slowstart_flightsize: 1
 net.inet.tcp.local_slowstart_flightsize: 4
 net.inet.tcp.newreno: 1
 net.inet.tcp.tcbhashsize: 512
 net.inet.tcp.do_tcpdrain: 1
 net.inet.tcp.pcbcount: 12
 net.inet.tcp.icmp_may_rst: 1
 net.inet.tcp.isn_reseed_interval: 0
 net.inet.tcp.syncookies: 1
 net.inet.tcp.syncache.bucketlimit: 30
 net.inet.tcp.syncache.cachelimit: 15359
 net.inet.tcp.syncache.count: 0
 net.inet.tcp.syncache.hashsize: 512
 net.inet.tcp.syncache.rexmtlimit: 3
 net.inet.tcp.msl: 30000
 net.inet.tcp.always_keepalive: 1
 net.inet.udp.checksum: 1
 net.inet.udp.maxdgram: 57344
 net.inet.udp.recvspace: 65535
 net.inet.udp.log_in_vain: 1
 net.inet.udp.blackhole: 1
 net.inet.ipsec.def_policy: 1
 net.inet.ipsec.esp_trans_deflev: 1
 net.inet.ipsec.esp_net_deflev: 1
 net.inet.ipsec.ah_trans_deflev: 1
 net.inet.ipsec.ah_net_deflev: 1
 net.inet.ipsec.ah_cleartos: 1
 net.inet.ipsec.ah_offsetmask: 0
 net.inet.ipsec.dfbit: 0
 net.inet.ipsec.ecn: 0
 net.inet.ipsec.debug: 0
 net.inet.ipsec.esp_randpad: -1
 net.inet.accf.unloadable: 0
 net.inet.raw.maxdgram: 8192
 net.inet.raw.recvspace: 8192
 net.link.generic.system.ifcount: 6
 net.link.ether.inet.prune_intvl: 300
 net.link.ether.inet.max_age: 1200
 net.link.ether.inet.host_down_time: 20
 net.link.ether.inet.maxtries: 5
 net.link.ether.inet.useloopback: 1
 net.link.ether.inet.proxyall: 0
 net.link.ether.inet.log_arp_wrong_iface: 1
 net.key.debug: 0
 net.key.spi_trycnt: 1000
 net.key.spi_minval: 256
 net.key.spi_maxval: 268435455
 net.key.int_random: 60
 net.key.larval_lifetime: 30
 net.key.blockacq_count: 10
 net.key.blockacq_lifetime: 20
 net.key.esp_keymin: 256
 net.key.esp_auth: 0
 net.key.ah_keymin: 128
 net.key.prefered_oldsa: 1
 debug.elf_trace: 0
 debug.boothowto: -2147483648
 debug.free_devt: 0
 debug.fdexpand: 24
 debug.sizeof.vnode: 168
 debug.sizeof.proc: 408
 debug.sizeof.specinfo: 68
 debug.sizeof.disklabel: 276
 debug.sizeof.diskslices: 1820
 debug.sizeof.disk: 304
 debug.ttydebug: 0
 debug.nchash: 131071
 debug.ncnegfactor: 16
 debug.numneg: 579
 debug.numcache: 9265
 debug.vfscache: 1
 debug.vnsize: 168
 debug.ncsize: 36
 debug.disablecwd: 0
 debug.disablefullpath: 0
 debug.numvnodes: 11020
 debug.wantfreevnodes: 25
 debug.freevnodes: 3577
 debug.rush_requests: 0
 debug.vnlru_nowhere: 0
 debug.nullfs_bug_bypass: 0
 debug.bpf_bufsize: 4096
 debug.bpf_maxbufsize: 524288
 debug.if_tun_debug: 0
 debug.dircheck: 0
 hw.machine: i386
 hw.model: Pentium III/Pentium III Xeon/Celeron
 hw.ncpu: 2
 hw.byteorder: 1234
 hw.physmem: 1070829568
 hw.usermem: 996216832
 hw.pagesize: 4096
 hw.floatingpoint: 1
 hw.machine_arch: i386
 hw.ata.ata_dma: 1
 hw.ata.wc: 1
 hw.ata.tags: 0
 hw.ata.atapi_dma: 1
 hw.instruction_sse: 1
 hw.availpages: 261265
 hw.fxp0.int_delay: 1000
 hw.fxp0.bundle_max: 6
 hw.fxp1.int_delay: 1000
 hw.fxp1.bundle_max: 6
 machdep.consdev: { major = 12, minor = 255 }
 machdep.adjkerntz: -14400
 machdep.disable_rtc_set: 0
 machdep.wall_cmos_clock: 1
 machdep.do_dump: 1
 machdep.enable_panic_key: 0
 machdep.apm_suspend_delay: 1
 machdep.apm_standby_delay: 1
 machdep.ispc98: 0
 machdep.msgbuf: 
 machdep.msgbuf_clear: 0
 machdep.guessed_bootdev: /dev/wd0s1a
 machdep.smp_active: 1
 machdep.smp_cpus: 2
 machdep.invltlb_ok: 1
 machdep.do_page_zero_idle: 1
 machdep.forward_irq_enabled: 1
 machdep.forward_signal_enabled: 1
 machdep.forward_roundrobin_enabled: 1
 machdep.panic_on_nmi: 1
 machdep.i8254_freq: 1193182
 machdep.conrclk: 1843200
 machdep.conspeed: 9600
 user.cs_path: /usr/bin:/bin:/usr/sbin:/sbin:
 user.bc_base_max: 99
 user.bc_dim_max: 2048
 user.bc_scale_max: 99
 user.bc_string_max: 1000
 user.coll_weights_max: 0
 user.expr_nest_max: 32
 user.line_max: 2048
 user.re_dup_max: 255
 user.posix2_version: 199212
 user.posix2_c_bind: 0
 user.posix2_c_dev: 0
 user.posix2_char_term: 0
 user.posix2_fort_dev: 0
 user.posix2_fort_run: 0
 user.posix2_localedef: 0
 user.posix2_sw_dev: 0
 user.posix2_upe: 0
 user.stream_max: 20
 user.tzname_max: 255
 p1003_1b.asynchronous_io: 0
 p1003_1b.mapped_files: 0
 p1003_1b.memlock: 0
 p1003_1b.memlock_range: 0
 p1003_1b.memory_protection: 0
 p1003_1b.message_passing: 0
 p1003_1b.prioritized_io: 0
 p1003_1b.priority_scheduling: 1
 p1003_1b.realtime_signals: 0
 p1003_1b.semaphores: 0
 p1003_1b.fsync: 0
 p1003_1b.shared_memory_objects: 0
 p1003_1b.synchronized_io: 0
 p1003_1b.timers: 0
 p1003_1b.aio_listio_max: 0
 p1003_1b.aio_max: 0
 p1003_1b.aio_prio_delta_max: 0
 p1003_1b.delaytimer_max: 0
 p1003_1b.mq_open_max: 0
 p1003_1b.pagesize: 4096
 p1003_1b.rtsig_max: 0
 p1003_1b.sem_nsems_max: 0
 p1003_1b.sem_value_max: 0
 p1003_1b.sigqueue_max: 0
 p1003_1b.timer_max: 0
 jail.set_hostname_allowed: 1
 jail.socket_unixiproute_only: 1
 jail.sysvipc_allowed: 0
 compat.linux.osname: Linux
 compat.linux.osrelease: 2.4.2
 compat.linux.oss_version: 198144
 
 --------------050207040302010603020302
 Content-Type: text/plain;
  name="SCAR"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="SCAR"
 
 machine		i386
 ident		SCAR
 maxusers	0
 options		MAXMEM="(1024*1024)"
 
 cpu		I686_CPU
 options 	SMP			# Symmetric MultiProcessor Kernel
 options 	APIC_IO			# Symmetric (APIC) I/O
 options		GPL_MATH_EMULATE
 options 	CPU_ENABLE_SSE
 options 	CPU_FASTER_5X86_FPU
 
 options 	COMPAT_43
 options         P1003_1B
 options         _KPOSIX_PRIORITY_SCHEDULING
 options         _KPOSIX_VERSION=199309L  
 
 options 	COMPAT_LINUX
 options 	NMBCLUSTERS=16384
 options 	PANIC_REBOOT_WAIT_TIME=30
 
 options 	SYSVSHM
 options 	SYSVSEM
 options 	SYSVMSG
 
 
 # NETWORKING OPTIONS
 options 	INET			#Internet communications protocols
 options 	IPSEC			#IP security
 options 	IPSEC_ESP
 
 pseudo-device	ether			#Generic Ethernet
 pseudo-device	loop			#Network loopback device
 pseudo-device	bpf			#Berkeley packet filter
 pseudo-device	disc			#Discard device (ds0, ds1, etc)
 pseudo-device	tun
 pseudo-device	ppp	2
 options		PPP_BSDCOMP
 options		PPP_DEFLATE
 options		PPP_FILTER
 
 options 	IPFIREWALL		#firewall
 options 	IPFIREWALL_VERBOSE	
 options 	IPFIREWALL_FORWARD	#enable transparent proxy support
 options 	IPFIREWALL_VERBOSE_LIMIT=10000	#limit verbosity
 options 	DUMMYNET
 options 	IPDIVERT		#divert sockets
 #options 	IPFILTER		#ipfilter support
 #options 	IPFILTER_LOG		#ipfilter logging
 options 	IPSTEALTH		#support for stealth forwarding
 
 options		RANDOM_IP_ID
 options 	TCP_DROP_SYNFIN		#drop TCP packets with SYN+FIN
 options 	ICMP_BANDLIM
 
 # FILESYSTEM OPTIONS
 options 	FFS			#Fast filesystem
 # options	NFS
 options 	CD9660			#ISO 9660 filesystem
 options 	PROCFS			#Process filesystem
 options 	FFS_ROOT		#FFS usable as root device
 options 	NULLFS			#NULL filesystem
 # options 	SOFTUPDATES
 # options	UFS_DIRHASH
 options 	QUOTA			#enable disk quotas
 
 pseudo-device	pty		#Pseudo ttys
 pseudo-device	gzip		#Exec gzipped a.out's
 pseudo-device	speaker
 pseudo-device	vn  	5	#Vnode driver (turns a file into a device)
 pseudo-device	snp	5	#Snoop device - to look at pty/vty/etc..
 # pseudo-device	ccd	1
 
 options 	MSGBUF_SIZE=40960
 
 #Everything below this line is HARDWARE configuration.
 
 device		npx0	at nexus? port IO_NPX flags 0x0 irq 13
 
 device		pci
 device		miibus
 device		fxp
 device		agp
 device		apm
 device		ata
 device		atadisk		# ATA disk drives
 device		atapicd
 
 device		isa
 options 	AUTO_EOI_1
 device		atkbdc0	at isa? port IO_KBD
 device		atkbd0	at atkbdc? irq 1
 device		psm0	at atkbdc? irq 12
 device		vga0	at isa?
 options		VGA_ALT_SEQACCESS
 options		VGA_WIDTH90
 options 	VESA
 
 pseudo-device	splash
 device		sc0	at isa?
 options 	MAXCONS=16		# number of virtual consoles
 options 	SC_ALT_MOUSE_IMAGE	# simplified mouse cursor in text mode
 options		SC_DFLT_FONT
 makeoptions	SC_DFLT_FONT=koi8-r
 options 	SC_DISABLE_DDBKEY	# disable `debug' key
 options 	SC_DISABLE_REBOOT	# disable reboot key sequence
 options 	SC_HISTORY_SIZE=800	# number of history buffer lines
 options		SC_MOUSE_CHAR=0x3
 options		SC_PIXEL_MODE
 options		PSM_HOOKRESUME
 options		PSM_RESETAFTERSUSPEND
 options		SC_TWOBUTTON_MOUSE
 
 
 device		fdc0	at isa? port IO_FD1 irq 6 drq 2
 device		fd0	at fdc0 drive 0
 device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
 device		sio1	at isa? port IO_COM2 irq 3
 
 options		COM_ESP
 options		COM_MULTIPORT
 
 device		ppc0	at isa?	irq 7
 device		ppbus
 device		lpt
 
 device		scbus
 device		da
 device		vpo
 
 # USB support
 # device		uhci
 # device		ohci
 # device		usb
 # device		ugen
 # device		umodem
 
 --------------050207040302010603020302--
 
State-Changed-From-To: open->feedback 
State-Changed-By: kris 
State-Changed-When: Mon Jul 14 02:33:45 PDT 2003 
State-Changed-Why:  
Does the problem persist with later releases? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37257 
State-Changed-From-To: feedback->closed 
State-Changed-By: kris 
State-Changed-When: Fri Aug 15 20:29:50 PDT 2003 
State-Changed-Why:  
Disabling APM worked around the problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37257 

From: Kris Kennaway <kris@obsecurity.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/37257: SMP 4.5 freezes
Date: Fri, 15 Aug 2003 20:29:45 -0700

 Adding to audit trail
 
 ----- Forwarded message from Ilya Pizik <polzun@ultra.v.gz.ru> -----
 
 X-Original-To: kkenn@localhost
 Delivered-To: kkenn@localhost.obsecurity.org
 X-Originating-IP: [128.125.38.123]
 Delivered-To: kris@freebsd.org
 Date: Sun, 20 Jul 2003 15:21:00 +0400
 From: Ilya Pizik <polzun@ultra.v.gz.ru>
 To: Kris Kennaway <kris@FreeBSD.org>
 Cc: freebsd-bugs@FreeBSD.org
 Subject: Re: kern/37257: SMP 4.5 freezes
 In-Reply-To: <200307140933.h6E9Xup6086747@freefall.freebsd.org>
 User-Agent: Mutt/1.4.1i
 X-Operating-System: FreeBSD scar.jinr.ru 4.8-STABLE i386
 X-Bogosity: No, tests=bogofilter, spamicity=0.000000, version=0.13.7.2
 
 On Mon, Jul 14, 2003 at 02:33:56AM -0700, Kris Kennaway wrote:
 K> Synopsis: SMP 4.5 freezes
 K> 
 K> State-Changed-From-To: open->feedback
 K> State-Changed-By: kris
 K> State-Changed-When: Mon Jul 14 02:33:45 PDT 2003
 K> State-Changed-Why: 
 K> Does the problem persist with later releases?
 K> 
 K> http://www.freebsd.org/cgi/query-pr.cgi?pr=37257
 
 Yes
 But I found in freebsd-smp mailing list the solution of this problem
 I've disable apm in kernel configuration. So there are no deadlocks at this
 moment.
 
 -- 
 With respect, Pizik Ilya.
 
 ----- End forwarded message -----
>Unformatted:
