Re: Panic on reloading a driver with same DEVICE_PROBE() return value

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Thu, 11 Feb 2016 11:43:02 +0200
On 10/02/2016 01:02, John Baldwin wrote:
> I'm actually not certain of what triggered the fault.  The check that emits
> the printf should also be failing the kldload with EEXIST (but that doesn't
> work for the case where both are compiled into the kernel).  The new driver
> should have just never been registered, but then I'm not sure how its method
> could be called at all.  The only reference to the driver's methods are in the
> struct driver which also has the associated softc size (so you shouldn't get
> a mismatch between softc size and the driver methods used).

I haven't really followed this thread and my memory about my own problem has
significantly faded, but could the issue #2 in the following post be related?
http://thread.gmane.org/gmane.os.freebsd.current/147256
Sorry for the noise if it's totally unrelated.

-- 
Andriy Gapon
Received on Thu Feb 11 2016 - 08:44:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:02 UTC