From owner-freebsd-questions Thu Dec 12 23:42:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45BDD37B401 for ; Thu, 12 Dec 2002 23:42:28 -0800 (PST) Received: from svmarshal.bytecraft.au.com (svmarshal.bytecraft.au.com [203.39.118.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4419243EA9 for ; Thu, 12 Dec 2002 23:42:26 -0800 (PST) (envelope-from murraytaylor@bytecraftsystems.com) Received: from wombat.bytecraft.au.com (Not Verified[203.39.118.3]) by svmarshal.bytecraft.au.com with MailMarshal (v5,0,3,78) id ; Fri, 13 Dec 2002 18:42:23 +1100 Received: from MJTDEVNULL (unknown [10.0.30.252]) by wombat.bytecraft.au.com (Postfix) with ESMTP id CBB1E3F0F for ; Fri, 13 Dec 2002 18:42:19 +1100 (EST) From: "Murray Taylor" To: Subject: PCCARD-PCI adapter question Date: Fri, 13 Dec 2002 18:42:19 +1100 Message-ID: <000001c2a27b$2a9a5630$fc1e000a@MJTDEVNULL> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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: (vendor=0x1106, dev=0x3057) at 7.4 Dec 13 16:16:58 widow /kernel: pcic0: mem 0xdd0cb000-0xdd0cbfff irq 7 at device 9.0 on pci0 Dec 13 16:16:58 widow /kernel: pccard0: on pcic0 Dec 13 16:16:58 widow /kernel: pcic1: mem 0xdd0cc000-0xdd0ccfff irq 5 at device 9.1 on pci0 Dec 13 16:16:58 widow /kernel: pccard1: 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 [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-questions" in the body of the message