[uClinux-dev] RS-232 buffer full?

Steven Merrifield smerrifield at tecom.com.au
Thu Nov 1 19:20:55 EST 2001


Hi,

Have a look at drivers/char/68328serial.c.

There is some code that checks for ^P and ^R, then prints
the info you are seeing. Simply set info->is_cons to 0 to stop
this problem :)

steve




-----Original Message-----
From: Terry at itri.org.tw [mailto:Terry at itri.org.tw]
Sent: Friday, 2 November 2001 10:01
To: uclinux-dev at geekcreek.net
Subject: [uClinux-dev] RS-232 buffer full?


Hi
I used ucdimm to receive sine wave binary data via rs-232(tty1).
My baud rate is 38400 and 8N1.
However, the console appear this message again and again after receiving
data.
-
                                  free                        sibling
  task             PC     wchan   stack   pid father child younger older
swapper    0 R current  00000000  4096     0      0     1
init       1 S 10C1E03A 00000000  2240     1      0    47
kflushd    2 S 10C19B2E 00000000  3680     2      1             3
nfsiod     3 S 10C19B2E 00000000  3468     3      1             4     2
nfsiod     4 S 10C19B2E 00000000  3468     4      1             5     3
nfsiod     5 S 10C19B2E 00000000  3468     5      1             6     4
nfsiod     6 S 10C19B2E 00000000  3468     6      1            15     5
agetty     7 S 10C6DC82 00000000  3164    16      1            47    15
inetd      8 S 10C2B064 00000000  3108    15      1    40      16     6
login      9 S 10C6DC82 00000000  3164    47      1                  16
telnetd   10 S 10C2B064 00000000  3040    40     15    41
login     11 S 10C6DC82 00000000  3024    41     40
Free pages:    1824 (7296kB), %0 frag, %26 slack
Free blks:        3 min=1 max=1819 avg=608
Used blks:        3 min=8 max=168 avg=73
Buffer memory:       80kB
Buffer heads:        80
Buffer blocks:       80
   CLEAN: 76 buffers, 3 used (last=52), 0 locked, 31 protected, 0 dirty
  LOCKED: 1 buffers, 1 used (last=1), 0 locked, 1 protected, 0 dirty
ttyS1: 1 input overrun(s)

-
It looks like buffer is too full to crash ucdimm.
Can anybody tell me how to solve it?


This message resent by the uclinux-dev at uclinux.org list server
http://www.uClinux.org/
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list