LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-08-2005, 04:56 PM   #1
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Slack 10.2, Slack 12, Suse 10.0, DSL 2.2, Xubuntu 7.04
Posts: 920

Rep: Reputation: 30
Removing udev?


I'm in the middle of compiling 2.6.12 (upgrading from 2.4.26). I've been doing it a few times, because of problems finding my NIC drivers, but in the meantime I've revealed another issue:
With 2.4.26 I boot up in < 30 seconds.
With 2.6.12, the system sits on a line saying "Initializing udev devices..." for the better part of a minute!
What the heck is udev, and since my system was working perfectly well before this new kernel I can't imagine that it's necessary.
That being the case, I'd like to get rid of it. I haven't installed any new software, so it must be a kernel module. Does anyone know where, in the dialog brought up by 'make menuconfig', it's located?

*It can't be "just a 2.6 thing", as my suse box is now 2.6.11, and its boot time still beats a minute and a half all hollow.

Thanks!
 
Old 07-08-2005, 05:53 PM   #2
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
udev manges the device nodes in /dev. It automaticlly creates and removes them as you plugin, remove hardware. It's not necessary, but if you remove it you had better be sure that you have a full static /dev or your machine won't boot.

I've never seen udev stall for that long on bootup, did you check and see if a newer version of that package was available?
 
Old 07-08-2005, 06:02 PM   #3
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 349

Rep: Reputation: 30
I have seen the slow udev problem, I was running udev 030 and after updating to kernels 2.6.11 and later udev would time out on creating certain device nodes, the fix was to upgrade to udev 058 (the current version).

HTH

Mad.
 
Old 07-17-2005, 04:04 PM   #4
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Slack 10.2, Slack 12, Suse 10.0, DSL 2.2, Xubuntu 7.04
Posts: 920

Original Poster
Rep: Reputation: 30
Hmm. That doesn't appear to be the whole problem. I did some research and made sure I was loading the correct device drivers (I am), and still with udev I have no ethernet card. It simply comes up as "device not found" when I try to initialize it with ifconfig, and ls /dev/ | grep eth0 returns nothing.

I'd really like to know how to make 2.6 behave the same way 2.4 did, i.e. with devfs. 2.4 worked, 2.6 isn't. My SuSE box is running 2.6.11, and I assume uses udev. The kernel on that system doesn't recognize the filesystem sysfs, according to the messages that scroll by when it boots up, so there's got to be a way to merge the two.

As a side note, though..assuming that I can get my ethernet card working, how did you find out which version of udev you were running? From what I can see from the man page there isn't any flag to give you the version.

Last edited by rose_bud4201; 07-17-2005 at 04:17 PM.
 
Old 07-17-2005, 05:15 PM   #5
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Slack 10.2, Slack 12, Suse 10.0, DSL 2.2, Xubuntu 7.04
Posts: 920

Original Poster
Rep: Reputation: 30
Ha! Got it working. For whatever reason compiling the drivers into the kernel didn't want to work, but when I switched them to being modules, it worked like a charm.
Ditto for a couple of ALSA sound drivers...they showed up once I switched them to module instead of built-ins.

So, the only question which remains is, how can I determine which version of udev I currently have running?

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Udev LinxNew Mandriva 1 05-01-2005 02:47 PM
Udev anyone? yanik Debian 5 01-05-2005 09:02 AM
Help with udev sls Debian 4 12-28-2004 02:06 PM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 08:16 AM
udev ... I think element Debian 4 05-27-2004 03:32 PM


All times are GMT -5. The time now is 02:57 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration