LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-25-2008, 12:33 PM   #1
xodr
LQ Newbie
 
Registered: May 2008
Posts: 4

Rep: Reputation: 0
Compact Flash Card Detection Problem


Hi all,

I have the following setup on my PCM-9584 single board computer:

IDE Master: An old 2 GB harddisk.
IDE Slave: A-data 1 GB CF card.

The board has a CF card slot and when CF card is inserted it's seen as a slave IDE device both in BIOS and in OS.

Problem:

In the kernel that I've compiled (2.6.24.5 + SquashFS + unionfs + Xenomai 2.4.3) slave CF card detection fails (actually it's detected but obviously improperly) by saying: hdb: unknown partition but this does not cause any data corruption. I just can't mount read & write to the card. (I've tried many times to fdisk and it fails). And I blamed the HW first...

However, when I boot the board with 2.6.18 Debian Kernel it's detected fine with its single ext3 partition; I can mount and r/w.

I've checked the configuration of my kernel many times, tried enabling/disabling many settings & recompiled but none of it worked. I'm stuck. (I'm enabling the new ATA driver and including support for the ICH6 chipset.)

Any help on this is quite appreciated,

thanks!
 
Old 05-25-2008, 05:39 PM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
You can start by booting Debian again and checking to see what extra modules may need to be loaded:

lsmod | grep

There may be intermediate chip drivers needed to make the CF slot usable. Also, most CFs these days are "disk-on-chip" and behave just like a HD, but who knows - you may have an odd one that requires an extra driver.
 
Old 05-29-2008, 08:00 AM   #3
xodr
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
solved!

Update: If CF is configured as master and other PATA disk as slave, everything works correctly.

I would prefer the other way around but there seems to be a compatibility issue and it's no big deal.
 
Old 05-30-2008, 12:12 AM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
How bizarre - so there's something funny with the header on the hardware to set the CF as slave?

At any rate, if it works it works and there is really little difference between being 'master' and 'slave'.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LiveCD to Compact Flash Card. Can it be done? imag Linux - Software 5 01-20-2006 01:53 PM
Recoving compact flash card phantompgr Linux - Hardware 4 08-03-2005 05:14 PM
ipw2100 and compact flash card problem Michal Pecek Linux - Wireless Networking 0 07-25-2005 08:50 AM
compact flash card reader mindcry Linux - Hardware 45 02-03-2004 08:14 PM
PC Card, compact flash figadiablo Linux - Hardware 0 02-21-2003 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration