Bug in termios

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 25 11:29:17 UTC 2006


jennifer at oarcorp.com wrote:
> I am unable to create a bug report, but I have attached the patch that
> resolves the termios read problem.
>   
We have not been able to get GNATS to run on the new FC5 x86_64 box.  We
were wanting to transition away from GNATS but that hasn't made the top of
the list yet.

Patch committed to 4.6, 4.7, adn CVS head.

-joel

> Jennifer
>
>   
>> Joel Sherrill schrieb:
>>
>>     
>>> jennifer at oarcorp.com wrote:
>>>       
>>>> Changing to a simple binary semaphore works.  What I had checked before
>>>> was
>>>> changing it to a binary semaphore, not a simple binary.  We are going to
>>>> run over the weekend, but this appears to have solved the problem.
>>>>         
>>> Jennifer, If the test passes all weekend, we need to get a patch merged.
>>>       
>> i have detected the same problem VMIN = VTIME = 0. termios docu says it is
>> *never* blocking but blocks.
>>
>> is there a PR filed and a patch available? thanks
>>
>> --
>> Schöne Grüße aus Reutlingen
>>
>> Wolfram Wadepohl
>> Forschung & Entwicklung
>>
>> E&K AUTOMATION
>> Indumat GmbH & Co. KG
>> Siemensstraße 3
>> 72766 Reutlingen
>> Deutschland
>>
>> Tel.  +49 7121 514-289
>> Fax   +49 7121 514-299
>> eMail W.Wadepohl at indumat.de
>>        Wolfram.Wadepohl at ek-automation.com
>>        W.Wadepohl at ieee.org
>> WWW   http://www.indumat.de
>>        http://www.ek-automation.com
>>
>>
>> Bitte senden Sie mir keine Word- oder PowerPoint- (tm Microsoft) Anhänge.
>> Senden Sie mir einfachen Text, HTML oder PDF.
>> Siehe http://www.gnu.org/philosophy/no-word-attachments.de.html
>>
>>
>>     
>> ------------------------------------------------------------------------
>>
>> Index: src/termios.c
>> ===================================================================
>> RCS file: /shorad/Repository/rtems-4_6_4/cpukit/libcsupport/src/termios.c,v
>> retrieving revision 1.2
>> diff -c -r1.2 termios.c
>> *** src/termios.c	7 Jun 2006 13:47:47 -0000	1.2
>> --- src/termios.c	23 Oct 2006 13:05:54 -0000
>> ***************
>> *** 295,301 ****
>>   			sc = rtems_semaphore_create (
>>   				rtems_build_name ('T', 'R', 'r', c),
>>   				0,
>> ! 				RTEMS_COUNTING_SEMAPHORE | RTEMS_PRIORITY,
>>   				RTEMS_NO_PRIORITY,
>>   				&tty->rawInBuf.Semaphore);
>>   			if (sc != RTEMS_SUCCESSFUL)
>> --- 295,301 ----
>>   			sc = rtems_semaphore_create (
>>   				rtems_build_name ('T', 'R', 'r', c),
>>   				0,
>> ! 				RTEMS_SIMPLE_BINARY_SEMAPHORE | RTEMS_PRIORITY,
>>   				RTEMS_NO_PRIORITY,
>>   				&tty->rawInBuf.Semaphore);
>>   			if (sc != RTEMS_SUCCESSFUL)




More information about the users mailing list