From: Boris Shteinbock <boris@fabiotec.com>
To: linuxppc-embedded@ozlabs.org
Subject: CPM2 (MPC8260) SMC problem. Please help.
Date: Wed, 18 Oct 2006 22:40:31 +0200 [thread overview]
Message-ID: <4536913F.8060801@fabiotec.com> (raw)
Hi ppl.
I have discovered very very odd problem with SMC2 on my 8260 board.
kernel version is 2.6.17.
The board is 8260 with serial ports on SMC1 and SMC 2 (SMC1 - console)
Now if I use SMC2 for communicating with remote device, ( some protocol)
I am sending packets and wait for a response.
However if the packet I send is SMALLER than 5 bytes, SMC goes
completely crazy.
write() doesn't return error, but the next read() hangs completely, and the
process moves to D state and it is impossible to kill it by any means.
It only happens when consequent writes of smaller than 5 bytes.
I tried to check the driver, but couldn't find any clues to what goes wrong.
I tried both compatibility and platform-based modes with the same results.
Any help on the issue would be highliy appreciated.
next reply other threads:[~2006-10-18 21:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-18 20:40 Boris Shteinbock [this message]
2006-10-20 15:03 ` CPM2 (MPC8260) SMC problem. Please help Vitaly Bordug
-- strict thread matches above, loose matches on Subject: below --
2006-10-23 16:02 Greg Lopp
2006-10-23 16:09 ` Pantelis Antoniou
2006-10-23 17:23 ` Vitaly Bordug
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4536913F.8060801@fabiotec.com \
--to=boris@fabiotec.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).