New kernel build won't boot.
Kernel image: /boot/vmlinuz-2.4.36
Initrd image: /boot/initrd-2.4.36 Root device: /dev/sda2 (mounted on / as reiserfs) Resume device: /dev/sda1 WARNING Cannot determine dependencies of kernel module 'uhci-hcd'. Does it exist? If it does, try depmod -a. Continuing without uhci-hcd. Kernel Modules: Features: block usb resume.userspace resume.kernel 1) This new kernel 2.4.36 just built does not boot. How can I find the problem? What do I need to look for and how do I look for it? 2) Will the kernel module dependency warning keep it from booting? How do I fix it? |
you may need to determine what type of USB standard your system has (there are two) uhci-usb and ohci-usb (ehci is usb2.0 and works on both standards) of you have ohci-usb then you may need to rebuild the kernel without uhci-usb and only ohci-usb, i used to lock on an old PC just modprobing the wront usb standard...
|
Usb 2
I tried "lsusb" but it gave me nothing on what type of USB I have. Then, I took a look at some of hardware information and the USB host controller is 2.0.
1) Does that mean that I do not need either of those modules? If so, what do I change in the .config to remove them? What about dependencies? If I just comment out those CONFIGs and rebuild the kernel, will that mess something else up? |
even if you have usb2.0 you still need either ohci or uhci depending on your system, i recommend getting a live CD like slax and boot it up and run lsmod to see what usb modules are loaded...
and use "make menuconfig" it will be a lot easier than editing the .config file by hand, the USB settings will be in Device Drivers > USB |
Tried to boot kernel
I tried to boot this kernel, and it did not boot. The error message:
kmod: failed to exec /sbin/modprobe -s -k block-major errno=2 VFS: Can not open root device "sda1" Kernel panic: VFS unable to mount root fs From the "lsmod" command, there is no "uhci" but there is a "ohci". Does that mean that I do not need the "uhci" and that I can ignore that warning message? 1) How do I solve this /sbin/modprobe problem? |
newtovanilla: I have 3 questions.
1. Can you boot into your old kernel? Like, is your old kernel an option in lilo/grub? 2. When you say you try lsusb, is this because you are on a livecd? Or have you booted your new kernel and you are using virtual terminals instead of a GUI? 3. What distro are you using? |
Modprobe
I tried to rebuild the kernel using only the "ochi" usb CONFIGs and left out the "uchi", but I still had the same warning message about "uhci":
WARNING Cannot determine dependencies of kernel module 'uhci-hcd'. Does it exist? If it does, try depmod -a. Continuing without uhci-hcd. I tried to reboot with this kernel. The error message in the boot is from /sbin/modprobe is the same as before with the "block-major" error. Modprobe has this as "sd_mod". 1) How can I find out if this is a missing module? Would loading this module with the kernel fix this error? 2) What does the /sbin/modprobe -s -k block-major error mean? What causes it? |
All times are GMT -5. The time now is 09:03 AM. |