Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2002 11:05:27 +0000
From:      Bruce M Simpson <bms@spc.org>
To:        freebsd-mobile@freebsd.org
Subject:   Ritek/Emtec CompactFlash: devices=00 on ata2.
Message-ID:  <20020815110527.GJ24605@spc.org>

next in thread | raw e-mail | index | archive | help
Guys,

On a 4.6-STABLE (August 2nd) box, a Sony Vaio PCGZ600-HEK to be precise,
the Ritek (labelled Emtec) CF card I'm using refuses to work in my PCMCIA-CF
adapter. That is, the ata driver fails to find any devices on the bus.

Looks to me as though the ata driver isn't finding any devices on this bus.
The devices=00 line gets issued during an ata_reset(). This is strange, it
suggests perhaps this flavor of CF card doesn't like bus resets, or maybe
I'm getting it totally wrong with my pccard.conf entry?

I keep SSH keys on this, so my anticipated workaround is to buy something
that *is* known to work, e.g. Lexar. Here in London, our favourite brand
which is on the price break and always seems well priced is Verbatim, but
I'm happy to cough up for something that works.

My pccard.conf entry looks like this:-

# Ritek Compact Flash
card "/Ritek Co.*/" "/.*/"
	config	auto "ata" ?
	logstr "Ritek CompactFlash Card"

And the relevant dmesg excerpts (boot -v) look like this:-

pcic0: Event mask 0x4
pcic0: Autodetected 3.3V card
pcic0: Event mask 0x9
pccard: card inserted, slot 0
pcic0: reset 1 int is 10 stat is 6f
pcic0: reset 2 int is 70 stat is 6f
pcic0: reset 3 int is 70 stat is 6f
pccard0: Assigning ata2: io 0x240-0x24f irq 9 mem 0xd4000-0xd4fff
pcic: I/O win 0 flags 17 240-24f
pcic: I/O win 0 flags 7 240-24f
pcic: I/O win 0 flags 17 240-247
pcic: I/O win 0 flags 7 240-247
pcic: I/O win 0 flags 17 240-247
pcic: I/O win 1 flags 17 24e-24e
ata2: iobase=0x0240 altiobase=0x024e bmaddr=0x0000
ata2: mask=01 ostat0=00 ostat2=00
ata2-master: ATAPI 00 00
ata2: mask=01 stat0=00 stat1=00
ata2: devices=00
ata2 at port 0x240-0x247,0x24e iomem 0xd4000-0xd4fff irq 9 slot 0 on pccard0
ata2: Forcing IRQ to 9
pcic0: Event mask 0x1

Any clues would be most appreciated!
BMS

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?20020815110527.GJ24605>