2.6.24 / TI PCI1510 / Oops during insertion a CompactFlash card

Kristoffer Ericson kristoffer.ericson at gmail.com
Thu Feb 28 19:01:42 EST 2008


That looks alot like my issue with pcmcia. You most likely need to set base iomap.


On Wed, 27 Feb 2008 19:29:46 +0900
"Jeongdo Son" <sohn9086 at gmail.com> wrote:

> Hi, all.
> 
> I got a OOPS message when inserting a CompactFlash card.
> The PC Card controller is Texas Instrument PCI1510.
> 
> I've searched the linux-pcmcia mailing list archives, but couldn't find a clue.
> I'm wondering if this is a known issue.
> Also wondering yenta_socket with pata_pcmcia is stable under SuperH
> architecture.
> 
> ----- ver_linux result (for the brief system information) -----
> Linux sh7780 2.6.24 #110 PREEMPT Wed Feb 27 17:52:25 JST 2008 sh4a GNU/Linux
> 
> Gnu C                  4.1.2
> Gnu make               3.81
> binutils               2.17
> util-linux             2.12r
> mount                  2.12r
> module-init-tools      3.3-pre2
> e2fsprogs              1.40-WIP
> pcmciautils            014
> Linux C Library        2.3.6
> Dynamic linker (ldd)   2.3.6
> Procps                 3.2.7
> Net-tools              1.60
> Kbd                    82:
> Sh-utils               5.97
> udev                   105
> Modules Loaded         pata_pcmcia libata pcmcia yenta_socket rsrc_nonstatic
> 
> 
> ----- Oops message -----
> pccard: PCMCIA card inserted into slot 0
> cs: memory probe 0x000000-0x0fffff: excluding 0x000-0xfffff
> cs: memory probe 0x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff
> cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa0ffffff
> cs: memory probe 0xfd000000-0xfd0fffff: excluding
> 0xfd000000-0xfd00ffff 0xfd020000-0xfd03ffff
> 
> pcmcia: registering new device pcmcia0.0
> Unable to handle kernel NULL pointer dereference at virtual address 0000020e
> pc = 88023482
> *pde = 00000000
> Oops: 0001 [#1]
> Modules linked in: pata_pcmcia libata pcmcia yenta_socket rsrc_nonstatic
> 
> Pid : 2106, Comm:             modprobe
> PC is at generic_writeb+0x6/0x12
> PC  : 88023482 SP  : 8f4a1d60 SR  : 40008001 TEA : c0075004    Not tainted
> R0  : 0000020e R1  : 8802347c R2  : 00000000 R3  : 00000200
> R4  : 00000002 R5  : 0000020e R6  : 00000000 R7  : 7baa990c
> R8  : 8828b090 R9  : 8f481e00 R10 : 8f481e8c R11 : 0000020e
> R12 : 8fae3000 R13 : 00000200 R14 : 8f4a1d68
> MACH: 00042978 MACL: 00000000 GBR : 29672440 PR  : c0060454
> 
> Call trace:
> [<c0060454>] pcmcia_init_one+0x380/0x494 [pata_pcmcia]
> [<c0056624>] pcmcia_device_probe+0xe8/0x1a8 [pcmcia]
> [<8813a458>] driver_probe_device+0x8c/0x130
> [<8813a612>] __driver_attach+0x6a/0xc0
> [<881395b4>] bus_for_each_dev+0x38/0x70
> [<881fdb78>] mutex_unlock+0x0/0x28
> [<8813a5a8>] __driver_attach+0x0/0xc0
> [<8813a67a>] driver_attach+0x12/0x24
> [<88139cdc>] bus_add_driver+0x64/0x1a4
> [<8813aada>] driver_register+0x5a/0x78
> [<881fdb78>] mutex_unlock+0x0/0x28
> [<c00562b0>] pcmcia_register_driver+0xb0/0x11c [pcmcia]
> [<c0056200>] pcmcia_register_driver+0x0/0x11c [pcmcia]
> [<c006400c>] pcmcia_init+0xc/0x1c [pata_pcmcia]
> [<881fdb78>] mutex_unlock+0x0/0x28
> [<880530be>] sys_init_module+0x1126/0x11b8
> [<88027280>] syscall_call+0xc/0x10
> [<88051f98>] sys_init_module+0x0/0x11b8
> 
> Process: modprobe (pid: 2106, stack limit = 8f4a0001)
> Stack: (0x8f4a1d60 to 0x8f4a2000)
> 1d60: c0060454 8f4a1d68 00000000 8f4a1d1b 00000110 00000000 00000065 ff00061b
> 1d80: 8f801206 8fae3000 00000000 fffffff4 0000020e 00000200 8ece0a60 00009690
> 1da0: 00042000 2967241a 00000110 00000000 00000040 ff00051a 8825ff05 c0056624
> 1dc0: 8f4a1ddc c005e684 8f481e8c 00000001 8f481e00 c006264c 8f481e40 00000003
> 1de0: 00000200 0000000f 00000000 00000000 00000000 8f481f00 8813a458 8f4a1e18
> 1e00: 000000bc 882d4f9c c0062664 8f481f08 00000000 8f481e8c 8813a612 8f4a1e38
> 1e20: 000000a4 c0062664 8f481ecc 00000001 8f481e8c 8f481f30 881395b4 8f4a1e58
> 1e40: 881fdb78 000000bc c005e2e0 c0062664 8813a5a8 00000000 c005e378 c005e378
> 1e60: 8f481ed4 8813a67a 8f4a1e78 c006266c c0062664 00000000 88139cdc 8f4a1e80
> 1e80: 8813aada 8f4a1ea0 881fdb78 00000004 c0062618 c006264c c00625f4 c0062664
> 1ea0: c00562b0 8f4a1eac c0062664 c0056200 c006400c 8f4a1ecc 881fdb78 00000021
> 1ec0: c0062820 c00628dc 00000021 880530be 8f4a1ed4 c005e520 00000000 8f4a1efc
> 1ee0: 00000000 00419260 00000000 c0077000 c0094042 8faeb360 c00a0f58 0000001f
> 1f00: 00000020 00000000 00000000 00000000 0000000b 00000000 00000007 00000000
> 1f20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> 1f40: 000000a0 000000a0 00000000 00000000 00000000 00000000 00000000 00000021
> 1f60: c0077030 00000174 00000028 c0077030 c0077030 c0077030 00000528 c006134a
> 1f80: 88027280 7b862a6c 00419218 00402cc0 ffffff0f 00000001 8f4a1ff8 88051f98
> 1fa0: 00000000 00400e84 7b862a08 00000080 29674000 0002a708 00419260 00419260
> 1fc0: 00000000 00405d7c 00000000 004186d0 00402cc0 00419218 7b862a6c 7b862a6c
> 1fe0: 2960ffc6 00403b8c 00008001 29672440 00000100 074c5077 00000054 00000160
> ---[ end trace d95de432fa60dd7c ]---
> 
> ----- lspci -----
> 00:00.0 PCI bridge: Texas Instruments PCI2050 PCI-to-PCI Bridge (rev
> 02) (prog-if 00 [Normal decode])
>         Flags: bus master, medium devsel, latency 64
>         Bus: primary=00, secondary=01, subordinate=05, sec-latency=64
>         I/O behind bridge: fe200000-fe200fff
>         Memory behind bridge: fd000000-fd0fffff
>         Prefetchable memory behind bridge: 0000000000000000-00000000000fffff
>         Capabilities: [dc] Power Management version 1
> 
> 00:08.0 FireWire (IEEE 1394): NEC Corporation Unknown device 01f2 (rev
> 01) (prog-if 10 [OHCI])
>         Subsystem: NEC Corporation Unknown device 00f2
>         Flags: bus master, medium devsel, latency 128, IRQ 65
>         Memory at fd100000 (32-bit, non-prefetchable) [size=4K]
>         Capabilities: [60] Power Management version 2
> 
> 01:0f.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
>         Flags: bus master, medium devsel, latency 168, IRQ 68
>         Memory at fd000000 (32-bit, non-prefetchable) [size=4K]
>         Bus: primary=01, secondary=02, subordinate=05, sec-latency=176
>         Memory window 1: fd020000-fd03f000
>         I/O window 0: 00000000-000001ff
>         I/O window 1: 00000400-000005ff
>         16-bit legacy interface ports at 0001
> 
> Thanks in advance for any information.
> Jeongdo Son
> 
> _______________________________________________
> Linux PCMCIA reimplementation list
> http://lists.infradead.org/mailman/listinfo/linux-pcmcia


-- 
Kristoffer Ericson <Kristoffer.Ericson at Gmail.com>



More information about the linux-pcmcia mailing list