wi1: device timeout

From: Jan Vyhlidka <Norick_at_seznam.cz>
Date: Sun, 17 Oct 2004 17:08:35 +0200
I have got this problem since BETA4, but some time it was less frequent then it is now. I have 3 wi devices and problems appear only on that, which is used by ospfd(but neighbor router uses similar configuration and doesnt have aby problems with that, so i dont blame ospfd). When i switched the link to wi2, wi1 stopped timeouting(but wasnt used) and wi2 started, so i dont think that it is hw problem. I would be most grateful for any advice..

Here are some pieces of information:

norick_at_norick:/sys/i386/conf# uname -a
FreeBSD norick.slivenec.czf 5.3-RC1 FreeBSD 5.3-RC1 #3: Sun Oct 17 14:12:17 CEST 2004     norick_at_norick.slivenec.czf:/cvs/src-releng/sys/i386/compile/NORICK-ALL  i386

less /var/log/messages
Oct 17 15:00:01 norick newsyslog[3165]: logfile turned over due to size>100K
Oct 17 15:00:14 norick kernel: wi1: device timeout
Oct 17 15:00:46 norick last message repeated 4 times
Oct 17 15:02:45 norick last message repeated 13 times
Oct 17 15:12:46 norick last message repeated 59 times
Oct 17 15:22:47 norick last message repeated 62 times
Oct 17 15:32:49 norick last message repeated 58 times
Oct 17 15:42:48 norick last message repeated 54 times
Oct 17 15:43:31 norick last message repeated 5 times
Oct 17 16:02:42 norick last message repeated 28 times
Oct 17 16:12:46 norick last message repeated 66 times
Oct 17 16:22:42 norick last message repeated 64 times
Oct 17 16:32:44 norick last message repeated 59 times

norick_at_norick:/sys/i386/conf# netstat -m
73 mbufs in use
1/18048 mbuf clusters in use (current/max)
0/4/2480 sfbufs in use (current/peak/max)
20 KBytes allocated to network
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines

here you can see changes in mbuf behavior:
Sun Oct 17 16:37:58 CEST 2004
6 mbufs in use
Sun Oct 17 16:37:59 CEST 2004
6 mbufs in use
Sun Oct 17 16:38:00 CEST 2004
6 mbufs in use
Sun Oct 17 16:38:01 CEST 2004
61 mbufs in use
Sun Oct 17 16:38:02 CEST 2004
61 mbufs in use
Sun Oct 17 16:38:03 CEST 2004
61 mbufs in use
Sun Oct 17 16:38:05 CEST 2004
61 mbufs in use
Sun Oct 17 16:38:06 CEST 2004
6 mbufs in use
Sun Oct 17 16:38:07 CEST 2004
6 mbufs in use
Sun Oct 17 16:38:08 CEST 2004
6 mbufs in use
Sun Oct 17 16:38:10 CEST 2004
78 mbufs in use
Sun Oct 17 16:38:11 CEST 2004
72 mbufs in use
Sun Oct 17 16:38:12 CEST 2004
72 mbufs in use
Sun Oct 17 16:38:13 CEST 2004
72 mbufs in use
Sun Oct 17 16:38:14 CEST 2004
6 mbufs in use
Sun Oct 17 16:38:15 CEST 2004
6 mbufs in use
Sun Oct 17 16:38:16 CEST 2004
7 mbufs in use
Sun Oct 17 16:38:18 CEST 2004
68 mbufs in use
Sun Oct 17 16:38:19 CEST 2004
68 mbufs in use
Sun Oct 17 16:38:20 CEST 2004
68 mbufs in use
Sun Oct 17 16:38:21 CEST 2004
65 mbufs in use
Sun Oct 17 16:38:22 CEST 2004
8 mbufs in use
Sun Oct 17 16:38:24 CEST 2004
57 mbufs in use
Sun Oct 17 16:38:25 CEST 2004
58 mbufs in use
Sun Oct 17 16:38:26 CEST 2004
58 mbufs in use

norick_at_norick:/sys/i386/conf# ping slima
PING slima (10.16.64.17): 56 data bytes
ping: sendto: No buffer space available
ping: sendto: No buffer space available
ping: sendto: No buffer space available
^C
--- slima ping statistics ---
20 packets transmitted, 0 packets received, 100% packet loss

norick_at_norick:/sys/i386/conf# less /boot/loader.conf 
debug.mpsafenet=0    some time i have used 1, then i switched to 0, but it didnt help
autoboot_delay="3"
hw.ata.wc=0
kern.ipc.nmbclusters=18048
kern.ipc.nmbufs=36096

my kernel config - non-default options
options         IPDIVERT
options         IPSTEALTH

options         ALTQ
options         ALTQ_CBQ
options         ALTQ_RED
options         ALTQ_RIO
options         ALTQ_HFSC
options         ALTQ_CDNR
options         ALTQ_PRIQ
options         ALTQ_NOPCC

options         NMBCLUSTERS=4096
options         NBUF=4096
options         GEOM_BDE

device          pf
device          pflog
device          pfsync

These i added to the last kernel just to check, whether something changes, but i wasnt sure od their  purpose
options         NET_WITH_GIANT - this i added
options INVARIANTS              #Enable calls of extra sanity checking
options INVARIANT_SUPPORT       #Extra sanity checks of internal structures, required by INVARIANTS
options WITNESS                 #Enable checks to detect deadlocks and cycles

norick_at_norick:/sys/i386/conf# vmstat -m

        Type  InUse MemUse HighUse Requests  Size(s)
  ISOFS mount     1    64K     64K        1
       isadev    34     3K      3K       34  64
     atkbddev     2     1K      1K        2  32
         $PIR     6     1K      1K        6  32
         GEOM   142    18K     34K      776  16,32,64,128,256,512,1024,2048,4096
     nexusdev     2     1K      1K        2  16
    legacydrv     4     1K      1K        4  16
   pfs_fileno     1    20K     20K        1
      UMAHash     2     1K      1K        3  256,512
    VM pgdata     3    17K     17K        3  64
    pfs_nodes    20     3K      3K       20  128
MSDOSFS mount     1    32K     32K        1
        DEVFS   294    41K     41K      400  16,32,128,4096
    UFS mount    21    48K     48K       21  256,2048,4096
    UFS ihash     1    64K     64K        1
  UFS dirhash   126    23K     23K      126  16,32,64,128,512
       dirrem     1     1K      1K      690  32
        mkdir     0     0K      1K        6  32
       diradd     0     0K      2K      743  32
     freefile     0     0K      1K      359  32
     freeblks     1     1K      4K      309  256
     freefrag     0     0K      1K      200  32
   allocindir     0     0K     14K      366  64
     indirdep     0     0K     33K      207  32
  allocdirect     0     0K      6K      800  128
    bmsafemap     1     1K      1K      419  32
       newblk     1     1K      1K     1167  64,256
     inodedep     2    65K     79K     1119  128,256
      pagedep     4     9K     10K      476  64
     p1003.1b     1     1K      1K        1  16
   NFS daemon     1     1K      1K        1  256
     NFS hash     1    64K     64K        1
 ip6_moptions     1     1K      1K        1  16
    in6_multi    16     1K      1K       16  64
     syncache     1     8K      8K        1
    hostcache     1    24K     24K        1
  ip_moptions     1     1K      1K        1  128
     in_multi    15     1K      1K       16  32
         igmp     3     1K      1K        3  16
    80211node     7     2K      3K    58152  256
     routetbl   176    11K     16K     2313  16,32,64,128,256,512
       USBdev     4     2K      2K        4  128,512
          USB    16     2K      2K       16  16,32,64,128,256
           lo     5     5K      5K        5  1024
        clone     6    24K     24K        6  4096
  ether_multi   128     6K      6K      133  16,32,64
       ifaddr   224    28K     28K      228  16,32,64,256,512,2048
          BPF    37    99K     99K       37  32,64,128,256,4096
        mount    23    10K     10K       28  16,32,128,1024
       vnodes    50     8K      8K      187  16,32,64,128,256
cluster_save buffer     0     0K      1K       31  32,64
     vfscache     1   128K    128K        1
   BIO buffer   267   534K    534K      275  2048
          pcb    45     5K      5K      816  16,32,64,2048
       soname    16     2K      2K    70197  16,32,128
          tag     0     0K      1K     1290  32
         ptys     4     1K      1K        4  128
         ttys  1436   188K    188K     3221  128,512
          shm     1    12K     12K        1
          sem     4     7K      7K        4  512,1024,4096
          msg     4    25K     25K        4  512,4096
          iov     0     0K      1K    62365  16,64,128
     ioctlops     0     0K      1K       54  256,512,1024
      entropy  1024    64K     64K     1024  64
   turnstiles   201    13K     13K      201  64
    taskqueue     5     1K      1K        5  64
 sleep queues   201     7K      7K      201  32
         sbuf     0     0K     29K      460  16,32,64,128,256,512,1024,2048,4096
         rman    79     5K      6K      605  16,64
         kobj   214   428K    428K      262  2048
   ACD driver     1     2K      2K        1  2048
 eventhandler    45     3K      3K       45  32,128
      devstat    14    29K     29K       14  16,4096
    AR driver     1     1K      3K        7  64,256,2048
       bus-sc    32    46K    134K      589  16,64,128,256,512,1024,2048,4096
          bus   737    28K     73K     2020  16,32,64,128,1024
         SWAP     4    93K     93K        4  64
    sysctltmp     0     0K      1K      430  16,32,64,128,512
    sysctloid  1205    36K     36K     1205  16,32,64
       sysctl     0     0K      1K    27807  16,32,64
      uidinfo    17     1K      1K      685  32,256
       plimit    21     6K      7K    26536  256
    AD driver     3     1K      1K        3  128
         cred    66     9K     10K   103392  128
      subproc   233   563K    644K    74476  32,4096
         proc     2     2K      2K        2  1024
      session    39     5K      6K      177  128
         pgrp    49     4K      4K      330  64
      ATA DMA     2     1K      1K        2  128
     mtx_pool     1     8K      8K        1
       module   332    21K     21K      332  64
       ip6ndp    16     2K      2K       17  64,128
       ip6opt     1     1K      1K        1  128
         temp     7   106K    115K    53060  16,32,64,128,256,512,1024,2048,4096
       devbuf   252  1179K   1179K      271  16,32,64,128,256,512,2048,4096
        lockf    28     2K      2K     1369  64
       linker    48     2K      2K      106  16,32,256
       KTRACE   100    13K     13K      100  128
      ithread    47     5K      5K       48  64,128
       zombie     0     0K      1K    25413  128
    proc-args    78     6K      8K    23961  16,32,64,128,256
       kqueue     0     0K      4K     1006  128,1024
         kenv   103     6K      6K      104  16,32,64,2048
        sigio     1     1K      1K        1  32
    file desc   165    42K     46K    25582  16,256,512
         cdev    68    17K     17K       68  256
        pf_if    38     8K      8K       38  16,256,2048
       pfsync     1     1K      1K        1  1024
  ATA generic     8     3K      3K        8  16,512
        pflog     1     1K      1K        1  1024


Best Reagrds Jan Vyhlidka

Received on Sun Oct 17 2004 - 13:09:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:17 UTC