Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2002 15:00:02 -0700
From:      Chris Konger <chris@konger.net>
To:        freebsd-mobile@freebsd.org
Cc:        wpaul@ctr.columbia.edu, imp@freebsd.org, nvalster@agere.com
Subject:   wep and wi_seek errors
Message-ID:  <3D558CE2.ABD03A79@konger.net>
References:  <3D1894E7.389767B7@konger.net> <20020630205917.GA63953@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------A1294A6BBA46995129BFD6D8
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

One of the machines noted below was upgraded to 4.6-Rel and I saw 
the same wi errs/lockups during bulk transfers. This time I tried 
disabling WEP between two hosts and all worked perfectly. Yeah, I
know that's probably the first thing I should've tried! I Xferred
several hundred megs with impunity. It seems the card bridges can
now be excluded as causative - it sounds like an ORiNOCO firmware
issue rather than driver but I may be wrong. At least now I know 
a workaround. Woo hoo! :)

Chris

-------- Original Message --------
Subject: wi_seek errors
Date: Thu, 04 Jul 2002 15:13:17 -0700
From: Chris Konger <chris@konger.net>
CC: freebsd-mobile@freebsd.org
References: <3D1894E7.389767B7@konger.net> 
<20020630205917.GA63953@genius.tao.org.uk>

When doing bulk transfers (40-80 MB+) I see wi_seek errors on two
4.5-Rel boxen with differing motherboard/chipsets and card bridges:

  ASUS CUWE-RM 500MHz, ORiNOCO PCI-Cardbus Bridge (TI PCI-1410) 
  EM Florida-TG 433MHz, ORiNOCO ISA-Cardbus Bridge (Vadem 469) 

Eventually the interface fails. I see numerous postings of others
seeing the same errors. Has anyone pinned down the problem? All of
my ORiNOCO Gold cards are running the latest 8.10 firmware (one 
person said upgrading to 8.10 fixed their system, perhaps I should
trying retroing to earlier 7.52 or 7.28 images? *impish grin*)

I also tried testing the wi drivers from -Stable but still see the 
same errs. I've test pcic polling, explicit interrupts, etc, with
no success. I've attached condensed logs from one box showing the 
results from all these runs, but the general pattern is ...

  everything initializes properly
  all is well (for hours/days/months) until you try a prolonged 
    xfer 40-80+ MB (e.g., backup of PC to server via Samba)
  wi0:timeout in wi_seek to NNNN/NN; last status NNNN
    [repeat a number of times]
  wi0:xmit failed
    [other nastygrams]

After that point the only way to get things working again is to
down/up the interface. I don't know how to interpret the NNNN/NN's 
and so am stuck until more knowledgeable people provide assistance.

Thanks for any suggestions/feedback you can provide!

Chris Konger
--------------A1294A6BBA46995129BFD6D8
Content-Type: text/plain; charset=us-ascii;
 name="wi-errs.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="wi-errs.txt"

PCIC Polling 4.5-Release driver
---------------------------------
08:29:59 em433i /kernel: pcic0: <Vadem 469> at port 0x3e0 iomem 0xd0000 
on isa0
08:29:59 em433i /kernel: pcic0: Polling mode
08:29:59 em433i /kernel: pccard0: <PC Card bus (classic)> on pcic0
08:29:59 em433i /kernel: pccard1: <PC Card bus (classic)> on pcic0 
08:30:02 em433i pccardd[52]: Card "Lucent Technologies"("WaveLAN/IEEE") 
[Version 01.01] [] matched "Lucent Technologies" ("WaveLAN/IEEE") [(null)]
[(null)]
08:30:07 em433i /kernel: wi0: <WaveLAN/IEEE 802.11> at port 0x100-0x13f 
irq 11 slot 0 on pccard0
08:30:07 em433i /kernel: wi0: Ethernet address: 00:02:2d:0b:76:3a
08:30:07 em433i pccardd[52]: wi0: Lucent Technologies (WaveLAN/IEEE) 
inserted.
08:30:14 em433i pccardd[52]: pccardd started   

   --- do heavy net transfer during lunch ---

12:39:56 em433i /kernel: wi0: timeout in wi_seek to 1f7/0; last status 
9b41
12:39:56 em433i /kernel: wi0: timeout in wi_seek to 1f7/44; last status
9b41
12:39:56 em433i /kernel: wi0: xmit failed 

explicit IRQs (conf files and machdep.pccard.pcic_irq) -Stable
---------------------------------------------------------------

17:58:31 em433i /kernel: pcic0: <Vadem 469> at port 0x3e0 iomem 0xd0000 
irq 11 on isa0
17:58:31 em433i /kernel: pcic0: management irq 11
17:58:31 em433i /kernel: pccard0: <PC Card bus (classic)> on pcic0
17:58:31 em433i /kernel: pccard1: <PC Card bus (classic)> on pcic0  
17:58:31 em433i /kernel: pccard: card inserted, slot 0 
17:58:34 em433i pccardd[52]: Card "Lucent Technologies"("WaveLAN/IEEE") 
[Version 01.01] [] matched "Lucent Technologies" ("WaveLAN/IEEE") [(null)]
[(null)]    
17:58:39 em433i /kernel: wi0 at port 0x100-0x13f irq 10 slot 0 on pccard0
17:58:39 em433i /kernel: wi0: 802.11 address: 00:02:2d:0b:76:3a
17:58:39 em433i /kernel: wi0: using Lucent Technologies, WaveLAN/IEEE
17:58:39 em433i /kernel: wi0: Lucent Firmware: Station 8.10.01
17:58:39 em433i pccardd[52]: wi0: Lucent Technologies (WaveLAN/IEEE) 
inserted.
17:58:46 em433i pccardd[52]: pccardd started    

   --- do heavy net transfer ---

18:01:24 em433i /kernel: wi0: timeout in wi_seek to a300/0; last status 
4000
18:01:28 em433i /kernel: wi0: timeout in wi_seek to 1d00/0; last status 
4000
18:01:35 em433i last message repeated 2 times
18:02:57 em433i /kernel: wi0: timeout in wi_seek to 1d00/0; last status
4000
18:03:01 em433i /kernel: wi0: timeout in wi_seek to a300/0; last status
4000
18:03:03 em433i /kernel: wi0: timeout in wi_seek to 1d00/0; last status
4000  
    [snip]
18:05:09 em433i last message repeated 3 times
18:05:11 em433i /kernel: wi0: timeout in wi_seek to a300/0; last status
4000
18:05:15 em433i last message repeated 3 times
18:05:42 em433i /kernel: wi0: timeout in wi_seek to 1f7/0; last status
8085
18:05:42 em433i /kernel: wi0: timeout in wi_seek to 1f7/44; last status
8085
18:05:42 em433i /kernel: wi0: timeout in wi_cmd 0x010b; event status 
0x0000
18:05:42 em433i /kernel: wi0: xmit failed
18:06:40 em433i /kernel: wi0: watchdog timeout

   --- try to down/up the interface  ---

18:06:40 em433i /kernel: wi0: wi_cmd: busy bit won't clear.
18:06:40 em433i last message repeated 3 times
18:06:40 em433i /kernel: wi0: init failed   

18:06:40 em433i /kernel: wi0: timeout in wi_seek to fc01/0; last status
800b
18:06:40 em433i /kernel: wi0: timeout in wi_seek to fc20/0; last status
800b
18:06:40 em433i /kernel: wi0: timeout in wi_seek to fcb1/0; last status
800b
18:06:40 em433i /kernel: wi0: timeout in wi_seek to fcb0/0; last status
800b
18:06:40 em433i /kernel: wi0: timeout in wi_seek to fc85/0; last status
800b
18:06:40 em433i /kernel: wi0: timeout in wi_seek to fc80/0; last status
800b

   --- try to down/up the interface  ---

18:06:40 em433i /kernel: wi0: wi_cmd: busy bit won't clear.
18:06:40 em433i /kernel: wi0: wi_cmd: busy bit won't clear.
18:06:40 em433i /kernel: wi0: failed to allocate 1594 bytes on NIC
18:06:40 em433i /kernel: wi0: tx buffer allocation failed
18:06:40 em433i /kernel: wi0: wi_cmd: busy bit won't clear.
18:06:40 em433i /kernel: wi0: failed to allocate 1594 bytes on NIC
18:06:40 em433i /kernel: wi0: mgmt. buffer allocation failed   

   --- try to down/up the interface  ---

18:06:40 em433i /kernel: wi0: wi_cmd: busy bit won't clear.
18:06:40 em433i /kernel: wi0: wi_cmd: busy bit won't clear.
18:06:40 em433i /kernel: wi0: failed to allocate 1594 bytes on NIC
18:06:40 em433i /kernel: wi0: tx buffer allocation failed
18:06:40 em433i /kernel: wi0: wi_cmd: busy bit won't clear.
18:06:40 em433i /kernel: wi0: failed to allocate 1594 bytes on NIC
18:06:40 em433i /kernel: wi0: mgmt. buffer allocation failed
18:07:45 em433i /kernel: wi0: wi_cmd: busy bit won't clear. 

Polling def'd for pcic w/ mgmt ip def'd, wi0 on different irq -release
---------------------------------------------------------------------

18:16:50 em433i /kernel: pcic0: <Vadem 469> at port 0x3e0 iomem 0xd0000 
         on isa0
18:16:50 em433i /kernel: pcic0: management irq 10
18:16:50 em433i /kernel: pccard0: <PC Card bus (classic)> on pcic0
18:16:50 em433i /kernel: pccard1: <PC Card bus (classic)> on pcic0
18:16:50 em433i /kernel: pccard: card inserted, slot 0 
18:16:53 em433i pccardd[51]: Card "Lucent Technologies"("WaveLAN/IEEE") 
[Version 01.01] [] matched "Lucent Technologies" ("WaveLAN/IEEE") [(null)]
[(null)]
18:16:58 em433i /kernel: wi0 at port 0x100-0x13f irq 11 slot 0 on pccard0
18:16:58 em433i /kernel: wi0: 802.11 address: 00:02:2d:0b:76:3a
18:16:58 em433i /kernel: wi0: using Lucent Technologies, WaveLAN/IEEE
18:16:58 em433i /kernel: wi0: Lucent Firmware: Station 8.10.01
18:16:58 em433i pccardd[51]: wi0: Lucent Technologies (WaveLAN/IEEE) 
inserted.                                                                
18:17:05 em433i pccardd[51]: pccardd started  

   --- do heavy net transfer ---

18:18:58 em433i /kernel: wi0: timeout in wi_seek to 1f7/0; last status c3cc
18:18:58 em433i /kernel: wi0: timeout in wi_seek to 1f7/44; last status c3cc
18:18:58 em433i /kernel: wi0: timeout in wi_cmd 0x010b; event status 0x0000
18:18:58 em433i /kernel: wi0: xmit failed  


--------------A1294A6BBA46995129BFD6D8--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D558CE2.ABD03A79>