[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pcmcia with 2.4.32-ben1



Hi all,
I have a SCSI pcmcia card that needs the sym53c500_cs.

Actually I have PCMCIA support built in the kernel and alls PCMCIA SCSI
driver built as modules, but when I insert the card I see, in syslog:

cardmgr[503]: socket 0: New Media Bus Toaster SCSI
cardmgr[503]: executing: 'modprobe sym53c500_cs'
cardmgr[503]: + modprobe: Can't locate module sym53c500_cs
cardmgr[503]: modprobe exited with status 255
cardmgr[503]: module /lib/modules/2.4.23-ben1/pcmcia/sym53c500_cs.o not
available
cardmgr[503]: get dev info on socket 0 failed: Resource temporarily
unavailable

So I am trying to compile the pcmcia-cs package. I had to disable PCMCIA
support in the kernel, but I cannot compile the package I got from
unstable because of this error:

cc -fno-builtin -msoft-float -ffixed-r2  -MD -O3 -Wall
-Wstrict-prototypes -pipe -Wa,--no-warn -I../include
-I/usr/src/linux-2.4-benh/include  -D__KERNEL__ -DMODULE -c cs.c
In file included from ../include/asm/io.h:5,
                 from /usr/src/linux-2.4-benh/include/asm/dma.h:12,
                 from
/usr/src/linux-2.4-benh/include/asm/scatterlist.h:5,
                 from /usr/src/linux-2.4-benh/include/asm/pci.h:8,
                 from /usr/src/linux-2.4-benh/include/linux/pci.h:679,
                 from ../include/linux/pci.h:4,
                 from cs.c:49:
/usr/src/linux-2.4-benh/include/asm/io.h: In function `virt_to_bus':
/usr/src/linux-2.4-benh/include/asm/io.h:235: error:
`CONFIG_KERNEL_START' undeclared (first use in this function)
/usr/src/linux-2.4-benh/include/asm/io.h:235: error: (Each undeclared
identifier is reported only once
/usr/src/linux-2.4-benh/include/asm/io.h:235: error: for each function
it appears in.)
[...]

Do you have idea of how to fix this?

Thanks,
Giuseppe



Reply to: