LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-07-2006, 03:45 PM   #1
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64
Posts: 113

Rep: Reputation: 17
Slack11 udev question


I did a clean install of slack11 with huge26.s and udev enabled.
Hotplug is disabled and udev seems to work, but my /dev directory
has about 2600 elements. Searching in the forum for "udev" gives
me nearly the same amount of threads, so sorry if there is an answer
I didn´t see. I did a full install, kicked off the 2.4 kernel stuff and modules,
installed everything for 2.6.17.13 (the huge one), disabled hotplug and
rebootet. No further modification but configuring xorg.conf. Why are there
so much devices in /dev?
 
Old 10-07-2006, 04:02 PM   #2
folkenfanel
Member
 
Registered: Sep 2004
Location: formerly Fanelia and Zaibach
Distribution: Slackware-current !
Posts: 342

Rep: Reputation: 59
Wink 184, 165

Slack 11 with udev and 2.6 SMP kernel

My /dev has 184 elements. 165 files. I remasterized the installer CDs, eliminated the 2.4 kernels and modules and installed right away with the 2.6 SMP kernel and modules. (it's all I did by now just for testing purposes). Using only udev. No hotplug. No problems so far.

Have you tried entering level 1, stopping udev and reinstalling devs and udev? (or maybe a similar procedure using a live CD (or the Slackware CD1 or the DVD))

I read somewhere that for upgrading those things udev must not be running otherwise it will cause problems.

Good luck!
 
Old 10-07-2006, 04:43 PM   #3
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64
Posts: 113

Original Poster
Rep: Reputation: 17
Reinstalling in runlevel 1 sounds good, I´ll try it. But will it delete the unnessasary devices in /dev or should I do that manually?
 
Old 10-08-2006, 09:56 AM   #4
folkenfanel
Member
 
Registered: Sep 2004
Location: formerly Fanelia and Zaibach
Distribution: Slackware-current !
Posts: 342

Rep: Reputation: 59
Wink Hi there

Hallo

I think the "normal" reinstall procedure *should* delete the junk in /dev; but I'm not sure. If it doesn't... use the CD1 or SLAX and do it manually (I feel it wouldn't be safe doing it by hand)

Good luck!
 
Old 10-08-2006, 10:13 AM   #5
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
Do not delete the contents of /dev. If you do you will not have a usable system. It is needed during the boot sequence until udev is up and running, which will then sort it out.

Are you sure udevd is running. Do ps -A | grep udevd do find out.
If it is not running go to /etc/rc.d and check that rc.udev is executable.

 
Old 10-08-2006, 04:11 PM   #6
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64
Posts: 113

Original Poster
Rep: Reputation: 17
Udev is running and executable, hotplug is deactivated, trust me ;-)
I did a reinstall in runlevel 1 with udev stopped and unmounted everything but / and swap.
Now there are 20 folders and 719 files in /dev while the system is running. While the system is NOT running
and mounted from slax there are about 2600 entrys, but that doesn´t matter. My 10.2 has 18 folders and 689 files
with udev and hotplug enabled. I don´t know what is "normal", it´s still a lot compared to folkenfanels 184 entrys.
 
Old 10-08-2006, 05:02 PM   #7
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
You have around the same amount as me and I expect alot of others.

If you look alot of them will be pty's and tty's amongst other. I t will depend how your kernel is configured.

 
Old 10-08-2006, 05:38 PM   #8
rigelan
Member
 
Registered: Jul 2005
Location: Iowa
Distribution: Slackware
Posts: 180

Rep: Reputation: 19
My udev didn't start working until I had a /sys mount point. rc.S automagically mounts it upon boot, but I needed it to exist for udev to properly function.

I know udev is working and this are images of my /dev listing. I am not sure why folkenfanel has 184 items unless he has a very specific recompiled kernel.

http://img91.imageshack.us/img91/9447/devrf9.png

Last edited by rigelan; 10-08-2006 at 05:52 PM.
 
Old 10-09-2006, 03:26 AM   #9
syvy
Member
 
Registered: Sep 2005
Location: Germany
Distribution: slackware64
Posts: 113

Original Poster
Rep: Reputation: 17
Snowtigger, you are right, almost tty´s and pty´s. My kernel is huge26.
So if you think 700 entrys are ok in this case I stop worrying about udev.
Thanks a lot. Now I can go on configuring other things (hopefully) without a headache ;-)
 
  


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
udev hosler Slackware 10 08-12-2006 02:02 PM
slackware-current, udev 0.96, and custom udev rules not working rignes Slackware 6 08-10-2006 03:43 AM
udev question cferron Slackware 4 03-28-2006 11:28 PM
udev update question (from Current Changelog) dhave Slackware 31 07-22-2005 07:49 PM
Sidewinder gamepad problem and udev question techrolla Linux - Hardware 2 02-02-2005 07:17 PM

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

All times are GMT -5. The time now is 12:52 PM.

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