Your message dated Wed, 02 Jul 2008 11:47:15 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#463886: fixed in qpxtool 0.6.1-4
has caused the Debian Bug report #463886,
regarding qpxtool incompatible with libata
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
463886: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=463886
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: qpxtool
Version: 0.6.1-3
Tags: patch

qpxtool does not work with the Linux kernel's new IDE/SATA
infrastructure (libata):

------------------------------------------------------------------------
...
** Scaning for MMC compliant devices...
/dev/sr0: PLEXTOR  DVDR   PX-760A   1.07
** Scan complete: 1 device(s) found

Selected: /dev/sr0
:-( unable to MODE_SENSE(10) : Input/output error
:-( unable to MODE_SENSE(10) : Input/output error

** Reading supported mode pages...
:-( unable to MODE_SENSE(10) : Input/output error
:-( unable to GET_CONFIGURATION LENGTH : Input/output error
:-( unable to MODE_SENSE(10) : Input/output error
...
------------------------------------------------------------------------

The kernel included with Debian currently ships with libata disabled for PATA
devices.  However, I built my own kernel since the old IDE drivers don't work
properly with my hardware (JMicron 20363).

Someone else had the same problem and reported it here:
http://lkml.org/lkml/2008/1/11/297
https://bugzilla.redhat.com/show_bug.cgi?id=428281

I'll attach a bugfix that works for me.

The cause of this problem seems to be the overloaded Scsi_Command []
operator in qpx_transport.h - it has a strange implementation which is
easy to use incorrectly, and qpxtool does get it wrong in various places.

Regards,
Mirko


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (30, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-rc7-git-mpa1 (SMP w/2 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages qpxtool depends on:
ii  libc6                   2.7-6            GNU C Library: Shared libraries
ii  libgcc1                 1:4.3-20080116-1 GCC support library
ii  libqt3-mt               3:3.3.7-9        Qt GUI Library (Threaded runtime v
ii  libstdc++6              4.3-20080116-1   The GNU Standard C++ Library v3
ii  libx11-6                2:1.0.3-7        X11 client-side library
ii  libxext6                1:1.0.3-2        X11 miscellaneous extension librar

qpxtool recommends no packages.

-- no debconf information
--- lib/qpxtransport/qpx_transport.cpp.orig	2008-02-03 00:56:14.000000000 +0100
+++ lib/qpxtransport/qpx_transport.cpp	2008-02-03 01:14:09.000000000 +0100
@@ -215,6 +215,21 @@
 #define KERNEL_BROKEN 0
 	if (use_sg_io)
 	{
+		/* see linux-2.6.23/block/scsi_ioctl.c:36 */
+		static const unsigned char scsi_command_size[8] =
+		{
+				6, 10, 10, 12,
+				16, 12, 10, 10
+		};
+		char cmdsize, opcode;
+
+		opcode = cgc.cmd[0];
+		/* see linux-2.6.23/include/scsi/scsi.h:25 */
+		cmdsize = scsi_command_size[((opcode) >> 5) & 7];
+		if ((sg_io.cmd_len > 0) && (sg_io.cmd_len < cmdsize)) {
+			sg_io.cmd_len = cmdsize;
+		}
+
 		sg_io.dxferp		= buf;
 		sg_io.dxfer_len		= sz;
 		sg_io.dxfer_direction	= use_sg_io[dir];

--- End Message ---
--- Begin Message ---
Source: qpxtool
Source-Version: 0.6.1-4

We believe that the bug you reported is fixed in the latest version of
qpxtool, which is due to be installed in the Debian FTP archive:

pxfw_0.6.1-4_i386.deb
  to pool/main/q/qpxtool/pxfw_0.6.1-4_i386.deb
qpxtool_0.6.1-4.diff.gz
  to pool/main/q/qpxtool/qpxtool_0.6.1-4.diff.gz
qpxtool_0.6.1-4.dsc
  to pool/main/q/qpxtool/qpxtool_0.6.1-4.dsc
qpxtool_0.6.1-4_i386.deb
  to pool/main/q/qpxtool/qpxtool_0.6.1-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <[EMAIL PROTECTED]> (supplier of updated qpxtool package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed,  2 Jul 2008 12:42:00 +0200
Source: qpxtool
Binary: qpxtool pxfw
Architecture: source i386
Version: 0.6.1-4
Distribution: unstable
Urgency: medium
Maintainer: Daniel Baumann <[EMAIL PROTECTED]>
Changed-By: Daniel Baumann <[EMAIL PROTECTED]>
Description: 
 pxfw       - Plextor firmware updater
 qpxtool    - CD/DVD quality checker
Closes: 442718 463886
Changes: 
 qpxtool (0.6.1-4) unstable; urgency=medium
 .
   * Adding patch from Mirko Parthey <[EMAIL PROTECTED]>
     to make qpxtool work with libata (Closes: #463886).
   * Rediffing 0.6.1.1.dpatch.
   * Completing clean target in rules, thanks to Barry deFreese
     <[EMAIL PROTECTED]> (Closes: #442718).
   * Reordering rules file.
   * Using lintian debhelper to install lintian overrides.
   * Rewriting copyright file in machine-interpretable format.
   * Adding suggests to pxfw in qpxtool.
   * Adding vcs fields to control file.
   * Upgrading package to standards 3.8.0.
   * Upgrading package to debhelper 7.
   * Removing watch file.
   * Reverting Makefile.qmake to upstream.
Checksums-Sha1: 
 2e3443ef7cb12d5ce84a479dac568e150e8f5236 1155 qpxtool_0.6.1-4.dsc
 3805f16c01f335627044769f85517c3390840a7b 11580 qpxtool_0.6.1-4.diff.gz
 a4edef33b648f6052b55763304c54ad200e5774a 348234 qpxtool_0.6.1-4_i386.deb
 fac242c6bd2607318f51650ed5dc4601c7aa345b 15232 pxfw_0.6.1-4_i386.deb
Checksums-Sha256: 
 cda934ccc6818eddaf34968809d6183fdb02e0d7f012b8bb02fe917a5e4b5533 1155 
qpxtool_0.6.1-4.dsc
 02bb19d5f4e9cad8b4b58a1c203bc2a3fad3ab8642cebff47c97067bfae3a7a6 11580 
qpxtool_0.6.1-4.diff.gz
 4c73b15488f990fd9e2434a852608ea362f51c20601a66e9c150e34da1ce13b8 348234 
qpxtool_0.6.1-4_i386.deb
 c2c3c60495425a7bfcd2176dc03732a34ad2f97786bdac2785409eed901d9e71 15232 
pxfw_0.6.1-4_i386.deb
Files: 
 7cd23e71d8d08f3edeb6006222738c28 1155 otherosfs optional qpxtool_0.6.1-4.dsc
 ab797beda32ae7b1702b0d72b921122b 11580 otherosfs optional 
qpxtool_0.6.1-4.diff.gz
 eae2c3e6ec7f92ac681f2e65f5c891de 348234 otherosfs optional 
qpxtool_0.6.1-4_i386.deb
 c494539eaa2153fb247e910123ab635d 15232 otherosfs optional pxfw_0.6.1-4_i386.deb

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

iEYEARECAAYFAkhraBwACgkQ+C5cwEsrK57U/QCfVZvDPDTHj3YLSvNv6uVqdiez
mTcAn3kZtxrd1uHW1uCctEjFZVLYs4Ca
=O/hV
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to