Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#630593: The Intel parport bug (http://www.linux-archive.org/debian-kernel/562867-bug-630593-intel-parport-bug.html)

Jonathan Nieder 08-11-2011 02:48 AM

Bug#630593: The Intel parport bug
 
Jonathan Nieder wrote:
> Leopold Palomo-Avellaneda wrote:

>> After such a long time it is probably
>> appropriate to just remove the test
> [...]
>> I have applied the patch to the standard debian kernel and it compiles and
>> runs perfectly. Applied to some Dell hardware, now the EPP mode is detected
>> and, after some initial tests it's working.
>>
>> I don't have any hope that it would be solved in the linux kernel
>
> I think otherwise: this patch should be a shoe-in

For history divers: the quirk was introduced between 2.3.10pre5 and
2.3.10 (thanks to Dave Jones for the git tree that makes such searches
easy!). That means some time around June or July, 1999. At the time
Tim Waugh seems to have been an active parport_pc user, so maybe it
would be worth getting his thoughts on such a patch, too, in the vague
hope that he remembers --- though it _is_ a long time ago.

Sorry for the noise; I forgot to mention that when sending the first
message.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110811024815.GA20331@elie.gateway.2wire.net">htt p://lists.debian.org/20110811024815.GA20331@elie.gateway.2wire.net

"Leopold Palomo-Avellaneda" 08-22-2011 08:23 AM

Bug#630593: The Intel parport bug
 
Hi,

first of all sorry for the delay. I have been out for a few days and I don't
see this email.

A Dijous, 11 d'agost de 2011, Jonathan Nieder va escriure:
[...]
>
> That's it. Does it sound reasonable to you?

Yes, it's so reasonable. I hope write it soon I send it. Thanks a lot for the
report.

> Once the patch is accepted upstream, we will be glad to include it.

I hope so.


Thansk for all.

Leo

--
--
Linux User 152692
Catalonia



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201108221023.17247.leo@alaxarxa.net">http://lists.debian.org/201108221023.17247.leo@alaxarxa.net

Jonathan Nieder 11-24-2011 07:00 AM

Bug#630593: The Intel parport bug
 
found 630593 linux-2.6/3.1.1-1
quit

Leopold Palomo-Avellaneda wrote:

> I don't have any hope that it would be solved in the linux kernel, but at
> least in the debian kernel it could be applied.

So, it seems that "the Intel bug" is that Intel's 82091 is not
advertised to implement (and does not implement?) the timeout bit in
the ECR register. There are various possible approaches to work
around that.

The current code in mainline that tries to detect these chipsets is
nonsense. Even so, the suggested patch that rips it out would have a
chance of introducing regressions and probably should not be applied
unless someone finds a way to test it widely. There were two
alternative approaches suggested in the upstream discussion, intended
not to suffer from the same problem[1][2] (caveat: I have not
sanity-checked the second one).

In other words, we are between steps 1 and 2 of the short story
described earlier in this bug log. The next step is to take the
feedback received into account and propose a new patch. My only
additional advice is that [3] seems to be a nice reference for getting
accustomed to Linux internals.

If I were writing it, I would rip out the code marked "Check for Intel
bug" and use a kernel parameter to decide whether to assume broken EPP
support, defaulting to true. Simpler, more robust, and hard to object
to.

Thanks again and hope that helps,
Jonathan

[1] http://thread.gmane.org/gmane.linux.kernel/1191731
[2] http://thread.gmane.org/gmane.linux.kernel/1192024/focus=1746
[3] http://lwn.net/Kernel/LDD3/



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111124080005.GA23557@elie.hsd1.il.comcast.net">h ttp://lists.debian.org/20111124080005.GA23557@elie.hsd1.il.comcast.net


All times are GMT. The time now is 08:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.