Subject: Re: kern/36276 (ucycom causes kernel panic when accessing Delorme
To: None <skrll@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: David Howland <dhowland@users.sourceforge.net>
List: netbsd-bugs
Date: 06/21/2007 21:10:03
The following reply was made to PR kern/36276; it has been noted by GNATS.

From: David Howland <dhowland@users.sourceforge.net>
To: Nick Hudson <skrll@netbsd.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/36276 (ucycom causes kernel panic when accessing Delorme
 USB Earthmate LT-20 GPS)
Date: Thu, 21 Jun 2007 17:05:40 -0400

 Nick Hudson wrote:
 > Can you try this patch. It deals with the transfer length in the callback
 > differently to yours (and it works for me ;)
 
 I have tried the patch.  I see the changes you made.  I knew that the 
 transfer length thing was probably not desirable, but I was unsure as to 
 when it is appropriate to change the softc bits.
 
 The driver does not work for me.  However, my original patch didn't work 
 either.  I am currently unable to explain why.
 
 With your patch (and mine), it seems to be able to make transfers 
 properly, however it does not seem to make the LT-20 device happy.  The 
 GPS will simply shut down after a number of transfers.
 
 At this point, I have no idea what to do to fix the problem, since the 
 driver never crashes or shows any errors.  Debug output seems to show 
 perfect communication.  Without documentation for the GPS device I am 
 using, I have no idea what its problem is.  My last hope is to contact 
 the author of the OpenBSD driver and ask if he is familiar with what I 
 am seeing.
 
 -d