Modify

Opened 12 years ago

Closed 11 years ago

Last modified 4 years ago

#622 closed defect (fixed)

Incorrect ping results

Reported by: wes902@… Owned by: florian
Priority: low Milestone: Barrier Breaker 14.07
Component: base system Version:
Keywords: Cc:

Description

Hi, i'm getting some wierd results from ping using the packet size flag:

Release info:
Linux openwrt_test 2.4.30 #1 Sun Mar 26 19:02:04 CEST 2006 mips unknown

cat /etc/banner | grep WHITE

WHITE RUSSIAN (RC5) -------------------------------

Example:

ping -c 1 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=264.0 ms

This is a standard response from the command line ping. If I set the size flag the following happens.

ping -s 1 -c 1 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 1 data bytes
9 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=291869364.5 ms

Dmesg output:

CPU revision is: 00029008
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, linesize 16 bytes.
Linux version 2.4.30 (nbd@ux-2y02) (gcc version 3.4.4 (OpenWrt-1.0)) #1 Sun Mar 26 19:02:04 CEST 2006
Setting the PFC value as 0x15
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM5352 rev 0 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.47 BogoMIPS
Memory: 14268k/16384k available (1412k kernel code, 2116k reserved, 100k data, 80k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
Squashfs 2.1-r2 (released 2004/12/15) (C) 2002-2004 Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 0) is a 16550A
b44.c:v0.93 (Mar, 2004)
PCI: Setting latency timer of device 00:01.0 to 64
eth0: Broadcom 47xx 10/100BaseT Ethernet XX:XX:XX:XX:XX:XX
Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
cfi_cmdset_0001: Erase suspend on write enabled
0: offset=0x0,size=0x2000,blocks=8
1: offset=0x10000,size=0x10000,blocks=63
Using word write method
Flash device: 0x400000 at 0x1c000000
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "pmon"
0x00040000-0x003f0000 : "linux"
0x000bc400-0x001b6000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x001c0000-0x003f0000 : "OpenWrt"
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 328 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 80k freed
Algorithmics/MIPS FPU Emulator v1.5
diag boardtype: 00000467
Probing device eth0: found!
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
jffs2.bbc: SIZE compression mode activated.
PCI: Setting latency timer of device 00:05.0 to 64
eth1: Broadcom BCM4320 802.11 Wireless Controller 3.90.37.0
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
device eth0 entered promiscuous mode
vlan0: add XX:XX:XX:XX:XX:XX mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
vlan0: dev_set_allmulti(master, 1)
device eth1 entered promiscuous mode
br0: port 2(eth1) entering learning state
br0: port 1(vlan0) entering learning state
br0: port 2(eth1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(vlan0) entering forwarding state
br0: topology change detected, propagating
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2

Attachments (0)

Change History (8)

comment:1 Changed 12 years ago by wes902@…

Here is some more wierdness:

 ping -s 1 -c 10 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 1 data bytes
9 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=293405407.6 ms
9 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=293405328.1 ms
9 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=293405328.7 ms
9 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=183.3 ms
9 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=197.5 ms
9 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=184.0 ms
9 bytes from 192.168.0.1: icmp_seq=6 ttl=64 time=184.1 ms
9 bytes from 192.168.0.1: icmp_seq=7 ttl=64 time=184.1 ms
9 bytes from 192.168.0.1: icmp_seq=8 ttl=64 time=190.9 ms
9 bytes from 192.168.0.1: icmp_seq=9 ttl=64 time=23.2 ms

If I allow it to continue pinging it will roll back to the time=429496363.7 ms etc...

comment:2 Changed 11 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to assigned

Confirmed

comment:3 Changed 11 years ago by florian

Even present with busybox-1.2.1

comment:4 Changed 11 years ago by florian

  • Milestone set to 0.9/rc6

comment:5 Changed 11 years ago by florian

  • Milestone changed from 0.9/rc6 to Kamikaze

comment:6 Changed 11 years ago by andy.melnikov@…

ping works ok in KAMIKAZE AR7 (bleeding edge, r3629)

comment:7 Changed 11 years ago by florian

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

Fixed in [6443], took a while to fix

comment:8 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.