I posted this before in another thread, but figured I'd re-post it as its own thread.
The set-up we have is a dedicated system running OpenBSD 4.2, Squid and SquidGuard. Squid is running in transparent mode and is (obviously) running as a transparent caching proxy, administratively blocking certain sites via SquidGuard. The problem we're having with this machine (and had with a previous machine, but thought it was the old hardware we were running it on) is that it will randomly have it's network interface stop working completely. The machine itself is not locked-up, and is still usable from a local console, but all network activity ceases. Attempts to reset the card using ifconfig, etc, do nothing. Once this "lock-up" happens, the only thing that seems to fix it is a full reboot. I have found no clues as to the cause of the problem in the log files. The system is a shuttle box running an AMD_64 processor, 1GB of ram and the built-in NIC, which uses the nfe driver. Please note that this system is not running pf. As I mentioned earlier, we experienced the same problem with a different system before (a re-commissioned PPC G4) and chalked it up to old, unstable hardware. But this is a reasonably modern system that is experiencing the same problem. Any help / hints would be greatly appreciated. Thanks in advance. dmesg and sysctl output follow: Here's the dmesg output: OpenBSD 4.2 (GENERIC) #1179: Tue Aug 28 10:37:50 MDT 2007 [EMAIL PROTECTED]:/usr/src/sys/arch/amd64/compile/GENERIC real mem = 1073278976 (1023MB) avail mem = 1030926336 (983MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.2 @ 0xf0000 (39 entries) bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 06/28/2005 bios0: Shuttle Inc SN95V30 acpi at mainbus0 not configured cpu0 at mainbus0: (uniprocessor) cpu0: AMD Athlon(tm) 64 Processor 3700+, 2211.02 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,MMX,FXSR,SSE,SSE2,SSE3,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line 16-way L2 cache cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative cpu0: AMD erratum 89 present, BIOS upgrade may be required pci0 at mainbus0 bus 0: configuration mode 1 pchb0 at pci0 dev 0 function 0 "NVIDIA nForce3 250 PCI Host" rev 0xa1 pcib0 at pci0 dev 1 function 0 "NVIDIA nForce3 250 ISA" rev 0xa2 nviic0 at pci0 dev 1 function 1 "NVIDIA nForce3 250 SMBus" rev 0xa1 iic0 at nviic0 iic1 at nviic0 adt0 at iic1 addr 0x2e: adm1027 rev 0x6a iic1: addr 0x4e 03=06 04=06 12=ff 13=0f 28=83 29=12 2a=12 2b=28 ohci0 at pci0 dev 2 function 0 "NVIDIA nForce3 250 USB" rev 0xa1: irq 7, version 1.0, legacy support ohci1 at pci0 dev 2 function 1 "NVIDIA nForce3 250 USB" rev 0xa1: irq 5, version 1.0, legacy support ehci0 at pci0 dev 2 function 2 "NVIDIA nForce3 250 USB2" rev 0xa2: irq 10 usb0 at ehci0: USB revision 2.0 uhub0 at usb0: NVIDIA EHCI root hub, rev 2.00/1.00, addr 1 nfe0 at pci0 dev 5 function 0 "NVIDIA nForce3 LAN" rev 0xa2: irq 10, address 00:30:1b:ba:2d:ee eephy0 at nfe0 phy 1: Marvell 88E1111 Gigabit PHY, rev. 2 auich0 at pci0 dev 6 function 0 "NVIDIA nForce3 250 AC97" rev 0xa1: irq 7, nForce3 AC97 ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0) audio0 at auich0 pciide0 at pci0 dev 8 function 0 "NVIDIA nForce3 250 IDE" rev 0xa2: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility pciide0: channel 0 disabled (no drives) atapiscsi0 at pciide0 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <LITE-ON, DVDRW SHW-160P6S, PS01> SCSI0 5/cdrom removable cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4 pciide1 at pci0 dev 10 function 0 "NVIDIA nForce3 250 SATA" rev 0xa2: DMA pciide1: using irq 11 for native-PCI interrupt wd0 at pciide1 channel 0 drive 0: <WDC WD2500JD-00HBC0> wd0: 16-sector PIO, LBA48, 238475MB, 488397168 sectors wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5 ppb0 at pci0 dev 11 function 0 "NVIDIA nForce3 250 AGP" rev 0xa2 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon 9200 SE Sec" rev 0x01 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) "ATI Radeon 9200 SE" rev 0x01 at pci1 dev 0 function 1 not configured ppb1 at pci0 dev 14 function 0 "NVIDIA nForce3 250 PCI-PCI" rev 0xa2 pci2 at ppb1 bus 2 "VIA VT6306 FireWire" rev 0x80 at pci2 dev 7 function 0 not configured pchb1 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00 pchb4 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 it0 at isa0 port 0x290/8: IT87 usb1 at ohci0: USB revision 1.0 uhub1 at usb1: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1 usb2 at ohci1: USB revision 1.0 uhub2 at usb2: NVIDIA OHCI root hub, rev 1.00/1.00, addr 1 uhidev0 at uhub1 port 1 configuration 1 interface 0 uhidev0: LITE-ON Technology USB NetVista Full Width Keyboard., rev 1.10/1.09, addr 2, iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a swap on wd0b dump on wd0b And here's the output of sysctl (minus some things, such as kern.malloc and kern.rand*) kern.maxvnodes=1310 kern.maxproc=6000 kern.maxfiles=11000 kern.argmax=262144 kern.securelevel=1 kern.hostname=kyuusenchitai.marketingresources.com kern.hostid=0 kern.clockrate=tick = 10000, tickadj = 40, hz = 100, profhz = 1024, stathz = 128 kern.posix1version=199009 kern.ngroups=16 kern.job_control=1 kern.saved_ids=1 kern.boottime=Tue Apr 15 10:38:26 2008 kern.domainname= kern.maxpartitions=16 kern.rawpartition=2 kern.osversion=GENERIC#1179 kern.somaxconn=1024 kern.sominconn=80 kern.usermount=0 kern.nosuidcoredump=1 kern.fsync=1 kern.sysvmsg=1 kern.sysvsem=1 kern.sysvshm=1 kern.arandom=3881413437 kern.msgbufsize=16344 kern.cp_time=350,0,994,548,279871 kern.nchstats.good_hits=31457 kern.nchstats.negative_hits=928 kern.nchstats.bad_hits=99 kern.nchstats.false_hits=5179 kern.nchstats.misses=16622 kern.nchstats.long_names=0 kern.nchstats.pass2=318 kern.nchstats.2passes=411 kern.nchstats.ncs_revhits=28 kern.nchstats.ncs_revmiss=0 kern.forkstat.forks=204 kern.forkstat.vforks=2 kern.forkstat.rforks=0 kern.forkstat.kthreads=14 kern.forkstat.fork_pages=146497 kern.forkstat.vfork_pages=1110 kern.forkstat.rfork_pages=0 kern.forkstat.kthread_pages=0 kern.nselcoll=0 kern.tty.tk_nin=244 kern.tty.tk_nout=796018 kern.tty.tk_rawcc=231 kern.tty.tk_cancc=13 kern.tty.maxptys=992 kern.tty.nptys=64 kern.ccpu=1948 kern.fscale=2048 kern.nprocs=67 kern.stackgap_random=262144 kern.usercrypto=1 kern.cryptodevallowsoft=0 kern.splassert=1 kern.nfiles=538 kern.ttycount=69 kern.numvnodes=2621 kern.userasymcrypto=1 kern.seminfo.semmni=10 kern.seminfo.semmns=60 kern.seminfo.semmnu=30 kern.seminfo.semmsl=60 kern.seminfo.semopm=100 kern.seminfo.semume=10 kern.seminfo.semusz=112 kern.seminfo.semvmx=32767 kern.seminfo.semaem=16384 kern.shminfo.shmmax=33554432 kern.shminfo.shmmin=1 kern.shminfo.shmmni=128 kern.shminfo.shmseg=128 kern.shminfo.shmall=8192 kern.emul.nemuls=0 kern.maxclusters=6144 kern.timecounter.tick=1 kern.timecounter.timestepwarnings=0 kern.timecounter.hardware=i8254 kern.timecounter.choice=i8254(0) dummy(-1000000) kern.maxlocksperuid=1024 vm.loadavg=0.15 0.15 0.11 vm.psstrings=0x7f7fffffbfe0 vm.swapencrypt.enable=1 vm.swapencrypt.keyscreated=0 vm.swapencrypt.keysdeleted=0 vm.nkmempages=32768 vm.anonmin=10 vm.vtextmin=5 vm.vnodemin=10 fs.posix.setuid=1 net.inet.ip.forwarding=0 net.inet.ip.redirect=1 net.inet.ip.ttl=64 net.inet.ip.sourceroute=0 net.inet.ip.directed-broadcast=0 net.inet.ip.portfirst=1024 net.inet.ip.portlast=49151 net.inet.ip.porthifirst=49152 net.inet.ip.porthilast=65535 net.inet.ip.maxqueue=300 net.inet.ip.encdebug=0 net.inet.ip.ipsec-expire-acquire=30 net.inet.ip.ipsec-invalid-life=60 net.inet.ip.ipsec-pfs=1 net.inet.ip.ipsec-soft-allocs=0 net.inet.ip.ipsec-allocs=0 net.inet.ip.ipsec-soft-bytes=0 net.inet.ip.ipsec-bytes=0 net.inet.ip.ipsec-timeout=86400 net.inet.ip.ipsec-soft-timeout=80000 net.inet.ip.ipsec-soft-firstuse=3600 net.inet.ip.ipsec-firstuse=7200 net.inet.ip.ipsec-enc-alg=aes net.inet.ip.ipsec-auth-alg=hmac-sha1 net.inet.ip.mtudisc=1 net.inet.ip.mtudisctimeout=600 net.inet.ip.ipsec-comp-alg=deflate net.inet.ip.ifq.len=0 net.inet.ip.ifq.maxlen=256 net.inet.ip.ifq.drops=0 net.inet.ip.mforwarding=0 net.inet.ip.multipath=0 net.inet.icmp.maskrepl=0 net.inet.icmp.bmcastecho=0 net.inet.icmp.errppslimit=100 net.inet.icmp.rediraccept=1 net.inet.icmp.redirtimeout=600 net.inet.icmp.tstamprepl=1 net.inet.ipip.allow=0 net.inet.tcp.rfc1323=1 net.inet.tcp.keepinittime=150 net.inet.tcp.keepidle=14400 net.inet.tcp.keepintvl=150 net.inet.tcp.slowhz=2 net.inet.tcp.baddynamic=587,749,750,751,871 net.inet.tcp.recvspace=16384 net.inet.tcp.sendspace=16384 net.inet.tcp.sack=1 net.inet.tcp.mssdflt=512 net.inet.tcp.rstppslimit=100 net.inet.tcp.ackonpush=0 net.inet.tcp.ecn=0 net.inet.tcp.syncachelimit=10255 net.inet.tcp.synbucketlimit=105 net.inet.tcp.rfc3390=1 net.inet.tcp.reasslimit=3072 net.inet.tcp.sackholelimit=32768 net.inet.udp.checksum=1 net.inet.udp.baddynamic=623,664,749,750,751 net.inet.udp.recvspace=41600 net.inet.udp.sendspace=9216 net.inet.gre.allow=0 net.inet.gre.wccp=0 net.inet.esp.enable=1 net.inet.esp.udpencap=1 net.inet.esp.udpencap_port=4500 net.inet.ah.enable=1 net.inet.mobileip.allow=0 net.inet.etherip.allow=0 net.inet.ipcomp.enable=0 net.inet.carp.allow=1 net.inet.carp.preempt=0 net.inet.carp.log=0 net.inet.carp.arpbalance=0 net.inet6.ip6.forwarding=0 net.inet6.ip6.redirect=1 net.inet6.ip6.hlim=64 net.inet6.ip6.maxfragpackets=200 net.inet6.ip6.accept_rtadv=0 net.inet6.ip6.keepfaith=0 net.inet6.ip6.log_interval=5 net.inet6.ip6.hdrnestlimit=10 net.inet6.ip6.dad_count=1 net.inet6.ip6.auto_flowlabel=1 net.inet6.ip6.defmcasthlim=1 net.inet6.ip6.kame_version=OpenBSD-current net.inet6.ip6.use_deprecated=1 net.inet6.ip6.rr_prune=5 net.inet6.ip6.v6only=1 net.inet6.ip6.maxfrags=200 net.inet6.ip6.mforwarding=0 net.inet6.ip6.multipath=0 net.inet6.ip6.multicast_mtudisc=0 net.inet6.icmp6.rediraccept=1 net.inet6.icmp6.redirtimeout=600 net.inet6.icmp6.nd6_prune=1 net.inet6.icmp6.nd6_delay=5 net.inet6.icmp6.nd6_umaxtries=3 net.inet6.icmp6.nd6_mmaxtries=3 net.inet6.icmp6.nd6_useloopback=1 net.inet6.icmp6.nodeinfo=1 net.inet6.icmp6.errppslimit=100 net.inet6.icmp6.nd6_maxnudhint=0 net.inet6.icmp6.mtudisc_hiwat=1280 net.inet6.icmp6.mtudisc_lowat=256 net.inet6.icmp6.nd6_debug=0 net.bpf.bufsize=32768 net.bpf.maxbufsize=2097152 hw.machine=amd64 hw.model=AMD Athlon(tm) 64 Processor 3700+ hw.ncpu=1 hw.byteorder=1234 hw.physmem=1073278976 hw.usermem=1073274880 hw.pagesize=4096 hw.disknames=cd0,wd0 hw.diskcount=2 hw.sensors.adt0.temp0=46.00 degC (Remote) hw.sensors.adt0.temp1=39.00 degC (Internal) hw.sensors.adt0.temp2=34.00 degC (Remote) hw.sensors.adt0.fan0=810 RPM hw.sensors.adt0.volt0=0.00 VDC (+2.5Vin) hw.sensors.adt0.volt1=0.00 VDC (Vccp) hw.sensors.adt0.volt2=4.97 VDC (Vcc) hw.sensors.adt0.volt3=0.00 VDC (+5V) hw.sensors.adt0.volt4=0.00 VDC (+12V) hw.sensors.it0.temp0=44.00 degC hw.sensors.it0.temp1=42.00 degC hw.sensors.it0.temp2=46.00 degC hw.sensors.it0.fan1=3668 RPM hw.sensors.it0.volt0=1.36 VDC (VCORE_A) hw.sensors.it0.volt1=1.44 VDC (VCORE_B) hw.sensors.it0.volt2=3.26 VDC (+3.3V) hw.sensors.it0.volt3=4.92 VDC (+5V) hw.sensors.it0.volt4=11.90 VDC (+12V) hw.sensors.it0.volt5=-5.68 VDC (Unused) hw.sensors.it0.volt6=-3.81 VDC (-12V) hw.sensors.it0.volt7=4.89 VDC (+5VSB) hw.sensors.it0.volt8=3.06 VDC (VBAT) hw.cpuspeed=2211 hw.vendor=Shuttle Inc hw.product=SN95V30 hw.uuid=12973027-ffff-ffff-ffff-ffffffffffff machdep.console_device=ttyC0 machdep.bios.diskinfo.128=bootdev = 0xa0000200, cylinders = 1023, heads = 255, sectors = 63 machdep.bios.cksumlen=1 machdep.allowaperture=0 machdep.cpuvendor=AuthenticAMD machdep.cpufeature=127663103 machdep.kbdreset=0 user.cs_path=/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/bin user.bc_base_max=2147483647 user.bc_dim_max=65535 user.bc_scale_max=2147483647 user.bc_string_max=2147483647 user.coll_weights_max=2 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 ddb.radix=16 ddb.max_width=80 ddb.max_line=24 ddb.tab_stop_width=8 ddb.panic=1 ddb.console=0 ddb.log=1 vfs.mounts.ffs has 5 mounted instances vfs.ffs.doclusterread=1 vfs.ffs.doclusterwrite=1 vfs.ffs.doreallocblks=1 vfs.ffs.doasyncfree=1 vfs.ffs.max_softdeps=10480 vfs.ffs.sd_tickdelay=2 vfs.ffs.sd_worklist_push=0 vfs.ffs.sd_blk_limit_push=0 vfs.ffs.sd_ino_limit_push=0 vfs.ffs.sd_blk_limit_hit=0 vfs.ffs.sd_ino_limit_hit=0 vfs.ffs.sd_sync_limit_hit=0 vfs.ffs.sd_indir_blk_ptrs=0 vfs.ffs.sd_inode_bitmap=0 vfs.ffs.sd_direct_blk_ptrs=0 vfs.ffs.sd_dir_entry=0 vfs.ffs.dirhash_dirsize=2560 vfs.ffs.dirhash_maxmem=2097152 vfs.ffs.dirhash_mem=197023 vfs.nfs.iothreads=-1 [demime 1.01d removed an attachment of type application/pgp-signature which had a name of signature.asc]