Thread (2 messages) 2 messages, 2 authors, 2011-01-08

Re: CF Card Adapter White List Candidate

From: Robert Hancock <hidden>
Date: 2011-01-08 15:30:32

On Fri, Jan 7, 2011 at 10:51 AM, Tom Denchfield [off-list ref] wrote:
Robert, yes, the IDE socket missing pin was # 20, the Key needed for 80-conductor IDE cables, as you stated below.  I had to take the adapter out so I carefully looked at it and compared it to a photograph on a pin-out Internet site.

I also looked at an enlarged photo of the laptop CF card adapter pictured in URL03, and counted 44 pins - at least counting from the bottom of the socket.

I notice that the dmesg output in my Wednesday, January 5, 2011 11:33 PM email to you guys has been removed from you response below.  I realize that you need to keep emails shorter than those that I write, but I think that the dmesg demonstrates that my particular CF card adapter is indeed capable of being forced (libata.force=80c) to UDMA/66 even though it is not (economically) feasible to insert a 80-wire IDE cable between the CF card adapter and the IDE socket on a desktop computer's motherboard.
Yes, in this case there's likely no issue with using speeds faster
than UDMA33. However, problem is that since these kind of adapters are
essentially passive devices, there's no way for the kernel to detect
them automatically. In this sort of case, the libata.force option is
likely the best one.
quoted hunk ↗ jump to hunk
Robert, again thank you for helping me, and I hope that I may have contributed at least a little bit of useful information.

Tom

--- On Thu, 1/6/11, Robert Hancock <hancockrwd@gmail.com> wrote:
quoted
From: Robert Hancock <redacted>
Subject: Re: CF Card Adapter White List Candidate
To: "Tom Denchfield" <redacted>
Cc: "Tejun Heo" <redacted>, linux-ide@vger.kernel.org
Date: Thursday, January 6, 2011, 10:22 PM
On Wed, Jan 5, 2011 at 11:33 PM, Tom
Denchfield [off-list ref]
wrote:
quoted
The reason that I mentioned powering my CF adapter
with a floppy drive power plug is that the first time I
booted after inserting the adapter, I forgot to plug the
floppy drive power plug into the adapter.  The adapter's
power on LED did not light, and I think that Ubuntu did not
see the CF card.
quoted
The reason that I mentioned the pin that was
intentionally left out of the motherboard IDE socket was
that I thought that the missing pin might have had something
to do with needing to power the adapter with the floppy
drive power plug given my experience with forgetting to plug
the floppy power plug into the adapter as mentioned in the
previous paragraph.
quoted
The pin that is missing from the motherboard IDE
socket is very close to the middle of the IDE socket.  My
guess is that the pin is in the in the range #18 to #24.
It is far away from pin #34.  I am going by memory here,
but I clearly remember that the missing pin is in the
middle.  Pin #34 is going into the CF card adapter when I
insert it.  I do not know whether pin #34 is grounded at
the mainboard.

If it's pin 20, that's a key pin that's always missing and
which has
the corresponding hole filled in on the cable side (from
compliant
connectors, anyway), to prevent plugging in the cable the
wrong way
around.

Not sure where the adapter would be potentially drawing
power from on
the IDE connector - as far as I know there aren't any pins
on a
standard IDE connector which provide continuous power. The
adapters
I've seen all use an extra power connector.
quoted
When I asked my question, before I noticed and paid
any real attention to the UDMA/100 CF card configured as
UDMA/100 in URL03 above, I was concerned that there might be
a UDMA/66 speed limit with the type of CF card adapter that
I have.  We may never know for sure until someone who has a
CF card that is faster than UDMA/66 tries it in the URL01
adapter with Linux and the libata.force=80c boot parameter.
quoted
Robert, thank you for helping me.  I hope that my
additional comments and the information above will
contribute to further Linux kernel development.
quoted
Tom
--- On Wed, 1/5/11, Robert Hancock <hancockrwd@gmail.com>
wrote:
quoted
quoted
From: Robert Hancock <redacted>
Subject: Re: CF Card Adapter White List Candidate
To: "Tom Denchfield" <redacted>
Cc: "Tejun Heo" <redacted>,
linux-ide@vger.kernel.org
quoted
quoted
Date: Wednesday, January 5, 2011, 5:47 PM
On Wed, Jan 5, 2011 at 12:18 PM, Tom
Denchfield [off-list ref]
wrote:
quoted
Hello,

Tejun, this CF card adapter plugs directly
into an IDE
quoted
quoted
socket (Channel 0, in my case) on a desktop
computer
quoted
quoted
motherboard.  You can see a picture of the
adapter in the
quoted
quoted
following URL01:
quoted
URL01: http://preview.tinyurl.com/233u92u

I have to power the adapter with a floppy
drive power
quoted
quoted
plug because my motherboard's IDE sockets were
intentionally
quoted
quoted
manufactured without the pin that could have
supplied power
quoted
quoted
through an IDE cable.
quoted
Does anyone have a top of the head opinion as
to
quoted
quoted
whether there are inherent usage limitations in
either this
quoted
quoted
passive CF card adapter and/or in the Linux kernel
used with
quoted
quoted
Ubuntu v10.10 that would prevent users with CF
cards faster
quoted
quoted
than UDMA/66 (see URL02 below) from being
configured by
quoted
quoted
Linux to work at speeds above UDMA/66?  The
reason that I
quoted
quoted
ask this question is that I bought both my UDMA/66
CF card
quoted
quoted
and the adapter from the URL01 seller.  It is
foreseeable
quoted
quoted
that a lot of customers might have purchased
faster CF cards
quoted
quoted
envisioning that they would work at speeds higher
than
quoted
quoted
UDMA/66 with the adapter.  The 'Technical
Details' section
quoted
quoted
of URL01 does not state anything about UDMA speed
usage
quoted
quoted
limitations.
quoted
URL02: http://www.hjreggel.net/cardspeed/index.html

I think that there are CF card adapters on
eBay that
quoted
quoted
are similar to the one pictured in URL01 above,
and there
quoted
quoted
are also IDE adapters that will hold two CF
cards.
quoted
quoted
The reason the speed is being limited to 33 is
that the
quoted
quoted
cable
detection code is detecting that an 80-wire cable
doesn't
quoted
quoted
appear to be
connected. In order for an 80-wire cable to be
detected,
quoted
quoted
pin 34 on the
cable is supposed to be grounded at the
motherboard end. In
quoted
quoted
the case
of this adapter, since it plugs directly into the
motherboard, it
would have to be grounding pin 34 to get an
80-wire
quoted
quoted
detection, but
presumably it's not.
quoted
Tom
--- On Wed, 1/5/11, Tejun Heo <htejun@gmail.com>
wrote:
quoted
quoted
From: Tejun Heo <redacted>
Subject: Re: CF Card Adapter White List
Candidate
quoted
quoted
quoted
quoted
To: "Robert Hancock" <redacted>
Cc: "Tom Denchfield" <redacted>,
linux-ide@vger.kernel.org
quoted
quoted
Date: Wednesday, January 5, 2011, 5:51
AM
quoted
quoted
quoted
quoted
Hello,

On Tue, Jan 04, 2011 at 10:19:17PM -0600,
Robert
quoted
quoted
Hancock
quoted
quoted
wrote:
quoted
On 01/04/2011 04:18 PM, Tom
Denchfield
quoted
quoted
wrote:
quoted
quoted
quoted
quoted
As you further recommended, in
an attempt
quoted
quoted
to get
quoted
quoted
the SD-CF-IDE-DI
quoted
quoted
IDE to CF Adapter that holds my
CF card
quoted
quoted
white
quoted
quoted
listed, I am
quoted
quoted
submitting the attached
libata_force_80c_CF_card_adapter_whitelist_candidate_information.txt
quoted
quoted
quoted
quoted
quoted
quoted
file that has the output from
executing
quoted
quoted
four
quoted
quoted
terminal commands to
quoted
quoted
hopefully supply enough
information to
quoted
quoted
get it
quoted
quoted
whitelisted.

Thanks.
quoted
quoted
Although I expect that my RV280
Radeon
quoted
quoted
9200 Pro
quoted
quoted
video card is too
quoted
quoted
old to expend much effort on, it
would be
quoted
quoted
nice to
quoted
quoted
also get it
quoted
quoted
whitelisted so that future
newbie Linux
quoted
quoted
users who
quoted
quoted
do not know about
quoted
quoted
using the radeon.modeset=0
parameter on
quoted
quoted
the kernel
quoted
quoted
command line
quoted
quoted
will not be looking at a black
screen
quoted
quoted
with a
quoted
quoted
blinking cursor when
quoted
quoted
they attempt to use a LiveCD
for
quoted
quoted
troubleshooting,
quoted
quoted
or whatever.
quoted
quoted
I purposely did not include the
URL of
quoted
quoted
one of the
quoted
quoted
Internet sites
quoted
quoted
that sells the adapter in this
email in
quoted
quoted
case this
quoted
quoted
is a no no.

I don't think that's a no no unless the
intention
quoted
quoted
is
quoted
quoted
commercial.
quoted
quoted
Tejun, I am not sure that I will
have
quoted
quoted
either the
quoted
quoted
time or the
quoted
quoted
interest to learn the
intricacies of
quoted
quoted
editing
quoted
quoted
quoted
quoted
http://www.thinkwiki.org/wiki/Compact_Flash_boot_drive
to add
quoted
quoted
libata.force=80c to this site in
lieu of
quoted
quoted
quoted
quoted
force_cbl=80: so that
quoted
quoted
fewer people will be asking you
questions.  I
quoted
quoted
have a ThinkPad
quoted
quoted
without a HDD plus a laptop
adapter that
quoted
quoted
will hold
quoted
quoted
my CF card, but
quoted
quoted
my Think Pad is a lot older than
the
quoted
quoted
ones
quoted
quoted
discussed on
quoted
quoted
Compact_Flash_boot_drive.  In
addition,
quoted
quoted
I did
quoted
quoted
not see any recent
quoted
quoted
updates to this Internet page,
but maybe
quoted
quoted
I can
quoted
quoted
find someone to
quoted
quoted
email who will update this
page.
quoted
quoted
quoted
quoted
Yeah, just ping someone.
quoted
Is there actually any way to
identify the
quoted
quoted
adapter
quoted
quoted
automatically?
quoted
AFAIK, these CF-IDE adapters are
just
quoted
quoted
passive
quoted
quoted
circuitry and there's
quoted
no way to identify them through
software.
quoted
quoted
quoted
quoted
Hmmm... I was thinking this was somehing
integrated to the
quoted
quoted
machine (so
the dmidecode), in which case we can
combine dmi +
quoted
quoted
pci
quoted
quoted
function # +
port # to whitelist the device, which we
already
quoted
quoted
do for
quoted
quoted
some type of
quirks.  If it's a plug in device, we
obviously
quoted
quoted
can't
quoted
quoted
identify it.
Tom, is the CF slot integrated to the
machine or
quoted
quoted
is it
quoted
quoted
something you
put into the PCMCIA slot?

Thanks.

--
tejun











Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help