Problem Regarding Ping in Linux kernel version 2.4.24
apoorv sangal
apoorvsangal at gmail.com
Tue Oct 11 16:27:41 EST 2005
Hi,
I am sending the output from the console of the boot sequence and ifconfig
command as following.
Please check the same and let me know where i am going wrong.
*******************************************************************************************************
## Total Size = 0x00088c6d = 560237 Bytes
## Start Addr = 0x02000000
=> bootm 02000000 ## Booting image at 02000000 ...
Image Name: 2.4.24 10thOCT3
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 560173 Bytes = 547 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Memory BAT mapping: BAT2=128Mb, BAT3=0Mb, residual: 0Mb
Linux version 2.4.24-pre2 (satyam at pmcserver) (gcc version 3.2.2 20030217
(Yellow Dog Linux 3.0 3.2.2-2a_1)) #17 Mon Oct 10 15:41:43 IST 2005
On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200 root=1f00
Warning: real time clock seems stuck!
Calibrating delay loop... 131.89 BogoMIPS
Memory: 128148k available (948k kernel code, 368k data, 56k init, 0k
highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications
AB.
Inside Chr_dev_init
CPM UART driver version 0.01
ttyS0 on SMC1 at 0x0000, BRG7
ttyS1 on SMC2 at 0x0040, BRG8
ttyS2 on SCC1 at 0x8000, BRG1
ttyS3 on SCC2 at 0x8100, BRG2
pty: 256 Unix98 ptys configured
Pty initialisation is complete
eth0: FCC2 ENET Version 0.4, 00:10:EC:40:30:8C
Inside rd_init
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
pmc8260 flash map (size->0x2000000 mem->0xFC000000)
map->buswidth : 2
cfi_cmdset_0001: Erase suspend on write enabled
Using buffer write method
Creating 1 MTD partitions on "pmc8260 flash memory":
0x008c0000-0x00bc0000 : "JFFS2 partition"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
*****
VFS:test name = /dev/root
VFS:fs_name = jffs2
VFS:root name = 1f:00
****
jffs2_scan_inode_node(): Data CRC failed on node at 0x0003b1a8: Read
0xcd593a55, calculated 0x95474c25
jffs2_scan_inode_node(): CRC failed on node at 0x002aafc0: Read 0x00000001,
calculated 0x8ea9f6b8
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x002aafc8:
0x10e4 instead
Eep. Child "issue" (ino #127) of dir ino #4 doesn't exist!
VFS:tried fs_name = jffs2 err = 0
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing unused kernel memory: 56k init 4k prep
init started: BusyBox v0.60.5 (2004.11.09-16:07+0000) multi-call
binarymount: Mounting /dev/ram0 on /tmp failed: Invalid argument
Starting networking: done.
Starting udhcp Client: Jan 1 00:00:02 insmod: insmod: net-pf-17: no module
by that name found done.
Starting thttpd: done.
Starting OpenSSH: done.
Starting SNMP Agent: done.
jffs2_read_inode() on nonexistent ino 127
(none) login: root
Password:
Jan 1 00:00:09 login[61]: root login on `ttyS0'
BusyBox v0.60.5 (2004.11.09-16:07+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
# ifconfig eth0 down
# ifconfig eth0 172.19.56.218 <http://172.19.56.218>
# ifconfig eth0 up
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:EC:40:30:8C
inet addr:172.19.56.218 <http://172.19.56.218>
Bcast:172.19.255.255<http://172.19.255.255>Mask:
255.255.0.0 <http://255.255.0.0>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 iB) TX bytes:0 (0.0 iB)
Base address:0x8500
lo Link encap:Local Loopback
inet addr:127.0.0.1 <http://127.0.0.1> Mask:255.0.0.0 <http://255.0.0.0>
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 iB) TX bytes:0 (0.0 iB)
# ping 127.0.0.1 <http://127.0.0.1>
PING 127.0.0.1 <http://127.0.0.1> (127.0.0.1 <http://127.0.0.1>): 56 data
bytes
64 bytes from 127.0.0.1 <http://127.0.0.1>: icmp_seq=0 ttl=64 time=0.6 ms
64 bytes from 127.0.0.1 <http://127.0.0.1>: icmp_seq=1 ttl=64 time=0.2 ms
64 bytes from 127.0.0.1 <http://127.0.0.1>: icmp_seq=2 ttl=64 time=0.2 ms
64 bytes from 127.0.0.1 <http://127.0.0.1>: icmp_seq=3 ttl=64 time=0.2 ms
64 bytes from 127.0.0.1 <http://127.0.0.1>: icmp_seq=4 ttl=64 time=0.2 ms
--- 127.0.0.1 <http://127.0.0.1> ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.2/0.2/0.6 ms
#
# ping 172.19.59.101 <http://172.19.59.101>
PING 172.19.59.101 <http://172.19.59.101>
(172.19.59.101<http://172.19.59.101>):
56 data bytes
--- 172.19.59.101 <http://172.19.59.101> ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss
*******************************************************************************************************
Regards,
Apoorv Sangal.
On 10/10/05, Mark Chambers <markc at mail.com> wrote:
>
> Hi
> Thanks for the inputs... As per your suggestion I commented
> { mk_mii_write(MII_REG_CR, 0x1200), NULL }, /* autonegotiate */
> but it doesn't make any diffrence, still the ping doesn't worked.
> At Boot loader level (u-boot) Ping works fine,
> I think you need to provide more information, because there are many
> things
> that could be wrong. Attach the output of your console from the boot
> sequence,
> and include the output of an ifconfig command if you can.
> Mark Chambers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20051011/cb7c5aed/attachment.htm
More information about the Linuxppc-embedded
mailing list