public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Trouble using some (fast) compact flash as ide device on an embedded system
@ 2007-03-01 13:40 Marco Lazzarotto
  2007-03-02 19:56 ` Pavel Machek
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Lazzarotto @ 2007-03-01 13:40 UTC (permalink / raw)
  To: linux-kernel

As I reported in bug 8036 in bugzilla.kernel.org,

Hardware Environment:

 - Use a compact flash SanDisk SDCFB-128 Firmware revision HDX 2.15
   (we used other compact flashes with the same hw ad sw for years
    with  no trouble)

It happens on both etx boards:
 - VIA SOM-ETX (4475)
 - Gene-4312

Doing the command
sfdisk -R /dev/hdc

gives:

 * * *
ide1: start_request: current=0xc6ebe754 (rq->sect=0,block 0)
hdc: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hdc: drive not ready for command
ide1: start_request: current=0xc6ebe754 (rq->sect=0,block 0)
hdc: do_special: 0x02
hdc: do_special: recalibrate
ide1: start_request: current=0xc6ebe754 (rq->sect=0,block 0)
hdc: reading: block=0 sectors=8, buffer = 0xc6cd40000
ide1: end_request: current=0xc6ebe754
 * * *

the 'bad bit' in status error is DataRequest



doing
sfdisk -l /dev/hdc

gives:

 * * *
ide1: start_request: current=0xc6ebecd4 (rq->sect=0,block 0)
hdc: reading: block=0, sectors=32, buffer=0xc6f37000
hdc: lost interrupt
hdc: lost interrupt [and so on several times]
 * * *

I have no knowledge of the internals of the linux kernel, but I'm a
programmer and have both hardware and time to spend on solving this issue.

Thanks for suggestions...

	Marco Lazzarotto
	Robox s.p.a.

-- 
 *------------------------------------------------------------------*
 | Vi preghiamo, se questo messaggio fosse ricevuto per errore,     |
 | di avvisare il mittente e, tenuto conto delle responsabilita'    |
 | connesse all'indebito utilizzo e/o divulgazione del messaggio    |
 | e/o delle informazioni in esso contenute, di cancellare          |
 | l'originale e distruggere le varie copie o stampe. Grazie        |
 *------------------------------------------------------------------*
 | The information in this e-mail is solely for the addressee.      |
 | Please delete this e-mail if you are not the intended recipient. |
 | Do not disclose or distribute the communication in any form.     |
 *------------------------------------------------------------------*

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-03-09 22:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-01 13:40 Trouble using some (fast) compact flash as ide device on an embedded system Marco Lazzarotto
2007-03-02 19:56 ` Pavel Machek
2007-03-05 22:16   ` Bartlomiej Zolnierkiewicz
2007-03-06  9:19     ` Marco Lazzarotto
2007-03-08 21:37       ` Bartlomiej Zolnierkiewicz
2007-03-09 17:22         ` Marco Lazzarotto
2007-03-09 22:53           ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox