Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
08-08-2006, 12:14 AM
|
#1
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
udev problems in current
So, I updated my machine to the changes from Aug 7th, only to find that when I restarted, it wouldn't boot. Lovely.
The machine was stopping right at the end of rc.S, and not getting any farther. The last thing it printed was "Using /etc/random-seed to initialize /dev/urandom.". I booted to some LiveCDs, checked everything out, and I couldn't find what the problem was. Eventually I realized that it would boot with a 2.4 kernel, but not a 2.6 kernel, and that udev was the problem. So I booted with the Slackware install CD's kernel, got in there, and chmod -x rc.udev. This got the machine started, but obviously my devices that were using udev before are not working.
I will admit, I know almost nothing of udev. With the previous versions of udev, I managed to get it to load up my optical drives and USB headset, and they worked fine. I also had hotplug running, so I think most of the hardware was running though that. Now that udev isn't running, I had to remake the symlinks to my optical drives, and my USB headset doesn't show up in any of my software.
If I try and start udev after the machine boots, the situation just gets worse. My mouse stops working, sound stops working, and I can't start any more VTs. It seems like udev isn't creating all the device files my system needs. It made ones for my video card and drives, but that seemed like it.
So I guess my question is, what exactly do I need to do to get udev working with this new version, and have all of my devices work?
|
|
|
08-08-2006, 12:52 AM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,825
|
have you do exactly as Pat said? (put all .new files in /etc/rc.d/ into place)
I also have upgraded to latest udev and sysvinit and it's working fine here
|
|
|
08-08-2006, 01:22 AM
|
#3
|
Senior Member
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191
Rep:
|
Worked ok for me on clean install. You problem is probably being caused by changes to some config files that didn't make it to the right place. Copying the .new files over the original should do the the trick, just make sure you don't lose any custom changes you might have put into the originals.
regards,
...drkstr
|
|
|
08-08-2006, 01:29 AM
|
#4
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
Original Poster
|
All of the .new files have been moved into place as they should be.
I am running a custom compile of 2.6.12, by the way.
EDIT:
I have removed and reinstalled the udev package, and no change. I tried to start udev again after the machine has started up, and again lost my VTs and sound. Mouse seemed to keep working this time though. When doing "/etc/rc.d/rc.udev start" it takes a very long time for it to complete. Something like 3 or 4 minutes. Not sure if that means anything or not.
Last edited by MS3FGX; 08-08-2006 at 02:54 AM.
|
|
|
08-08-2006, 01:37 PM
|
#5
|
Senior Member
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132
Rep:
|
I believe your kernel is too old.
Install a newer one.
***EDIT***
You can see in the ChangeLog that PV uses Piter Punk's changes, http://piterpunk.info02.com.br/extra/ . There you can see that you need min. kernel version of 2.6.15.
Last edited by shilo; 08-08-2006 at 01:48 PM.
|
|
|
08-09-2006, 01:07 AM
|
#6
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
Original Poster
|
Yes, that had occurred to me this morning, so I compiled 2.6.16.
Between that, the newest udev update in current, and some changes to the rules file, things seem to be working properly now.
|
|
|
08-09-2006, 01:28 AM
|
#7
|
Member
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641
Rep:
|
Quote:
Originally Posted by MS3FGX
Between that, the newest udev update in current, and some changes to the rules file, things seem to be working properly now.
|
Would you mind sharing with us the changes you made to the rules file to make it work? Might save some others some time when searching the threads
-Y1
|
|
|
08-09-2006, 02:18 AM
|
#8
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
Original Poster
|
Just for my own specific hardware, the rules worked well enough stock, but things I wanted added like I had in my previous udev setup, like the kqemu module/node, I had to do manually.
|
|
|
08-09-2006, 04:34 AM
|
#9
|
LQ Newbie
Registered: Aug 2006
Location: Italy
Distribution: Slackware
Posts: 2
Rep:
|
IPW2200 modules stop to work with latest UDEV release. Must rollback to 0.71. wainting for a fix
|
|
|
08-09-2006, 05:08 AM
|
#10
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Rep: 
|
udev is problematic generally. In Debian every now and then udev fails to load on startup. This prevents a lot of device drivers from loading and leaves me to reboot and try again. This is a peculiar issue...
Before using udev, I had none of these problems. discover and hotplug worked fine for me.
|
|
|
08-09-2006, 08:19 AM
|
#11
|
Senior Member
Registered: Sep 2004
Distribution: slackware
Posts: 4,732
|
Quote:
Originally Posted by Harishankar
udev is problematic generally. In Debian every now and then udev fails to load on startup. This prevents a lot of device drivers from loading and leaves me to reboot and try again. This is a peculiar issue...
|
It does sound very strange.
Quote:
Originally Posted by Harishankar
Before using udev, I had none of these problems. discover and hotplug worked fine for me.
|
Yes. Same here. 2.4 and hotplug were the pinnacle of hardware support for me. Admittedly, that was on older hardware. 2.6 and udev seemed a step backwards at first. Even now there are modules which refuse to auto-load under 2.6 and must be "modprobed" into place. For example: parport_pc and lp. Both of these used to auto-load for me under 2.4 and hotplug...
|
|
|
08-09-2006, 06:13 PM
|
#12
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
Original Poster
|
Ah, today Pat decides to actually say in the changelog that 2.6.15+ is now required. Cute.
|
|
|
08-12-2006, 06:51 AM
|
#13
|
LQ Newbie
Registered: Aug 2006
Location: Italy
Distribution: Slackware
Posts: 2
Rep:
|
yeah. The latest udev (-4) solve problem of network and cdrom . For me, to made work ipw2200 , i've delete the network.rules under /etc/udev/rules.d. After reboot the new version of udev re-create the file but with the entry commented.
|
|
|
08-12-2006, 05:04 PM
|
#14
|
Member
Registered: Feb 2004
Posts: 56
Rep:
|
Can some please tell me how do I boot from Installation CD. wheever I start it asks me for new installation and I cannot access my drive where I have already installed Slackware. I have got the same problem
|
|
|
08-12-2006, 06:11 PM
|
#15
|
Member
Registered: Mar 2006
Distribution: Slackware64-15.0
Posts: 103
Rep: 
|
jam,
If your root partition is at '/dev/sda1' and you want to use the default kernel 'bare.i' then the command to enter at the first prompt is:
bare.i root=/dev/sda1 noinitrd ro
There is some help available at the prompt using function keys F1 to F5 when you boot with the CD.
|
|
|
All times are GMT -5. The time now is 11:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|