pcmcia: patch to fix pccard_store_cis Was: [SOLUTION/HACK/PUZZLED] pcmcia modem only works with cardmgr in recent 2.6.15 kernel.

Romano Giannetti romanol at upcomillas.es
Mon Nov 13 05:02:39 EST 2006


On Fri, 2006-11-03 at 11:02 -0500, Dominik Brodowski wrote:
> Does it work again (after re-copying the cis file to /lib/firmware)
> when
> you use this patch?
> 
> Thanks,
>         Dominik
> 
> >From 4bb59569454f09e8bfc3a0f7bbdef46ccc7a51e0 Mon Sep 17 00:00:00
> 2001
> From: Dominik Brodowski <linux at dominikbrodowski.net>
> Date: Fri, 3 Nov 2006 10:54:00 -0500
> Subject: [PATCH] pcmcia: start over after CIS override
> 
> When overriding the CIS, re-start the configuration of the card from
> scratch. Reported and debugged by Fabrice Bellet
> <fabrice at bellet.info> 

Mr Dominik, all,

	I tried your patch on top of the kernel 2.6.17.13 that came with ubuntu
edgy (and had sufficient trouble with it, I do not know if I'll be able
to try with a recent kernel.). This message is in copy to akpm which
asked me a report on the same problem.

I applied your patch and this one: 
http://lkml.org/lkml/2006/10/1/179

but the kernel continues to ignore the second function of my card.
Moreover, now the modem does not work even with the dear old cardmgr:

[17179741.804000] pcmcia: registering new device pcmcia1.1
[17179741.844000] 1.1: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[17179741.992000] setup_irq: irq handler mismatch
[17179741.992000]  <c0139e82> setup_irq+0x102/0x110  <c0223250> serial8250_interrupt+0x0/0xf0
[17179741.992000]  <c0139f29> request_irq+0x99/0xb0  <c0223195> serial8250_startup+0x415/0x440
[17179741.992000]  <c021ec58> uart_startup+0x48/0x130  <c021fa3f> uart_open+0xbf/0x410
[17179741.992000]  <c0160a13> cdev_get+0x23/0x60  <c020eba1> tty_open+0x161/0x310
[17179741.992000]  <c0160ace> chrdev_open+0x6e/0x140  <c0160a60> chrdev_open+0x0/0x140
[17179741.992000]  <c0156924> __dentry_open+0xb4/0x1e0  <c0156b05> nameidata_to_filp+0x35/0x40
[17179741.992000]  <c0156b60> do_filp_open+0x50/0x60  <c0156805> get_unused_fd+0x45/0xb0
[17179741.992000]  <c0156bba> do_sys_open+0x4a/0xe0  <c0156c8c> sys_open+0x1c/0x20
[17179741.992000]  <c0102dbb> sysenter_past_esp+0x54/0x79

Mr Morton, do you still think I should open a bug in bugzilla? Even if I
have not tested a newer kernel? It seems to me that nothing has changed
over there, and this _is_ a regression (from 2.6.13, even).

Romano 

PS: can anyone point me to a tutorial on howto install a new kernael
easily on ubuntu? The procedure they point to (creating deb package,
installing, etc) are quite cumbersome. Anyway, I will try. 
 


-- 
Romano Giannetti --- romano.giannetti at gmail.com
Sorry for the following disclaimer, it's attached by our otugoing server
and I cannot shut it up.
 


--
La presente comunicación tiene carácter confidencial y es para el exclusivo uso del destinatario indicado en la misma. Si Ud. no es el destinatario indicado, le informamos que cualquier forma de distribución, reproducción o uso de esta comunicación y/o de la información contenida en la misma están estrictamente prohibidos por la ley. Si Ud. ha recibido esta comunicación por error, por favor, notifíquelo inmediatamente al remitente contestando a este mensaje y proceda a continuación a destruirlo. Gracias por su colaboración.

This communication contains confidential information. It is for the exclusive use of the intended addressee. If you are not the intended addressee, please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited by law. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy this message. Thank you for your cooperation. 



More information about the linux-pcmcia mailing list