DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 4th June 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default Weird freezing when downloading through ftp

Hello all.

Sometimes when I am downloading a large .iso file (hundreds or few thousands of MB) through ftp from a local NAS, the system freezes. X freezes, CPU fan goes a little higher and I cannot recover the system, so a hard button reset is needed. I tried to write blindly boot sync just in case, but to no avail.

It happens either using ftp from shell or through Konqueror (I have not tried anything else for these seem quite different tests).
Reply With Quote
  #2   (View Single Post)  
Old 5th June 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

Update:

It has happened the same when transferring a large file (700 MB .avi file) from a desktop USB disk to the main system disk.

I suspect it is not a ftp issue, but a disk issue. I use ffs with softupdates enabled.

However, when I use dd to create large random files it does not fail.

Last edited by Martillo; 5th June 2013 at 03:12 AM.
Reply With Quote
  #3   (View Single Post)  
Old 5th June 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Hi. I'm sorry you're having trouble. Unfortunately, it isn't clear from your post what hardware and software you're running. And while I may not be able to solve your problem, I can't provide any insights into possible root causes, solutions, or circumventions without more information. The questions that immediately come to mind are:
  1. What version/flavor of OpenBSD are you running?
  2. What architecture are you using?
  3. What NIC hardware is in use?
  4. Which ftp client are you using from the shell? The built-in ftp(1)?
  5. If the external storage is NAS-attached as described, why are you using FTP instead of NFS or SMB/CIFS?
  6. Have you set the ddb.console sysctl to permit keyboard entry into ddb(4) during a hang? If so, when in a console rather than X, have you been able to enter ddb with the keyboard sequence that is applicable to your architecture?
  7. Have you inspected /var/log/messages for any possible hints in logged messages about the problem, such as exhausting mbufs?
  8. Have you run netstat(8) with the -m, -i, or -s options during transfers to watch for network related problems as the transfers are in progress?
A dmesg would answer the first three questions.
Reply With Quote
  #4   (View Single Post)  
Old 5th June 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

OK, now that I know you have a problem you suspect is drive related:
  • Review /var/log/messages* for any kernel messages regarding drive errors: timeounts, "soft" errors, etc.
  • Install smartmontools and request information from the drive's electronics on possible problems or errors. See http://en.wikipedia.org/wiki/S.M.A.R.T. and then use smartmontool's smartctl(8) with the -a option to get a complete report on the suspect drive from the on-board electronics.
I started to write a long treatise on hard drives and then stopped. Let's see what you can learn about the drive with this much information.
Reply With Quote
  #5   (View Single Post)  
Old 6th June 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

Thanks for answering. The basic system arquitecture and OS is:

Quote:
OpenBSD 5.3 GENERIC.MP#2 amd64
However it also happened in 5.2, and I am not sure about 5.1, so I do not affirm it in the last.

Thanks about the ddb.console tip, I had seen an old post about it, but I misunderstood it. I will monitorize de disk with the smartmon tools, but this disk had been on W7 from 2009 till this year and never failed (Samsung, 512 bps), that is what puzzles me.

No trace of error in /var/log/messages (and rotated) except for the boot messages about / not properly unmounted and softraid0 devices not shutdown properly.

This disk/transfer thing is the only thing that bothers me about this OS in my machine, so I will track it down.
Reply With Quote
  #6   (View Single Post)  
Old 6th June 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Your problem might not be the disk drive; this is your assumption. My recommendations should help determine if the drive is at fault.
  • I recommended checking kernel message logs as they will not be seen unless you are using the console or have an xconsole(1) window open.
  • I recommended checking SMART logs on the device, as the device may have information not presented to the OS.
Reply With Quote
  #7   (View Single Post)  
Old 7th June 2013
vanGrimoire's Avatar
vanGrimoire vanGrimoire is offline
Port Guard
 
Join Date: Nov 2012
Posts: 43
Default

Maybe you've corrupted things with fsck after forcing a shutdown? Make a new user and try that profile out, that's what I've done - essentially I've cleaned out old .* config files in my home directory. The gist of it, is that killing the power and forcing an fsck check always has the potential to corrupt data. I have found on my desktop that means my .* config files in my home directory are unreadable. OpenBSD will then attempt to repair these files it seems, which takes forever. I have a sneaking suspicion that if you waited long enough things would mostly get repaired, but frankly OpenBSD is not intended to run as a desktop and you've said this has been a problem for a while. Also, is this the machine where 'apm -z' is not working?

Last edited by vanGrimoire; 7th June 2013 at 03:49 AM.
Reply With Quote
  #8   (View Single Post)  
Old 7th June 2013
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by Martillo View Post
Sometimes when I am downloading a large .iso file (hundreds or few thousands of MB) through ftp from a local NAS, the system freezes. X freezes, CPU fan goes a little higher and I cannot recover the system, so a hard button reset is needed. I tried to write blindly boot sync just in case, but to no avail.

It happens either using ftp from shell or through Konqueror (I have not tried anything else for these seem quite different tests).
I do recall some traffic on misc@ many years ago where somewhat similar claims were being made, but these discussions have subsided for quite some time now. As an example, the most recent mention I can find in the misc@ archives is over a year ago:

http://marc.info/?l=openbsd-misc&m=133657680618500&w=2

...but as jggimi has already mentioned, there is simply too little information provided here for us to give anything more than general comments at this point. My suggestion to Martillo is to attempt to isolate a more substantial test case & submit a problem report. Be aware that the first question the project developers will ask is whether this problem still manifests itself in -current. Testing whatever you discern in -current will likely also receive faster attention. Likewise, recognize that your goal is to provide a repeatable test case. Anything less is frankly insufficient.

Lastly, information on submitting problem reports can be found at the following:

http://www.openbsd.org/report.html

Last edited by ocicat; 7th June 2013 at 05:31 AM. Reason: clarity
Reply With Quote
  #9   (View Single Post)  
Old 7th June 2013
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by vanGrimoire View Post
...but frankly OpenBSD is not intended to run as a desktop...
I have been running OpenBSD successfully in a desktop configuration for many years, so I don't agree with your assessment, vanGrimoire. If you wish to discuss this further, please start a new thread, as this is off-topic from what the OP initially asked.
Reply With Quote
Old 7th June 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

And, I think vanGrimiore will get a great deal of vitriolic push-back from developers if that opinion were voiced on misc@. Many developers have spent countless thousands of hours ensuring that OpenBSD can be a useful and convenient workstation OS.
Reply With Quote
Old 9th June 2013
vanGrimoire's Avatar
vanGrimoire vanGrimoire is offline
Port Guard
 
Join Date: Nov 2012
Posts: 43
Red face

Sorry, I meant no harm.

Only trying to point out that I've noticed a slow down at points as well and why. I love my desktop, but it has given me more problems than a base install, in fact I've never run fsck on a base install. I've been using obsd for 3.5 years now and love the beast. I did mix martillo with another user, so oops. I will slow down a bit.

for me `lynx ftp://ftp.openbsd.org/pub/OpenBSD/5.3/packages/amd64/`

takes 2min. 13seconds at 1.5 Mbps

slashdot for comparison takes 13secs
Reply With Quote
Old 9th June 2013
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by vanGrimoire View Post
for me `lynx ftp://ftp.openbsd.org/pub/OpenBSD/5.3/packages/amd64/`

takes 2min. 13seconds at 1.5 Mbps

slashdot for comparison takes 13secs
I tend to think you are comparing apples & oranges. Given that your test involves different sites at different distances (verify with traceroute(8)...), the numbers mentioned above aren't necessarily measuring the same thing.

Likewise, no mention has been made as to whether the filesizes or protocols are equivalent.

Last edited by ocicat; 9th June 2013 at 08:01 PM. Reason: clarity
Reply With Quote
Old 9th June 2013
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Default

Quote:
frankly OpenBSD is not intended to run as a desktop...
Frankly , OpenBSD is now most successful both as a firewall & as a desktop OS (straighforward installation .. stability .. localization .. variety .. (I hope there will be a gnomebase -in the fashion of kdebase- lightweight with few deps)
Reply With Quote
Old 9th June 2013
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

It also depends on the geographic distance. I am located in the Netherlands and have optic fiber 100Mbit up/down.

Code:
$ time echo ls | ftp -a ftp://ftp.bit.nl/pub/OpenBSD/5.3/packages/amd64/ >packages.nl
    0m1.73s real     0m0.03s user     0m1.53s system

$  time echo ls | ftp -a ftp://ftp.eu.openbsd.org/pub/OpenBSD/5.3/packages/amd64/  >packages.se
    0m8.18s real     0m0.04s user     0m1.52s system

$  time echo ls | ftp -a ftp://ftp.openbsd.org/pub/OpenBSD/5.3/packages/amd64/ >packages.ca
    0m4.47s real     0m0.01s user     0m1.29s system
Here it is rather strange that the download from Canada is faster than the one from Sweden
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump

Last edited by J65nko; 9th June 2013 at 08:55 PM. Reason: Sweden - Canada remark
Reply With Quote
Old 9th June 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Quote:
Originally Posted by vanGrimoire View Post

for me `lynx ftp://ftp.openbsd.org/pub/OpenBSD/5.3/packages/amd64/`

takes 2min. 13seconds at 1.5 Mbps

slashdot for comparison takes 13secs
This is comparing apples with diving boards. Different protocols (FTP vs. HTTP), different amounts of data being searched for and returned, different server farm infrastructures, and the servers are located in different countries. And the FTP server being queried isn't running OpenBSD. But you're comparing workstations.

If you want to compare different workstation OSes, try comparing the same transaction. Hint: OpenBSD will probably not be the fastest performer. It will, however, likely be more stable, likely be the easiest and quickest to install and maintain, perhaps the easiest to understand, and unless you misconfigure your applications or install insecure ones, is likely to be the most secure from external attack vectors.
Reply With Quote
Old 11th June 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

Situation update:

I have tried another methods to access the NAS (BTW, a Home Desktop Cloud Edition by Iomega :facepalm: ) and found CIFS reliable; smbget and smbclient work so far with good performance.

Peace of mind for now.

Last edited by Martillo; 11th June 2013 at 08:18 PM. Reason: syntax
Reply With Quote
Old 17th June 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

Situation update:

smbclient started to fail when putting a large file, but in a different way: the network card ceased working without notice. No ping, no host or dig worked either. Rebooted two times and the same happened. For the record: I rebooted to NetBSD, and smbclient worked fine.

So I looked for another cause and discovered that the rear fan and the power fan where clogged with dirt and the airflows were minimal. I had also noticed a raise of temperature in the last few weeks. An air duster put an end to the clogging and smbclient worked fine again...

...until now that has stopped working again. It seems it was not the temperature.

dmesg:
Code:
OpenBSD 5.3 (GENERIC.MP) #3: Thu Jun 13 19:39:31 CEST 2013
    josean@asuka.familyworks.local:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 6432489472 (6134MB)
avail mem = 6238765056 (5949MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xf0700 (81 entries)
bios0: vendor American Megatrends Inc. version "1202" date 12/22/2010
bios0: IEESA P6T DELUXE V2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET DMAR OSFR SSDT
acpi0: wakeup devices NPE2(S4) NPE4(S4) NPE5(S4) NPE6(S4) NPE8(S4) NPE9(S4) NPEA(S4) P0P1(S4) PS2K(S4) PS2M(S4) USB0(S4) USB1(S4) USB2(S4) USB5(S4) EUSB(S4) USB3(S4) USB4(S4) USB6(S4) USBE(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) P0P8(S4) P0P9(S4) NPE1(S4) NPE3(S4) NPE7(S4) GBE_(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 3742.22 MHz
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 2672.73 MHz
cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 2672.74 MHz
cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 2672.73 MHz
cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu4 at mainbus0: apid 1 (application processor)
cpu4: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 2672.73 MHz
cpu4: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC
cpu4: 256KB 64b/line 8-way L2 cache
cpu5 at mainbus0: apid 3 (application processor)
cpu5: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 2672.73 MHz
cpu5: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC
cpu5: 256KB 64b/line 8-way L2 cache
cpu6 at mainbus0: apid 5 (application processor)
cpu6: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 2672.74 MHz
cpu6: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC
cpu6: 256KB 64b/line 8-way L2 cache
cpu7 at mainbus0: apid 7 (application processor)
cpu7: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 2672.73 MHz
cpu7: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG,LAHF,PERF,ITSC
cpu7: 256KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0: apid 9 pa 0xfec8a000, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (NPE2)
acpiprt2 at acpi0: bus -1 (NPE4)
acpiprt3 at acpi0: bus -1 (NPE5)
acpiprt4 at acpi0: bus -1 (NPE6)
acpiprt5 at acpi0: bus -1 (NPE8)
acpiprt6 at acpi0: bus -1 (NPE9)
acpiprt7 at acpi0: bus -1 (NPEA)
acpiprt8 at acpi0: bus 7 (P0P1)
acpiprt9 at acpi0: bus 6 (P0P4)
acpiprt10 at acpi0: bus -1 (P0P5)
acpiprt11 at acpi0: bus 5 (P0P6)
acpiprt12 at acpi0: bus -1 (P0P7)
acpiprt13 at acpi0: bus -1 (P0P8)
acpiprt14 at acpi0: bus 4 (P0P9)
acpiprt15 at acpi0: bus 1 (NPE1)
acpiprt16 at acpi0: bus 2 (NPE3)
acpiprt17 at acpi0: bus 3 (NPE7)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpicpu2 at acpi0: C3, C2, C1, PSS
acpicpu3 at acpi0: C3, C2, C1, PSS
acpicpu4 at acpi0: C3, C2, C1, PSS
acpicpu5 at acpi0: C3, C2, C1, PSS
acpicpu6 at acpi0: C3, C2, C1, PSS
acpicpu7 at acpi0: C3, C2, C1, PSS
aibs0 at acpi0: RTMP RVLT RFAN GGRP GITM SITM
acpibtn0 at acpi0: PWRB
cpu0: Enhanced SpeedStep 3742 MHz: speeds: 2668, 2667, 2533, 2400, 2267, 2133, 2000, 1867, 1733, 1600 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel X58 Host" rev 0x12
ppb0 at pci0 dev 1 function 0 "Intel X58 PCIE" rev 0x12: msi
pci1 at ppb0 bus 1
ppb1 at pci0 dev 3 function 0 "Intel X58 PCIE" rev 0x12: msi
pci2 at ppb1 bus 2
vga1 at pci2 dev 0 function 0 vendor "NVIDIA", unknown product 0x05e2 rev 0xa1
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ppb2 at pci0 dev 7 function 0 "Intel X58 PCIE" rev 0x12: msi
pci3 at ppb2 bus 3
"Intel X58 Misc" rev 0x12 at pci0 dev 20 function 0 not configured
"Intel X58 GPIO" rev 0x12 at pci0 dev 20 function 1 not configured
"Intel X58 RAS" rev 0x12 at pci0 dev 20 function 2 not configured
"Intel X58 Throttle" rev 0x12 at pci0 dev 20 function 3 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801JI USB" rev 0x00: apic 8 int 16
uhci1 at pci0 dev 26 function 1 "Intel 82801JI USB" rev 0x00: apic 8 int 21
uhci2 at pci0 dev 26 function 2 "Intel 82801JI USB" rev 0x00: apic 8 int 19
ehci0 at pci0 dev 26 function 7 "Intel 82801JI USB" rev 0x00: apic 8 int 18
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801JI HD Audio" rev 0x00: msi
azalia0: codecs: Analog Devices AD1989B
audio0 at azalia0
ppb3 at pci0 dev 28 function 0 "Intel 82801JI PCIE" rev 0x00: msi
pci4 at ppb3 bus 6
ppb4 at pci0 dev 28 function 2 "Intel 82801JI PCIE" rev 0x00: msi
pci5 at ppb4 bus 5
mskc0 at pci5 dev 0 function 0 "Marvell Yukon 88E8056" rev 0x12, Yukon-2 EC Ultra rev. B0 (0x3): apic 8 int 18
msk0 at mskc0 port A: address 00:24:8c:94:76:52
eephy0 at msk0 phy 0: 88E1149 Gigabit PHY, rev. 1
ppb5 at pci0 dev 28 function 5 "Intel 82801JI PCIE" rev 0x00: msi
pci6 at ppb5 bus 4
mskc1 at pci6 dev 0 function 0 "Marvell Yukon 88E8056" rev 0x12, Yukon-2 EC Ultra rev. B0 (0x3): apic 8 int 17
msk1 at mskc1 port A: address 00:24:8c:94:76:51
eephy1 at msk1 phy 0: 88E1149 Gigabit PHY, rev. 1
uhci3 at pci0 dev 29 function 0 "Intel 82801JI USB" rev 0x00: apic 8 int 23
uhci4 at pci0 dev 29 function 1 "Intel 82801JI USB" rev 0x00: apic 8 int 19
uhci5 at pci0 dev 29 function 2 "Intel 82801JI USB" rev 0x00: apic 8 int 18
ehci1 at pci0 dev 29 function 7 "Intel 82801JI USB" rev 0x00: apic 8 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x90
pci7 at ppb6 bus 7
"VIA VT6306 FireWire" rev 0xc0 at pci7 dev 2 function 0 not configured
pcib0 at pci0 dev 31 function 0 "Intel 82801JIR LPC" rev 0x00
ahci0 at pci0 dev 31 function 2 "Intel 82801JI AHCI" rev 0x00: msi, AHCI 1.2
ahci0: device not communicating on port 1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, SAMSUNG HD103UJ, 1AA0> SCSI3 0/direct fixed naa.50024e92005db941
sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
sd1 at scsibus0 targ 4 lun 0: <ATA, ST31000524AS, JC45> SCSI3 0/direct fixed naa.5000c5002fcef5cd
sd1: 953869MB, 512 bytes/sector, 1953525168 sectors
sd2 at scsibus0 targ 5 lun 0: <ATA, ST1000DM003-9YN1, CC4C> SCSI3 0/direct fixed naa.5000c5004aacbd37
sd2: 953869MB, 512 bytes/sector, 1953525168 sectors
ichiic0 at pci0 dev 31 function 3 "Intel 82801JI SMBus" rev 0x00: apic 8 int 18
iic0 at ichiic0
iic0: addr 0x1e 01=01 02=01 11=01 12=01 21=01 22=01 31=01 32=01 words 00=0001 01=0101 02=0100 03=0000 04=0000 05=0000 06=0000 07=0000
iic0: addr 0x20 01=80 02=17 03=7f 10=00 19=b0 20=20 21=00 25=20 26=b2 38=74 39=03 4a=99 6a=2c 78=02 79=08 7a=00 7b=00 7e=82 80=00 8b=43 8c=37 96=a4 99=41 9a=98 9b=01 d0=00 d1=03 d2=72 d3=72 d4=03 d5=02 d6=01 d7=63 d8=28 d9=00 da=00 db=00 dc=00 dd=00 de=00 df=10 e0=00 e1=00 e2=10 e3=0c e4=10 e5=10 e6=17 e7=10 e8=10 e9=10 ea=10 ec=07 ee=00 ef=00 f1=10 f5=01 f6=02 f9=cd fa=c0 fb=10 words 00=ffff 01=8037 02=1766 03=7fff 04=ffff 05=ffff 06=ffff 07=ffff
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500
spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-8500
spdmem2 at iic0 addr 0x54: 2GB DDR3 SDRAM PC3-8500
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
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
spkr0 at pcppi0
lm0 at isa0 port 0x290/8: W83627DHG
mtrr: Pentium Pro MTRR support
uhub8 at uhub0 port 5 "NEC hub" rev 2.00/1.00 addr 2
umass0 at uhub8 port 2 configuration 1 interface 0 "Generic Mass Storage Device" rev 2.00/1.29 addr 3
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd3 at scsibus1 targ 1 lun 0: <Generic, USB SD Reader, 1.00> SCSI0 0/direct removable
sd4 at scsibus1 targ 1 lun 1: <Generic, USB CF Reader, 1.01> SCSI0 0/direct removable
sd5 at scsibus1 targ 1 lun 2: <Generic, USB SM Reader, 1.02> SCSI0 0/direct removable
sd6 at scsibus1 targ 1 lun 3: <Generic, USB MS Reader, 1.03> SCSI0 0/direct removable
umass1 at uhub8 port 3 configuration 1 interface 0 "JMicron USB to ATA/ATAPI bridge" rev 2.00/1.00 addr 4
umass1: using SCSI over Bulk-Only
scsibus2 at umass1: 2 targets, initiator 0
sd7 at scsibus2 targ 1 lun 0: <ST315005, 41AS, > SCSI2 0/direct fixed serial.152d232961CCFFFFFFFF
sd7: 1430799MB, 512 bytes/sector, 2930277168 sectors
uhidev0 at uhub8 port 4 configuration 1 interface 0 "Microsoft Microsoft\M-. 2.4GHz Transceiver v7.0" rev 2.00/6.33 addr 5
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub8 port 4 configuration 1 interface 1 "Microsoft Microsoft\M-. 2.4GHz Transceiver v7.0" rev 2.00/6.33 addr 5
uhidev1: iclass 3/1, 28 report ids
uhid0 at uhidev1 reportid 18: input=0, output=0, feature=1
uhid1 at uhidev1 reportid 22: input=4, output=0, feature=0
uhid2 at uhidev1 reportid 23: input=0, output=0, feature=1
ums0 at uhidev1 reportid 26: 5 buttons, Z dir
wsmouse0 at ums0 mux 0
uhid3 at uhidev1 reportid 28: input=3, output=0, feature=0
uhidev2 at uhub8 port 4 configuration 1 interface 2 "Microsoft Microsoft\M-. 2.4GHz Transceiver v7.0" rev 2.00/6.33 addr 5
uhidev2: iclass 3/0, 8 report ids
uhid4 at uhidev2 reportid 3: input=1, output=0, feature=0
uhid5 at uhidev2 reportid 4: input=1, output=0, feature=0
uhid6 at uhidev2 reportid 7: input=7, output=0, feature=0
uhid7 at uhidev2 reportid 8: input=1, output=0, feature=0
umass2 at uhub1 port 2 configuration 1 interface 0 "Sunplus Technology Co.,Ltd. USB to Serial-ATA bridge" rev 2.00/1.12 addr 2
umass2: using SCSI over Bulk-Only
scsibus3 at umass2: 2 targets, initiator 0
cd0 at scsibus3 targ 1 lun 0: <Optiarc, DVD RW AD-7700S, 1.03> SCSI0 5/cdrom removable serial.04fc0c25FFFAFC0DF000
uhidev3 at uhub6 port 2 configuration 1 interface 0 "vendor 0x1bcf USB Optical Mouse" rev 2.00/0.13 addr 2
uhidev3: iclass 3/1, 1 report id
ums1 at uhidev3 reportid 1: 5 buttons, Z dir
wsmouse1 at ums1 mux 0
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 256 targets
root on sd0a (8a3d41c42d645ac6.a) swap on sd0b dump on sd0b
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
atascsi_passthru_done, timeout
sd8 at scsibus5 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed
sd8: 102403MB, 512 bytes/sector, 209722550 sectors

Last edited by Martillo; 21st June 2013 at 08:02 AM. Reason: from 'quote' to 'code'
Reply With Quote
Old 17th June 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Code:
josean@asuka.familyworks.local:/usr/src/sys/arch/amd64/compile/GENERIC.MP
This is -release. Which patches have been applied? Did you customize src/sys/arch/amd64/conf/GENERIC.MP?
Code:
mskc0 at pci5 dev 0 function 0 "Marvell Yukon 88E8056" rev 0x12, Yukon-2 EC Ultra rev. B0 (0x3): apic 8 int 18
msk0 at mskc0 port A: address 00:24:8c:94:76:52
eephy0 at msk0 phy 0: 88E1149 Gigabit PHY, rev. 1
.
.
.
mskc1 at pci6 dev 0 function 0 "Marvell Yukon 88E8056" rev 0x12, Yukon-2 EC Ultra rev. B0 (0x3): apic 8 int 17
msk1 at mskc1 port A: address 00:24:8c:94:76:51
eephy1 at msk1 phy 0: 88E1149 Gigabit PHY, rev. 1
I'd love to see the output from the following commands if the system is still operational after the failure of a put:

$ ifconfig
$ netstat -ni
$ netstat -nm
$ netstat -ns

And, if PF is used on the platform:

# pfctl -s info
# pfctl -s memory

Last edited by jggimi; 17th June 2013 at 12:07 PM. Reason: $ -> # for pfctl, and added -s memory
Reply With Quote
Old 17th June 2013
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

The system is amd64 5.3 patched until 007. No custom patches.

The network interface I use is msk0. The other one (msk1) has an inverse RJ45 cable attached (but not connected to anything else).

I could reproduce the smbclient malfunction and the loss of network at first intent. The outputs of the commands are:

$ ifconfig
Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33152
	priority: 0
	groups: lo
	inet6 ::1 prefixlen 128
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
	inet 127.0.0.1 netmask 0xff000000
msk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	lladdr 00:24:8c:94:76:52
	priority: 0
	groups: egress
	media: Ethernet autoselect (1000baseT full-duplex,rxpause,txpause)
	status: active
	inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
	inet6 fe80::224:8cff:fe94:7652%msk0 prefixlen 64 scopeid 0x1
msk1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
	lladdr 00:24:8c:94:76:51
	priority: 0
	media: Ethernet autoselect (none)
	status: no carrier
enc0: flags=0<>
	priority: 0
	groups: enc
	status: active
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33152
	priority: 0
	groups: pflog
$ netstat -ni
Code:
Name    Mtu   Network     Address              Ipkts Ierrs    Opkts Oerrs Colls
lo0     33152 <Link>                               0     0        0     0     0
lo0     33152 ::1/128     ::1                      0     0        0     0     0
lo0     33152 fe80::%lo0/ fe80::1%lo0              0     0        0     0     0
lo0     33152 127/8       127.0.0.1                0     0        0     0     0
msk0    1500  <Link>      00:24:8c:94:76:52    26132     0    81368     0     0
msk0    1500  192.168.1/2 192.168.1.11         26132     0    81368     0     0
msk0    1500  fe80::%msk0 fe80::224:8cff:fe    26132     0    81368     0     0
msk1*   1500  <Link>      00:24:8c:94:76:51        0     0        0     0     0
enc0*   0     <Link>                               0     0        0     0     0
pflog0  33152 <Link>                               0     0      622     0     0
$ netstat -nm
Code:
159 mbufs in use:
	99 mbufs allocated to data
	11 mbufs allocated to packet headers
	49 mbufs allocated to socket names and addresses
49/132/6144 mbuf 2048 byte clusters in use (current/peak/max)
0/8/6144 mbuf 4096 byte clusters in use (current/peak/max)
0/8/6144 mbuf 8192 byte clusters in use (current/peak/max)
13/84/6144 mbuf 9216 byte clusters in use (current/peak/max)
0/8/6144 mbuf 12288 byte clusters in use (current/peak/max)
0/8/6144 mbuf 16384 byte clusters in use (current/peak/max)
0/8/6144 mbuf 65536 byte clusters in use (current/peak/max)
956 Kbytes allocated to network (26% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
$ netstat -ns
Code:
ip:
	25901 total packets received
	0 bad header checksums
	0 with size smaller than minimum
	0 with data size < data length
	0 with header length < data size
	0 with data length < header length
	0 with bad options
	0 with incorrect version number
	0 fragments received
	0 fragments dropped (duplicates or out of space)
	0 malformed fragments dropped
	0 fragments dropped after timeout
	0 packets reassembled ok
	25273 packets for this host
	0 packets for unknown/unsupported protocol
	0 packets forwarded
	0 packets not forwardable
	0 redirects sent
	81162 packets sent from this host
	0 packets sent with fabricated ip header
	0 output packets dropped due to no bufs, etc.
	0 output packets discarded due to no route
	0 output datagrams fragmented
	0 fragments created
	0 datagrams that can't be fragmented
	0 fragment floods
	0 packets with ip length > max ip packet size
	0 tunneling packets that can't find gif
	0 datagrams with bad address in header
	0 input datagrams checksum-processed by hardware
	0 output datagrams checksum-processed by hardware
	0 multicast packets which we don't join
icmp:
	0 calls to icmp_error
	0 errors not generated because old message was icmp
	0 messages with bad code fields
	0 messages < minimum length
	0 bad checksums
	0 messages with bad length
	0 echo requests to broadcast/multicast rejected
	0 message responses generated
igmp:
	0 messages received
	0 messages received with too few bytes
	0 messages received with bad checksum
	0 membership queries received
	0 membership queries received with invalid field(s)
	0 membership reports received
	0 membership reports received with invalid field(s)
	0 membership reports received for groups to which we belong
	0 membership reports sent
ipencap:
	0 total input packets
	0 total output packets
	0 packets shorter than header shows
	0 packets dropped due to policy
	0 packets with possibly spoofed local addresses
	0 packets were dropped due to full output queue
	0 input bytes
	0 output bytes
	0 protocol family mismatches
	0 attempts to use tunnel with unspecified endpoint(s)
tcp:
	79091 packets sent
		64098 data packets (88704953 bytes)
		37 data packets (21290 bytes) retransmitted
		0 fast retransmitted packets
		9478 ack-only packets (10971 delayed)
		0 URG only packets
		0 window probe packets
		3276 window update packets
		2202 control packets
		0 packets hardware-checksummed
	23426 packets received
		5308 acks (for 88617780 bytes)
		714 duplicate acks
		0 acks for unsent data
		0 acks for old data
		16854 packets (17825735 bytes) received in-sequence
		419 completely duplicate packets (11457 bytes)
		0 old duplicate packets
		0 packets with some duplicate data (0 bytes duplicated)
		806 out-of-order packets (31944 bytes)
		0 packets (0 bytes) of data after window
		0 window probes
		6 window update packets
		132 packets received after close
		0 discarded for bad checksums
		0 discarded for bad header offset fields
		0 discarded because packet too short
		0 discarded for missing IPsec protection
		0 discarded due to memory shortage
		0 packets hardware-checksummed
		0 bad/missing md5 checksums
		0 good md5 checksums
	1101 connection requests
	0 connection accepts
	1097 connections established (including accepts)
	1099 connections closed (including 18 drops)
	0 connections drained
	0 embryonic connections dropped
	6379 segments updated rtt (of 5686 attempts)
	55 retransmit timeouts
		0 connections dropped by rexmit timeout
	0 persist timeouts
	0 keepalive timeouts
		0 keepalive probes sent
		0 connections dropped by keepalive
	36 correct ACK header predictions
	14957 correct data packet header predictions
	185 PCB cache misses
	0 ECN connections accepted
		0 ECE packets received
		0 CWR packets received
		0 CE packets received
		0 ECT packets sent
		0 ECE packets sent
		0 CWR packets sent
			cwr by fastrecovery: 2
			cwr by timeout: 55
			cwr by ecn: 0
	0 bad connection attempts
	0 SYN cache entries added
		0 hash collisions
		0 completed
		0 aborted (no space to build PCB)
		0 timed out
		0 dropped due to overflow
		0 dropped due to bucket overflow
		0 dropped due to RST
		0 dropped due to ICMP unreachable
	0 SYN,ACKs retransmitted
	0 duplicate SYNs received for entries already in the cache
	0 SYNs dropped (no route or no space)
	2 SACK recovery episodes
		2 segment rexmits in SACK recovery episodes
		2896 byte rexmits in SACK recovery episodes
	119 SACK options received
	22 SACK options sent
udp:
	1847 datagrams received
	0 with incomplete header
	0 with bad data length field
	0 with bad checksum
	0 with no checksum
	0 input packets hardware-checksummed
	0 output packets hardware-checksummed
	0 dropped due to no socket
	43 broadcast/multicast datagrams dropped due to no socket
	0 dropped due to missing IPsec protection
	0 dropped due to full socket buffers
	1804 delivered
	1819 datagrams output
	5 missed PCB cache
esp:
	0 input ESP packets
	0 output ESP packets
	0 packets from unsupported protocol families
	0 packets shorter than header shows
	0 packets dropped due to policy
	0 packets for which no TDB was found
	0 input packets that failed to be processed
	0 packets with bad encryption received
	0 packets that failed verification received
	0 packets for which no XFORM was set in TDB received
	0 packets were dropped due to full output queue
	0 packets where counter wrapping was detected
	0 possibly replayed packets received
	0 packets with bad payload size or padding received
	0 packets attempted to use an invalid TDB
	0 packets got larger than max IP packet size
	0 packets that failed crypto processing
	0 input UDP encapsulated ESP packets
	0 output UDP encapsulated ESP packets
	0 UDP packets for non-encapsulating TDB received
	0 input bytes
	0 output bytes
ah:
	0 input AH packets
	0 output AH packets
	0 packets from unsupported protocol families
	0 packets shorter than header shows
	0 packets dropped due to policy
	0 packets for which no TDB was found
	0 input packets that failed to be processed
	0 packets that failed verification received
	0 packets for which no XFORM was set in TDB received
	0 packets were dropped due to full output queue
	0 packets where counter wrapping was detected
	0 possibly replayed packets received
	0 packets with bad authenticator length received
	0 packets attempted to use an invalid TDB
	0 packets got larger than max IP packet size
	0 packets that failed crypto processing
	0 input bytes
	0 output bytes
etherip:
	0 packets shorter than header shows
	0 packets were dropped due to full output queue
	0 packets were dropped because of no interface/bridge information
	0 packets dropped due to policy
	0 packets dropped for other reasons
	0 input ethernet-in-IP packets
	0 output ethernet-in-IP packets
	0 input bytes
	0 output bytes
ipcomp:
	0 input IPCOMP packets
	0 output IPCOMP packets
	0 packets from unsupported protocol families
	0 packets shorter than header shows
	0 packets dropped due to policy
	0 packets for which no TDB was found
	0 input packets that failed to be processed
	0 packets for which no XFORM was set in TDB received
	0 packets were dropped due to full output queue
	0 packets where counter wrapping was detected
	0 packets attempted to use an invalid TDB
	0 packets got larger than max IP packet size
	0 packets that failed (de)compression processing
	0 packets less than minimum compression length
	0 input bytes
	0 output bytes
carp:
	0 packets received (IPv4)
	0 packets received (IPv6)
		0 packets discarded for bad interface
		0 packets discarded for wrong TTL
		0 packets shorter than header
		0 discarded for bad checksums
		0 discarded packets with a bad version
		0 discarded because packet too short
		0 discarded for bad authentication
		0 discarded for unknown vhid
		0 discarded because of a bad address list
	0 packets sent (IPv4)
	0 packets sent (IPv6)
		0 send failed due to mbuf memory error
	0 transitions to master
pfsync:
	0 packets received (IPv4)
	0 packets received (IPv6)
		0 packets discarded for bad interface
		0 packets discarded for bad ttl
		0 packets shorter than header
		0 packets discarded for bad version
		0 packets discarded for bad HMAC
		0 packets discarded for bad action
		0 packets discarded for short packet
		0 states discarded for bad values
		0 stale states
		0 failed state lookup/inserts
	0 packets sent (IPv4)
	0 packets sent (IPv6)
		0 send failed due to mbuf memory error
		0 send error
divert:
	0 total packets received
	0 dropped due to no socket
	0 dropped due to full socket buffers
	0 packets output
	0 errors
pflow:
	0 flows sent
	0 packets sent
		0 send failed due to mbuf memory error
		0 send error
ip6:
	0 total packets received
	0 with size smaller than minimum
	0 with data size < data length
	0 with bad options
	0 with incorrect version number
	0 fragments received
	0 fragments dropped (duplicates or out of space)
	0 fragments dropped after timeout
	0 fragments that exceeded limit
	0 packets reassembled ok
	0 packets for this host
	0 packets forwarded
	0 packets not forwardable
	0 redirects sent
	9 packets sent from this host
	0 packets sent with fabricated ip header
	0 output packets dropped due to no bufs, etc.
	0 output packets discarded due to no route
	0 output datagrams fragmented
	0 fragments created
	0 datagrams that can't be fragmented
	0 packets that violated scope rules
	0 multicast packets which we don't join
	Mbuf statistics:
		0 one mbufs
		0 one ext mbufs
		0 two or more ext mbufs
	0 tunneling packets that can't find gif
	0 packets discarded due to too many headers
	0 failures of source address selection
	0 forward cache hit
	0 forward cache miss
divert6:
	0 total packets received
	0 dropped due to no socket
	0 dropped due to full socket buffers
	0 packets output
	0 errors
icmp6:
	0 calls to icmp6_error
	0 errors not generated because old message was icmp6 or so
	0 errors not generated because of rate limitation
	Output packet histogram:
		multicast listener report: 8
		neighbor solicitation: 1
	0 messages with bad code fields
	0 messages < minimum length
	0 bad checksums
	0 messages with bad length
	Histogram of error messages to be generated:
		0 no route
		0 administratively prohibited
		0 beyond scope
		0 address unreachable
		0 port unreachable
		0 packet too big
		0 time exceed transit
		0 time exceed reassembly
		0 erroneous header field
		0 unrecognized next header
		0 unrecognized option
		0 redirect
		0 unknown
	0 message responses generated
	0 messages with too many ND options
	0 messages with bad ND options
	0 bad neighbor solicitation messages
	0 bad neighbor advertisement messages
	0 bad router solicitation messages
	0 bad router advertisement messages
	0 bad redirect messages
	0 path MTU changes
pim6:
	0 messages received
	0 messages received with too few bytes
	0 messages received with bad checksum
	0 messages received with bad version
	0 registers received
	0 bad registers received
	0 registers sent
rip6:
	0 messages received
	0 checksum calculations on inbound
	0 messages with bad checksum
	0 messages dropped due to no socket
	0 multicast messages dropped due to no socket
	0 messages dropped due to full socket buffers
	0 delivered
	0 datagrams output
# pfctl -s info
Code:
Status: Enabled for 0 days 02:37:13              Debug: err

State Table                          Total             Rate
  current entries                       19               
  searches                          107103           11.4/s
  inserts                             2406            0.3/s
  removals                            2387            0.3/s
Counters
  match                               3038            0.3/s
  bad-offset                             0            0.0/s
  fragment                               0            0.0/s
  short                                  0            0.0/s
  normalize                              0            0.0/s
  memory                                 0            0.0/s
  bad-timestamp                          0            0.0/s
  congestion                             0            0.0/s
  ip-option                            628            0.1/s
  proto-cksum                            0            0.0/s
  state-mismatch                         0            0.0/s
  state-insert                           0            0.0/s
  state-limit                            0            0.0/s
  src-limit                              0            0.0/s
  synproxy                               0            0.0/s
# pfctl -s memory
Code:
states        hard limit    10000
src-nodes     hard limit    10000
frags         hard limit     1536
tables        hard limit     1000
table-entries hard limit   200000
Reply With Quote
Old 17th June 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Thank you very much! The good news:
  • You aren't using jumbo frames -- which sometimes can be a problem for network components.
  • The link is active, running 1000BaseT full-duplex and there are no local LAN errors recorded by the NIC (and confirmed by no IP protocol problems).
  • There is no issue with network capacity: neither mbufs nor PF state table entries show a problem.
I do see what appears to be some TCP windowing and retry issues -- it is just a guess on my part but packet normalization within PF ("scrub") may be incorrectly configured. See the Packet Normalization section of pf.conf(5) for details.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cursor skipping/freezing when rendering pages in Chromium GullibleJones OpenBSD Packages and Ports 5 9th February 2012 11:28 PM
Router blocking downloading/ limit downloading kelly General software and network 2 24th August 2011 08:13 PM
block downloading using router ajak General software and network 4 20th March 2010 10:46 PM
8.0 Release freezing - softdep_deallocate_dependancies unrecovered I/O error AncientDragonfly FreeBSD General 27 31st December 2009 12:23 AM
Downloading free OpenBSD issue karolina OpenBSD General 1 19th June 2009 10:36 AM


All times are GMT. The time now is 05:13 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick