Modify

Opened 6 years ago

Last modified 4 years ago

#10795 new defect

[Backfire] NSLU2 ping problem

Reported by: Sigurd Hogsbro <shogsbro@…> Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: packages Version: 10.03.1
Keywords: NSLU2 Cc:

Description

With downloaded images of Backfire (10.03, 10.03.01) for NSLU2, ping (from busybox) does not print the returned ICMP replies.

Please note that this problem did not exist in Kamikaze, and does not exist in trunk, r29756.

For the Backfire images I installed tcpdump-mini and verified that the ICMP reply packets arrive on the network interface, so I suspect it is related to busybox implementation of ping.

Some tickets that might be related:


Kamikaze (8.09.02):

BusyBox v1.11.2 (2009-12-02 21:38:03 UTC) built-in shell (ash)
...
root@OpenWrt:/# ping 192.168.1.103
PING 192.168.1.103 (192.168.1.103): 56 data bytes
64 bytes from 192.168.1.103: seq=0 ttl=64 time=9.056 ms
64 bytes from 192.168.1.103: seq=1 ttl=64 time=0.718 ms
64 bytes from 192.168.1.103: seq=2 ttl=64 time=1.796 ms
64 bytes from 192.168.1.103: seq=3 ttl=64 time=0.719 ms
64 bytes from 192.168.1.103: seq=4 ttl=64 time=1.817 ms
^C
--- 192.168.1.103 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.718/2.821/9.056 ms
root@OpenWrt:/# dmesg|grep eth0
eth0: MII PHY 1 on NPE-B
eth0: link down
device eth0 entered promiscuous mode
eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
br-lan: port 1(eth0) entering learning state
br-lan: port 1(eth0) entering forwarding state
root@OpenWrt:/# dmesg|grep NPE
eth0: MII PHY 1 on NPE-B
firmware: requesting NPE-B
NPE-B: firmware's license can be found in /usr/share/doc/LICENSE.IPL
NPE-B: firmware functionality 0x2, revision 0x2:1
root@OpenWrt:/# ls -lh `which ping`
lrwxrwxrwx    1 root     root            7 Dec 29  2009 /bin/ping -> busybox
root@OpenWrt:/# logread|grep br-lan
Jan 16 21:10:03 OpenWrt user.err kernel: br-lan: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
Jan 16 21:10:06 OpenWrt user.info kernel: br-lan: port 1(eth0) entering learning state
Jan 16 21:10:06 OpenWrt user.info kernel: br-lan: topology change detected, propagating
Jan 16 21:10:06 OpenWrt user.info kernel: br-lan: port 1(eth0) entering forwarding state
Jan 16 21:10:10 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan

Backfire (10.03.1)

BusyBox v1.15.3 (2011-11-24 05:03:21 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 Backfire (10.03.1, r29592) ------------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua 
  * 1/3 shot Bailey's  on the bottom, then Bailey's, 
  * 1/3 shot Vodka     then Vodka.
 ---------------------------------------------------
root@OpenWrt:/# ping 192.168.1.103
PING 192.168.1.103 (192.168.1.103): 56 data bytes
^C
--- 192.168.1.103 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:/# dmesg|grep eth0
eth0: MII PHY 1 on NPE-B
net eth0: firmware: requesting NPE-B
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering forwarding state
eth0: link up, speed 100 Mb/s, full duplex
root@OpenWrt:/# dmesg|grep NPE
eth0: MII PHY 1 on NPE-B
net eth0: firmware: requesting NPE-B
NPE-B: firmware's license can be found in /usr/share/doc/LICENSE.IPL
NPE-B: firmware functionality 0x2, revision 0x2:1
root@OpenWrt:/# ls -lh `which ping`
lrwxrwxrwx    1 root     root            7 Dec 21 04:51 /bin/ping -> busybox
root@OpenWrt:/# logread|grep br-lan
Jan 17 00:30:19 OpenWrt user.info kernel: br-lan: port 1(eth0) entering forwarding state
Jan 17 00:30:21 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Jan 17 00:30:29 OpenWrt user.info firewall: adding lan (br-lan) to zone lan
Jan 17 00:30:31 OpenWrt user.notice dnsmasq: found already running DHCP-server on interface 'br-lan' refusing to start, use 'option force 1' to override
root@OpenWrt:/# 

Running tcpdump (from tcpdump-mini) whilst doing the ping above shows:

root@OpenWrt:/# tcpdump -ti br-lan icmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-lan, link-type EN10MB (Ethernet), capture size 65535 bytes
IP OpenWrt.lan > 192.168.1.103: ICMP echo request, id 1850, seq 0, length 64
IP 192.168.1.103 > OpenWrt.lan: ICMP echo reply, id 1850, seq 0, length 64
IP OpenWrt.lan > 192.168.1.103: ICMP echo request, id 1850, seq 1, length 64
IP 192.168.1.103 > OpenWrt.lan: ICMP echo reply, id 1850, seq 1, length 64
IP OpenWrt.lan > 192.168.1.103: ICMP echo request, id 1850, seq 2, length 64
IP 192.168.1.103 > OpenWrt.lan: ICMP echo reply, id 1850, seq 2, length 64
IP OpenWrt.lan > 192.168.1.103: ICMP echo request, id 1850, seq 3, length 64
IP 192.168.1.103 > OpenWrt.lan: ICMP echo reply, id 1850, seq 3, length 64
IP OpenWrt.lan > 192.168.1.103: ICMP echo request, id 1850, seq 4, length 64
IP 192.168.1.103 > OpenWrt.lan: ICMP echo reply, id 1850, seq 4, length 64
^C
10 packets captured
10 packets received by filter
0 packets dropped by kernel
root@OpenWrt:/# 

Trunk

BusyBox v1.19.3 (2012-01-15 16:42:25 MST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 ATTITUDE ADJUSTMENT (bleeding edge, r29756) ----------
...
root@OpenWrt:/# ping 192.168.1.103
PING 192.168.1.103 (192.168.1.103): 56 data bytes
64 bytes from 192.168.1.103: seq=0 ttl=64 time=5.723 ms
64 bytes from 192.168.1.103: seq=1 ttl=64 time=0.636 ms
64 bytes from 192.168.1.103: seq=2 ttl=64 time=1.709 ms
64 bytes from 192.168.1.103: seq=3 ttl=64 time=0.637 ms
64 bytes from 192.168.1.103: seq=4 ttl=64 time=1.779 ms
^C
--- 192.168.1.103 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.636/2.096/5.723 ms
root@OpenWrt:/# dmesg|grep eth0
[    1.678280] eth0: MII PHY 1 on NPE-B
[   18.143375] device eth0 entered promiscuous mode
[   18.240693] br-lan: port 1(eth0) entering forwarding state
[   18.246378] br-lan: port 1(eth0) entering forwarding state
[   19.252957] eth0: link up, speed 100 Mb/s, full duplex
root@OpenWrt:/# dmesg|grep NPE
[    1.678280] eth0: MII PHY 1 on NPE-B
[   17.711506] NPE-B: firmware's license can be found in /usr/share/doc/LICENSE.IPL
[   17.719116] NPE-B: firmware functionality 0x2, revision 0x2:1
root@OpenWrt:/# ls -lh `which ping`
lrwxrwxrwx    1 root     root           7 Jan 16 10:14 /bin/ping -> busybox
root@OpenWrt:/# logread|grep br-lan
Jan 17 00:07:54 OpenWrt kern.info kernel: [   18.240693] br-lan: port 1(eth0) entering forwarding state
Jan 17 00:07:54 OpenWrt kern.info kernel: [   18.246378] br-lan: port 1(eth0) entering forwarding state
Jan 17 00:07:57 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Jan 17 00:08:01 OpenWrt user.info firewall: adding lan (br-lan) to zone lan
Jan 17 00:08:04 OpenWrt user.notice dnsmasq: found already running DHCP-server on interface 'br-lan' refusing to start, use 'option force 1' to override

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by Sigurd Hogsbro <shogsbro@…>

Following request by jow:

Backfire 10.03.1:

root@OpenWrt:/# md5sum /lib/firmware/*  
931bc885f0785434668b1e603929a6a9  /lib/firmware/NPE-A
3ddfae9fa6521e4907492a750607722b  /lib/firmware/NPE-B
543b7185fe68da26686b02271297d1f0  /lib/firmware/NPE-C

Trunk:

root@OpenWrt:/# md5sum /lib/firmware/*
931bc885f0785434668b1e603929a6a9  /lib/firmware/NPE-A
3ddfae9fa6521e4907492a750607722b  /lib/firmware/NPE-B
543b7185fe68da26686b02271297d1f0  /lib/firmware/NPE-C

comment:2 Changed 6 years ago by ernurse@…

I can confirm this using Backfire on NSLU2 as well. Will post dumps as soon as feasible. No ping replies received either through shell or gui.

comment:3 Changed 4 years ago by jow

  • Milestone changed from Backfire 10.03.2 to Chaos Calmer (trunk)

Milestone Backfire 10.03.2 deleted

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.