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 04-16-2009, 01:10 PM   #1
rorist
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Question Compact Flash card limited to UDMA2 (sandisk+epia sn)


Hello there,

I've got a problem that I'm stuck for several days now.

I have a compact flash card SanDisk SDCFX3, of 8Go, that support udma4, but it uses udma2.

Here is my setup:

- The systeme is on /dev/hda wich is the CF card
- Data are on a soft raid, wich includes /var/log and /home
- I have an Epia SN motherboard with Type I CF socket (shared with IDE)
- I have checked in the BIOS settings that DMA is handle either by the host or the device
- Using Debian Lenny on 2.6.26-1-686

Here is some output:

Code:
hdparm -I /dev/hda

/dev/hda:

CompactFlash ATA device
        Model Number:       SanDisk SDCFX3-008G                     
        Serial Number:      011709H2008G3851
        Firmware Revision:  HDX 4.32
Standards:
        Supported: 4 
        Likely used: 4
Configuration:
        Logical         max     current
        cylinders       15880   15880
        heads           16      16
        sectors/track   63      63
        --
        CHS current addressable sectors:   16007040
        LBA    user addressable sectors:   16007040
        device size with M = 1024*1024:        7815 MBytes
        device size with M = 1000*1000:        8195 MBytes (8 GB)
Capabilities:
        LBA, IORDY(may be)(cannot be disabled)
        Standby timer values: spec'd by Vendor
        R/W multiple sector transfer: Max = 4   Current = 0
        DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4 
             Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
                Write cache
           *    CFA feature set
           *    CFA advanced modes: pio5 *pio6
Code:
cat /var/log/messages |grep hda
Apr 16 19:26:22 localhost kernel: [    0.000000] Kernel command line: root=/dev/hda1 ro pci=noacpi
Apr 16 19:26:22 localhost kernel: [    6.140177] hda: SanDisk SDCFX3-008G, CFA DISK drive
Apr 16 19:26:22 localhost kernel: [    6.812166] hda: drive side 80-wire cable detection failed, limiting max speed to UDMA33
Apr 16 19:26:22 localhost kernel: [    6.812249] hda: UDMA/33 mode selected
Apr 16 19:26:22 localhost kernel: [   10.752341] hda: max request size: 128KiB
Apr 16 19:26:22 localhost kernel: [   10.752413] hda: 16007040 sectors (8195 MB) w/1KiB Cache, CHS=15880/16/63
Apr 16 19:26:22 localhost kernel: [   10.752649]  hda: hda1
If someone has the same setup or an idea how to fix this, i would be very gratefull. Thanks

Last edited by rorist; 04-16-2009 at 01:11 PM.
 
Old 04-17-2009, 08:17 AM   #2
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
Quote:
drive side 80-wire cable detection failed, limiting max speed to UDMA33
Says it thinks you're using a 40 conductor IDE cable instead of an 80-pin.
 
Old 04-18-2009, 07:56 AM   #3
rorist
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Ok, I have a 50pins connector for the card. But is it normal that it uses the IDE drivers and not libsata ?
I tried to patch libsata and there i found it's not in use.

I'll try to force udma4 in the ide drivers.

Any suggestion ?

Thanks

Last edited by rorist; 04-18-2009 at 08:05 AM.
 
  


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
Compact Flash Card not able to mount IggyGal Ubuntu 8 07-07-2007 10:01 AM
LiveCD to Compact Flash Card. Can it be done? imag Linux - Software 5 01-20-2006 01:53 PM
sandisk compact flash card reader and filesystem type esteeven Linux - Hardware 6 05-13-2004 02:51 PM
PC Card, compact flash figadiablo Linux - Hardware 0 02-21-2003 08:56 PM
Mounting SanDisk Compact Flash Reader The Jesus Linux - General 0 03-24-2002 10:28 PM

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

All times are GMT -5. The time now is 02:32 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