[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to use pcmcia memory cards???



Hello!

tryed to mount a SD card of a Casio photo-camera... without success so
far...

my laptop has an inbuild SD-card adapter which is in fact (as i found
    out) linked to the pcmcia system...

inserting the card the first time, i got the negation beep...

looking into the log i found :
unknown device...

i added a block to the config file:
card "RICOH Bay1Controller"
  version  "RICOH", "Bay1Controller"
  bind "memory_cs"

and got after that:

Dec 23 11:18:28 shooka cardmgr[6017]: socket 0: RICOH Bay1Controller
Dec 23 11:18:29 shooka kernel: 2.6. kernels use pcmciamtd instead of
memory_cs.c and do not require special
Dec 23 11:18:29 shooka kernel: MTD handling any more.
Dec 23 11:18:29 shooka cardmgr[6017]: executing: 'modprobe memory_cs
2>&1'
Dec 23 11:18:29 shooka cardmgr[6017]: + FATAL: Module memory_cs not
found.
Dec 23 11:18:29 shooka cardmgr[6017]: modprobe exited with status 1
Dec 23 11:18:29 shooka cardmgr[6017]: module
/lib/modules/2.6.14-2-686/pcmcia/memory_cs.o not available
Dec 23 11:18:29 shooka cardmgr[6017]: bind 'memory_cs' to socket 0
failed: Invalid argument
Dec 23 11:18:33 shooka cardmgr[6017]: executing: 'modprobe -r memory_cs
2>&1'
Dec 23 11:18:33 shooka cardmgr[6017]: + FATAL: Module memory_cs not
found.
Dec 23 11:18:33 shooka cardmgr[6017]: modprobe exited with status 1

ok, read the warning that memory_cs is deprecated (would have been nice
    having it there anyway....), tryed to locate the pcmciamtd thing...

added to the config file:
device "pcmciamtd" 
   class "memory" module "pcmciamtd"

and changed in the /etc/pcmcia/ricoh.conf to
card "RICOH Bay1Controller"
  version  "RICOH", "Bay1Controller"
  bind "pcmciamtd"

no luck:
Dec 23 10:47:32 shooka kernel: pcmciamtd: PCMCIA Flash memory card
driver $Revision: 1.51 $
Dec 23 10:47:32 shooka kernel: JEDEC: Found no RICOH Bay1Controller
device at location zero
Dec 23 10:47:32 shooka kernel: CFI: Found no RICOH Bay1Controller device
at location zero
Dec 23 10:47:33 shooka cardmgr[4423]: get dev info on socket 0 failed:
Resource temporarily unavailable

manually stopping the pcmcia system and trying to unload the module
gives:
Dec 23 10:57:40 shooka kernel: ------------[ cut here ]------------
Dec 23 10:57:40 shooka kernel: kernel BUG at
drivers/mtd/maps/pcmciamtd.c:878!
Dec 23 10:57:40 shooka kernel: invalid operand: 0000 [#1]
Dec 23 10:57:40 shooka kernel: Modules linked in: cfi_probe jedec_probe
gen_probe pcmciamtd mtdcore chipreg i915 drm parport_pc lp parport
thermal fan button processor ac battery ipv6 pcmcia sr_mod sbp2 scsi_mod
eth1394 usbhid ipw2200 firmware_class joydev 8139cp ieee80211
ieee80211_crypt ohci1394 ieee1394 8139too yenta_socket rsrc_nonstatic
pcmcia_core mii snd_intel8x0 snd_intel8x0m snd_ac97_codec snd_ac97_bus
snd_pcm_oss snd_mixer_oss i2c_i801 snd_pcm ide_cd snd_timer uhci_hcd
cdrom intel_agp agpgart rtc i2c_core snd soundcore serio_raw pcspkr
usbcore snd_page_alloc ext3 jbd mbcache ide_disk ide_generic generic
piix ide_core evdev mousedev psmouse
Dec 23 10:57:40 shooka kernel: CPU:    0
Dec 23 10:57:40 shooka kernel: EIP:    0060:[pg0+512339930/1069777920]
Not tainted VLI
Dec 23 10:57:40 shooka kernel: EFLAGS: 00010286   (2.6.14-2-686) 
  Dec 23 10:57:40 shooka kernel: EIP is at exit_pcmciamtd+0x1a/0x24
  [pcmciamtd]
  Dec 23 10:57:40 shooka kernel: eax: d0eb7c00   ebx: 00000880   ecx:
  c01ce720   edx: deb8fad4
  Dec 23 10:57:40 shooka kernel: esi: dec63180   edi: 00000000   ebp:
  dc856000   esp: dc857f58
  Dec 23 10:57:40 shooka kernel: ds: 007b   es: 007b   ss: 0068
  Dec 23 10:57:40 shooka kernel: Process rmmod (pid: 5848,
      threadinfo=dc856000 task=d0bf1030)
  Dec 23 10:57:40 shooka kernel: Stack: dec62df4 c013508c dec63180
  00000880 dc857fa8 636d6370 746d6169 d2370064 
  Dec 23 10:57:40 shooka kernel:        dd731124 d0bdbddc b7f69000
  b7f6a000 d0bdbddc d237f280 d237f2b0 b7f69000 
  Dec 23 10:57:40 shooka kernel:        dc856000 c0153700 d237f280
  00f69000 00000000 bfd7c4b0 bfd7c4b0 00000003 
  Dec 23 10:57:40 shooka kernel: Call Trace:
  Dec 23 10:57:40 shooka kernel:  [sys_delete_module+332/400]
  sys_delete_module+0x14c/0x190
  Dec 23 10:57:40 shooka kernel:  [sys_munmap+80/128]
  sys_munmap+0x50/0x80
  Dec 23 10:57:40 shooka kernel:  [syscall_call+7/11]
  syscall_call+0x7/0xb
  Dec 23 10:57:40 shooka kernel: Code: e8 fc fe ff ff eb d5 90 90 00 00
  00 00 00 00 00 00 83 ec 04 c7 04 24 e0 2d c6 de e8 d1 53 f2 ff a1 c0
  32 c6 de 85 c0 75 02 59 c3 <0f> 0b 6e 03 68 11 c6 de 59 c3 00 00 00 00
  20 00 50 43 4d 43 49 

send a bug report for the kernel 2.6.14-2-686 for that one...

any hint welcome on how to get that card mounted...

-- 
ciao bboett
==============================================================
bboett@adlp.org
http://inforezo.u-strasbg.fr/~bboett
===============================================================

Attachment: signature.asc
Description: Digital signature


Reply to: