Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 63583 Details for
Bug 99288
CD-ROM Interrupt Problems with 2.6.12-gentoo-r4 kernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This evil patch fixes my CD-ROM woes, for better or worse.
fix-the-cdrom.patch (text/plain), 884 bytes, created by
David Lloyd
on 2005-07-16 21:34:43 UTC
(
hide
)
Description:
This evil patch fixes my CD-ROM woes, for better or worse.
Filename:
MIME Type:
Creator:
David Lloyd
Created:
2005-07-16 21:34:43 UTC
Size:
884 bytes
patch
obsolete
>diff -ru linux-2.6.12-gentoo-r4/drivers/ide/ide-cd.c linux-2.6.12-gentoo-r4-fixed/drivers/ide/ide-cd.c >--- linux-2.6.12-gentoo-r4/drivers/ide/ide-cd.c 2005-07-16 23:03:05.000000000 -0500 >+++ linux-2.6.12-gentoo-r4-fixed/drivers/ide/ide-cd.c 2005-07-16 01:44:47.000000000 -0500 >@@ -300,6 +300,7 @@ > *************************************************************************/ > > #define IDECD_VERSION "4.61" >+#define VERBOSE_IDE_CD_ERRORS 1 > > #include <linux/config.h> > #include <linux/module.h> >@@ -1409,8 +1410,14 @@ > thislen = rq->data_len; > if (thislen > len) thislen = len; > >+ /* Mask off ireason of 1... hope this works :( */ >+ if ((ireason & 3) == 1) { >+ /* Do nothing */ >+ >+ } >+ > /* The drive wants to be written to. */ >- if ((ireason & 3) == 0) { >+ else if ((ireason & 3) == 0) { > if (!rq->data) { > blk_dump_rq_flags(rq, "cdrom_pc_intr, write"); > goto confused;
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 99288
: 63583 |
63584
|
63782