Comment 0 for bug 7612

Revision history for this message
In , Bastian Kleineidam (calvin) 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/block/scsi_ioctl.o
drivers/block/scsi_ioctl.c: In function `verify_command':
drivers/block/scsi_ioctl.c:131: error: `VERIFY_16' undeclared (first use in this function)
drivers/block/scsi_ioctl.c:131: error: (Each undeclared identifier is reported only once
drivers/block/scsi_ioctl.c:131: error: for each function it appears in.)
drivers/block/scsi_ioctl.c:131: error: nonconstant array index in initializer
drivers/block/scsi_ioctl.c:131: error: (near initialization for `cmd_type')
drivers/block/scsi_ioctl.c:181: error: `GPCMD_SEND_CUE_SHEET' undeclared (first use in this function)
drivers/block/scsi_ioctl.c:181: error: nonconstant array index in initializer
drivers/block/scsi_ioctl.c:181: error: (near initialization for `cmd_type')
make[4]: *** [drivers/block/scsi_ioctl.o] Error 1
make[3]: *** [drivers/block] Error 2
make[2]: *** [drivers] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.6.8'
make[1]: *** [stamp-build] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.8'
make: *** [kernel] Error 2

I did a recursive grep for both VERIFY_16 and GPCMD_SEND_CUE_SHEET and
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