Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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
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. 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?
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.