* RE: Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfs mount problems
@ 2007-05-31 18:54 Mohammad Sadegh Sadri
2007-05-31 19:36 ` Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfsmount problems Gary Kenaley
2007-06-01 14:51 ` Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfs mount problems Ben Warren
0 siblings, 2 replies; 6+ messages in thread
From: Mohammad Sadegh Sadri @ 2007-05-31 18:54 UTC (permalink / raw)
To: bwarren; +Cc: Linux PPC Linux PPC
Hi all,
thanks for suggestions
I added rsize=3D1024,wsize=3D1024 to CMD LINE. INIT can now be executed fro=
m nfs, but I think that the problem still exists,
during the start up process ( from when the rootfs is mounted until user ge=
t a command prompt ) some times ML403 stops working completely, and generat=
es "Segmentation Fault" and similar messages. some other times the system c=
omes up with no problem.=20
I had the same problem when mounting rootfs using nfs via 100mbits link , b=
ut for gigabit link the probability of reaching this unstable state is much=
higher.
any ideas?
thanks
----------------------------------------
> Subject: Re: Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfs=
mount problems
> From: bwarren@qstreams.com
> To: mamsadegh@hotmail.com
> CC: linuxppc-embedded@ozlabs.org
> Date: Tue, 29 May 2007 10:52:21 -0400
>=20
> Hi Mohammad,
>=20
> On Tue, 2007-05-29 at 14:41 +0000, Mohammad Sadegh Sadri wrote:
> > Hi all,
> >=20
> > well I could bring up the grant's kernel on ml403 completely. the root =
file system was over nfs.=20
> >=20
> > when I use a 100mbits link for connection to ml403 , every thing is wor=
king suitably.
> > but when I use a 1000mbits link, I see that ml403 gets ip address from =
dhcp and mounts the root file system but can not go further , it stops with=
a message: "nfs server not responding ...." some thing like this.
> >=20
> > when pinging to ml403 with 64 bytes packets, ping works fine for both o=
f 100 and 1000mbits links
> > but when I try to ping the board with 4000 bytes packets I notice that =
ml403 on gigabit link can not answer to ping packets, however on 100mbit li=
nk every thing works just fine.
> >=20
> > any ideas?
>=20
> NFS is notorious for sending lots of big packets one right after
> another. This can easily overwhelm an Ethernet receiver. Until you're
> able to figure out why the 1000M link can't keep up, limit the NFS
> receive packet sizes by passing the following NFS option in your kernel
> command line:
>=20
> rsize=3D1024
>=20
> You can experiment with the value. I believe the NFS default size is
> typically 8kB or greater.
>=20
> regards,
> Ben
>=20
_________________________________________________________________
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] 6+ messages in thread
* RE: Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfsmount problems
2007-05-31 18:54 Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfs mount problems Mohammad Sadegh Sadri
@ 2007-05-31 19:36 ` Gary Kenaley
2007-06-01 14:51 ` Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfs mount problems Ben Warren
1 sibling, 0 replies; 6+ messages in thread
From: Gary Kenaley @ 2007-05-31 19:36 UTC (permalink / raw)
To: Mohammad Sadegh Sadri, bwarren; +Cc: Linux PPC Linux PPC
This can be caused by problems with your host Ethernet driver. For
instance, the e1000 driver running on the Intel 82573L controller must
have ~ the following line added to /etc/modprobe.conf:
options e1000 RxIntDelay=3D32
Another symptom is occasional erratic ping times to and from the host.
The quickest way to test this theory is to put the rootfs on a
different-hardware, known-good host and see if the problem goes away.
On an 8349, we have also see Phy chip problems which required a reset
after every write to the Phy, and problems setting up the Phy when
stepping through the debugger.
> -----Original Message-----
> From: linuxppc-embedded-bounces+gkenaley=3Dechelon.com@ozlabs.org
> [mailto:linuxppc-embedded-bounces+gkenaley=3Dechelon.com@ozlabs.org] =
On
> Behalf Of Mohammad Sadegh Sadri
> Sent: Thursday, May 31, 2007 11:55 AM
> To: bwarren@qstreams.com
> Cc: Linux PPC Linux PPC
> Subject: RE: Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link,
> nfsmount problems
>=20
>=20
> Hi all,
>=20
> thanks for suggestions
> I added rsize=3D1024,wsize=3D1024 to CMD LINE. INIT can now be =
executed
from
> nfs, but I think that the problem still exists,
> during the start up process ( from when the rootfs is mounted until
user
> get a command prompt ) some times ML403 stops working completely, and
> generates "Segmentation Fault" and similar messages. some other times
the
> system comes up with no problem.
>=20
> I had the same problem when mounting rootfs using nfs via 100mbits
link ,
> but for gigabit link the probability of reaching this unstable state
is
> much higher.
>=20
> any ideas?
>=20
> thanks
>=20
>=20
>=20
>=20
> ----------------------------------------
> > Subject: Re: Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet
link,
> nfs mount problems
> > From: bwarren@qstreams.com
> > To: mamsadegh@hotmail.com
> > CC: linuxppc-embedded@ozlabs.org
> > Date: Tue, 29 May 2007 10:52:21 -0400
> >
> > Hi Mohammad,
> >
> > On Tue, 2007-05-29 at 14:41 +0000, Mohammad Sadegh Sadri wrote:
> > > Hi all,
> > >
> > > well I could bring up the grant's kernel on ml403 completely. the
root
> file system was over nfs.
> > >
> > > when I use a 100mbits link for connection to ml403 , every thing
is
> working suitably.
> > > but when I use a 1000mbits link, I see that ml403 gets ip address
from
> dhcp and mounts the root file system but can not go further , it stops
> with a message: "nfs server not responding ...." some thing like this.
> > >
> > > when pinging to ml403 with 64 bytes packets, ping works fine for
both
> of 100 and 1000mbits links
> > > but when I try to ping the board with 4000 bytes packets I notice
that
> ml403 on gigabit link can not answer to ping packets, however on
100mbit
> link every thing works just fine.
> > >
> > > any ideas?
> >
> > NFS is notorious for sending lots of big packets one right after
> > another. This can easily overwhelm an Ethernet receiver. Until
you're
> > able to figure out why the 1000M link can't keep up, limit the NFS
> > receive packet sizes by passing the following NFS option in your
kernel
> > command line:
> >
> > rsize=3D1024
> >
> > You can experiment with the value. I believe the NFS default size
is
> > typically 8kB or greater.
> >
> > regards,
> > Ben
> >
>=20
> _________________________________________________________________
> Invite your mail contacts to join your friends list with Windows Live
> Spaces. It's easy!
>
http://spaces.live.com/spacesapi.aspx?wx_action=3Dcreate&wx_url=3D/friend=
s.a
sp
> x&mkt=3Den-us
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfs mount problems
2007-05-31 18:54 Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfs mount problems Mohammad Sadegh Sadri
2007-05-31 19:36 ` Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfsmount problems Gary Kenaley
@ 2007-06-01 14:51 ` Ben Warren
1 sibling, 0 replies; 6+ messages in thread
From: Ben Warren @ 2007-06-01 14:51 UTC (permalink / raw)
To: Mohammad Sadegh Sadri; +Cc: Linux PPC Linux PPC
--- Mohammad Sadegh Sadri <mamsadegh@hotmail.com> wrote:
>
> Hi all,
>
> thanks for suggestions
> I added rsize=1024,wsize=1024 to CMD LINE. INIT can now be executed from nfs,
> but I think that the problem still exists,
> during the start up process ( from when the rootfs is mounted until user get
> a command prompt ) some times ML403 stops working completely, and generates
> "Segmentation Fault" and similar messages. some other times the system comes
> up with no problem.
>
> I had the same problem when mounting rootfs using nfs via 100mbits link , but
> for gigabit link the probability of reaching this unstable state is much
> higher.
>
> any ideas?
>
Sorry, I don't know anything about your hardware. Stating the obvious,
something's being put where it shouldn't be, maybe because the Ethernet driver
is filling buffers faster than they are being processed? This is of course
stressed with a higher speed link. You'll have much more control over your
debugging if you put rootfs somewhere other than NFS (flash or ramdisk), then
mount remote drives and try various file operations.
regards,
Ben
^ permalink raw reply [flat|nested] 6+ messages in thread
* Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfs mount problems
@ 2007-05-29 14:41 Mohammad Sadegh Sadri
2007-05-29 14:52 ` Ben Warren
2007-05-29 14:57 ` Andrei Konovalov
0 siblings, 2 replies; 6+ messages in thread
From: Mohammad Sadegh Sadri @ 2007-05-29 14:41 UTC (permalink / raw)
To: Linux PPC Linux PPC
Hi all,
well I could bring up the grant's kernel on ml403 completely. the root file=
system was over nfs.=20
when I use a 100mbits link for connection to ml403 , every thing is working=
suitably.
but when I use a 1000mbits link, I see that ml403 gets ip address from dhcp=
and mounts the root file system but can not go further , it stops with a m=
essage: "nfs server not responding ...." some thing like this.
when pinging to ml403 with 64 bytes packets, ping works fine for both of 10=
0 and 1000mbits links
but when I try to ping the board with 4000 bytes packets I notice that ml40=
3 on gigabit link can not answer to ping packets, however on 100mbit link e=
very thing works just fine.
any ideas?
_________________________________________________________________
Connect to the next generation of MSN Messenger=A0
http://imagine-msn.com/messenger/launch80/default.aspx?locale=3Den-us&sourc=
e=3Dwlmailtagline=
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfs mount problems
2007-05-29 14:41 Mohammad Sadegh Sadri
@ 2007-05-29 14:52 ` Ben Warren
2007-05-29 14:57 ` Andrei Konovalov
1 sibling, 0 replies; 6+ messages in thread
From: Ben Warren @ 2007-05-29 14:52 UTC (permalink / raw)
To: Mohammad Sadegh Sadri; +Cc: Linux PPC Linux PPC
Hi Mohammad,
On Tue, 2007-05-29 at 14:41 +0000, Mohammad Sadegh Sadri wrote:
> Hi all,
>
> well I could bring up the grant's kernel on ml403 completely. the root file system was over nfs.
>
> when I use a 100mbits link for connection to ml403 , every thing is working suitably.
> but when I use a 1000mbits link, I see that ml403 gets ip address from dhcp and mounts the root file system but can not go further , it stops with a message: "nfs server not responding ...." some thing like this.
>
> when pinging to ml403 with 64 bytes packets, ping works fine for both of 100 and 1000mbits links
> but when I try to ping the board with 4000 bytes packets I notice that ml403 on gigabit link can not answer to ping packets, however on 100mbit link every thing works just fine.
>
> any ideas?
NFS is notorious for sending lots of big packets one right after
another. This can easily overwhelm an Ethernet receiver. Until you're
able to figure out why the 1000M link can't keep up, limit the NFS
receive packet sizes by passing the following NFS option in your kernel
command line:
rsize=1024
You can experiment with the value. I believe the NFS default size is
typically 8kB or greater.
regards,
Ben
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfs mount problems
2007-05-29 14:41 Mohammad Sadegh Sadri
2007-05-29 14:52 ` Ben Warren
@ 2007-05-29 14:57 ` Andrei Konovalov
1 sibling, 0 replies; 6+ messages in thread
From: Andrei Konovalov @ 2007-05-29 14:57 UTC (permalink / raw)
To: Mohammad Sadegh Sadri; +Cc: Linux PPC Linux PPC
Mohammad Sadegh Sadri wrote:
> Hi all,
>
> well I could bring up the grant's kernel on ml403 completely. the root file system was over nfs.
>
> when I use a 100mbits link for connection to ml403 , every thing is working suitably.
> but when I use a 1000mbits link, I see that ml403 gets ip address from dhcp and mounts the root file system but can not go further , it stops with a message: "nfs server not responding ...." some thing like this.
>
> when pinging to ml403 with 64 bytes packets, ping works fine for both of 100 and 1000mbits links
> but when I try to ping the board with 4000 bytes packets I notice that ml403 on gigabit link can not answer to ping packets, however on 100mbit link every thing works just fine.
>
> any ideas?
TEMAC is in FIFO mode?
Try adding "nfsroot=,rsize=1024,wsize=1024" to cmdline?
Thanks,
Andrei
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-06-01 14:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31 18:54 Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfs mount problems Mohammad Sadegh Sadri
2007-05-31 19:36 ` Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfsmount problems Gary Kenaley
2007-06-01 14:51 ` Kernel 2.6, ML403, rootfs on nfs, gigabit ethernet link, nfs mount problems Ben Warren
-- strict thread matches above, loose matches on Subject: below --
2007-05-29 14:41 Mohammad Sadegh Sadri
2007-05-29 14:52 ` Ben Warren
2007-05-29 14:57 ` Andrei Konovalov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox