public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Problems with PCMCIA Compact Flash adapter in 2.5.72
@ 2003-06-20  8:18 Eivind Tagseth
  2003-06-20 17:50 ` Bill Davidsen
  2003-06-20 20:16 ` Russell King
  0 siblings, 2 replies; 11+ messages in thread
From: Eivind Tagseth @ 2003-06-20  8:18 UTC (permalink / raw)
  To: linux-kernel

I've got a Kingston Compact Flash adapter that I use to mount the flash
card of my digital camera.  I've had several problems with the kernel
with this, both 2.4.20, 2.5.69 and 2.5.72.

Both 2.4.20 and 2.5.69 works though, but oopses if I remove the card.
2.5.72 doesn't work at all:

(using yenta.ko)
Jun 18 21:09:19 [cardmgr] initializing socket 1
Jun 18 21:09:19 [cardmgr] socket 1: ATA/IDE Fixed Disk
Jun 18 21:09:19 [cardmgr] product info: "SanDisk", "SDP", "5/3 0.6"
Jun 18 21:09:19 [cardmgr] manfid: 0x0045, 0x0401  function: 4 (fixed disk)
Jun 18 21:09:19 [cardmgr] executing: 'modprobe ide-cs'
Jun 18 21:09:19 [cardmgr] bind 'ide-cs' to socket 1 failed: Invalid argument

I'm not sure what cardmgr tries to do with ide-cs, but it works with
2.5.69 but seems to have stopped working in 2.5.70 or 2.5.71 (didn't try
2.5.70) and is still not working in 2.5.72.  stracing cardmgr didn't help,
as the interesting parts are hidden inside a vfork which strace won't follow.

2.5.69 works (using yenta_socket.ko) and logs this:
Jun 15 20:43:19 [kernel] cs: memory probe 0xa0000000-0xa0ffffff: clean.
Jun 15 20:43:19 [cardmgr] socket 1: ATA/IDE Fixed Disk
Jun 15 20:43:20 [cardmgr] executing: 'modprobe ide-cs'
Jun 15 20:43:23 [kernel] hdc: Flash Card, CFA DISK drive
Jun 15 20:43:23 [kernel] hdc: max request size: 128KiB
Jun 15 20:43:23 [kernel] hdc: task_no_data_intr: status=0x51 { DriveReady SeekCo
mplete Error }
Jun 15 20:43:23 [kernel] hdc: 1006992 sectors (516 MB) w/0KiB Cache, CHS=999/16/
63
Jun 15 20:43:23 [kernel]  /dev/ide/host1/bus0/target0/lun0: p1
Jun 15 20:43:23 [cardmgr] executing: './ide start hdc'


Cardmgr is 3.2.4, pcmcia-cs is 3.2.4, gcc is 3.2.2.


I always seem to forget some vital information when reporting bugs, 
please don't hesitate to ask for more info.  I'll be happy to try any
patches to the kernel and/or cardmgr if needed.



Eivind

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

end of thread, other threads:[~2003-06-24  8:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-20  8:18 Problems with PCMCIA Compact Flash adapter in 2.5.72 Eivind Tagseth
2003-06-20 17:50 ` Bill Davidsen
2003-06-20 20:08   ` Russell King
2003-06-20 20:16 ` Russell King
2003-06-22 11:46   ` Eivind Tagseth
2003-06-22 13:15     ` Russell King
2003-06-22 18:28       ` Eivind Tagseth
2003-06-22 19:16         ` Eivind Tagseth
2003-06-23  9:29           ` Russell King
2003-06-23 11:33             ` Alan Cox
2003-06-24  8:50             ` Eivind Tagseth

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