* IRQ problem with PCMCIA
@ 2005-08-21 18:43 Hesse, Christian
2005-08-21 22:17 ` David Hinds
0 siblings, 1 reply; 13+ messages in thread
From: Hesse, Christian @ 2005-08-21 18:43 UTC (permalink / raw)
To: linux-kernel, linux-pcmcia
[-- Attachment #1: Type: text/plain, Size: 697 bytes --]
Hello everybody,
seems like I have a problem with PCMCIA/PCCARD. If I transfer data to or from
a CF card inserted via adapter system waits for interrupts most of the time:
Cpu(s): 21.2% us, 7.9% sy, 0.0% ni, 0.0% id, 1.7% wa, 69.2% hi, 0.0% si
This results in a very unresponsive system and a transfer rate of up to 1MB/s
(my new camera writes with up to 10MB/s on the card...).
Any idea what could be the reason? This is with 2.6.12/pcmcia-cs and with
2.6.13-rc*/pcmciautils. The CF card is a Lexar 1GB.
root@logo:~# cat /proc/interrupts | grep yenta
11: 5914154 XT-PIC yenta, yenta, uhci_hcd:usb2, Intel
82801DB-ICH4, ide2
--
Regards,
Christian
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: IRQ problem with PCMCIA
2005-08-21 18:43 IRQ problem with PCMCIA Hesse, Christian
@ 2005-08-21 22:17 ` David Hinds
2005-08-21 22:19 ` David Hinds
0 siblings, 1 reply; 13+ messages in thread
From: David Hinds @ 2005-08-21 22:17 UTC (permalink / raw)
To: Hesse, Christian; +Cc: linux-kernel, linux-pcmcia
On Sun, Aug 21, 2005 at 08:43:50PM +0200, Hesse, Christian wrote:
> Hello everybody,
>
> seems like I have a problem with PCMCIA/PCCARD. If I transfer data
> to or from a CF card inserted via adapter system waits for
> interrupts most of the time: Cpu(s): 21.2% us, 7.9% sy, 0.0% ni,
> 0.0% id, 1.7% wa, 69.2% hi, 0.0% si This results in a very
> unresponsive system and a transfer rate of up to 1MB/s (my new
> camera writes with up to 10MB/s on the card...).
The drivers are working correctly; the problem is with the CF flash
adapter you're using. There are two kinds of CF-to-PCMCIA adapters.
Some are 16-bit PCMCIA cards, which are in most cases limited to a bus
throughput of ~1 MB/sec, regardless of what the CF card is capable
of. There are also 32-bit CF adapter cards, that are much faster,
limited only by the speed of the CF device. Here are two:
http://www.delkin.com/delkin_products_adapters_cardbus.html
http://www.lexarmedia.com/readers/cf32bit.html
-- Dave
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: IRQ problem with PCMCIA
2005-08-21 22:17 ` David Hinds
@ 2005-08-21 22:19 ` David Hinds
2005-08-22 0:38 ` Alan Cox
0 siblings, 1 reply; 13+ messages in thread
From: David Hinds @ 2005-08-21 22:19 UTC (permalink / raw)
To: Hesse, Christian; +Cc: linux-kernel, linux-pcmcia
On Sun, Aug 21, 2005 at 03:17:39PM -0700, David Hinds wrote:
>
> The drivers are working correctly; the problem is with the CF flash
> adapter you're using. There are two kinds of CF-to-PCMCIA adapters.
> Some are 16-bit PCMCIA cards, which are in most cases limited to a bus
> throughput of ~1 MB/sec, regardless of what the CF card is capable
> of. There are also 32-bit CF adapter cards, that are much faster,
> limited only by the speed of the CF device. Here are two:
>
> http://www.delkin.com/delkin_products_adapters_cardbus.html
> http://www.lexarmedia.com/readers/cf32bit.html
One caveat: I'm not sure if CardBus IDE devices are working under
Linux?? I'd think they should work with 2.6, but don't actually know
that for a fact.
-- Dave
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: IRQ problem with PCMCIA
2005-08-21 22:19 ` David Hinds
@ 2005-08-22 0:38 ` Alan Cox
2005-08-22 9:25 ` Bartlomiej Zolnierkiewicz
0 siblings, 1 reply; 13+ messages in thread
From: Alan Cox @ 2005-08-22 0:38 UTC (permalink / raw)
To: David Hinds; +Cc: Hesse, Christian, linux-kernel, linux-pcmcia
On Sul, 2005-08-21 at 15:19 -0700, David Hinds wrote
> One caveat: I'm not sure if CardBus IDE devices are working under
> Linux?? I'd think they should work with 2.6, but don't actually know
> that for a fact.
They work with some patches to the core IDE code I did, but I've given
up ever getting those into the kernel. Please wait instead for the new
SATA/ATA layer to develop hotplug support.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: IRQ problem with PCMCIA
2005-08-22 0:38 ` Alan Cox
@ 2005-08-22 9:25 ` Bartlomiej Zolnierkiewicz
2005-08-22 10:32 ` Alan Cox
0 siblings, 1 reply; 13+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2005-08-22 9:25 UTC (permalink / raw)
To: David Hinds; +Cc: Alan Cox, Hesse, Christian, linux-kernel, linux-pcmcia
On 8/22/05, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> On Sul, 2005-08-21 at 15:19 -0700, David Hinds wrote
> > One caveat: I'm not sure if CardBus IDE devices are working under
> > Linux?? I'd think they should work with 2.6, but don't actually know
> > that for a fact.
CardBus IDE devices work just fine but there are still issues with
hotplug support (work in progress).
> They work with some patches to the core IDE code I did, but I've given
Alan has been living in his own reality for some time:
http://lkml.org/lkml/2005/5/2/123
> up ever getting those into the kernel. Please wait instead for the new
> SATA/ATA layer to develop hotplug support.
This is just a FUD to discourage people from working on IDE drivers.
Alan is doing this on purpose and doesn't really want to improve things.
Bartlomiej
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: IRQ problem with PCMCIA
2005-08-22 9:25 ` Bartlomiej Zolnierkiewicz
@ 2005-08-22 10:32 ` Alan Cox
2005-08-22 10:32 ` Bartlomiej Zolnierkiewicz
2005-08-23 9:20 ` Andre Hedrick
0 siblings, 2 replies; 13+ messages in thread
From: Alan Cox @ 2005-08-22 10:32 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz
Cc: David Hinds, Hesse, Christian, linux-kernel, linux-pcmcia
On Llu, 2005-08-22 at 11:25 +0200, Bartlomiej Zolnierkiewicz wrote:
> CardBus IDE devices work just fine but there are still issues with
> hotplug support (work in progress).
"work in progress". Yes because I submitted working IDE cardbus hotplug
support, and Mark Lord submitted a Delkin driver both of which worked
months ago rather nicely and neither of which hit the Bartlomiej stone
wall and never got in and are now stale patches.
> > up ever getting those into the kernel. Please wait instead for the new
> > SATA/ATA layer to develop hotplug support.
>
> This is just a FUD to discourage people from working on IDE drivers.
> Alan is doing this on purpose and doesn't really want to improve things.
Its a realistic assessment based upon over ten years working on the
Linux kernel. I do not believe you are capable of fixing the old IDE
code. But don't take that personally I am sceptical than anyone can fix
the old IDE code.
Alan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: IRQ problem with PCMCIA
2005-08-22 10:32 ` Alan Cox
@ 2005-08-22 10:32 ` Bartlomiej Zolnierkiewicz
2005-08-22 11:30 ` Alan Cox
2005-08-23 9:20 ` Andre Hedrick
1 sibling, 1 reply; 13+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2005-08-22 10:32 UTC (permalink / raw)
To: Alan Cox; +Cc: David Hinds, Hesse, Christian, linux-kernel, linux-pcmcia
On 8/22/05, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> On Llu, 2005-08-22 at 11:25 +0200, Bartlomiej Zolnierkiewicz wrote:
> > CardBus IDE devices work just fine but there are still issues with
> > hotplug support (work in progress).
>
> "work in progress". Yes because I submitted working IDE cardbus hotplug
> support, and Mark Lord submitted a Delkin driver both of which worked
> months ago rather nicely and neither of which hit the Bartlomiej stone
> wall and never got in and are now stale patches.
Your hotplug support was bad from design/maintainability/workability
POVs so got NAK-ed for a good reasons. Delkin driver can be integrated
soon.
"working nice" != "acceptable for kernel.org"
Because of "working nice" attitude IDE driver became such a mess.
> > > up ever getting those into the kernel. Please wait instead for the new
> > > SATA/ATA layer to develop hotplug support.
> >
> > This is just a FUD to discourage people from working on IDE drivers.
> > Alan is doing this on purpose and doesn't really want to improve things.
>
> Its a realistic assessment based upon over ten years working on the
> Linux kernel. I do not believe you are capable of fixing the old IDE
> code. But don't take that personally I am sceptical than anyone can fix
> the old IDE code.
I'll keep trying you can keep whining.
Bartlomiej
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: IRQ problem with PCMCIA
2005-08-22 10:32 ` Bartlomiej Zolnierkiewicz
@ 2005-08-22 11:30 ` Alan Cox
2005-08-22 11:47 ` Bartlomiej Zolnierkiewicz
2005-08-23 7:49 ` Erik Mouw
0 siblings, 2 replies; 13+ messages in thread
From: Alan Cox @ 2005-08-22 11:30 UTC (permalink / raw)
To: Bartlomiej Zolnierkiewicz
Cc: David Hinds, Hesse, Christian, linux-kernel, linux-pcmcia
On Llu, 2005-08-22 at 12:32 +0200, Bartlomiej Zolnierkiewicz wrote:
> I'll keep trying you can keep whining.
Actually I'm rather busy porting the old ATA drivers over to the new
SATA layer right now. HPT and VIA will be nasty to do but the simpler
drivers are moving over quite nicely.
Now back to ata_serverworks.c
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: IRQ problem with PCMCIA
2005-08-22 11:30 ` Alan Cox
@ 2005-08-22 11:47 ` Bartlomiej Zolnierkiewicz
2005-08-23 7:49 ` Erik Mouw
1 sibling, 0 replies; 13+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2005-08-22 11:47 UTC (permalink / raw)
To: Alan Cox; +Cc: David Hinds, Hesse, Christian, linux-kernel, linux-pcmcia
On 8/22/05, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> On Llu, 2005-08-22 at 12:32 +0200, Bartlomiej Zolnierkiewicz wrote:
> > I'll keep trying you can keep whining.
>
> Actually I'm rather busy porting the old ATA drivers over to the new
> SATA layer right now. HPT and VIA will be nasty to do but the simpler
> drivers are moving over quite nicely.
Porting drivers is the easiest part.
The hard part is providing all needed infrastructure.
> Now back to ata_serverworks.c
Good, it will make also my work easier (merging IDE/libata).
It is a bit shame that you haven't started with ata_821x.c.
Bartlomiej
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: IRQ problem with PCMCIA
2005-08-22 11:30 ` Alan Cox
2005-08-22 11:47 ` Bartlomiej Zolnierkiewicz
@ 2005-08-23 7:49 ` Erik Mouw
2005-08-23 10:31 ` Alan Cox
1 sibling, 1 reply; 13+ messages in thread
From: Erik Mouw @ 2005-08-23 7:49 UTC (permalink / raw)
To: Alan Cox
Cc: Bartlomiej Zolnierkiewicz, David Hinds, Hesse, Christian,
linux-kernel, linux-pcmcia
On Mon, Aug 22, 2005 at 12:30:15PM +0100, Alan Cox wrote:
> Actually I'm rather busy porting the old ATA drivers over to the new
> SATA layer right now. HPT and VIA will be nasty to do but the simpler
> drivers are moving over quite nicely.
Is there any place where we can get your current patches?
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: IRQ problem with PCMCIA
2005-08-22 10:32 ` Alan Cox
2005-08-22 10:32 ` Bartlomiej Zolnierkiewicz
@ 2005-08-23 9:20 ` Andre Hedrick
1 sibling, 0 replies; 13+ messages in thread
From: Andre Hedrick @ 2005-08-23 9:20 UTC (permalink / raw)
To: Alan Cox
Cc: Bartlomiej Zolnierkiewicz, David Hinds, Hesse, Christian,
linux-kernel, linux-pcmcia
Alan,
The old code can be fixed, just I don't have the time or any desire to
look at it again, still. The burn out from the last issues from
2001-2003, cost me some health problems over the stress.
If I encounter these problems and become annoyed enough, I will fix it.
However, if it is cheaper to buy working hardware, that is the route I
will take.
You (Alan), if anyone knows anything can be done in Linux, otherwise none
of us would have ever put this much effort into its success.
Cheers,
Andre
On Mon, 22 Aug 2005, Alan Cox wrote:
> On Llu, 2005-08-22 at 11:25 +0200, Bartlomiej Zolnierkiewicz wrote:
> > CardBus IDE devices work just fine but there are still issues with
> > hotplug support (work in progress).
>
> "work in progress". Yes because I submitted working IDE cardbus hotplug
> support, and Mark Lord submitted a Delkin driver both of which worked
> months ago rather nicely and neither of which hit the Bartlomiej stone
> wall and never got in and are now stale patches.
>
> > > up ever getting those into the kernel. Please wait instead for the new
> > > SATA/ATA layer to develop hotplug support.
> >
> > This is just a FUD to discourage people from working on IDE drivers.
> > Alan is doing this on purpose and doesn't really want to improve things.
>
> Its a realistic assessment based upon over ten years working on the
> Linux kernel. I do not believe you are capable of fixing the old IDE
> code. But don't take that personally I am sceptical than anyone can fix
> the old IDE code.
>
> Alan
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: IRQ problem with PCMCIA
2005-08-23 7:49 ` Erik Mouw
@ 2005-08-23 10:31 ` Alan Cox
2005-08-23 13:26 ` Erik Mouw
0 siblings, 1 reply; 13+ messages in thread
From: Alan Cox @ 2005-08-23 10:31 UTC (permalink / raw)
To: Erik Mouw
Cc: Bartlomiej Zolnierkiewicz, David Hinds, Hesse, Christian,
linux-kernel, linux-pcmcia
On Maw, 2005-08-23 at 09:49 +0200, Erik Mouw wrote:
> Is there any place where we can get your current patches?
Which ones - the PATA IDE ones are in 2.6.11-ac, a subset in Fedora
(other changes in the core IDE code make forward porting stuff for
hotplug really tricky past 2.6.11).
The SATA ones I can certainly put up if there is interest. I don't want
to put them somewhere too available yet because this right now is stuff
you only want to use under controlled circumstances for development
until both they and the core SATA layer have some improvements.
Alan
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: IRQ problem with PCMCIA
2005-08-23 10:31 ` Alan Cox
@ 2005-08-23 13:26 ` Erik Mouw
0 siblings, 0 replies; 13+ messages in thread
From: Erik Mouw @ 2005-08-23 13:26 UTC (permalink / raw)
To: Alan Cox
Cc: Bartlomiej Zolnierkiewicz, David Hinds, Hesse, Christian,
linux-kernel, linux-pcmcia
On Tue, Aug 23, 2005 at 11:31:58AM +0100, Alan Cox wrote:
> On Maw, 2005-08-23 at 09:49 +0200, Erik Mouw wrote:
> > Is there any place where we can get your current patches?
>
> Which ones - the PATA IDE ones are in 2.6.11-ac, a subset in Fedora
> (other changes in the core IDE code make forward porting stuff for
> hotplug really tricky past 2.6.11).
I know about those and have been using them on my laptop.
> The SATA ones I can certainly put up if there is interest. I don't want
> to put them somewhere too available yet because this right now is stuff
> you only want to use under controlled circumstances for development
> until both they and the core SATA layer have some improvements.
That's the one I'm interested in. Yes, I do understand it can erase all
my partitions, etc.
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-08-23 13:26 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-21 18:43 IRQ problem with PCMCIA Hesse, Christian
2005-08-21 22:17 ` David Hinds
2005-08-21 22:19 ` David Hinds
2005-08-22 0:38 ` Alan Cox
2005-08-22 9:25 ` Bartlomiej Zolnierkiewicz
2005-08-22 10:32 ` Alan Cox
2005-08-22 10:32 ` Bartlomiej Zolnierkiewicz
2005-08-22 11:30 ` Alan Cox
2005-08-22 11:47 ` Bartlomiej Zolnierkiewicz
2005-08-23 7:49 ` Erik Mouw
2005-08-23 10:31 ` Alan Cox
2005-08-23 13:26 ` Erik Mouw
2005-08-23 9:20 ` Andre Hedrick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox