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.
@usealpa: "Wouldn't this be because of a missing device node?
I'd suggest booting with udev only and making a list of devices under /dev, and then doing the same with hotplug only. By comparing these lists, maybe you can spot what's missing and create an udev rule?"
Is that the best way to figure out what is missing? I tried udev on my slack 10.2 boxes to but all of them had no usb ports detected at all whatsoever. I was thinking of lsmod while booted with hotplug and compare to lsmod with udev?
I'd like to figure this out as I'd like to put Slack 11 but am holding off until I learn more about udev on my trouble pc's.
I only have pcmcia for my wifi card and cups for printing as my startup services and I commented out ldconfig and I can get my computer up to a KDE login screen in 45-48 seconds. If I'm sitting there waiting for the login then I could be up and ready to go inside a minute. This is just a laptop and not a server or anything like that. I always run ldconfig when I install a package or I compile something. For some reason I have a habit of running ldconfig && updatedb when I do something with software. My personal tweak, though.
Actually I might have like one more service other than cups and pcmcia but I really can't think of what it could possibly be. I'm at work now so I can't search for it. It's not like it's completely important, though.
Regarding sendmail for root receiving mail. I never knew that. Should I really re-enable sendmail or what's the deal with that?
for the ldconfig taking too long....I just put an "&" after the line "/sbin/ldconfig" in /etc/rc.d/rc.M so it reads "/sbin/ldconfig&". Seems to be fine.
I'm only using udev with a 2.6.18 kernel and everything works fine. I actually had some minor pcmcia problems when running both that went away when I disabled hotplug.
putting the "&" at the end of ldconfig will definitely shave several seconds off the boot time.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Original Poster
Rep:
ok thanks. I am using 2.6.18 and I will try disabling hot plug.
Can I put a & after the udev script in rc.M? Cos I dont have any problems with RAM I hv more than anough
Also could I put an & after the dhcpcd call cos that also takes way too much time to get my ip address.
Also could I put an & after the dhcpcd call cos that also takes way too much time to get my ip address.
I wouldn't do that. Either you start or use anything network-related afterwards, then you'll need an IP address. Or you don't, then you don't even have to start dhcp at boot time, just start it when you need it (that's what I do on my laptop, for example).
But depending on your circumstances, you could also assign a fixed IP address and cut out the call to dhcp completely.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Original Poster
Rep:
Actually I did put up an & in the end of the dhcpcd call and its working fine. I mean there isn't even any difference, As soon as I log on if I do ifconfig I can see it being correctly set up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.