public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Problem with new driver model?
@ 2002-06-05 20:25 Paul Fulghum
  2002-06-05 20:41 ` Greg KH
  2002-06-05 20:43 ` Patrick Mochel
  0 siblings, 2 replies; 6+ messages in thread
From: Paul Fulghum @ 2002-06-05 20:25 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org

When testing the drivers I maintain on 2.5.20, I hit the
BUG_ON in include/linux/devices.txt:115.

This is in get_driver() which is called in a chain from:
driver_for_each_dev()
driver_unbind()
do_driver_unbind()
free_module()
sys_delete_module()

This occurs when unloading the modules (rmmod).
This was not the case on 2.5.14 (the last kernel I tested).

The machine is an SMP dual PentiumII-400.

A reading of Documentation/driver-model.txt indicates that
changes were made to the global driver model that should not require
changes to individual device specific drivers.

Is the documentation correct and this is a bug with the
new driver model code, or are there changes required for
all the device specific drivers.

Thanks,

Paul Fulghum
paulkf@microgate.com







^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-06-05 21:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-05 20:25 Problem with new driver model? Paul Fulghum
2002-06-05 20:41 ` Greg KH
2002-06-05 20:43 ` Patrick Mochel
2002-06-05 21:00   ` Brian Gerst
2002-06-05 21:04     ` Patrick Mochel
2002-06-05 21:20   ` Paul Fulghum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox