unable to make initrd
I recently upgraded to slackware-14.1. When I run mkinitrd_command_generator.sh i get the following error.
Code:
ls: cannot access /sys/module/*_hcd/drivers/*: No such file or directory |
Looks strange. Please post the command suggested by mkinitrd_command_generator.sh, as well as output of following command, typed as root:
Code:
lspci -k|grep hcd |
Thanks for the quick reply. Following is the command suggested by mkinitrd_command_generator.sh
Code:
mkinitrd -c -k 3.10.17-smp -f ext4 -r /dev/sda7 -m usbhid:hid_generic:mbcache:jbd2:ext4 -u -o /boot/initrd.gz |
So either that's not a PCI based system, or you have no USB hardware support. Is that right?
This can also happen if you built a custom kernel and didn't include proper drivers, but I guess that's not the case? |
Frankly i dont know how to determine whether the system is pci based. But when i run the lspci command in vector linux on this system it shows "Kernel driver in use: ehci_hcd" message.
I have not tried to build a custom kernel. As for the usb, i can access usb storage from the system. Only one problem with the usb is that i'm unable to make a boot disk using usb. Do you need any other information that will be helpful to diagnose the problem at hand? Thanks! |
I don't understand why the lspci -k command don't give the same output on Vector and Slackware.
Could you please, under Slackware, issue following command: Code:
zcat /proc/config.gz > configSlackware.txt Code:
zcat /proc/config.gz > configVector.txt Also, please give output of following commands under Slackware: Code:
ls -l /lib/modules |
2 Attachment(s)
The output of ls -l /lib/modules is as follows:
Code:
total 8 Code:
Linux darkstar 3.10.17-smp #2 SMP Wed Oct 23 17:13:14 CDT 2013 i686 Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz GenuineIntel GNU/Linux |
Sorry, no clue. I just saw that the 'huge" kernel of Slackware 14.1 has the ehci_hcd driver configured as a module, that is not the case in Slackware 14.0 in which this driver is built in the kernel.
But I don't know if that can cause a problem when building the initrd. Still, I hardly understand why "lspci -k" doesn't list this driver. Would you be kind enough to plug in some USB device under Slackware, then type Code:
lsmod > lsmod.txt In any case, I'd suggest you stay with the huge kernel till someone finds a more helpful answer, this usually doesn't hurt (unless in some special cases like conflicting drivers loaded, for instance). Just one more question: does your USB devices work properly when using the huge Slackware kernel ? |
I would also suggest running this command as root -
Code:
dmesg | grep ehci |
1 Attachment(s)
Please find attached the output of the lsmod after usb is attached.
I can read from and write to the usb. Lately i was unable to make a bootstick though. Also, the video of the game speed-dreams 2 is not displayed properly. |
So, modules ehci_pci and ehci_hcd are loaded. I don't know why no module shows in lspci -k output.
|
Hello,
I get Code:
ls: cannot access /sys/module/*_hcd/drivers/*: No such file or directory When running the same command on a 3.10.17 kernel (huge or generic), I don't get this message. The 3.12.8-generic-smp kernel boots, though. I am able to use USB devices etc. Is this something I should worry about? Or can I ignore this? lems |
It *could* be that paths have changed in tree /sys.
Try this: Code:
find /sys -name "*pci:?hci_hcd*" |
How about
Code:
ls /sys/module/ehci_pci/drivers/* Code:
mkinitrd -c -k 3.10.17-smp -f ext4 -r /dev/sda7 -m usb-storage:ehci-hcd:ehci-pci:usbhid:hid_generic:mbcache:jbd2:ext4 -u -o /boot/initrd.gz |
Quote:
thanks for the quick reply. find /sys -name "*pci:?hci_hcd*" on 3.10.17-smp (huge): Code:
/sys/module/ohci_hcd/drivers/pci:ohci_hcd edit: ls /sys/module/ehci_pci/drivers/* gives this on 3.12.8: Code:
/sys/module/ehci_pci/drivers/pci:ehci-pci@ |
All times are GMT -5. The time now is 07:46 AM. |