Modify

Opened 7 years ago

Closed 5 years ago

Last modified 4 years ago

#8505 closed defect (fixed)

RDC r6040 can't ping

Reported by: Nicolas Le Falher <n.lefalher@…> Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: RDC r6040 Ethernet ping Cc: r24794

Description

Hi.

I've got a problem network on a bifferboard.
I can configure my ethernet interface, and ping localhost, but i cant ping other machines in same network.

root@OpenWrt:/# dmesg | grep r6040                                              
r6040: RDC R6040 NAPI net driver,version 0.25 (20Aug2009)                       
r6040 0000:00:08.0: setting latency timer to 64                                 
r6040_eth_mii: probed                                                           
r6040: RDC R6040 NAPI net driver,version 0.25 (20Aug2009)                       
r6040 0000:00:09.0: enabling device (0004 -> 0007)                              
r6040 0000:00:09.0: can't find IRQ for PCI INT A; please try using pci=biosirq  
r6040 0000:00:09.0: setting latency timer to 64                                 
r6040: MAC address not initialized, generating random                           
r6040_eth_mii: probed                                                           
r6040: Failed to detect an attached PHY 
root@OpenWrt:/# ifconfig eth0 10.0.0.1                                          
root@OpenWrt:/# ifconfig eth0                                                   
eth0      Link encap:Ethernet  HWaddr 00:B3:F6:00:60:5B                         
          inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0              
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                    
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0                    
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0                  
          collisions:0 txqueuelen:1000                                          
          RX bytes:0 (0.0 B)  TX bytes:3699 (3.6 KiB)                           
          Interrupt:10
root@OpenWrt:/# ping 10.0.0.1                                                   
PING 10.0.0.1 (10.0.0.1): 56 data bytes                                         
64 bytes from 10.0.0.1: seq=0 ttl=64 time=0.764 ms                              
64 bytes from 10.0.0.1: seq=1 ttl=64 time=0.435 ms 
root@OpenWrt:/# ping 10.0.0.5                                                   
PING 10.0.0.5 (10.0.0.5): 56 data bytes                                         
^C                                                                              
--- 10.0.0.5 ping statistics ---                                                
3 packets transmitted, 0 packets received, 100% packet loss

I tested with revision r22299, all works.

root@OpenWrt:/# dmesg | grep 6040                                               
r6040: RDC R6040 NAPI net driver,version 0.25 (20Aug2009)                       
r6040 0000:00:08.0: setting latency timer to 64                                 
r6040_eth_mii: probed                                                           
r6040: RDC R6040 NAPI net driver,version 0.25 (20Aug2009)                       
r6040 0000:00:09.0: enabling device (0004 -> 0007)                              
r6040 0000:00:09.0: can't find IRQ for PCI INT A; please try using pci=biosirq  
r6040 0000:00:09.0: setting latency timer to 64                                 
r6040: MAC address not initialized, generating random                           
r6040_eth_mii: probed                                                           
r6040: Failed to detect an attached PHY
root@OpenWrt:/# ifconfig eth0 10.0.0.1                                          
root@OpenWrt:/# ifconfig eth0                                                   
eth0      Link encap:Ethernet  HWaddr 00:B3:F6:00:60:5B                         
          inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0              
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                    
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0                    
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0                  
          collisions:0 txqueuelen:1000                                          
          RX bytes:684 (684.0 B)  TX bytes:814 (814.0 B)                        
          Interrupt:10 
root@OpenWrt:/# ping 10.0.0.1                                                   
PING 10.0.0.1 (10.0.0.1): 56 data bytes                                         
64 bytes from 10.0.0.1: seq=0 ttl=64 time=1.322 ms                              
64 bytes from 10.0.0.1: seq=1 ttl=64 time=0.654 ms 
root@OpenWrt:/# ping 10.0.0.5                                                   
PING 10.0.0.5 (10.0.0.5): 56 data bytes                                         
64 bytes from 10.0.0.5: seq=0 ttl=64 time=4.472 ms                              
64 bytes from 10.0.0.5: seq=1 ttl=64 time=1.225 ms

Attachments (0)

Change History (4)

comment:1 Changed 7 years ago by Nicolas Le Falher <n.lefalher@…>

If i copy files r6040.c and r6040.mod.c from /build_dir/linux-rdc/linux-2.6.32.16/drivers/net (r22299) to directory /build_dir/linux-rdc/linux-2.6.32.27/drivers/net (r24794), ping works.

comment:2 Changed 7 years ago by Nicolas Le Falher <n.lefalher@…>

With trunk, if i remove patch from target/linux/rdc/patches-2.6.32 :

013-r6040_fix_mii_check_media.patch
014-r6040_phylib_support.patch
015-r6040_fix_multicast.patch

pings works.

comment:3 Changed 5 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.