Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35850 - [[ assigned -> plasmaroo ]] Tekram DC395 SCSI driver doesn't compile in gentoo-sources-2.4.20-r9 and missing in gentoo-sources-2.4.22-r1
Summary: [[ assigned -> plasmaroo ]] Tekram DC395 SCSI driver doesn't compile in gento...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-14 20:01 UTC by James A. Stangler
Modified: 2004-02-08 08:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James A. Stangler 2003-12-14 20:01:47 UTC
The Tekram DC395 SCSI driver doesn't compile in gentoo-sources-2.4.20-r9.  The problem is described on a note on the tekram scsi homepage <http://www.garloff.de/kurt/linux/dc395/>.  It says under the version 1.41 notes "Important: Unfortunately, a TAB slipped in after a backslash (\) in dc395x_trm.h line 68, which prevents successful compilation with old error handling. Please remove the TAB!".  Without removing the tab results in a compile error.


Reproducible: Always
Steps to Reproduce:
1. Enable the Tekram config option in the kernel config under scsi drivers (CONFIG_SCSI_DC395x_TRMS1040=y)
2. make dep; make bzImage

Actual Results:  
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r9/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   
-nostdinc -iwithprefix include -DKBUILD_BASENAME=scsi_scan  -c -o scsi_scan.o 
scsi_scan.c 
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r9/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   
-nostdinc -iwithprefix include -DKBUILD_BASENAME=scsi_syms  
-DEXPORT_SYMTAB -c scsi_syms.c 
ld -m elf_i386 -r -o scsi_mod.o scsi.o hosts.o scsi_ioctl.o constants.o scsicam.o 
scsi_proc.o scsi_error.o scsi_obsolete.o scsi_queue.o scsi_lib.o scsi_merge.o 
scsi_dma.o scsi_scan.o scsi_syms.o 
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r9/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   
-nostdinc -iwithprefix include -DKBUILD_BASENAME=dc395x_trm  -c -o 
dc395x_trm.o dc395x_trm.c 
In file included from dc395x_trm.c:260: 
dc395x_trm.h:68: parse error before `:' 
dc395x_trm.c:315: warning: type defaults to `int' in declaration of 
`MODULE_DEVICE_TABLE' 
dc395x_trm.c:315: warning: parameter names (without types) in function 
declaration 
dc395x_trm.c:315: warning: data definition has no type or storage class 
dc395x_trm.c: In function `DC395x_bios_param': 
dc395x_trm.c:2445: warning: implicit declaration of function `scsicam_bios_param' 
dc395x_trm.c: At top level: 
dc395x_trm.c:7898: stray '\' in program 
dc395x_trm.c:306: warning: `dc395x_pci_tbl' defined but not used 
make[3]: *** [dc395x_trm.o] Error 1 
make[3]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r9/drivers/scsi' 
make[2]: *** [first_rule] Error 2 
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r9/drivers/scsi' 
make[1]: *** [_subdir_scsi] Error 2 
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r9/drivers' 
make: *** [_dir_drivers] Error 2 
 

Expected Results:  
Successful kernel build.
Comment 1 James A. Stangler 2003-12-14 20:02:47 UTC
Assigning to x86-kernel@gentoo.org as per instructions in the ebuild.
Comment 2 Brian Jackson (RETIRED) gentoo-dev 2003-12-21 07:55:49 UTC
Can you do us a favor and test gentoo-sources-2.4.22?
Comment 3 James A. Stangler 2003-12-21 14:08:23 UTC
I ran:

ACCEPT_KEYWORDS=~x86 emerge =gentoo-sources-2.4.22-r1

but that build didn't have the dc395 patch.  Neither did gentoo-sources-2.4.22-r2.  I get a fetch error when I tried to build gentoo-sources-2.4.22:
!!! Couldn't download gentoo-sources-2.4.22.patch.bz2. Aborting.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2004-02-08 08:08:40 UTC
Patch is in gentoo-sources-2.4.20-r11. Thanks!