Re: Problems with use of M_NOWWAIT in ATA

2003-12-05 Thread Matthew Dillon
:On Fri, Dec 05, 2003 at 11:15:20AM -0500, Dwayne MacKinnon wrote: :> Hi, :>=20 :> I'm wondering if this could possibly be related to a problem I was=20 :> having with my 4.9-RELEASE box. Twice in two days it hung on me=20 :> completely, and started spouting the following error messages: : :Well, t

Re: Problems with use of M_NOWWAIT in ATA

2003-12-05 Thread Kris Kennaway
On Fri, Dec 05, 2003 at 11:15:20AM -0500, Dwayne MacKinnon wrote: > Hi, > > I'm wondering if this could possibly be related to a problem I was > having with my 4.9-RELEASE box. Twice in two days it hung on me > completely, and started spouting the following error messages: Well, the error condi

Re: Problems with use of M_NOWWAIT in ATA

2003-12-05 Thread Dwayne MacKinnon
Hi, I'm wondering if this could possibly be related to a problem I was having with my 4.9-RELEASE box. Twice in two days it hung on me completely, and started spouting the following error messages: ad0 WRITE command timeout tag=0 serv=0 -restting ad0: trying fallback to PIO mode ata0: resetting

Re: Problems with use of M_NOWWAIT in ATA (w/ demonstration patch)

2003-11-28 Thread Matthew Dillon
All right, here's an example patch. This patch is against the old ATA code in DragonFly but most of the issues are the same with the ATA code in -STABLE and -CURRENT. It does not fix all the problems (which would be a waste since we are about to import ATAng and do not want to

Problems with use of M_NOWWAIT in ATA

2003-11-28 Thread Matthew Dillon
Soren, while fixing some issues in DFly related to the ATA driver I found a serious problem in your driver... actually, it appears to be in ata-ng -stable and -current as well. The problem is that you are using M_NOWAIT all over the place. M_NOWAIT allows malloc() to fail if/w