public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Paulo Marques <pmarques@grupopie.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Greg KH <greg@kroah.com>, Andy Lutomirski <luto@myrealbox.com>,
	linux-usb-devel@lists.sourceforge.net,
	linux-kernel@vger.kernel.org
Subject: Re: [linux-usb-devel] Re: [BUG] usblp_write spins forever after	an	error
Date: Fri, 05 Mar 2004 14:27:17 +0000	[thread overview]
Message-ID: <40488E45.7070901@grupopie.com> (raw)
In-Reply-To: 1078479692.12176.32.camel@imladris.demon.co.uk

David Woodhouse wrote:

> On Thu, 2004-03-04 at 12:33 +0000, Paulo Marques wrote:
> 
>>Yes, unfortunately it did went into 2.6.4-rc1. However it is already corrected 
>>in 2.6.4-rc2. Luckily it didn't went into any "non-rc" official release.
>>
>>Please try 2.6.4-rc2, and check to see if the bug went away...
>>
> 
> Seems to work; thanks. Does this need backporting to 2.4 too?
> 


Unfortunately this isn't over yet.

I got suspicious about this bug fix, because I *did* test my patch before 
submitting it and the kernel that didn't work before, worked fine with my patch.

But now it seems that it is the other way around. After a few digging I found 
out the problem:

The application that I was testing with uses the usblp handle with non-blocking 
I/O .

So my patch does work for non-blocking I/O uses of the port, but wrecks the 
normal blocking mode.

I've already produced a version that works for both cases. I'll just clean it up 
a bit and submit it to 2.4 and 2.6 kernels.

-- 
Paulo Marques - www.grupopie.com
"In a world without walls and fences who needs windows and gates?"


  reply	other threads:[~2004-03-05 14:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-15 21:55 [BUG] usblp_write spins forever after an error Andy Lutomirski
2004-02-16  3:58 ` Greg KH
2004-02-16 15:16   ` [linux-usb-devel] " Paulo Marques
2004-03-04 11:25     ` David Woodhouse
2004-03-04 12:33       ` Paulo Marques
2004-03-05  9:41         ` David Woodhouse
2004-03-05 14:27           ` Paulo Marques [this message]
2004-03-05 18:11             ` [PATCH] usblp.c (Was: usblp_write spins forever after an error) Paulo Marques
2004-03-11  1:33               ` Greg KH
2004-05-10 11:34               ` David Woodhouse
2004-02-17  4:40   ` [BUG] usblp_write spins forever after an error Andy Lutomirski

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=40488E45.7070901@grupopie.com \
    --to=pmarques@grupopie.com \
    --cc=dwmw2@infradead.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=luto@myrealbox.com \
    /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