Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2001 21:51:17 -0700
From:      Richard Johnson <raj@cisco.com>
To:        freebsd-mobile@freebsd.org
Subject:   Strange problem with Ritek Compact flash
Message-ID:  <15212.53445.916051.597303@kitab.cisco.com>

next in thread | raw e-mail | index | archive | help
I have a Ritek Compact Flash 128Mb card which I'm inserting into my
PCMCIA slot using a Compact Flash PCMCIA adapter.  This works just
fine for lots of other compact flash cards, and I can mount the disk
as a msdos file system just fine, however with the Ritek card I keep
getting the error:
=09deget(): pcbmap returned 0
when I do "ls" inside the top level directory of the card.

The one big difference I've noticed with this card is that when I
insert it I get two different IO addresses listed:

Aug  4 21:39:17 kitab /kernel: pccard: card inserted, slot 0
Aug  4 21:39:22 kitab pccardd[125]: Card "Ritek Corporation   Ver1.00 "=
("?") [(null)] [(null)] matched "Ritek Corporation   Ver1.00 " ("?") [(=
null)] [(null)]=20
ata2 at port 0x170-0x177,0x376 irq 3 slot 0 on pccard0
ad4: 122MB <Ritek Corporation> [978/8/32] at ata2-master using BIOSPIO
Aug  4 21:39:28 kitab /kernel: ata2 at port 0x170-0x177,0x376 irq 3 slo=
t 0 on pccard0
Aug  4 21:39:28 kitab /kernel: ad4: 122MB <Ritek Corporation> [978/8/32=
] at ata2-master using BIOSPIO
Aug  4 21:39:28 kitab pccardd[125]: ata2: Ritek Corporation   Ver1.00  =
(?) inserted.

whereas other compact flash cards report only one:

Aug  4 21:46:06 kitab /kernel: pccard: card inserted, slot 0
Aug  4 21:46:11 kitab pccardd[125]: Card "    KODAK Picture Card       =
"("KODAK  ") [V.=FF_ether $device] [(null)] has function ID 4=20
Aug  4 21:46:16 kitab /kernel: ata2 at port 0x280-0x28f irq 3 slot 0 on=
 pccard0
Aug  4 21:46:16 kitab /kernel: ad4: 30MB <KODAK ATA_FLASH> [984/2/32] a=
t ata2-master using BIOSPIO
Aug  4 21:46:16 kitab pccardd[125]: ata2: GENERIC Flash ATA / ATA HDD i=
nserted.

I'm wondering if this may be the cause of my problem:


kitab#mount -t msdos /dev/ad4s1 /mnt
kitab#cd /mnt
kitab#ls
deget(): pcbmap returned 0
dcim/
kitab#

whereas I have no such problem with other cards:

kitab#mount -t msdos /dev/ad4s1 /mnt
kitab#cd /mnt
kitab#ls
dcim/
kitab#ls -R
dcim/

./dcim:
100canon/       canonmsc/

./dcim/100canon:

./dcim/canonmsc:
551.ctg*

Has anyone seen this type of problem?  If I can't find out how to
correctly read this card, I'm afraid I'll have to just resell it and
get a different one.

Thanks in advance for any help anyone can provide.

/raj

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?15212.53445.916051.597303>