Trying to geht bluetooth working on my ibm x40: http://www.thinkwiki.org/wiki/How_to_setup_Bluetooth, Second Chapter: Configuring the Kernel. Could not modprobe uhci-hcd. My configuration: +++dmesg output: +++lsmod output: +++cat /proc/slabinfo output: +++strace modprobe uhci-hcd output: +++lspci output: +++kernel .config output: Reproducible: Always Steps to Reproduce: Actual Results: # modprobe uhci-hcd FATAL: Error inserting uhci_hcd (/lib/modules/2.6.18-gentoo-r6/kernel/drivers/usb/host/uhci-hcd.ko): Cannot allocate memory returned: 1 I will use a ~x86 gentoo-source 2.6.19-r3 HTH
Created attachment 105723 [details] dmesg output
Created attachment 105725 [details] output .config kernel configuration
Created attachment 105727 [details] output lsmod
Created attachment 105729 [details] output cat /proc/slabinfo
Created attachment 105731 [details] output strace modprobe uhci-hcd
Created attachment 105733 [details] output lspci
You have UHCI built into your kernel *and* you are trying to load it as a module.
using kernel 2.6.19-r3 module could be loaded.
Meaning, I merged the new kernel and loaded my old .config. Nothing changed except for the kernel. (In reply to comment #8) > using kernel 2.6.19-r3 module could be loaded. >
Please post new dmesg, both before and after you attempt to load the module. Also post the output of "ls -l /usr/src/linux/arch/i386/boot/bzImage"
Oh wait, misread what you said. So, 2.6.18 failed and 2.6.19 works. Actually it has nothing to do with versions. Here is one way which you can produce this error on any kernel: Configure kernel with UHCI built-in Compile kernel bzImage and modules Install modules Mount /boot, copy kernel over to /boot Reboot into new kernel Tweak kernel configuration to build UHCI as module FORGET to recompile kernel bzImage, or forget to put in /boot or similar user error Compile kernel modules Install modules Reboot into new kernel (actually this is not new at all, its the same kernel image as previously since you made a mistake earlier) Attempt to load UHCI module --> boom You must have done something at least comparable to the above on 2.6.18. You can clearly see in your dmesg logs that uhci is loaded before the root filesystem is even mounted, hence it must be built in.