Re: [2.6.12rc4] PROBLEM: "drive appears confused" and "irq 18: nobody cared!"

Alexander Fieroch
2005-06-15T20:39:34Z

The "Integrated Technology Express, Inc. IT/ITE8212 Dual channel ATA
RAID controller" and a missing driver in the current kernel is
responsible for that problem.

I've found a GPL ITE8212 driver at
ftp://ftp.asus.de/pub/ASUSCOM/TREIBER/CONTROLLER/IDE/ITE/ITE8212.zip

The driver is compiling and working up to kernel 2.6.9.
With newer kernel versions I get following error while compiling:

# make
make -C /usr/src/linux-2.6.12rc6-git6
SUBDIRS=/usr/src/linux-2.6.12rc6-git6/drivers/scsi modules
make[1]: Entering directory `/usr/src/linux-2.6.12rc6-git6'
CC [M] /usr/src/linux-2.6.12rc6-git6/drivers/scsi/iteraid.o
In file included from
/usr/src/linux-2.6.12rc6-git6/drivers/scsi/iteraid.c:250:
/usr/src/linux-2.6.12rc6-git6/drivers/scsi/hosts.h:1:2: warning:
#warning "This file is obsolete, please use <scsi/scsi_host.h> instead"
/usr/src/linux-2.6.12rc6-git6/drivers/scsi/iteraid.c: In function
`itedev_open':
/usr/src/linux-2.6.12rc6-git6/drivers/scsi/iteraid.c:5580: error:
`MOD_INC_USE_COUNT' undeclared (first use in this function)
/usr/src/linux-2.6.12rc6-git6/drivers/scsi/iteraid.c:5580: error: (Each
undeclared identifier is reported only once
/usr/src/linux-2.6.12rc6-git6/drivers/scsi/iteraid.c:5580: error: for
each function it appears in.)
/usr/src/linux-2.6.12rc6-git6/drivers/scsi/iteraid.c: In function
`itedev_close':
/usr/src/linux-2.6.12rc6-git6/drivers/scsi/iteraid.c:5817: error:
`MOD_DEC_USE_COUNT' undeclared (first use in this function)
make[2]: *** [/usr/src/linux-2.6.12rc6-git6/drivers/scsi/iteraid.o] Error 1
make[1]: *** [_module_/usr/src/linux-2.6.12rc6-git6/drivers/scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.12rc6-git6'
make: *** [modules] Error 2

Because of the driver is published under GPL could you please adapt this
to newer kernel versions and include it in the next kernel 2.6.12?