hmm, on Sun, Oct 17, 2010 at 08:14:34PM +0200, I??igo Ortiz de Urbina said that
> Maybe u can set debug on iwn using ifconfig. That would help troubleshooting.
> 
> Also, show output of ifconfig

$ sudo ifconfig iwn0 debug 255
$ ifconfig iwn0
iwn0: flags=8847<UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:21:5c:04:9e:19
        priority: 4
        groups: wlan egress
        media: IEEE802.11 autoselect (DS1 mode 11g)
        status: active
        ieee80211: nwid xxxxxx chan 11 bssid xx:xx:xx:xx:xx:xx 206dB wpapsk 
<not displayed> wpaprotos wpa1,wpa2 wpaakms psk wpaciphers tkip,ccmp 
wpagroupcipher tkip
        inet6 fe80::221:5cff:fe04:9e19%iwn0 prefixlen 64 scopeid 0x2
        inet xx.xx.xx.xx netmask 0xffffff00 broadcast xx.xx.xx.255
$ netstat -ni
Name    Mtu   Network     Address              Ipkts Ierrs    Opkts Oerrs Colls
lo0     33200 <Link>                           92115     0    92115     0     0
lo0     33200 ::1/128     ::1                  92115     0    92115     0     0
lo0     33200 fe80::%lo0/ fe80::1%lo0          92115     0    92115     0     0
lo0     33200 127/8       127.0.0.1            92115     0    92115     0     0
lii0*   1500  <Link>      fe:e1:ba:d0:6b:b3        0     0        0     0     0
iwn0    1500  <Link>      00:21:5c:04:9e:19   365841  6544   237425     4     0
iwn0    1500  fe80::%iwn0 fe80::221:5cff:fe   365841  6544   237425     4     0
iwn0    1500  10.13.37/24 10.13.37.34         365841  6544   237425     4     0
enc0*   0     <Link>                               0     0        0     0     0
pflog0  33200 <Link>                               0     0       12     0     0

i started a tcpbench session between my 2 notebooks
so i have lots of traffic.  the Ierrs is rising by the second.

the last messages from iwn0 are about the handshake to connect
to my dhcp server.

iwn0: received msg 1/4 of the 4-way handshake from xx:xx:xx:xx:xx:xx
iwn0: sending msg 2/4 of the 4-way handshake to xx:xx:xx:xx:xx:xx
iwn0: received msg 3/4 of the 4-way handshake from xx:xx:xx:xx:xx:xx
iwn0: sending msg 4/4 of the 4-way handshake to xx:xx:xx:xx:xx:xx

nfo |grep iwn
iwn-firmware-5.5    Firmware binary images for iwn driver

sorry about the late answer, hope it helps.

-f

> 
> On 10/17/10, frantisek holop <min...@obiit.org> wrote:
> > hi there,
> >
> > i am runing -current with iwn and i notice a high
> > number of Ierr's in netstat -ni.
> > 0 would be ideal, right?
> >
> >
> > i am using the latest firmware from iwn(4)
> >
> > $ netstat -ni
> > Name    Mtu   Network     Address              Ipkts Ierrs    Opkts Oerrs
> > Colls
> > lo0     33200 <Link>                           15262     0    15262     0
> >  0
> > lo0     33200 127/8       127.0.0.1            15262     0    15262     0
> >  0
> > lo0     33200 ::1/128     ::1                  15262     0    15262     0
> >  0
> > lo0     33200 fe80::%lo0/ fe80::1%lo0          15262     0    15262     0
> >  0
> > lii0*   1500  <Link>      fe:e1:ba:d0:6b:b3        0     0        0     0
> >  0
> > iwn0    1500  <Link>      00:21:5c:04:9e:19     7670   429     6903     0
> >  0
> > iwn0    1500  fe80::%iwn0 fe80::221:5cff:fe     7670   429     6903     0
> >  0
> > iwn0    1500  10.13.37/24 10.13.37.30           7670   429     6903     0
> >  0
> > enc0*   0     <Link>                               0     0        0     0
> >  0
> > pflog0  33200 <Link>                               0     0        0     0
> >  0
> >
> > this is just 20m after reboot. with heavy traffic,
> > it increases by the second..
> >
> >
> > OpenBSD 4.8-current (GENERIC) #435: Thu Oct 14 13:37:41 MDT 2010
> >     dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
> > cpu0: Intel(R) Celeron(R) M processor 900MHz ("GenuineIntel" 686-class) 631
> > MHz
> > cpu0:
> > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF
> > real mem  = 527527936 (503MB)
> > avail mem = 508899328 (485MB)
> > mainbus0 at root
> > bios0 at mainbus0: AT/286+ BIOS, date 03/11/09, BIOS32 rev. 0 @ 0xf0010,
> > SMBIOS rev. 2.5 @ 0xf06e0 (37 entries)
> > bios0: vendor American Megatrends Inc. version "1302" date 03/11/2009
> > bios0: ASUSTeK Computer INC. 701
> > acpi0 at bios0: rev 0
> > acpi0: sleep states S0 S3 S4 S5
> > acpi0: tables DSDT FACP APIC OEMB MCFG
> > acpi0: wakeup devices P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) P0P7(S4) MC97(S4)
> > USB1(S3) USB2(S3) USB3(S3) USB4(S3) EUSB(S3)
> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: apic clock running at 70MHz
> > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
> > acpiprt0 at acpi0: bus 0 (PCI0)
> > acpiprt1 at acpi0: bus 5 (P0P3)
> > acpiprt2 at acpi0: bus 3 (P0P5)
> > acpiprt3 at acpi0: bus 1 (P0P6)
> > acpiec0 at acpi0
> > acpicpu0 at acpi0: C3, C2
> > acpitz0 at acpi0: critical temperature 90 degC
> > acpibat0 at acpi0: BAT0 model "701" serial   type LION oem "ASUS"
> > acpiac0 at acpi0: AC unit offline
> > acpiasus0 at acpi0
> > acpibtn0 at acpi0: LID_
> > acpibtn1 at acpi0: SLPB
> > acpibtn2 at acpi0: PWRB
> > acpivideo0 at acpi0: VGA_
> > acpivout0 at acpivideo0: CRTD
> > acpivout1 at acpivideo0: TVOD
> > acpivout2 at acpivideo0: LCDD
> > bios0: ROM list: 0xc0000/0xf800!
> > pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> > pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x04
> > vga1 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x04
> > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> > wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> > intagp0 at vga1
> > agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
> > inteldrm0 at vga1: apic 1 int 16 (irq 5)
> > drm0 at inteldrm0
> > "Intel 82915GM Video" rev 0x04 at pci0 dev 2 function 1 not configured
> > azalia0 at pci0 dev 27 function 0 "Intel 82801FB HD Audio" rev 0x04: apic 1
> > int 16 (irq 5)
> > azalia0: codecs: Realtek ALC662
> > audio0 at azalia0
> > ppb0 at pci0 dev 28 function 0 "Intel 82801FB PCIE" rev 0x04: apic 1 int 16
> > (irq 5)
> > pci1 at ppb0 bus 4
> > ppb1 at pci0 dev 28 function 1 "Intel 82801FB PCIE" rev 0x04: apic 1 int 17
> > (irq 11)
> > pci2 at ppb1 bus 3
> > lii0 at pci2 dev 0 function 0 "Attansic Technology L2" rev 0xa0: apic 1 int
> > 17 (irq 11), address 71:ec:da:32:72:24
> > ukphy0 at lii0 phy 1: Generic IEEE 802.3u media interface, rev. 2: OUI
> > 0x001374, model 0x0002
> > ppb2 at pci0 dev 28 function 2 "Intel 82801FB PCIE" rev 0x04: apic 1 int 18
> > (irq 10)
> > pci3 at ppb2 bus 1
> > iwn0 at pci3 dev 0 function 0 "Intel Wireless WiFi Link 4965" rev 0x61: apic
> > 1 int 18 (irq 10), MIMO 2T3R, MoW2, address 00:21:5c:04:9e:19
> > uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x04: apic 1 int 23
> > (irq 3)
> > uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x04: apic 1 int 19
> > (irq 7)
> > uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x04: apic 1 int 18
> > (irq 10)
> > uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x04: apic 1 int 16
> > (irq 5)
> > ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x04: apic 1 int 23
> > (irq 3)
> > usb0 at ehci0: USB revision 2.0
> > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> > ppb3 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd4
> > pci4 at ppb3 bus 5
> > ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x04: PM
> > disabled
> > pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x04: DMA,
> > channel 0 wired to compatibility, channel 1 wired to compatibility
> > wd0 at pciide0 channel 1 drive 0: <SILICONMOTION SM223AC>
> > wd0: 1-sector PIO, LBA, 3815MB, 7815024 sectors
> > wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4
> > ichiic0 at pci0 dev 31 function 3 "Intel 82801FB SMBus" rev 0x04: apic 1 int
> > 19 (irq 0)
> > iic0 at ichiic0
> > spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM
> > usb1 at uhci0: USB revision 1.0
> > uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> > usb2 at uhci1: USB revision 1.0
> > uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> > usb3 at uhci2: USB revision 1.0
> > uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> > usb4 at uhci3: USB revision 1.0
> > uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> > isa0 at ichpcib0
> > 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
> > pms0 at pckbc0 (aux slot)
> > pckbc0: using irq 12 for aux slot
> > wsmouse0 at pms0 mux 0
> > pcppi0 at isa0 port 0x61
> > spkr0 at pcppi0
> > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
> > mtrr: Pentium Pro MTRR support
> > umass0 at uhub0 port 5 configuration 1 interface 0 "ENE UB6225" rev
> > 2.00/1.00 addr 2
> > umass0: using SCSI over Bulk-Only
> > scsibus0 at umass0: 2 targets, initiator 0
> > sd0 at scsibus0 targ 1 lun 0: <USB2.0, CardReader SD0, 0100> SCSI0 0/direct
> > removable
> > sd0: 945MB, 512 bytes/sec, 1935360 sec total
> > vscsi0 at root
> > scsibus1 at vscsi0: 256 targets
> > softraid0 at root
> > root on wd0a swap on wd0b dump on wd0b
> > --
> > teaching is the art of assisting discovery.

-- 
light at end of tunnel will be out until further notice.

Reply via email to