LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-10-2006, 02:26 AM   #16
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63

@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.
 
Old 11-10-2006, 08:50 AM   #17
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 32
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?
 
Old 11-10-2006, 09:09 AM   #18
barn63
Member
 
Registered: Jan 2006
Location: Macomb, IL
Distribution: Slackware 13.1
Posts: 152

Rep: Reputation: 17
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.
 
Old 11-10-2006, 10:37 AM   #19
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
Thanks all.
I still dont understand why I need BOTH udev and hotplug and when do I need them.

And beautiful idea barn63 I have obscene amounts of RAM that is never used.. I just want something that will get me to login promp asap.

Last edited by duryodhan; 11-10-2006 at 10:47 AM.
 
Old 11-10-2006, 10:41 AM   #20
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Quote:
Originally Posted by duryodhan
Thanks all.
I still dont understand why I need BOTH udev and hotplug and when do I need them.
I use a 2.6 kernel and use only udev. I haven't had any problem with this yet. Why do you say you need both? Which kernel do you use?
 
Old 11-10-2006, 10:57 AM   #21
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
I dont say I need both .. it comes default and I dont know wether I can disable it.
 
Old 11-10-2006, 11:56 AM   #22
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
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.
 
Old 11-10-2006, 01:25 PM   #23
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Sendmail can take long if it can't resolve a hostname or can't do a reverse dns lookup.
 
Old 11-10-2006, 01:31 PM   #24
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Quote:
Originally Posted by duryodhan
I still dont understand why I need BOTH udev and hotplug
Quote:
Originally Posted by duryodhan
I dont say I need both
I'm sorry but I don't get that.

Anyway, try disabling hotplug (if you use a 2.6 kernel... you didn't answer), it works for nearly everybody.
 
Old 11-10-2006, 05:20 PM   #25
rigelan
Member
 
Registered: Jul 2005
Location: Iowa
Distribution: Slackware
Posts: 180

Rep: Reputation: 19
Udev works if your kernel is 2.6.15.3 or above, I think.
 
Old 11-10-2006, 08:44 PM   #26
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
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.

Last edited by duryodhan; 11-10-2006 at 08:49 PM.
 
Old 11-11-2006, 02:54 AM   #27
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 47
Quote:
Originally Posted by duryodhan
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.
 
Old 11-11-2006, 05:09 AM   #28
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
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.
 
Old 11-11-2006, 06:17 AM   #29
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Rep: Reputation: 15
duryodhan:

May be this thread can help you save a little time
at boot up

-W
 
Old 11-11-2006, 06:30 AM   #30
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
mokele, I had seen that already. Thanks anyways!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
making ndiswrapper go at startup samuelLjackson Linux - Wireless Networking 5 11-08-2005 06:48 PM
Making Redhat ES startup into X Mojosue Red Hat 3 02-09-2005 04:37 AM
I have no sound and I must scream SlowMindThinkin SUSE / openSUSE 6 12-02-2004 09:54 PM
So frustrated I could scream BeanCounter Linux - Newbie 5 10-23-2004 08:17 PM
Making apps startup with X crumb Linux - Newbie 4 10-20-2004 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration