public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: pcmcia problems with IDE & cardbus
@ 2002-02-27 19:10 dhinds
  2002-02-27 20:49 ` Andreas Roedl
  0 siblings, 1 reply; 8+ messages in thread
From: dhinds @ 2002-02-27 19:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: flood

Andreas Roedl wrote:

> Apart from your problem I finally found out that all dldwd_* stuff in 2.4.18 
> has been renamed to orinoco_*, so pcmcia-3.1.31 is not usable with 2.4.18... 

Err what?

Why would the names of functions in the orinoco_cs driver affect the
usability of the pcmcia-cs package on a particular kernel?

I think you're doing something wrong.  The only circumstance I could
imagine this making a difference is if you're trying to mix some of
the orinoco modules from the kernel tree with other orinoco modules
from the pcmcia-cs tree.

-- Dave


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: pcmcia problems with IDE & cardbus
@ 2002-02-27 19:15 dhinds
  0 siblings, 0 replies; 8+ messages in thread
From: dhinds @ 2002-02-27 19:15 UTC (permalink / raw)
  To: linux-kernel

Herbert Rosmanith wrote:

> "unable to get IRQ 10" is somewhat funny, since IRQ-10 is used by 
> the cardbus device. what I don't understand is if the IDE-drive 
> sould get its own interrupt or not. 

The card should (must) share the PCI interrupt with the CardBus bridge
device.  However, the IDE driver assumes that it should have exclusive
use of the interrupt, because it doesn't believe that this is a PCI
IDE device (well, it is sort of an ISA IDE device sitting behind a PCI
bridge).

> and finally an ugly detail: when removing the ComapctFlash and 
> unloading pcmcia, ide_cs will still have the ioport-ressources 
> clailed form /proc/ioport. seems there's a call to *_unregister 
> missing. 

The ide_cs driver does call ide_unregister().  The problem is that the
IDE driver doesn't clean up properly if you hot-eject an interface
that has active devices associated with it.  Use "cardctl eject"
before you eject an IDE card.

-- Dave


^ permalink raw reply	[flat|nested] 8+ messages in thread
* pcmcia problems with IDE & cardbus
@ 2002-02-27  0:26 Herbert Rosmanith
  2002-02-27  1:50 ` Andreas Roedl
  2002-02-27 18:23 ` Gunther Mayer
  0 siblings, 2 replies; 8+ messages in thread
From: Herbert Rosmanith @ 2002-02-27  0:26 UTC (permalink / raw)
  To: linux-kernel


hi,

I've been trying to get a CompactFlash act as an IDE-drive, 2nd or 3rd
ide-channel, that is, IDE1 or IDE2 resp. Didn't work. Seems to be driver
related.

I downloaded 2.4.18 and pcmcia-3.1.31, from the later I got "ide_cs.o"

The hardware I am using a a two socket PCI to PCMCIA bridge:

hale-bopp:~ # cat /proc/interrupts
[...]
 10:          1          XT-PIC  Texas Instruments PCI1221, Texas Instruments PCI1221 (#2)


when the init-script starts the pcmcia modules + cardmgr, the following
messages will appear in the kernel-log:

   : Linux Kernel Card Services 3.1.22
   :   options:  [pci] [cardbus] [pm]
   : PCI: Found IRQ 10 for device 00:09.0
   : PCI: Sharing IRQ 10 with 00:09.1
   : PCI: Found IRQ 10 for device 00:09.1
   : PCI: Sharing IRQ 10 with 00:09.0
   : Yenta IRQ list 0000, PCI irq10
   : Socket status: 30000006
   : Yenta IRQ list 0000, PCI irq10
   : Socket status: 30000010
   : cs: IO port probe 0x0c00-0x0cff: clean.
   : cs: IO port probe 0x0800-0x08ff: clean.
   : cs: IO port probe 0x0100-0x04ff: excluding 0x4d0-0x4d7
   : cs: IO port probe 0x0a00-0x0aff: clean.
   : cs: memory probe 0xa0000000-0xa0ffffff: clean.
   : hde: SanDisk SDCFB-16, ATA DISK drive
   : ide2: Disabled unable to get IRQ 10.
   : hde: ERROR, PORTS ALREADY IN USE
   : ide2: ports already in use, skipping probe
   : ide2: ports already in use, skipping probe
   : ide2: ports already in use, skipping probe
   : ide2: ports already in use, skipping probe
   : ide2: ports already in use, skipping probe
   : ide2: ports already in use, skipping probe
   : ide2: ports already in use, skipping probe
   : ide2: ports already in use, skipping probe
   : ide_cs: ide_register() at 0x100 & 0x10e, irq 10 failed
   : Trying to free nonexistent resource <00000100-0000010f>

"unable to get IRQ 10" is somewhat funny, since IRQ-10 is used by
the cardbus device. what I don't understand is if the IDE-drive
sould get its own interrupt or not.

"ports already in use" doesnt go away even when I remove all IDE-drives
(one CDROM, that is ;-) from ide1 and try to have the CompactFlash as
2ndry IDE (the message would then read: ide1: ports alread yin use,
skipping probe).

and finally an ugly detail: when removing the ComapctFlash and
unloading pcmcia, ide_cs will still have the ioport-ressources
clailed form /proc/ioport. seems there's a call to *_unregister
missing.

/herp


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-02-27 20:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-27 19:10 pcmcia problems with IDE & cardbus dhinds
2002-02-27 20:49 ` Andreas Roedl
2002-02-27 20:57   ` dhinds
  -- strict thread matches above, loose matches on Subject: below --
2002-02-27 19:15 dhinds
2002-02-27  0:26 Herbert Rosmanith
2002-02-27  1:50 ` Andreas Roedl
2002-02-27 18:23 ` Gunther Mayer
2002-02-27 18:21   ` Andre Hedrick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox