All of lore.kernel.org
 help / color / mirror / Atom feed
* re: 2.6.19-rc1 (+ide-cd patches) regression: unable to rip cd
@ 2006-11-10 16:13 Jens Axboe
  2006-11-10 18:23 ` Alex Romosan
  0 siblings, 1 reply; 9+ messages in thread
From: Jens Axboe @ 2006-11-10 16:13 UTC (permalink / raw)
  To: linux-kernel; +Cc: romosan

Hi Alex,

Can you retest with this? This must be where the wrong write bit comes
from.

diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c
index 2dc3264..a19338e 100644
--- a/block/scsi_ioctl.c
+++ b/block/scsi_ioctl.c
@@ -246,10 +246,10 @@ static int sg_io(struct file *file, requ
 		switch (hdr->dxfer_direction) {
 		default:
 			return -EINVAL;
-		case SG_DXFER_TO_FROM_DEV:
 		case SG_DXFER_TO_DEV:
 			writing = 1;
 			break;
+		case SG_DXFER_TO_FROM_DEV:
 		case SG_DXFER_FROM_DEV:
 			break;
 		}

-- 
Jens Axboe


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* 2.6.19-rc1 regression: unable to read dvd's
@ 2006-10-12  1:45 Alex Romosan
  2006-10-12  6:53 ` Jens Axboe
  0 siblings, 1 reply; 9+ messages in thread
From: Alex Romosan @ 2006-10-12  1:45 UTC (permalink / raw)
  To: linux-kernel

i am not able to read movie dvd's anymore under 2.6.19-rc1. i get the
following in the syslog:

  kernel: hdc: read_intr: Drive wants to transfer data the wrong way!

the drive in question is on a thinkpad t40:

  kernel: hdc: UJDA745 DVD/CDRW, ATAPI CD/DVD-ROM drive
  kernel: hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)

i can read the disks under 2.6.18 so it's probably not the drive's
fault. any ideas?

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-11-14 19:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-10 16:13 2.6.19-rc1 (+ide-cd patches) regression: unable to rip cd Jens Axboe
2006-11-10 18:23 ` Alex Romosan
2006-11-13 20:02   ` Jens Axboe
2006-11-13 20:15     ` Alex Romosan
2006-11-13 20:35       ` Jens Axboe
2006-11-14 17:55         ` Alex Romosan
2006-11-14 19:04           ` Jens Axboe
2006-11-14 19:35             ` Alex Romosan
  -- strict thread matches above, loose matches on Subject: below --
2006-10-12  1:45 2.6.19-rc1 regression: unable to read dvd's Alex Romosan
2006-10-12  6:53 ` Jens Axboe
2006-10-12 10:28   ` Mike Galbraith
2006-10-12 14:13     ` Mike Galbraith
2006-10-12 12:09       ` Jens Axboe
2006-10-12 12:21         ` Jens Axboe
2006-10-12 15:19           ` Alex Romosan
2006-10-12 15:23             ` Jens Axboe
2006-10-12 16:04               ` Alex Romosan
2006-10-12 16:51                 ` Jens Axboe
2006-10-13 14:40                   ` 2.6.19-rc1 (+ide-cd patches) regression: unable to rip cd Alex Romosan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.