Messages in this thread | | | Date | Wed, 20 Nov 2002 11:15:26 +0200 | From | Jari Ruusu <> | Subject | Re: Can't allocate memory when loading a module 2.5.48-bk |
| |
Greg KH wrote: > With Linus's latest bk tree (plus some USB patches) I get the following > error when trying to load the parport.o module: > > # modprobe parport > FATAL: Error inserting /lib/modules/2.5.48/kernel/parport.o: Cannot allocate memory > > Any ideas?
Tag some init code with __init
At least stock 2.5.48 tries to happily allocate zero bytes for init section, and gets a null pointer. That 'error' is then propagated to user space.
Regards, Jari Ruusu <jari.ruusu@pp.inet.fi>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |