Skip to contentSkip to conversation

2.6.21-rc7: known regressions (v2)

PATCH Michal Čihař 1 participant 1 message Apr 24, 2007 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hi

Quoted 6 lines · On Tue, 24 Apr 2007 08:26:00 -0700 [email protected] wrote:

Adrian Bunk napsal:

Quoted 4 lines

Subject : gammu no longer works
References : http://lkml.org/lkml/2007/4/20/84
Submitter : Wolfgang Erig <[email protected]>
Status : unknown

Quoted 6 lines

As several people reported this issue to me, I debugged gammu and here are details: This is caused by setting fcntl(filehandle, F_SETFL, FASYNC). Consequent write(filehandle, ...) generate SIGIO, which end application. I'm still investigating why FASYNC was there and whether it is really needed, but it worked with it for ages (this code is there at least since 2004 where my VCS history ends).

Reply to myself... At the end it turned out that Gammu wrongly sets async I/O while it doesn't want it and does not handle it. Till now no driver which has been used didn't support it, so this issue has not been caught. I just removed this code from Gammu, so this is IMHO not a kernel regression.

PS: Please CC me on reply, I'm not subscribed.

Signature · 1 line
	Michal Čihař | http://cihar.com | http://blog.cihar.com