Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2002 09:48:51 +1100
From:      "Murray Taylor" <murraytaylor@bytecraftsystems.com>
To:        <freebsd-mobile@freebsd.org>
Subject:   PCCARD-PCI adapter question
Message-ID:  <000701c2a555$4e1000b0$fc1e000a@MJTDEVNULL>

next in thread | raw e-mail | index | archive | help
I have finally found a PCI bus PCMCIA card reader that 
works !!!

(It's a   PCD-RP-220E    P/n 720NNR220ZZ10   by PC Card )

and there is just one question...

Is the failure to flush the cache a problem, or am I missing a 
command sequence between the umount and the physical eject?

see <<<<<< marker below in the message log after "Ejecting the card"




From /var/log/messages

booting with pccard="YES"

Dec 13 16:16:58 widow /kernel: FreeBSD 4.6-STABLE #0: Thu Aug  1
14:30:01 EST 2002
Dec 13 16:16:58 widow /kernel:
root@widow.bytecraft.au.com:/usr/obj/usr/src/sys/GENERIC
Dec 13 16:16:58 widow /kernel: Timecounter "i8254"  frequency 1193182 Hz
Dec 13 16:16:58 widow /kernel: CPU: Pentium III/Pentium III Xeon/Celeron
(1000.02-MHz 686-class CPU)
Dec 13 16:16:58 widow /kernel: Origin = "GenuineIntel"  Id = 0x68a
Stepping = 10
Dec 13 16:16:58 widow /kernel:
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,
MCA,CMOV,PAT,PSE36,MMX,FXSR,S
SE>
Dec 13 16:16:58 widow /kernel: real memory  = 536805376 (524224K bytes)
Dec 13 16:16:58 widow /kernel: avail memory = 517361664 (505236K bytes)
...
Dec 13 16:16:58 widow /kernel: pci0: <unknown card> (vendor=0x1106,
dev=0x3057) at 7.4
Dec 13 16:16:58 widow /kernel: pcic0: <Ricoh RL5C476 PCI-CardBus Bridge>
mem 0xdd0cb000-0xdd0cbfff irq 7 at device 9.0 on pci0
Dec 13 16:16:58 widow /kernel: pccard0: <PC Card bus (classic)> on pcic0
Dec 13 16:16:58 widow /kernel: pcic1: <Ricoh RL5C476 PCI-CardBus Bridge>
mem 0xdd0cc000-0xdd0ccfff irq 5 at device 9.1 on pci0
Dec 13 16:16:58 widow /kernel: pccard1: <PC Card bus (classic)> on pcic1


Inserting SanDisk 32M CF card in Panasonic PCMCIA carrier

Dec 13 16:17:50 widow /kernel: pccard: card inserted, slot 1
Dec 13 16:17:56 widow pccardd[51]: Card "SunDisk"("SDP") [5/3 0.6]
[(null)] matched "SunDisk" ("/.*/") [(null)] [(null)] 
Dec 13 16:18:01 widow /kernel: ata4 at port 0x240-0x247,0x24e irq 5 slot
1 on pccard1
Dec 13 16:18:01 widow /kernel: ad8: 30MB <SanDisk SDCFB-32> [490/4/32]
at ata4-master BIOSPIO
Dec 13 16:18:01 widow pccardd[51]: ata4: SunDisk (/.*/) inserted.

cd /dev
sh ./MAKEDEV ad8

mount_msdos /dev/ad8s1c /mnt
	( yes its a msdos CF card at present)

...   (can see the device, read/write etc)

umount /mnt


Ejecting the card

Dec 13 16:49:38 widow /kernel: ad8: removed from configuration
Dec 13 16:49:38 widow /kernel: ad8: no status, reselecting device
Dec 13 16:49:38 widow /kernel: ad8: timeout sending command=e7 s=ff e=04
Dec 13 16:49:38 widow /kernel: ad8: flushing cache on detach failed
<<<<<<
Dec 13 16:49:38 widow /kernel: ata4: detached
Dec 13 16:49:38 widow /kernel: pccard: card removed, slot 1
Dec 13 16:49:38 widow pccardd[51]: ata4: SunDisk (/.*/) removed.



root@widow(~)ttyp0 # uname -a
FreeBSD widow.bytecraft.au.com 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug
1 14:30:01 EST 2002
root@widow.bytecraft.au.com:/usr/obj/usr/src/sys/GENERIC  i386	



Murray Taylor
Special Projects Engineer
---------------------------------
Bytecraft Systems & Entertainment
Phone: 61 3 8710 2555
Fax: 61 3 8710 2599
Direct: 61 3 9238 4275
Mobile: 61 0417 319 256
Email: murraytaylor@bytecraftsystems.com
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com


************************************************************************
This Email has been scanned for Viruses by MailMarshal.
************************************************************************

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c2a555$4e1000b0$fc1e000a>