[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/55965: st(4) on adaptec fails to 'mt erase'
The following reply was made to PR kern/55965; it has been noted by GNATS.
From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
To: Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost
Subject: Re: kern/55965: st(4) on adaptec fails to 'mt erase'
Date: Sat, 30 Jan 2021 18:13:44 +0100
On Sat, Jan 30, 2021 at 01:19:22PM +0100, Hauke Fath wrote:
> At 22:43 Uhr +0100 29.01.2021, Manuel Bouyer wrote:
> >In aic7xxx_osm.c, ahc_timeout(), you could print the value of
> Hm. I get '5000', which is pretty much what a 'time mt erase' gives me...
this should be in milliseconds. So it's 5s ....
Now to find where the value comes from.
You could print the first few bytes of xs->cmd to make sure it's a ERASE
command. Then add prints from ADAPTER_REQ_RUN_XFER to check the timeout
value when this command is sent to the adapter.
Eventuelly add a Debugger() call and get a stack trace to see the code
path that gets there and find where the timeout value is altered.
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |