[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SCSI changes in 2.6.3 break dvd+rw-tools

Hi Andy and list,

It looks like the following changes in the linux SCSI subsystem break
dvd+rw-tools for SCSI controlled writers (I have an external firewire
talking SCSI).
dvdrecord on the other hand works without a problem.

   * Set the queue's mask to require a mere 8-byte alignment for
   * DMA buffers, rather than the default 512.  This shouldn't
   * inconvenience any user programs and should be okay for most
   * host adapters.  A host driver can alter this mask in its
   * slave_alloc() or slave_configure() callback if necessary.
  blk_queue_dma_alignment(q, (8 - 1));
Commenting this line out makes the tools work again.
I don't think that this is the right fix though.

I looked at dvd+rw-mediainfo first.
I found out that the following line caused the SCSI system to fail.

dvd+rw-meadiainfo.cpp-175:  if ((err=cmd.transport(READ,header,8)))

There the program froze and the syslog started to spill out the
following error.

Feb 20 14:02:15 roadrunner kernel: SCSI error : <0 0 0 0> return code =
Feb 20 14:02:15 roadrunner kernel: Current sr0: sense = 70  4
Feb 20 14:02:15 roadrunner kernel: ASC=1b ASCQ= 0
Feb 20 14:02:15 roadrunner kernel: Raw sense data:0x70 0x00 0x04 0x00
0x00 0x00 0x00 0x0a 0x00 0x00 0x00 0x00 0x1b 0x00 0x00 0x00 0x00 0x00

Out of couriosity I changed the 8 to a 9 and it worked, but the program froze again
a little bit later, during another cmd.transport.

Does someone know how to fix this?


PS: Pleases CC: in any replies, since subscribing to this list seems broken right now

Attachment: pgpyCyghcRrPk.pgp
Description: PGP signature

Reply to: