On Tue, 14 Mar 2000, Oliver Schonefeld wrote:
> hmm ... the controller shows up with another io-adress, but now the driver
> panics because of a time out :-(

Try this patch:

Index: ida.c
===================================================================
RCS file: /cvs/src/sys/dev/ida/ida.c,v
retrieving revision 1.7
diff -u -r1.7 ida.c
--- ida.c       2000/03/08 16:16:30     1.7
+++ ida.c       2000/03/14 22:24:34
@@ -348,7 +348,7 @@
        s = splbio();
        STAILQ_INSERT_TAIL(&ida->qcb_queue, qcb, link.stqe);
        ida_start(ida);
-       ida_wait(ida, qcb, 500);
+       ida_wait(ida, qcb, 200000);
        splx(s);
 
        /* XXX should have status returned here? */

> 
> kernel msgs:
> ida0: <Compaq SMART array controller> at 0x4000-0x40ff, 0x4c88-0x4c9e
> ida0: irq 15 (level) on eisa0 slot 4
> panic: ida_wait: timeout waiting for completion
> 
> kernel debugger:
> ida_wait(c0ca5d00,c0ca7000,1f4,c0ca5d00,0) at ida_wait+0x43
> ida_command(c0ca5d00,11,c029eeb4,9,0,1,c0ca5d00,0) at ida_command+0xf8
> ida_attach(c0ca5d00,c0ca4c80,c0ca4f00,0,c0ca5d00) at ida_attach+0x28
> ida_eisa_attach(c0ca4c80,c029ef08,c0156223,c0ca4c80,c0ca4c80) at
>   ida_eisa_attach+0x187
> DEVICE_ATTACH(c0ca4c80,c0ca4c80,c0ca2000,0,c029ef18) at DEVICE_ATTACH+0x2e
> 
> regards,
> oliver
> 

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| [EMAIL PROTECTED] |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter | This Space For Rent  | ISO8802.5 4ever |



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to