conflict between APM & misc.o module

Philip Armstrong (philip.armstrong@pembroke.oxford.ac.uk)
Fri, 9 Oct 1998 16:11:36 +0100 (BST)


Just a small bug report:

It looks like it is impossible to have APM comiled into the
kernel and any device in major=10 compiled as a module. I
discovered this when X refused to run (I had the psaux mouse
driver compiled as a module & was intending to fiddle with
APM -- kernel 2.1.122)

The following errors occurred repeatedly as init attempted
to bring X up :

kernel: Unable to get major 10 for misc devices
insmod: /lib/modules/2.1.122/misc/misc.o: init_modules: Device or Resource
busy

the problem went away when I compiled the psaux mouse driver directly
into the kernel.

clearly the short term fix is "don't do that then" but clearly it
shouldn't be possible to dig this hole in the first place. Is it
possible to put this sort of dependancy in the kernel config menus?

cheers,

Phil Armstrong

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/