From: vb <vb@vsbe.com>
To: linux-ide@vger.kernel.org
Subject: Mounting CF flash card in 2.6.25
Date: Mon, 2 Jun 2008 19:06:18 -0700 [thread overview]
Message-ID: <f608b67d0806021906g3020db3bve6515cbc8c7d99b5@mail.gmail.com> (raw)
Hello linux-ide people,
I am trying to bring up a system with a CF card (wired in True IDE
mode) on a powerpc platform under 2.6.25 control.
The following flags are enabled in the config (among many others, naturally):
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_PROC_FS=y
CONFIG_SCSI_WAIT_SCAN=m
CONFIG_SCSI_LOWLEVEL=y
CONFIG_PATA_PLATFORM=y
CONFIG_PATA_OF_PLATFORM=y
I am trying to bring up a system initrd, as I have a CF card installed
with the appropriate userland on it. When the kernel boots up I see
the following (again, along with a lot of other stuff):
scsi0 : pata_platform
ata1: PATA max PIO6 mmio cmd 0xfc000000 ctl 0xfc00020c irq 20
ata1.00: CFA: CF 512MB, 06/07/29, max PIO4
ata1.00: 1028160 sectors, multi 0: LBA
ata1.00: configured for PIO
ata1.00: configured for PIO
ata1: EH complete
scsi 0:0:0:0: Direct-Access ATA CF 512MB 06/0 PQ: 0 ANSI: 5
which tells me that the card is being recognized. However, there is no
appropriate device get created in the /dev directory. Examining
major_names[] I see that only
ramdisk
loop
mtdblock
are created, but there is nothing of the kind /dev/{ata,scsi,ide}, so
attempts to mount the CF fail.
I must be missing something very basic, but I just can't get what it
is, and don't seem to be able to find any documentation on how this is
supposed to work.
I see that there are drivers for CF cards in
drivers/ata/pata_{pcmcia,rb500_cf,ixp4xx_cf}.c, but I was under
impression that the one in pata_of_platform is supposed to do for a
generic CF card.
What needs to be done to get the device created and mapped to a
generic CF card?
I would really appreciate any hints here, as this thing makes me
slowly lose the remains of the sanity I once had:-)
Thank you in advance,
Vadim
PS. And I promise to write a Wiki page or HOWTO once this issue is resolved.
next reply other threads:[~2008-06-03 2:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-03 2:06 vb [this message]
2008-06-03 15:41 ` Mounting CF flash card in 2.6.25 vb
2008-06-03 16:19 ` Alan Cox
2008-06-03 16:48 ` vb
2008-06-03 17:34 ` Michael Tokarev
2008-06-03 17:49 ` vb
2008-06-03 18:13 ` vb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f608b67d0806021906g3020db3bve6515cbc8c7d99b5@mail.gmail.com \
--to=vb@vsbe.com \
--cc=linux-ide@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).