public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: IDE / SmartMedia
@ 2002-04-15 10:14 Andries.Brouwer
  2002-04-15 16:02 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Andries.Brouwer @ 2002-04-15 10:14 UTC (permalink / raw)
  To: Andries.Brouwer, axboe; +Cc: linux-kernel, linux-usb-devel, mdharm

	From axboe@brick.kernel.dk Mon Apr 15 10:05:40 2002

	-			drive->using_tcq = 1;

That helps, I think.

The first boot after deleting this line again crashed,
but this time with BUG() in <linux/usb.h>.
All usb stuff was compiled in except for usb-storage,
which was a module and not loaded.

Maybe a race somewhere. The second boot all was fine.

Andries

^ permalink raw reply	[flat|nested] 4+ messages in thread
* IDE / SmartMedia
@ 2002-04-15  2:50 Andries.Brouwer
  2002-04-15  8:05 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Andries.Brouwer @ 2002-04-15  2:50 UTC (permalink / raw)
  To: linux-kernel; +Cc: mdharm

> 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

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

end of thread, other threads:[~2002-04-15 17:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-15 10:14 IDE / SmartMedia Andries.Brouwer
2002-04-15 16:02 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2002-04-15  2:50 Andries.Brouwer
2002-04-15  8:05 ` Jens Axboe

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