Mounting CF flash card in 2.6.25

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux