[#4955] 548 SDH: netperf, iperf triggers libertas error

Document created by Aaronwu Employee on Aug 30, 2013
Version 1Show Document
  • View in full screen mode

[#4955] 548 SDH: netperf, iperf triggers libertas error

Submitted By: Yi Li

Open Date

2009-03-03 03:35:18     Close Date

2009-04-13 22:36:22

Priority:

Medium     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

snaps     Release:

Category:

N/A     Board:

EZKIT Lite

Processor:

BF548     Silicon Revision:

0.2

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

svn trunk 4.1

App binary format:

N/A     

Summary: 548 SDH: netperf, iperf triggers libertas error

Details:

 

uclinux-dist: r7816

linux-kernel: r6137

 

iperf server runs on a Dell D610 PC running ubuntu-8.10

$iperf -s

 

The BF548-ezkit and PC are connected via a linksys AP.

 

 

root:/> iwconfig                                                                                                        

lo        no wireless extensions.                                                                                       

                                                                                                                        

eth0      no wireless extensions.                                                                                       

                                                                                                                        

eth1      IEEE 802.11b/g  ESSID:"linksys"                                                                               

          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:1A:70:D4:94:C7                                            

          Bit Rate:54 Mb/s   Tx-Power=13 dBm                                                                            

          Retry short limit:8   RTS thr=2347 B   Fragment thr=2346 B                                                    

          Encryption key:off                                                                                            

          Power Management:off                                                                                          

          Link Quality=92/100  Signal level=-41 dBm  Noise level=-92 dBm                                                

          Rx invalid nwid:0  Rx invalid crypt:2500  Rx invalid frag:0                                                   

          Tx excessive retries:36  Invalid misc:8673   Missed beacon:0 

 

root:/> ping 192.168.1.115                                                                                              

PING 192.168.1.115 (192.168.1.115): 56 data bytes                                                                       

64 bytes from 192.168.1.115: seq=0 ttl=64 time=8.000 ms                                                                 

64 bytes from 192.168.1.115: seq=1 ttl=64 time=8.000 ms                                                                 

64 bytes from 192.168.1.115: seq=2 ttl=64 time=12.000 ms                                                                

64 bytes from 192.168.1.115: seq=3 ttl=64 time=16.000 ms                                                                

64 bytes from 192.168.1.115: seq=4 ttl=64 time=16.000 ms                                                                

64 bytes from 192.168.1.115: seq=5 ttl=64 time=8.000 ms                                                                 

64 bytes from 192.168.1.115: seq=6 ttl=64 time=8.000 ms                                                                 

64 bytes from 192.168.1.115: seq=7 ttl=64 time=12.000 ms                                                                

^C                                                                                                                      

--- 192.168.1.115 ping statistics ---                                                                                   

9 packets transmitted, 8 packets received, 11% packet loss                                                              

round-trip min/avg/max = 8.000/11.000/16.000 ms  

 

 

root:/> iperf -c 192.168.1.115 -i 1                                                                                     

------------------------------------------------------------                                                            

Client connecting to 192.168.1.115, TCP port 5001                                                                       

TCP window size: 16.0 KByte (default)                                                                                   

------------------------------------------------------------                                                            

[  5] local 192.168.1.116 port 46510 connected with 192.168.1.115 port 5001                                             

------------[ cut here ]------------                                                                                    

WARNING: at net/sched/sch_generic.c:226 _dev_watchdog+0x1ec/0x1f4()                                                     

NETDEV WATCHDOG: eth1 (libertas_sdio): transmit timed out                                                               

Modules linked in: libertas_sdio firmware_class libertas                                                                

Hardware Trace:                                                                                                         

   0 Target : <0x000049d0> { _dump_stack + 0x0 }                                                                        

     Source : <0x0000e560> { _warn_slowpath + 0x58 } CALL pcrel                                                         

   1 Target : <0x0000e560> { _warn_slowpath + 0x58 }                                                                    

     Source : <0x00027b9e> { _print_modules + 0x7a } RTS                                                                

   2 Target : <0x00027b98> { _print_modules + 0x74 }                                                                    

     Source : <0x0000eba6> { _printk + 0x16 } RTS                                                                       

   3 Target : <0x0000eba2> { _printk + 0x12 }                                                                           

     Source : <0x0000f3c0> { _vprintk + 0x12c } RTS                                                                     

   4 Target : <0x0000f3b4> { _vprintk + 0x120 }                                                                         

     Source : <0xffa00afa> { __common_int_entry + 0xca } RTI                                                            

   5 Target : <0xffa00a98> { __common_int_entry + 0x68 }                                                                

     Source : <0xffa008fe> { _return_from_int + 0x4e } RTS                                                              

   6 Target : <0xffa008fe> { _return_from_int + 0x4e }                                                                  

     Source : <0xffa008de> { _return_from_int + 0x2e } IF !CC JUMP                                                      

   7 Target : <0xffa008b0> { _return_from_int + 0x0 }                                                                   

     Source : <0xffa00a94> { __common_int_entry + 0x64 } CALL pcrel                                                     

   8 Target : <0xffa00a92> { __common_int_entry + 0x62 }                                                                

     Source : <0xffa00312> { _asm_do_IRQ + 0x62 } RTS                                                                   

   9 Target : <0xffa0030a> { _asm_do_IRQ + 0x5a }                                                                       

     Source : <0x00012ca4> { _irq_exit + 0x30 } RTS                                                                     

  10 Target : <0x00012ca4> { _irq_exit + 0x30 }                                                                         

     Source : <0x00012c92> { _irq_exit + 0x1e } IF !CC JUMP                                                             

  11 Target : <0x00012c74> { _irq_exit + 0x0 }                                                                          

     Source : <0xffa00306> { _asm_do_IRQ + 0x56 } CALL pcrel                                                            

  12 Target : <0xffa00306> { _asm_do_IRQ + 0x56 }                                                                       

     Source : <0xffa00300> { _asm_do_IRQ + 0x50 } IF CC JUMP                                                            

  13 Target : <0xffa002e4> { _asm_do_IRQ + 0x34 }                                                                       

     Source : <0x0002be32> { _handle_simple_irq + 0x6a } RTS                                                            

  14 Target : <0x0002be26> { _handle_simple_irq + 0x5e }                                                                

     Source : <0x0002be3c> { _handle_simple_irq + 0x74 } JUMP.S                                                         

  15 Target : <0x0002be3c> { _handle_simple_irq + 0x74 }                                                                

     Source : <0x0002b5c0> { _note_interrupt + 0x80 } RTS                                                               

Stack info:                                                                                                             

SP: [0x002bbcbc] <0x002bbcbc> /* kernel dynamic memory */                                                              

FP: (0x002bbd7c)                                                                                                       

Memory from 0x002bbcb0 to 002bc000                                                                                     

002bbcb0: ffffff19  002bbcbc  00298da8 [0000e560]<0000e564> 002bbcdc  00265d2c  7f3b1f4c                                

002bbcd0: 00265d2c  000000e2  002bbcdc  7665645f  7461775f  6f646863  78302b67  2f636531                                

002bbcf0: 66317830  003d0034  00000000  ffff8b67  002bbd2c  002bbd34 <0000b818> 03d856fc                                

002bbd10: 00284420  03d85680  00000001  00284420  00000000  00000000  03dfcd40  002bbd44                                

002bbd30:<000087b0> 002bbd54 <000086ea> 03d85680  0097bf00  00000003  002bbd60 <00009e44>                               

002bbd50: 7301a8c0  002bbd6c <000087b0> 002bbd8c <0000b818> 03d856fc  00284420  03d85680                                

002bbd70: 00000001  00284420  00000000 (00000000)<000092b2> 0000001f  002bbdb0  002bbdac                                

002bbd90:<000086ea> 03d85680  0097bf00  00000003  002bbdd0 <0000b818> 03d856fc <0017a2f4>                               

002bbdb0: ffffffff  00000100  0029c070  002bbde0 <0018723c> 0029e8dc  ffffffff  00000100                                

002bbdd0: 0029c070  0028a660 <000162e0><0002a54c> 0097c000  002bbde8  6562696c  73617472                                

002bbdf0: 6964735f  0001006f  0029b96c  00000000 <0000cb64> 0029ac7c <000163de> 0029b96c                                

002bbe10: 002bbe10  002bbe10  0029c070 <0002507e> 002bbe54 <00015f78><00016016> 002892a8                                

002bbe30: 002bbe4c  00187050  002ba000  00000000  0029c070 <0014b3ae> 00000000  0097bf6c                                

002bbe50: 0097bf6c  00000001 <000129be> 00289194  002ba000  00289130  00000001  00000004                                

002bbe70: 00000100 <0002be3c> 0029f6cc  00000006  002818d4  00000006  0029c070 <ffa0030a>                               

002bbe90: 002918f8  002ba000  002818d4  00000006  00000000  00000000  00000000  00000000                                

002bbeb0: 00000000  00000100 <ffa00a92> ffa0027c  00281034  00000000  00000000  00000000                                

002bbed0: 00000000  ffa0029c  00008050  00000000  00000000  003d8000  003e10c8  ffa0029c                                

002bbef0:<ffa00138> 00000006  02002020  000d1a88  000cd308  000d1a86  000cd306  00000000                                

002bbf10: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000                                

002bbf30: 000005a0  00000000  00000000  00000000  00000000  00000000  00000000  00000000                                

002bbf50: 00000000  00001680  00000001  03e59f20  00000020  002bc000  0029c070  ffa0027c                                

002bbf70: 002ba000  002818d4  0029c070  002ba000  ffa00840  00281034  00000000  00000000                                

002bbf90: 00000000  00000000  00000002  0000ffff  0000ffff  0000ffff  ffa00840  00000006                                

002bbfb0: 00281034  00000000  00000000  002bc6ca  0028bb14  002df6a4  00281040  00281034                                

002bbfd0: 00000000  002df6a4  0028096c  00000056  002bc098  002e20f4  002bc000 <002d1770>                               

002bbff0: 00000000  00000000  00000000  ffb00000  0028e14a                                                              

Return addresses in stack:                                                                                              

    address : <0x0000e560> { _warn_slowpath + 0x58 }                                                                    

    address : <0x0000e564> { _warn_slowpath + 0x5c }                                                                    

    address : <0x0000b818> { _enqueue_task_rt + 0x24 }                                                                  

    address : <0x000087b0> { _activate_task + 0x28 }                                                                    

    address : <0x000086ea> { _enqueue_task + 0xe }                                                                      

    address : <0x00009e44> { _try_to_wake_up + 0x88 }                                                                   

    address : <0x000087b0> { _activate_task + 0x28 }                                                                    

    address : <0x0000b818> { _enqueue_task_rt + 0x24 }                                                                  

   frame  1 : <0x000092b2> { _place_entity + 0xba }                                                                     

    address : <0x000086ea> { _enqueue_task + 0xe }                                                                      

    address : <0x0000b818> { _enqueue_task_rt + 0x24 }                                                                  

    address : <0x0017a2f4> { _netdev_drivername + 0x34 }                                                                

    address : <0x0018723c> { _dev_watchdog + 0x1ec }                                                                    

    address : <0x000162e0> { _do_timer + 0x30 }                                                                         

    address : <0x0002a54c> { _get_timestamp + 0x8 }                                                                     

    address : <0x0000cb64> { _scheduler_tick + 0x18 }                                                                   

    address : <0x000163de> { _update_process_times + 0x1e }                                                             

    address : <0x0002507e> { _tick_handle_periodic + 0xe }                                                              

    address : <0x00015f78> { _run_timer_softirq + 0x14 }                                                                

    address : <0x00016016> { _run_timer_softirq + 0xb2 }                                                                

    address : <0x0014b3ae> { _sdh_stat_irq + 0x7e }                                                                     

    address : <0x000129be> { ___do_softirq + 0x5a }                                                                     

    address : <0x0002be3c> { _handle_simple_irq + 0x74 }                                                                

    address : <0xffa0030a> { _asm_do_IRQ + 0x5a }                                                                       

    address : <0xffa00a92> { __common_int_entry + 0x62 }                                                                

    address : <0xffa00138> { _cpu_idle + 0x20 }                                                                         

    address : <0x002d1770> { _real_start + 0x30 }                                                                       

---[ end trace da6b7757f66591fe ]---                                                                                    

libertas: tx watch dog timeout                                                                                          

[ ID] Interval       Transfer     Bandwidth                                                                             

[  5]  0.0- 1.0 sec  8.00 KBytes  65.5 Kbits/sec                                                                        

[ ID] Interval       Transfer     Bandwidth                                                                             

[  5]  1.0- 2.0 sec  0.00 Bytes  0.00 bits/sec                                                                          

[ ID] Interval       Transfer     Bandwidth                                                                             

[  5]  2.0- 3.0 sec  0.00 Bytes  0.00 bits/sec                                                                          

[ ID] Interval       Transfer     Bandwidth                                                                             

[  5]  3.0- 4.0 sec  0.00 Bytes  0.00 bits/sec                                                                          

[ ID] Interval       Transfer     Bandwidth                                                                             

[  5]  4.0- 5.0 sec  0.00 Bytes  0.00 bits/sec                                                                          

[ ID] Interval       Transfer     Bandwidth                                                                             

[  5]  5.0- 6.0 sec  0.00 Bytes  0.00 bits/sec                                                                          

[ ID] Interval       Transfer     Bandwidth                                                                             

[  5]  6.0- 7.0 sec  0.00 Bytes  0.00 bits/sec                                                                          

[ ID] Interval       Transfer     Bandwidth                                                                             

[  5]  7.0- 8.0 sec  0.00 Bytes  0.00 bits/sec                                                                          

[ ID] Interval       Transfer     Bandwidth                                                                             

[  5]  8.0- 9.0 sec  0.00 Bytes  0.00 bits/sec                                                                          

[ ID] Interval       Transfer     Bandwidth                                                                             

[  5]  9.0-10.0 sec  0.00 Bytes  0.00 bits/sec                                                                          

[ ID] Interval       Transfer     Bandwidth                                                                             

[  5]  0.0-10.0 sec  11.4 KBytes  9.34 Kbits/sec                                                                        

root:/> libertas: command 0x001f timed out                                                                              

libertas: requeueing command 0x001f due to timeout (#1)                                                                 

libertas: tx watch dog timeout                                                                                          

libertas: command 0x001f timed out                                                                                      

libertas: requeueing command 0x001f due to timeout (#2)                                                                 

libertas: command 0x001f timed out                                                                                      

libertas: requeueing command 0x001f due to timeout (#3)                                                                 

libertas: command 0x001f timed out                                                                                      

libertas: Excessive timeouts submitting command 0x001f                                                                  

libertas: tx watch dog timeout                                                                                          

libertas: command 0x001f timed out                                                                                      

libertas: requeueing command 0x001f due to timeout (#1)                                                                 

libertas: command 0x001f timed out                                                                                      

libertas: requeueing command 0x001f due to timeout (#2)                                                                 

libertas: command 0x001f timed out                                                                                      

libertas: requeueing command 0x001f due to timeout (#3)                                                                 

libertas: tx watch dog timeout                                                                                          

libertas: command 0x001f timed out                                                                                      

libertas: Excessive timeouts submitting command 0x001f                                                                  

libertas: tx watch dog timeout                                                                                          

libertas: command 0x001f timed out                                                                                      

libertas: requeueing command 0x001f due to timeout (#1)

 

Follow-ups

 

--- Yi Li                                                    2009-03-03 03:38:53

In above test, iperf version is 2.0.4.

 

Running netperf-2.4.1 and netperf-2.4.4 I got similar error.

 

--- Cliff Cai                                                2009-04-08 05:58:16

This bug is the same with 5056

 

Cliff

 

--- Yi Li                                                    2009-04-13 22:36:22

Close. It is fixed in trunk.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes