[ Next-in-Thread ]  [ Next Message ] 

Changes to the IDE driver that should help 

Forum: PCMCIA ATA/IDE Device Issues
Re: Smartmedia 15 second freeze (J. Schmid)
Re: For now, that's just the way it is (David Hinds)
Re: kernel knows about flash (J. Schmid)
Date: 2000, Apr 05
From: David Hinds <dhinds@pcmcia.sourceforge.org>

In the 2.3.* tree, in drivers/block/ide.c, the drive_is_flashcard()
function looks like:

 if (drive->removable && id != NULL) {
  if (id->config == 0x848a) return 1;
  ...

so you can try adding that check to the 2.2.* kernel.  You can also
prevent the lockup (but not the delay before the drive is usable) by
editing drivers/block/ide-probe.c and changing delay_50ms() to look
like:

 static void delay_50ms (void)
 {
  current->state = TASK_UNINTERRUPTIBLE;
  schedule_timeout(HZ/20);
 }

-- Dave

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 1 ]  [ All ]  Outline: [ 1 ]  [ 2 ]  [ All ] 

1. 15 second freeze solved, lockups remain by J. Schmid, 2000, Apr 08
(_ I don't know what to suggest for the lockups by David Hinds, 2000, Apr 10

[ Add Message ]  to: "Changes to the IDE driver that should help"

[ Members ]  [ Subscribe ]  [ Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ]