|
Hi, I hope anybody can help me. My problem is with the CIS of a card with a long_link tuple to common memory.
When I insert the card, the tuples in attribute memory are read correctly, but when it tries to follow the link, the link target tuple is read incorrectly: It reads 0x13 0x13 0x43 0x43 0x53 when it should be 0x13 0x03 0x43 0x49 0x53 I could attach the cs_memory driver to it and read the binary data of the CIS, and is correct, equal to the data specified in the manual I got from Mortara. All the info about my system is th next. (I tried the card in two laptops and the problem is the same.) System brand: Desktop PC Pentium II 300 MHz. Intel SE440BX Motherboard ISA-to-PCMCIA Bridge (I using a quadtech PCMCIA Card Drive which uses an Omega Micro 82C365G) PCMCIA CARDS: Mortara Telemetry Receiver Processor (is a data adquisition card implemented as a serial card) Linux kernel version: 2.2.14-15mdk #6 ven mai 19 19:08:02 CEST 2000 cardctl version 3.1.16 Configuration data: PCMCIA=yes PCIC=i82365 PCIC_OPTS="cs_irq=7" CORE_OPTS="pc_debug=7" CARDMGR_OPTS= Logs in /var/log/messages: Jun 22 20:59:37 gsipc6 kernel: Linux PCMCIA Card Services 3.1.16 Jun 22 20:59:37 gsipc6 kernel: kernel build: 2.2.14-15mdk #6 ven mai 19 19:08:02 CEST 2000 Jun 22 20:59:37 gsipc6 kernel: options: [pci] [apm] Jun 22 20:59:37 gsipc6 kernel: PCI routing table version 1.0 at 0xfdf30 Jun 22 20:59:37 gsipc6 kernel: Intel PCIC probe: Jun 22 20:59:37 gsipc6 kernel: Intel i82365sl B step rev 00 ISA-to-PCMCIA at port 0x3e0 ofs 0x00 Jun 22 20:59:37 gsipc6 kernel: host opts [0]: none Jun 22 20:59:37 gsipc6 kernel: host opts [1]: none Jun 22 20:59:37 gsipc6 kernel: ISA irqs (scanned) = 3,4,7 status change on irq 7 Jun 22 20:59:37 gsipc6 cardmgr[1884]: starting, version is 3.1.16 Jun 22 20:59:37 gsipc6 cardmgr[1884]: watching 2 sockets Jun 22 20:59:37 gsipc6 kernel: cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff Jun 22 20:59:37 gsipc6 kernel: cs: IO port probe 0x0800-0x08ff: clean. Jun 22 20:59:37 gsipc6 kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x388-0x38f 0x3b0-0x3e7 0x4d0-0x4d7 Jun 22 20:59:37 gsipc6 kernel: cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x102f 0x1040-0x105f Jun 22 20:59:37 gsipc6 kernel: cs: IO port probe 0x0a00-0x0aff: clean. Jun 22 20:59:45 gsipc6 cardmgr[1884]: initializing socket 1 Jun 22 20:59:45 gsipc6 kernel: cs: memory probe 0x0d0000-0x0dffff:<7>cs: read_cis_mem(1, 0x0, 2) Jun 22 20:59:45 gsipc6 kernel: excluding 0xd0000-0xdffff Jun 22 20:59:45 gsipc6 kernel: cs: unable to map card memory! Jun 22 20:59:45 gsipc6 kernel: cs: unable to map card memory! Messages from dmesg:
Linux PCMCIA Card Services 3.1.16
kernel build: 2.2.14-15mdk #6 ven mai 19 19:08:02 CEST 2000
options: [pci] [apm]
cs.c 1.259 2000/05/10 19:26:32 (David Hinds)
PCI routing table version 1.0 at 0xfdf30
cs: CardServices(GetCardServicesInfo, 0xc1e47f18, 0xc010bb08)
i82365.c 1.317 2000/06/09 22:14:25 (David Hinds)
Intel PCIC probe:
Intel i82365sl B step rev 00 ISA-to-PCMCIA at port 0x3e0 ofs 0x00
host opts [0]: none
host opts [1]: none
ISA irqs (scanned) = 3,4,7 status change on irq 7
cs: register_ss_entry(2, 0xc807e55c)
ds.c 1.105 2000/05/03 20:04:52 (David Hinds)
cs: CardServices(GetCardServicesInfo, 0xc1e47ee8, 0xc39c0c40)
cs: CardServices(BindDevice, 0xc1e47ee0, 0xc39c0c40)
cs: bind_device(): client 0xc7fbcc80, sock 0, dev Driver Services
cs: CardServices(RegisterClient, 0xc3a6bf20, 0xc1e47efc)
cs: register_client(): client 0xc7fbcc80, sock 0, dev Driver Services
cs: CardServices(BindDevice, 0xc1e47ee0, 0xc1e47efc)
cs: bind_device(): client 0xc7fbcda0, sock 1, dev Driver Services
cs: CardServices(RegisterClient, 0xc3a6bf54, 0xc1e47efc)
cs: register_client(): client 0xc7fbcda0, sock 1, dev Driver Services
ds_open(socket 0)
ds_open(socket 1)
ds_open(socket 2)
ds_open(socket 2)
cs: CardServices(GetCardServicesInfo, 0xc1c33cf8, 0xc1c33dc8)
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: IO port probe 0x0800-0x08ff: clean.
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x388-0x38f 0x3b0-0x3e7 0x4d0-0x4d7
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x102f 0x1040-0x105f
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: IO port probe 0x0a00-0x0aff: clean.
cs: CardServices(AdjustResourceInfo, 0xc7fbcc80, 0xc1c33cf8)
cs: setup_socket(1): applying power
cs: resetting socket 1
cs: reset done on socket 1
cs: send_event(sock 1, event 4, pri 0)
cs: CardServices(ValidateCIS, 0xc7fbcda0, 0xc1c33cf8)
cs: read_cis_mem(1, 0x0, 2)
cs: memory probe 0x0d0000-0x0dffff:<7>cs: read_cis_mem(1, 0x0, 2)
cs: 0x01 0x03 0xec 0x36 ...
cs: CardServices(GetFirstTuple, 0xc7fbcda0, 0xc1c336cc)
cs: read_cis_mem(1, 0x5, 2)
cs: 0x12 0x04 0x6c 0x35 ...
cs: read_cis_mem(1, 0x7, 4)
cs: 0x20 0x00 0x00 0x00 ...
cs: read_cis_mem(1, 0xb, 2)
cs: 0xff 0x00 0x6c 0x35 ...
cs: read_cis_mem(0, 0x20, 5)
cs: 0x13 0x13 0x43 0x43 ...
.
.
.
(here follow lots of lines equal to the last ones.)
|
Messages