Subject: Re: wdc_atapi_get_params: drive 0 not present
To: None <dbsaint@bellsouth.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-i386
Date: 04/11/1999 23:31:11
I got another idea: could you try to increase this timeout value ? :
Index: ata.c
===================================================================
RCS file: /cvsroot/src/sys/dev/ata/ata.c,v
retrieving revision 1.7
diff -u -r1.7 ata.c
--- ata.c 1999/03/10 13:11:43 1.7
+++ ata.c 1999/04/11 21:29:58
@@ -89,7 +89,7 @@
return CMD_ERR;
}
wdc_c.flags = AT_READ | flags;
- wdc_c.timeout = 1000; /* 1s */
+ wdc_c.timeout = 10000; /* 10s */
wdc_c.data = tb;
wdc_c.bcount = DEV_BSIZE;
if (wdc_exec_command(drvp, &wdc_c) != WDC_COMPLETE)
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--