IDE / SmartMedia
Quoted 2 lines
The TCQ stuff is definitely experimental, you should probably configure it out for now.
% grep TCQ .config
# CONFIG_BLK_DEV_IDE_TCQ is not set
# CONFIG_BLK_DEV_IDE_TCQ_DEFAULT is not set
That was not it. I had not selected DMA. Doing so does not help, but reveals a new choice, namely support for HPT366. Selecting CONFIG_BLK_DEV_HPT366 makes the crash go away.
So far about IDE. Marcin wil figure out what went wrong there.
I figured out something else, namely that SDDR09 has a built-in scatter-gather read command (several pages on the card to a single memory buffer). Probably also an sg write command,
but I have not found it yet. Let me document in public:
/*
* Read Scatter Gather Command: 3+4n bytes.
* byte 0: opcode E7
* byte 2: n
* bytes 4i-1,4i,4i+1: page address
* byte 4i+2: page count
* (i=1..n)
*/
Finally a question. People tell me that very recently 256MB (2Gb) SmartMedia (NAND flash) cards have appeared. If someone has one of these already, please tell me - I would like to know the device type code.
Andries
Quoted 10 lines · On Mon, Apr 15 2002, [email protected] wrote:
Quoted 2 lines
The TCQ stuff is definitely experimental, you should probably configure it out for now.
% grep TCQ .config
#CONFIG_BLK_DEV_IDE_TCQis not set
#CONFIG_BLK_DEV_IDE_TCQ_DEFAULTis not setThat was not it. I had not selected DMA. Doing so does not help, but reveals a new choice, namely support for HPT366. Selecting
CONFIG_BLK_DEV_HPT366makes the crash go away.
ide/ide.c renamed from ide/ide.c~ +0 -1
@@ -2764,7 +2764,6 @@if (i) { drive->queue_depth = i;if (i >=1 ) { - drive->using_tcq =1 ; drive->tcq->queued =0 ; drive->tcq->active_tag =-1 ;return 0 ;
Signature · 1 line
Jens Axboe