Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SCSI changes in 2.6.3 break dvd+rw-tools

0 views
Skip to first unread message

Michael Guntsche

unread,
Feb 20, 2004, 9:01:23 AM2/20/04
to
--Signature=_Fri__20_Feb_2004_14_33_00_+0100_5aI7L/RYMeiEn_/Q
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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
writer,
talking SCSI).
dvdrecord on the other hand works without a problem.

------------------
scsi_lib.c
/*
* 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 =
0x8000002
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?


/Michael


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

--Signature=_Fri__20_Feb_2004_14_33_00_+0100_5aI7L/RYMeiEn_/Q
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFANgyP9lrUeNl8Hv8RAheAAJ9A0+bqeA6Mni2/shMEXJvNoGu2sQCZATV4
luAse9kiPAdMx0lg9/Xf4cA=
=Py2R
-----END PGP SIGNATURE-----

--Signature=_Fri__20_Feb_2004_14_33_00_+0100_5aI7L/RYMeiEn_/Q--


--
To UNSUBSCRIBE, email to cdwrite...@other.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@other.debian.org

Michael Guntsche

unread,
Feb 20, 2004, 11:50:00 AM2/20/04
to
--Signature=_Fri__20_Feb_2004_17_28_00_+0100_/sYpl69EGWzczHFb

Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Some more information

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

<snip>

The external writer works if I switch it to USB.
I haven't taken a look through the source to see if the programs are
doing something special for buflen in that case yet.


Cheers,
Michael


--Signature=_Fri__20_Feb_2004_17_28_00_+0100_/sYpl69EGWzczHFb
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFANjWV9lrUeNl8Hv8RAhitAJ9ZYU5scT9gbS45YKWcvk/F2jFfhQCfcWyW
Xs6YYfIzrw4kWNtxPGuQ9Sk=
=mmz3
-----END PGP SIGNATURE-----

--Signature=_Fri__20_Feb_2004_17_28_00_+0100_/sYpl69EGWzczHFb--

Joachim Feise

unread,
Feb 20, 2004, 1:29:41 PM2/20/04
to
That seems to be the same problem I reported earlier:
growisofs hanging when running kernel 2.6.3.
I just tried commenting out that particular line, and I can
use growisofs just fine.

-Joe

0 new messages