* ML403 2.6 kernel, root file system on NFS, stops after freeing unused kernel memory
@ 2007-05-23 16:06 Mohammad Sadegh Sadri
2007-05-23 16:58 ` Grant Likely
0 siblings, 1 reply; 5+ messages in thread
From: Mohammad Sadegh Sadri @ 2007-05-23 16:06 UTC (permalink / raw)
To: Linux PPC Linux PPC
Hi all
I have studied the disscussion here mainly by Mirek32 (I think this was the=
name) but unfortunately the disscussion is finished without any suitable =
answer and solution.
the 2.6 kernel comes up on ml403 with no problem, it gets an IP address fro=
m my DHCP and mounts the root file system from my NFS server , all of these=
are ok.=20
Unfortunately , after "freeing unused kernel memory ", init , console stops=
working however the board is alive because it answers all of my pings corr=
ectly. I tried to make a telnet connection to the board with no success. ( =
I'm using ELDK 4.0)=20
any suggestions what is happening here?
how can I enable the telnet server so that I can make a telnet connection t=
o the board, As I said the board is alive and answers pings but does not pr=
int any thing on the screen.
thanks.
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=3Dwindows+vista&mkt=3Den-US&form=3DQBR=
E=
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ML403 2.6 kernel, root file system on NFS, stops after freeing unused kernel memory
2007-05-23 16:06 ML403 2.6 kernel, root file system on NFS, stops after freeing unused kernel memory Mohammad Sadegh Sadri
@ 2007-05-23 16:58 ` Grant Likely
0 siblings, 0 replies; 5+ messages in thread
From: Grant Likely @ 2007-05-23 16:58 UTC (permalink / raw)
To: Mohammad Sadegh Sadri; +Cc: Linux PPC Linux PPC
On 5/23/07, Mohammad Sadegh Sadri <mamsadegh@hotmail.com> wrote:
>
> Hi all
>
> I have studied the disscussion here mainly by Mirek32 (I think this was the name) but unfortunately the disscussion is finished without any suitable answer and solution.
>
> the 2.6 kernel comes up on ml403 with no problem, it gets an IP address from my DHCP and mounts the root file system from my NFS server , all of these are ok.
>
> Unfortunately , after "freeing unused kernel memory ", init , console stops working however the board is alive because it answers all of my pings correctly. I tried to make a telnet connection to the board with no success. ( I'm using ELDK 4.0)
>
> any suggestions what is happening here?
Is there a /dev/console node?
try booting with init=/bin/sh to see if you get a console.
Your /etc/inittab might not be starting a getty on the console device.
Cheers,
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: ML403 2.6 kernel, root file system on NFS, stops after freeing unused kernel memory
@ 2007-05-26 10:05 Mohammad Sadegh Sadri
0 siblings, 0 replies; 5+ messages in thread
From: Mohammad Sadegh Sadri @ 2007-05-26 10:05 UTC (permalink / raw)
To: grant.likely, akonovalov, miroslaw.dach; +Cc: Linux PPC Linux PPC
dear grant
As i said i'm using ELDK 4.0 root file system via NFS
ML403 gets IP address from DHCP , mounts the root file system via NFS and t=
hen simply stops printing messages on the screen. The board is alive becaus=
e it answers ping requests.
-- VFS: Mounted root file system (nfs filesystem)
-- Freeing unused kernel memory :108k init
( No more messages after here , hyperterminal does not show anything more )
I have chosen my root file system to be /home/sadri/hld/eldk/ppc_4xx=20
(/home/sadri/hdl/eldk is eldk installation folder )
/eldk/ppc_4xx/dev contains the following node:
crw-rw-rw- 1 root root 5, 1 May 16 09:08 console
and the last line for /etc/inittab is :
# Run gettys in standard runlevels
3:2345:respawn:/sbin/mingetty --noclear console
in addition I passed the init=3D/bin/sh parameter to the kernel with no suc=
cess.=20
the link is auto negotiated at 100MBPS
I'm using OPB UART 16550.=20
I studied the ports by Mirek23 carefully and I know that his problem has be=
en the definition of SDRAM size in xparameters.h , but this is not my probl=
em. I checked that for EDK 9 it is correct.
what is your idea?
thanks
mohammad sadegh.
----------------------------------------
> Date: Wed, 23 May 2007 10:58:28 -0600
> From: grant.likely@secretlab.ca
> To: mamsadegh@hotmail.com
> Subject: Re: ML403 2.6 kernel, root file system on NFS, stops after freei=
ng unused kernel memory
> CC: linuxppc-embedded@ozlabs.org
>=20
> On 5/23/07, Mohammad Sadegh Sadri wrote:
> >
> > Hi all
> >
> > I have studied the disscussion here mainly by Mirek32 (I think this was=
the name) but unfortunately the disscussion is finished without any suita=
ble answer and solution.
> >
> > the 2.6 kernel comes up on ml403 with no problem, it gets an IP address=
from my DHCP and mounts the root file system from my NFS server , all of t=
hese are ok.
> >
> > Unfortunately , after "freeing unused kernel memory ", init , console s=
tops working however the board is alive because it answers all of my pings =
correctly. I tried to make a telnet connection to the board with no success=
. ( I'm using ELDK 4.0)
> >
> > any suggestions what is happening here?
>=20
> Is there a /dev/console node?
>=20
> try booting with init=3D/bin/sh to see if you get a console.
>=20
> Your /etc/inittab might not be starting a getty on the console device.
>=20
> Cheers,
> g.
>=20
> --=20
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
> grant.likely@secretlab.ca
> (403) 399-0195
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Space=
s. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=3Dcreate&wx_url=3D/friends.=
aspx&mkt=3Den-us=
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: ML403 2.6 kernel, root file system on NFS, stops after freeing unused kernel memory
@ 2007-05-26 13:46 Mohammad Sadegh Sadri
2007-05-27 17:34 ` Clemens Koller
0 siblings, 1 reply; 5+ messages in thread
From: Mohammad Sadegh Sadri @ 2007-05-26 13:46 UTC (permalink / raw)
To: grant.likely; +Cc: Linux PPC Linux PPC
hi
ok! problem solved
problem was kernel command line
mine was:
CONFIG_CMDLINE=3D"console=3DttyS0,9600 console=3Dtty0 root=3D/dev/nfs rw nf=
sroot=3D10.10.10.10:/home/sadri/hdl/eldk_rootfs/ppc_4xx ip=3Ddhcp"
by default 2.6.21 CMDLINE contains two console parameters,=20
the correct one should be=20
CONFIG_CMDLINE=3D"console=3DttyS0,9600 root=3D/dev/nfs rw nfsroot=3D10.10.1=
0.10:/home/sadri/hdl/eldk_rootfs/ppc_4xx ip=3Ddhcp"
well , rootfs comes up until login prompt,
I enter root as the password but it gives "incorrect login" message/
another note:
I changed the memory size to 32Mbytes from 64, I feel the system is more st=
able in this case. some times the system does not come up probperly. ( gene=
rates segmentation fault and similar messages )
thanks
----------------------------------------
> Date: Wed, 23 May 2007 10:58:28 -0600
> From: grant.likely@secretlab.ca
> To: mamsadegh@hotmail.com
> Subject: Re: ML403 2.6 kernel, root file system on NFS, stops after freei=
ng unused kernel memory
> CC: linuxppc-embedded@ozlabs.org
>=20
> On 5/23/07, Mohammad Sadegh Sadri wrote:
> >
> > Hi all
> >
> > I have studied the disscussion here mainly by Mirek32 (I think this was=
the name) but unfortunately the disscussion is finished without any suita=
ble answer and solution.
> >
> > the 2.6 kernel comes up on ml403 with no problem, it gets an IP address=
from my DHCP and mounts the root file system from my NFS server , all of t=
hese are ok.
> >
> > Unfortunately , after "freeing unused kernel memory ", init , console s=
tops working however the board is alive because it answers all of my pings =
correctly. I tried to make a telnet connection to the board with no success=
. ( I'm using ELDK 4.0)
> >
> > any suggestions what is happening here?
>=20
> Is there a /dev/console node?
>=20
> try booting with init=3D/bin/sh to see if you get a console.
>=20
> Your /etc/inittab might not be starting a getty on the console device.
>=20
> Cheers,
> g.
>=20
> --=20
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
> grant.likely@secretlab.ca
> (403) 399-0195
_________________________________________________________________
Invite your mail contacts to join your friends list with Windows Live Space=
s. It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=3Dcreate&wx_url=3D/friends.=
aspx&mkt=3Den-us=
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ML403 2.6 kernel, root file system on NFS, stops after freeing unused kernel memory
2007-05-26 13:46 Mohammad Sadegh Sadri
@ 2007-05-27 17:34 ` Clemens Koller
0 siblings, 0 replies; 5+ messages in thread
From: Clemens Koller @ 2007-05-27 17:34 UTC (permalink / raw)
To: Mohammad Sadegh Sadri; +Cc: Linux PPC Linux PPC
Hi, Mohammed!
Mohammad Sadegh Sadri schrieb:
> ok! problem solved
> problem was kernel command line
> mine was:
>
> CONFIG_CMDLINE="console=ttyS0,9600 console=tty0 root=/dev/nfs rw nfsroot=10.10.10.10:/home/sadri/hdl/eldk_rootfs/ppc_4xx ip=dhcp"
>
> by default 2.6.21 CMDLINE contains two console parameters,
> the correct one should be
>
> CONFIG_CMDLINE="console=ttyS0,9600 root=/dev/nfs rw nfsroot=10.10.10.10:/home/sadri/hdl/eldk_rootfs/ppc_4xx ip=dhcp"
>
> well , rootfs comes up until login prompt,
> I enter root as the password but it gives "incorrect login" message/
I have had the same symptoms.
Some device node was missing. I guess it was something like:
crw--w--w- 1 root tty 5, 1 May 1 09:30 console
crw-rw-rw- 1 root tty 5, 0 May 27 10:14 tty
Also check
-----8<-----
#
# /etc/securetty: defines which devices root can log in on
#
console
ttyS0
tty1
tty2
tty3
tty4
tty5
tty6
# End of file
-----8<-----
Greets,
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany
http://www.anagramm-technology.com
Phone: +49-89-741518-50
Fax: +49-89-741518-19
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-05-27 17:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-23 16:06 ML403 2.6 kernel, root file system on NFS, stops after freeing unused kernel memory Mohammad Sadegh Sadri
2007-05-23 16:58 ` Grant Likely
-- strict thread matches above, loose matches on Subject: below --
2007-05-26 10:05 Mohammad Sadegh Sadri
2007-05-26 13:46 Mohammad Sadegh Sadri
2007-05-27 17:34 ` Clemens Koller
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).