Help requested compiling kernel with in2000 scsi driver

Help requested compiling kernel with in2000 scsi driver

Post by Andreas Kug » Fri, 06 Aug 1993 15:31:07



hi.

i have an in2000 scsi driver and run it for some time with the linux zimage
from shaun savages. now i tried to compile the kernel with the in2000.c and
in2000.h sources. the result is something like : invalid kernel page request
0xc000000 .... and the system hangs. this seems to happen even before any
request is made to the scsi bus.

what i did: add a new entry in ...kernel/blk_drv/scsi/Makefile for in2000
            add a new entry for in2000 in /usr/src/linux/Configure (or was it
                Makefile too?), so make config asks for in2000 y/n
            make dep, make config, make all, make disk

should i do something else ?
btw, if i omitt the in2000 in make config i get a correct linux kernel.

any hints welcome

aku

 
 
 

1. 2.4.20 compile fix for drivers/scsi/in2000.c

Patch below fixes following compile breakage:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=athlon    -nostdinc -iwithprefix include -DKBUILD_BASENAME=in2000  
-c -o in2000.o in2000.c
in2000.c:1919: base_tab causes a section type conflict
in2000.c:1926: int_tab causes a section type conflict
make[3]: *** [in2000.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20/drivers'
make: *** [_dir_drivers] Error 2

diff -Naur linux-2.4.20/drivers/scsi/in2000.c linux-2.4.20-new/drivers/scsi/in2000.c
--- linux-2.4.20/drivers/scsi/in2000.c  2001-09-30 15:26:07.000000000 -0400

    0
    };

-static const unsigned short base_tab[] in2000__INITDATA = {
+static unsigned short base_tab[] in2000__INITDATA = {
    0x220,
    0x200,
    0x110,
    0x100,
    };

-static const int int_tab[] in2000__INITDATA = {
+static int int_tab[] in2000__INITDATA = {
    15,
    14,
    11,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. 2.5.47-ac2 initializes mcheck twice...

3. new Always-IN2000 scsi driver available

4. StarOffice

5. improved IN2000 scsi driver available

6. Office Assistant

7. SCSI-Driver for alway IN2000 hostadaptor

8. linux 128zx riva nvidia xfree86 stb

9. WHERE to find IN2000 SCSI drivers?

10. newer IN2000 SCSI driver available?

11. IN2000 SCSI driver fix

12. Newer IN2000 SCSI driver available?

13. New Always-IN2000 scsi driver available