Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 312253 Details for
Bug 456078
Timeouts in wait_drive_not_busy with TEAC DV-W28ECW and similar
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch increasing timeout in wait_drive_not_busy
TEAC-wait_drive_not_busy-timeouts.patch (text/plain), 1.25 KB, created by
Bryn M. Reeves
on 2008-07-21 12:37:20 UTC
(
hide
)
Description:
Patch increasing timeout in wait_drive_not_busy
Filename:
MIME Type:
Creator:
Bryn M. Reeves
Created:
2008-07-21 12:37:20 UTC
Size:
1.25 KB
patch
obsolete
>commit f54feafa6d47d0aa1a96adefdc763b708b02f94f >Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> >Date: Fri Jun 20 20:53:33 2008 +0200 > > ide: increase timeout in wait_drive_not_busy() > > Some ATAPI devices take longer than the current max timeout value to > become ready (i.e. TEAC DV-W28ECW takes 6 ms) so increase the timeout > value to 10 ms. > > This fixes kernel.org bugzilla bug #10887: > http://bugzilla.kernel.org/show_bug.cgi?id=10887 > > Reported-by: Masanari Iida <standby24x7@gmail.com> > Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> > >diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c >index 0c908ca..ab545ff 100644 >--- a/drivers/ide/ide-taskfile.c >+++ b/drivers/ide/ide-taskfile.c >@@ -225,10 +225,10 @@ static u8 wait_drive_not_busy(ide_drive_t *drive) > u8 stat; > > /* >- * Last sector was transfered, wait until drive is ready. >- * This can take up to 10 usec, but we will wait max 1 ms. >+ * Last sector was transfered, wait until device is ready. This can >+ * take up to 6 ms on some ATAPI devices, so we will wait max 10 ms. > */ >- for (retries = 0; retries < 100; retries++) { >+ for (retries = 0; retries < 1000; retries++) { > stat = ide_read_status(drive); > > if (stat & BUSY_STAT)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 456078
: 312253 |
336467