SlackwareThis Forum is for the discussion of Slackware Linux.
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.
* when using mkinitrd_command_generator.sh, the system returns an error saying : "ls: impossible d'accéder à /sys/module/*_hcd/drivers/*: Aucun fichier ou dossier de ce type
Everything goes well running mkinitrd -F
I then adapt my /etc/lilo.conf file to run my Slackware system on the Generic Kernel 3.10.17 :
Running lilo returns me the usual video issue warning, nothing bad though.
I then reboot && exit and my Dedibox doesn't ping up again.
The only solution I found was configuring the bootloader back to use the huge Slackware kernel...I'd like to thin my kernel down to the strict minimum...
Could you please give me hints to how to handle this please ?
I cannot give you a real explanation on what did go wrong but just a hint:
Quote:
Originally Posted by TomToOmUch
when using mkinitrd_command_generator.sh, the system returns an error saying : "ls: impossible d'accéder à /sys/module/*_hcd/drivers/*: Aucun fichier ou dossier de ce type
That's because this function in the script fails:
Code:
# Determine what USB Host Controller is in use
function add_usb_hcd() {
local USBMOD
for i in $(ls -Ld /sys/module/*_hcd/drivers/*); do
if ls -L $i | grep -q "[0-9a-f]*:" ; then
USBMOD=$( echo $i | cut -f4 -d/ | tr "_" "-")
[ -n "$MLIST" ] && MLIST="$MLIST:$USBMOD" \
|| MLIST="$USBMOD"
fi
done
echo $MLIST
}
The problem is that in recent kernels the layout of /sys has changed as pointed out in this post so the drivers are now exposed in the directories /sys/module/*_pci/drivers/
I'm not sure that your real problem be linked to that though.
Incidentally I don't think that thinning the kernel to the strict minimum provides much practical advantage (been there, done that long ago) but that's only my opinion.
Last edited by Didier Spaier; 02-05-2015 at 02:28 PM.
Reason: wording modified
in fact, I'll try fixing the initrd problem anyway, at least to be thorough...
However, the server doesn't seem any slower running on the huge kernel !
I'll post further comments on the behavior of the bootloader after fixing the module/driver issue.
It's really weird 'cause in the logs, it seems the server just shutdown and then...nothing...
in fact, I'll try fixing the initrd problem anyway, at least to be thorough...
However, the server doesn't seem any slower running on the huge kernel !
I'll post further comments on the behavior of the bootloader after fixing the module/driver issue.
It's really weird 'cause in the logs, it seems the server just shutdown and then...nothing...
I'll keep you posted ! Merci encore !
Hi TomToOmUch,
Looks like you're not far from here. Call me, I'll help you get this sorted out.
I solved the initrd issue...Merci Didier !
However it doesn't solve the bootloader issue...so I'll call Master kiki (yeah, you trained me Niki) and keep the thread updated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.