* Problems running PING, Telnet
@ 2002-02-05 22:02 murali nagarajan
2002-02-06 17:48 ` jtm
0 siblings, 1 reply; 4+ messages in thread
From: murali nagarajan @ 2002-02-05 22:02 UTC (permalink / raw)
To: linuxppc-embedded
Hello,
We have a custom designed board G4 MPC7450 with GT64260 Galileo controller.
We have been able to port the Linux on this board. But we do have some
issues for which I will appreciate if some one could help me.
Implementation details:
-----------------------
We have used Mission Critical Linux 2.4.5-Pre 5 (derived from debian distro)
and PPCBoot 1.0.4 as our base versions. I used the file system meant for NFS
mount from the mission critical linux web site. We made necessary
modifications to the software to work on our custom design.
I am able to boot Linux successfully with a NFS mounted file system and a
Ramdisk (I could test upto 128MB size) based file system. But this was
possible only when I bypassed the /sbin/init and run the "Bash" shell
directly. I made changes to init/main.c to run the shell directly after
successful opening of the /dev/console. Bypassing of /sbin/init at boot time
is inevitable until we integrate a MPSC port based serial console driver
with our linux system. We have a crude one (emulates the low level UART
functions using MPSC) that just works.
We have the following difficulties:
----------
- PING command does not work
The erro message I get is "ping: unknown protocol icmp"
- Telnet program does not work which tells me that the service is unknown.
The error message I get is "telnet: tcp/telnet: unknown service"
What can be the issue? I suspect if any of the boot script is not done. I
ran manually /etc/init.d/rcS and /etc/rc3.d/* (my inittab says run level 3)
from the bash prompt. This did not help to solve my above problem.
I assume that TCP/IP is fine because I have performed NFS mount of the root
file system and can access all the files. The booted OS seems to be stable
as I have run some complex Linux applications and also able to build new
Linux images.
With best regards,
Murali
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Problems running PING, Telnet
@ 2002-02-05 23:07 Wright, David
0 siblings, 0 replies; 4+ messages in thread
From: Wright, David @ 2002-02-05 23:07 UTC (permalink / raw)
To: murali nagarajan, linuxppc-embedded
> -----Original Message-----
> From: murali nagarajan [mailto:muralin@gdatech.com]
> Sent: Tuesday, February 05, 2002 5:03 PM
> To: linuxppc-embedded@lists.linuxppc.org
> Subject: Problems running PING, Telnet
> We have the following difficulties:
> ----------
> - PING command does not work
> The erro message I get is "ping: unknown protocol icmp"
>
> - Telnet program does not work which tells me that the
> service is unknown.
> The error message I get is "telnet: tcp/telnet: unknown service"
>
> What can be the issue?
Sounds as though your system lacks /etc/services and /etc/protocols
files, so the socket opens are failing.
-- David Wright, InfiniSwitch Corp.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems running PING, Telnet
2002-02-05 22:02 Problems running PING, Telnet murali nagarajan
@ 2002-02-06 17:48 ` jtm
0 siblings, 0 replies; 4+ messages in thread
From: jtm @ 2002-02-06 17:48 UTC (permalink / raw)
To: murali nagarajan; +Cc: linuxppc-embedded
On Tue, Feb 05, 2002 at 02:02:32PM -0800, murali nagarajan wrote:
> ----------
> - PING command does not work
> The erro message I get is "ping: unknown protocol icmp"
Do you have the libnss_* stuff in /lib? I think not having it is
the source of your problem.
> - Telnet program does not work which tells me that the service is unknown.
> The error message I get is "telnet: tcp/telnet: unknown service"
This might be related to the above, but I'm not sure.
--
Jay Monkman The truth knocks on the door and you say "Go away, I'm
monkman@jump.net looking for the truth," and so it goes away. Puzzling.
- from _Zen_and_the_Art_of_Motorcycle_Maintenance_
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems running PING, Telnet
@ 2002-02-07 15:57 Bruce
0 siblings, 0 replies; 4+ messages in thread
From: Bruce @ 2002-02-07 15:57 UTC (permalink / raw)
To: linuxppc-embedded
Hi Murali,
We had similar problems when we moved from an NFS
mounted file system to a RAM Disk.
>> - PING command does not work
>> The erro message I get is "ping:
unknown protocol icmp"
>> - Telnet program does not work which
tells me that the service is unknown.
>> The error message I get is "telnet:
tcp/telnet: unknown service"
You didn't mention whether telnet and ping were
working on the nfs mounted filesystem and
then stopped working when you migrated to
the RAM Disk.
If that is the case, we found the strace tool to
be indispensible. Bring the strace tool over to
your target and execute
strace ping
System calls will be displayed on your terminal. The
program will show if there are failures as it
is trying to open shared libraries or other
configuration files. It is not perfect, but it can
really help to narrow down where the problem
may reside.
Bruce
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-02-07 15:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-05 22:02 Problems running PING, Telnet murali nagarajan
2002-02-06 17:48 ` jtm
-- strict thread matches above, loose matches on Subject: below --
2002-02-05 23:07 Wright, David
2002-02-07 15:57 Bruce
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).