heci: a new driver for review and testing
Gavin Atkinson
gavin at FreeBSD.org
Tue Nov 10 18:42:34 UTC 2009
On Tue, 10 Nov 2009, Andriy Gapon wrote:
> on 10/11/2009 13:54 Andriy Gapon said the following:
>> on 09/11/2009 22:34 Gavin Atkinson said the following:
>>> Secondly, I get a panic on module unlaod. I haven't spent any time
>>> looking at this, if you haven't fixed it yet let me know and I'll look
>>> into it further.
>>
>> To my shame I still haven't got around to testing the driver with head tree and
>> diagnostics enabled. I do not see any problems on stable/7 without diagnostics.
>> Robert Noland has reported that he had a lockup on module unload with head
>> sources. I will investigate this.
>> BTW, 0xdeadc0dedeadc0de as arg to device_detach() looks really strange (if
>> debugger reports it correctly). This looks like the memory was already freed.
>
> I think I've found one bug in the heci code that could cause this - SLIST element
> was first freed and then removed from the list.
> I've uploaded updated sources (that should include your PCI ID too), could you
> please re-test?
That seems to have fixed it, thanks! It also fixes the malloc() calls
with locks held.
> Could you please send me verbose version of driver attachment messages
> (debug.bootverbose=1)?
> Thank you!
Sure!
http://people.freebsd.org/~gavin/heci-verbose.txt
Gavin
More information about the freebsd-hackers
mailing list