[RFC] PCMCIA patches for 2.6.37-rc1
Wolfram Sang
w.sang at pengutronix.de
Sat Sep 4 11:41:23 EDT 2010
> As usual, I'm interested in your input to this patch series.
I have access to my pcmcia-testing-laptop again!
And funny things do happen when I insert a CF-card:
Sep 4 17:21:09 goodluck kernel: [ 70.120069] pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
Sep 4 17:21:09 goodluck kernel: [ 70.120088] pcmcia_socket pcmcia_socket0: cs: memory probe 0x0d4000-0x0dffff: clean.
Sep 4 17:21:09 goodluck kernel: [ 70.134315] pcmcia_socket pcmcia_socket0: cs: memory probe 0x60000000-0x60ffffff: clean.
Sep 4 17:21:09 goodluck kernel: [ 70.173127] pcmcia_socket pcmcia_socket0: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Sep 4 17:21:09 goodluck kernel: [ 70.211331] pcmcia_socket pcmcia_socket0: cs: memory probe 0xffd10000-0xffdeffff: clean.
Sep 4 17:21:09 goodluck kernel: [ 70.251075] pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 11)
Sep 4 17:21:09 goodluck kernel: [ 70.253278] ide-cs 0.0: invalid write to CISREG_SCR
Sep 4 17:21:09 goodluck kernel: [ 70.253385] ide-cs 0.0: invalid write to CISREG_PRR
Sep 4 17:21:09 goodluck kernel: [ 70.304217] ide-cs 0.0: invalid write to CISREG_SCR
Sep 4 17:21:09 goodluck kernel: [ 70.304277] ide-cs 0.0: invalid write to CISREG_PRR
Sep 4 17:21:09 goodluck kernel: [ 70.397805] pata_pcmcia 0.0: invalid write to CISREG_SCR
Sep 4 17:21:09 goodluck kernel: [ 70.397865] pata_pcmcia 0.0: invalid write to CISREG_PRR
Sep 4 17:21:09 goodluck kernel: [ 70.438826] scsi0 : pata_pcmcia
Sep 4 17:21:09 goodluck kernel: [ 70.439325] ata1: PATA max PIO0 cmd 0xc100 ctl 0xe irq 11
Sep 4 17:21:12 goodluck kernel: [ 72.703289] pcmcia_socket pcmcia_socket0: pccard: card ejected from slot 0
Sep 4 17:21:15 goodluck kernel: [ 75.703417] ata1.00: qc timeout (cmd 0xec)
Sep 4 17:21:15 goodluck kernel: [ 75.703431] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x5)
While the card is attached, the system is frozen (not even mouse cursor moves).
I can simply eject the card and continue working, though. [1 minute later]
Okay, I just noticed that I have both installed, ide-cs and pata_pcmcia. That
seems to be part of the problem, although it used to work up to now. If I only
install ide-cs, it looks like this:
Sep 4 17:35:36 goodluck kernel: [ 55.716722] pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
Sep 4 17:35:36 goodluck kernel: [ 55.716741] pcmcia_socket pcmcia_socket0: cs: memory probe 0x0d4000-0x0dffff: clean.
Sep 4 17:35:36 goodluck kernel: [ 55.731083] pcmcia_socket pcmcia_socket0: cs: memory probe 0x60000000-0x60ffffff: clean.
Sep 4 17:35:36 goodluck kernel: [ 55.770154] pcmcia_socket pcmcia_socket0: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Sep 4 17:35:36 goodluck kernel: [ 55.808552] pcmcia_socket pcmcia_socket0: cs: memory probe 0xffd10000-0xffdeffff: clean.
Sep 4 17:35:36 goodluck kernel: [ 55.848201] pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 11)
Sep 4 17:35:36 goodluck kernel: [ 55.850912] ide-cs 0.0: invalid write to CISREG_SCR
Sep 4 17:35:36 goodluck kernel: [ 55.850973] ide-cs 0.0: invalid write to CISREG_PRR
Sep 4 17:35:36 goodluck kernel: [ 55.899012] ide-cs 0.0: invalid write to CISREG_SCR
Sep 4 17:35:36 goodluck kernel: [ 55.899069] ide-cs 0.0: invalid write to CISREG_PRR
Sep 4 17:35:43 goodluck kernel: [ 63.311451] pcmcia_socket pcmcia_socket0: pccard: card ejected from slot 0
But I still can't mount the card, obviously.
A different question: I really like cleaning up and removing more than 2000
lines is a great thing. Out of curiosity, is my impression right that you
partially remove some generic implementations (maybe as defined in the PCMCIA
standard) and reduce it to what is used by current drivers (abusing the fact
that there most likely won't be too much new PCMCIA cards)?
Regards,
Wolfram
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-pcmcia/attachments/20100904/a7257e24/attachment.sig>
More information about the linux-pcmcia
mailing list