Bug : Can't read CIS (3.2.4 + 2.4.22)
Jean Tourrilhes
jt at bougret.hpl.hp.com
Fri Aug 15 18:14:29 BST 2003
On Fri, Aug 15, 2003 at 05:02:14PM -0700, jt wrote:
> Hi David,
>
> Summary : the Pcmcia subsystem seems to no be able to read the
> CIS on my new PC, and therefore always bind memory_cs to the card. Of
> course, that's not the proper driver...
More info : run with debug enabled...
Jean
----------------------------------------------------------------------
Linux PCMCIA Card Services 3.2.4
kernel build: 2.4.22-rc2 #2 SMP Fri Aug 15 15:46:11 PDT 2003
options: [pci] [cardbus]
i82365.c 1.356 2003/01/25 06:02:02 (David Hinds)
Intel ISA/PCI/CardBus PCIC probe:
Vadem VG-469 rev 00 ISA-to-PCMCIA at port 0x3e0 ofs 0x00
host opts [0]: none
host opts [1]: none
testing ISA irq 3
-> hit on irq 3
hits = 1
testing ISA irq 4
-> hit on irq 4
hits = 1
testing ISA irq 5
-> hit on irq 5
hits = 1
testing ISA irq 7
hits = 0
testing ISA irq 10
-> hit on irq 10
hits = 1
testing ISA irq 11
hits = 0
testing ISA irq 3
-> hit on irq 3
hits = 1
testing ISA irq 4
-> hit on irq 4
hits = 1
testing ISA irq 5
-> hit on irq 5
hits = 1
testing ISA irq 10
-> hit on irq 10
hits = 1
ISA irqs (scanned) = 3,4,5,10 polling interval = 1000 ms
i82365: SetSocket(0, flags 0x000, Vcc 0, Vpp 0, io_irq 0, csc_mask 0x80)
i82365: SetIOMap(0, 0, 0x00, 0 ns, 0x0000-0x0001)
i82365: SetIOMap(0, 1, 0x00, 0 ns, 0x0000-0x0001)
i82365: SetMemMap(0, 0, 0x00, 0 ns, 0x00000-0x00000, 0x00000)
i82365: SetMemMap(0, 1, 0x00, 0 ns, 0x00000-0x00000, 0x00000)
i82365: SetMemMap(0, 2, 0x00, 0 ns, 0x00000-0x00000, 0x00000)
i82365: SetMemMap(0, 3, 0x00, 0 ns, 0x00000-0x00000, 0x00000)
i82365: SetMemMap(0, 4, 0x00, 0 ns, 0x00000-0x00000, 0x00000)
i82365: SetSocket(1, flags 0x000, Vcc 0, Vpp 0, io_irq 0, csc_mask 0x80)
i82365: SetIOMap(1, 0, 0x00, 0 ns, 0x0000-0x0001)
i82365: SetIOMap(1, 1, 0x00, 0 ns, 0x0000-0x0001)
i82365: SetMemMap(1, 0, 0x00, 0 ns, 0x00000-0x00000, 0x00000)
i82365: SetMemMap(1, 1, 0x00, 0 ns, 0x00000-0x00000, 0x00000)
i82365: SetMemMap(1, 2, 0x00, 0 ns, 0x00000-0x00000, 0x00000)
i82365: SetMemMap(1, 3, 0x00, 0 ns, 0x00000-0x00000, 0x00000)
i82365: SetMemMap(1, 4, 0x00, 0 ns, 0x00000-0x00000, 0x00000)
ds.c 1.115 2002/10/12 19:03:44 (David Hinds)
i82365: GetStatus(0) = 0x00b0
i82365: GetStatus(0) = 0x00b0
i82365: SetSocket(0, flags 0x000, Vcc 50, Vpp 50, io_irq 0, csc_mask 0x80)
i82365: GetStatus(1) = 0x0030
ds_open(socket 0)
ds_open(socket 1)
ds_open(socket 2)
ds_open(socket 2)
ds_ioctl(socket 0, 0xc0146402, 0x806d968)
ds_ioctl(socket 0, 0xc0146402, 0x806d948)
ds_ioctl(socket 0, 0xc0146402, 0x806d928)
ds_ioctl(socket 0, 0xc0146402, 0x806d988)
ds_ioctl(socket 0, 0xc0146402, 0x806d9c8)
ds_ioctl(socket 0, 0xc0146402, 0x806d9a8)
ds_ioctl(socket 0, 0xc0146402, 0x806d9e8)
ds_ioctl(socket 0, 0xc0146402, 0x806da08)
ds_ioctl(socket 0, 0xc0146402, 0x806da28)
ds_ioctl(socket 0, 0xc0146402, 0x806da48)
ds_poll(socket 0)
ds_poll(socket 1)
ds_poll(socket 0)
ds_poll(socket 1)
i82365: SetSocket(0, flags 0x240, Vcc 50, Vpp 50, io_irq 0, csc_mask 0x80)
i82365: SetSocket(0, flags 0x200, Vcc 50, Vpp 50, io_irq 0, csc_mask 0x80)
i82365: GetStatus(0) = 0x01a0
i82365: GetStatus(0) = 0x01a0
i82365: GetStatus(0) = 0x01a0
i82365: GetStatus(0) = 0x01e0
ds: ds_event(0x000004, 0, 0xccbca7c0)
ds_poll(socket 0)
ds_poll(socket 1)
ds_read(socket 0)
ds_ioctl(socket 0, 0x8004640b, 0xbffff338)
cs: memory probe 0x0d0000-0x0dffff:<7>i82365: SetMemMap(0, 0, 0x21, 300 ns, 0xda000-0xdafff, 0x00000)
i82365: SetMemMap(0, 0, 0x01, 300 ns, 0xda000-0xdafff, 0x00000)
i82365: SetMemMap(0, 0, 0x21, 300 ns, 0xdc000-0xdcfff, 0x00000)
i82365: SetMemMap(0, 0, 0x01, 300 ns, 0xdc000-0xdcfff, 0x00000)
i82365: SetMemMap(0, 0, 0x21, 300 ns, 0xde000-0xdefff, 0x00000)
i82365: SetMemMap(0, 0, 0x01, 300 ns, 0xde000-0xdefff, 0x00000)
i82365: SetMemMap(0, 0, 0x01, 300 ns, 0xdc000-0xdcfff, 0x00000)
i82365: SetMemMap(0, 0, 0x01, 300 ns, 0xdd000-0xddfff, 0x00000)
excluding 0xd0000-0xdffff
cs: memory probe 0x0c0000-0x0cffff: excluding 0xc0000-0xcffff
i82365: SetMemMap(0, 0, 0x21, 300 ns, 0xe0000-0xe0fff, 0x00000)
i82365: SetMemMap(0, 0, 0x01, 300 ns, 0xe0000-0xe0fff, 0x00000)
ds_ioctl(socket 0, 0xc00c6409, 0xbffff32c)
i82365: GetStatus(0) = 0x01e0
i82365: pcic_interrupt(0)
i82365: interrupt done
ds_ioctl(socket 0, 0xc0206410, 0xbffff5ac)
cs: setup_regions(0xccbca7c0, 0, 0xcf732150)
cs: setup_regions(0xccbca7c0, 1, 0xcf732154)
ds_ioctl: ret = 31
ds_ioctl(socket 0, 0xc0206410, 0xbffff5ac)
ds_ioctl: ret = 31
memory_cs.c 1.88 2003/03/03 16:29:00 (David Hinds)
ds: register_pccard_driver('memory_cs')
ds_ioctl(socket 0, 0xc050643c, 0x8052f08)
bind_request(0, 'memory_cs')
memory_attach()
memory_event(0x000004)
memory_config(0xcdc2ac00)
i82365: SetMemMap(0, 1, 0x02, 0 ns, 0xe1000-0xe1fff, 0x00000)
i82365: GetStatus(0) = 0x01e0
memory_cs: mem0:<7>i82365: SetMemMap(0, 1, 0x03, 0 ns, 0xe1000-0xe1fff, 0x00000)
i82365: SetMemMap(0, 1, 0x03, 0 ns, 0xe1000-0xe1fff, 0x00000)
i82365: SetMemMap(0, 1, 0x03, 0 ns, 0xe1000-0xe1fff, 0x01000)
i82365: SetMemMap(0, 1, 0x03, 0 ns, 0xe1000-0xe1fff, 0x00000)
i82365: SetMemMap(0, 1, 0x03, 0 ns, 0xe1000-0xe1fff, 0x01000)
anonymous: unknown size
ds_ioctl(socket 0, 0xc050643d, 0x8052f08)
ds_ioctl(socket 0, 0xc050643e, 0x8052f60)
ds_poll(socket 0)
ds_poll(socket 1)
i82365: pcic_interrupt(0)
i82365: interrupt done
i82365: pcic_interrupt(0)
i82365: interrupt done
i82365: pcic_interrupt(0)
i82365: interrupt done
i82365: pcic_interrupt(0)
More information about the linux-pcmcia
mailing list