kernel-source-2.6.8: compile error in drivers/block/scsi_ioctl.c
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-source-2.6.15 (Debian) |
Fix Released
|
Unknown
|
|||
linux-source-2.6.15 (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #268128 http://
In Debian Bug tracker #268128, Bastian Kleineidam (calvin) wrote : forgot the .config | #1 |
In Debian Bug tracker #268128, Jens Schmalzing (j-s-lmu) wrote : Re: Bug#268128: kernel-source-2.6.8: compile error in drivers/block/scsi_ioctl.c | #2 |
severity 268128 grave
thanks
Hi,
Bastian Kleineidam writes:
> Perhaps the new safe-for-copy scsi command patch is incomplete?
Yes. Apply the attached patch and see if the resulting kernel works;
I am not completely sure that the values are correct.
> PS: I left the severity normal for now since I don't know if I forgot
> something to include or to patch ;)
It is in fact a bug in kernel-
grave because the bug "makes the package in question unusable by [...]
all users", and because this revision must not enter sarge.
Regards, Jens.
--
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!
In Debian Bug tracker #268128, Sven Luther (sven-luther) wrote : | #3 |
On Thu, Aug 26, 2004 at 10:17:34AM +0200, Bastian Kleineidam wrote:
> Package: kernel-source-2.6.8
> Version: 2.6.8-3
> Severity: normal
>
> Hi,
>
> with the -3 source I get compile errors (-2 compiled fine):
> [...]
> CC drivers/
> drivers/
> drivers/
> drivers/
> drivers/
> drivers/
> drivers/
> drivers/
> drivers/
> drivers/
> make[4]: *** [drivers/
> make[3]: *** [drivers/block] Error 2
> make[2]: *** [drivers] Error 2
> make[2]: Leaving directory `/usr/src/
> make[1]: *** [stamp-build] Error 2
> make[1]: Leaving directory `/usr/src/
> make: *** [kernel] Error 2
>
> I did a recursive grep for both VERIFY_16 and GPCMD_SEND_
> they do not seem to be defined anywhere.
> Perhaps the new safe-for-copy scsi command patch is incomplete?
>
> My .config is attached.
>
> Greetings, Bastian
>
>
> PS: I left the severity normal for now since I don't know if I forgot
> something to include or to patch ;)
The attached patch by Jens Schmalzing fixes this issue, but i would still like
for Christoph to look at it.
Friendly,
Sven Luther
In Debian Bug tracker #268128, Bastian Kleineidam (calvin) wrote : | #4 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Aug 26, 2004 at 10:44:14AM +0200, Jens Schmalzing wrote:
> Yes. Apply the attached patch and see if the resulting kernel works;
> I am not completely sure that the values are correct.
Thanks for the patch, the kernel compiles now. I will check this evening
if burning is also working.
Greetings, Bastian
- --
,''`. Bastian Kleineidam . calvin (at) debian.org
: :' :
`. `' GnuPG Schlüssel http://
`-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBLbYQeBw
r5+ApkJQ0rV3ETO
=OWrl
-----END PGP SIGNATURE-----
Debian Bug Importer (debzilla) wrote : | #5 |
Automatically imported from Debian bug report #268128 http://
Debian Bug Importer (debzilla) wrote : | #6 |
Message-ID: <email address hidden>
Date: Thu, 26 Aug 2004 10:17:34 +0200
From: Bastian Kleineidam <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: kernel-
--=====
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-
Content-
Package: kernel-source-2.6.8
Version: 2.6.8-3
Severity: normal
Hi,
with the -3 source I get compile errors (-2 compiled fine):
[...]
CC drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
drivers/
make[4]: *** [drivers/
make[3]: *** [drivers/block] Error 2
make[2]: *** [drivers] Error 2
make[2]: Leaving directory `/usr/src/
make[1]: *** [stamp-build] Error 2
make[1]: Leaving directory `/usr/src/
make: *** [kernel] Error 2
I did a recursive grep for both VERIFY_16 and GPCMD_SEND_
they do not seem to be defined anywhere.
Perhaps the new safe-for-copy scsi command patch is incomplete?
My .config is attached.
Greetings, Bastian
PS: I left the severity normal for now since I don't know if I forgot
something to include or to patch ;)
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1-treasure1
Locale: LANG=C, LC_CTYPE=de_DE@euro
Versions of packages kernel-source-2.6.8 depends on:
ii binutils 2.15-1 The GNU assembler, linker and bina
ii bzip2 1.0.2-1 A high-quality block-sorting file
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
-- no debconf information
--=====
Debian Bug Importer (debzilla) wrote : | #7 |
Message-ID: <20040826083811
Date: Thu, 26 Aug 2004 10:38:11 +0200
From: Bastian Kleineidam <email address hidden>
To: <email address hidden>
Subject: forgot the .config
--gatW/ieO32f1wygP
Content-Type: multipart/mixed; boundary=
Content-
--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=iso-8859-1
Content-
Content-
Hi,
forgot the .config, here it is :)
--=20
,''`. Bastian Kleineidam . calvin (at) debian.org
: :' :
`. `' GnuPG Schl=FCssel http://
`-
--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-
#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_
#
# Code maturity level options
#
CONFIG_
CONFIG_
CONFIG_
#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_
CONFIG_
# CONFIG_
CONFIG_SYSCTL=y
CONFIG_AUDIT=y
CONFIG_
CONFIG_
CONFIG_HOTPLUG=y
CONFIG_IKCONFIG=y
CONFIG_
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
# CONFIG_
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_
CONFIG_IOSCHED_AS=y
CONFIG_
CONFIG_
# CONFIG_
#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_
CONFIG_
CONFIG_
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y
#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
CONFIG_MK7=y
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
# CONFIG_X86_EMU486 is not set
CONFIG_
CONFIG_X86_XADD=y
CONFIG_
CONFIG_
CONFIG_
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_
CONFIG_
CONFIG_
CONFIG_
CONFIG_
CONFIG_HPET_TIMER=y
# CONFIG_SMP is not set
CONFIG_PREEMPT=y
CONFIG_
CONFIG_
CONFIG_
CONFIG_
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_
# CONFIG_
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
CONFIG_X86_CPUID=m
#
# Firmware Drivers
#
# CON...
Debian Bug Importer (debzilla) wrote : | #8 |
Message-ID: <email address hidden>
Date: 26 Aug 2004 10:44:14 +0200
From: Jens Schmalzing <email address hidden>
To: Bastian Kleineidam <email address hidden>
Cc: <email address hidden>, <email address hidden>
Subject: Re: Bug#268128: kernel-
drivers/
--=-=-=
severity 268128 grave
thanks
Hi,
Bastian Kleineidam writes:
> Perhaps the new safe-for-copy scsi command patch is incomplete?
Yes. Apply the attached patch and see if the resulting kernel works;
I am not completely sure that the values are correct.
> PS: I left the severity normal for now since I don't know if I forgot
> something to include or to patch ;)
It is in fact a bug in kernel-
grave because the bug "makes the package in question unusable by [...]
all users", and because this revision must not enter sarge.
Regards, Jens.
--=-=-=
Content-Type: text/x-patch
Content-
--- ./include/
+++ ./include/
@@ -468,6 +468,7 @@
#define GPCMD_RESERVE_
#define GPCMD_SCAN 0xba
#define GPCMD_SEEK 0x2b
+#define GPCMD_SEND_
#define GPCMD_SEND_
#define GPCMD_SEND_EVENT 0xa2
#define GPCMD_SEND_KEY 0xa3
--- ./include/
+++ ./include/
@@ -111,6 +111,7 @@
#define WRITE_LONG_2 0xea
#define READ_16 0x88
#define WRITE_16 0x8a
+#define VERIFY_16 0x8f
#define SERVICE_ACTION_IN 0x9e
/* values for service action in */
#define SAI_READ_
--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-
--=20
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je p=E9zqbpbe je djuz tqtaj!
--=-=-=--
Debian Bug Importer (debzilla) wrote : | #9 |
Message-ID: <20040826090415
Date: Thu, 26 Aug 2004 11:04:15 +0200
From: Sven Luther <email address hidden>
To: Bastian Kleineidam <email address hidden>, <email address hidden>
Cc: Debian Bug Tracking System <email address hidden>
Subject: Re: Bug#268128: kernel-
--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=iso-8859-1
Content-
On Thu, Aug 26, 2004 at 10:17:34AM +0200, Bastian Kleineidam wrote:
> Package: kernel-source-2.6.8
> Version: 2.6.8-3
> Severity: normal
>
> Hi,
>
> with the -3 source I get compile errors (-2 compiled fine):
> [...]
> CC drivers/
> drivers/
> drivers/
> drivers/
> drivers/
> drivers/
> drivers/
> drivers/
> drivers/
> drivers/
> make[4]: *** [drivers/
> make[3]: *** [drivers/block] Error 2
> make[2]: *** [drivers] Error 2
> make[2]: Leaving directory `/usr/src/
> make[1]: *** [stamp-build] Error 2
> make[1]: Leaving directory `/usr/src/
> make: *** [kernel] Error 2
>
> I did a recursive grep for both VERIFY_16 and GPCMD_SEND_
> they do not seem to be defined anywhere.
> Perhaps the new safe-for-copy scsi command patch is incomplete?
>
> My .config is attached.
>
> Greetings, Bastian
>
>
> PS: I left the severity normal for now since I don't know if I forgot
> something to include or to patch ;)
The attached patch by Jens Schmalzing fixes this issue, but i would still like
for Christoph to look at it.
Friendly,
Sven Luther
--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=iso-8859-1
Content-
--- ./drivers/
+++ ./drivers/
@@ -6,6 +6,7 @@
*/
#include <linux/module.h>
#include <linux/blkdev.h>
+#include <linux/cdrom.h>
#include <linux/interrupt.h>
#include <linux/errno.h>
#include <linux/kernel.h>
--- ./include/
+++ ./include/
@@ -468,6 +468,7 @@
#define GPCMD_RESERVE_
#define GPCMD_SCAN 0xba
#define GPCMD_SEEK 0x2b
+#define GPCMD_SEND_
#define GPCMD_SEND_
#define GPCMD_SEND_EVENT 0xa2
#define GPCMD_SEND_KEY 0xa3
--- ./include/
+++ ./include/
Debian Bug Importer (debzilla) wrote : | #10 |
Message-ID: <20040826100608
Date: Thu, 26 Aug 2004 12:06:08 +0200
From: Bastian Kleineidam <email address hidden>
To: Jens Schmalzing <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#268128: kernel-
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Aug 26, 2004 at 10:44:14AM +0200, Jens Schmalzing wrote:
> Yes. Apply the attached patch and see if the resulting kernel works;
> I am not completely sure that the values are correct.
Thanks for the patch, the kernel compiles now. I will check this evening
if burning is also working.
Greetings, Bastian
- --
,''`. Bastian Kleineidam . calvin (at) debian.org
: :' :
`. `' GnuPG Schlüssel http://
`-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBLbYQeBw
r5+ApkJQ0rV3ETO
=OWrl
-----END PGP SIGNATURE-----
In Debian Bug tracker #268128, Jens Schmalzing (jensen) wrote : Bug#268128: fixed in kernel-source-2.6.8 2.6.8-4 | #11 |
Source: kernel-source-2.6.8
Source-Version: 2.6.8-4
We believe that the bug you reported is fixed in the latest version of
kernel-
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
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 address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jens Schmalzing <email address hidden> (supplier of updated kernel-source-2.6.8 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 address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 26 Aug 2004 14:30:01 +0200
Source: kernel-source-2.6.8
Binary: kernel-source-2.6.8 kernel-doc-2.6.8 kernel-tree-2.6.8 kernel-
Architecture: source all
Version: 2.6.8-4
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <email address hidden>
Changed-By: Jens Schmalzing <email address hidden>
Description:
kernel-doc-2.6.8 - Linux kernel specific documentation for version 2.6.8
kernel-
kernel-
kernel-tree-2.6.8 - Linux kernel tree for building prepackaged Debian kernel images
Closes: 268128
Changes:
kernel-
.
* Added patch by Alex Clausen to stop spurious mouse button events
on older ADB using pmac notebooks (Sven Luther).
.
* Added two SCSI commands, namely VERIFY_16 and GPCMD_SEND_
that were mentioned in the list from 2.6.9-rc1 but missing from the
corresponding header files (closes: #268128) (Jens Schmalzing).
.
* Added g4-errata followup patch that clears the BTIC bit, instead of
just not setting it (Sven Luther).
.
* Add some Sparc64 backports to make Josh happy (Christoph Hellwig).
Files:
334640e354ed59
1f7e035a3afb50
8449ae90624257
6060bf125e8cdf
1bf928a0ee81ab
Matt Zimmerman (mdz) wrote : | #12 |
Warty still has 2.6.7 for now
Debian Bug Importer (debzilla) wrote : | #13 |
Message-Id: <email address hidden>
Date: Thu, 26 Aug 2004 11:18:14 -0400
From: Jens Schmalzing <email address hidden>
To: <email address hidden>
Subject: Bug#268128: fixed in kernel-source-2.6.8 2.6.8-4
Source: kernel-source-2.6.8
Source-Version: 2.6.8-4
We believe that the bug you reported is fixed in the latest version of
kernel-
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
kernel-
to pool/main/
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 address hidden>,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jens Schmalzing <email address hidden> (supplier of updated kernel-source-2.6.8 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 address hidden>)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 26 Aug 2004 14:30:01 +0200
Source: kernel-source-2.6.8
Binary: kernel-source-2.6.8 kernel-doc-2.6.8 kernel-tree-2.6.8 kernel-
Architecture: source all
Version: 2.6.8-4
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <email address hidden>
Changed-By: Jens Schmalzing <email address hidden>
Description:
kernel-doc-2.6.8 - Linux kernel specific documentation for version 2.6.8
kernel-
kernel-
kernel-tree-2.6.8 - Linux kernel tree for building prepackaged Debian kernel images
Closes: 268128
Changes:
kernel-
.
* Added patch by Alex Clausen to stop spurious mouse button events
on older ADB using pmac notebooks (Sven Luther).
.
* Added two SCSI commands, namely VERIFY_16 and GPCMD_SEND_
that were mentioned in the list from 2.6.9-rc1 but missing from the
corresponding header files (closes: #268128) (Jens Schmalzing).
.
* Added g4-errata followup patch that clears the BTIC bit, instead of
just not setting it (Sven Luther).
.
* Add some Sparc64 backports to make Josh happy (Christoph Hellwig).
Files:
334640e354ed59
1f7e035a3afb50
8449ae90...
Changed in linux-source-2.6.15: | |
status: | Unknown → Fix Released |
Hi,
forgot the .config, here it is :)
-- kampfwurst. net/gpgkey. txt
,''`. Bastian Kleineidam . calvin (at) debian.org
: :' :
`. `' GnuPG Schlüssel http://
`-