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.
|
 |
|
02-05-2006, 05:26 PM
|
#1
|
Member
Registered: Mar 2005
Location: BC, Canada
Distribution: Slackware 14.2 x64
Posts: 308
Rep:
|
Kernel 2.6.15.2 + Udev + Slackware 10.2
Anybody got this working yet?
I tried and got nowhere at all.
First I couldn't even copy my own files in my own home directory, getting error message that operation not permited.
So then I disabled hotplug and compiled and installed the latest udev.
No way Jose! What a fiasco!
There is more questions arising from the README and FAQ then it answers.
Fscked the system so bad I had to boot from Slackware CD and restore the original Slackware's udev because my root file system got mounted read-only and I couldn't do anything.
On the other hand I have Kernel 2.6.15.1 working on my laptop with Slack 10.2 very nicely but still using hotplug and the default Slackware udev.
What's changed in the latest kernel so much it will not work any more with Slackware.
Any solutions?
Anybody?
Thanks
|
|
|
02-06-2006, 12:09 AM
|
#2
|
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:
|
Have you tried this?
http://piterpunk.info02.com.br/extra/
It didn't work perfectly for me, but I have a tweaked so much stuff on my own system that I can't rule out operator error as the cause. Even so, no real show stoppers.
|
|
|
02-06-2006, 02:49 AM
|
#3
|
Member
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641
Rep:
|
shilo,
Would you mind posting what you changed from piter punk's blueprint in order to get it working?
I tried following out of the box, and ended up booting my main disk as read-only, causing neither udev nor anything else to work.
-Y1
|
|
|
02-06-2006, 03:25 PM
|
#4
|
Member
Registered: Mar 2005
Location: BC, Canada
Distribution: Slackware 14.2 x64
Posts: 308
Original Poster
Rep:
|
Quote:
Originally Posted by shilo
Have you tried this?
http://piterpunk.info02.com.br/extra/
It didn't work perfectly for me, but I have a tweaked so much stuff on my own system that I can't rule out operator error as the cause. Even so, no real show stoppers.
|
Ok,I'll give it a try. Are those packages for Slack 10.2 though. It doesn't say anywhere which version of Slack it's for.
I'll post later today how it went.
|
|
|
02-06-2006, 04:19 PM
|
#5
|
Member
Registered: Nov 2003
Distribution: slackware 15
Posts: 546
Rep:
|
Slackovado: yes it works on 10.2
Yalla-One: I had the same problem (more or less randomly,I believe mostly due to some additional time required to remove temporary files, since hot reeboot ran flawless). I fixed it by leaving /etc/rcd/rc.udev an extra 3 secs to do his job before starting count events this way: in /etc/rc.d/rc.S added a line as foollows
# Mount sysfs next, if the kernel supports it:
if [ -d /sys ]; then
if cat /proc/filesystems | grep -w sysfs 1> /dev/null 2> /dev/null ; then
if ! cat /proc/mounts | grep -w sysfs 1> /dev/null 2> /dev/null ; then
/sbin/mount -v sysfs /sys -n -t sysfs
fi
if ! grep -w nohotplug /proc/cmdline 1> /dev/null 2> /dev/null ; then
if [ -x /etc/rc.d/rc.udev ]; then
/etc/rc.d/rc.udev start
sleep 3----------------------------------this
/lib/udev/udev.count_events.sh
fi
fi
fi
fi
hope this helps
Ciao
|
|
|
02-07-2006, 07:16 PM
|
#6
|
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:
|
Quote:
Originally Posted by Yalla-One
shilo,
Would you mind posting what you changed from piter punk's blueprint in order to get it working?
I tried following out of the box, and ended up booting my main disk as read-only, causing neither udev nor anything else to work.
-Y1
|
Hmm, I got warning messages about the filesystem being mounted read-only, but later in the boot process everything is remounted.
It seemed to work, I just got error messages that I haven't been abe to sort out yet. Note that I did all this on a clean install. I haven't had much time to play with it though, so it could very well be broken and I just haven't realized it.
As for what I changed from Piter Punk's blueprint, nothing. It is importatnt that you understand the directions well, though. There are a number of config files that need to get fixed up before things will start working.
|
|
|
02-08-2006, 01:03 AM
|
#7
|
Member
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641
Rep:
|
Just got a mail from Piter Punk - turns out he's made a couple of changes to the scripts as bug-fixes, among them introduced a delay (as urka58 suggested) to udev to prevent the read-only boot.
Have not had a chance to test it yet as I'm using my Slackware laptop for work, but will try later today.
So - for all that want to try 2.6.15.x and newer udevs: make sure you get piter punk's updated packages!
-Y1
|
|
|
02-08-2006, 07:46 PM
|
#8
|
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 decided to check out my test sytem a little better. It upgraded to the latest Piter Punk packages. I still get the error messages about mounting read-only. Udev appears to be running, but I just noticed that it doesn't seem to be working correctly.  My /dev is static. It contains all the devices installed by Slackware for 2.4 kernels. I've tried re-starting udev every way possible, but this doesn't seem to change.
Now I am interested in knowing how to get this thing working right.
|
|
|
02-09-2006, 01:16 AM
|
#9
|
Member
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 641
Rep:
|
Hi shilo,
Just tried the same thing myself, both with Piter Punk's latest packages, and inserting the 3 second delay as suggested earlier in this thead, but to no success at my end either.
12 out of 12 times the file system was mounted read-only, and udevd counted down how many instances was running until it ended with 2.
Hard to trouble-shoot, as the system wouldn't even let me log in, and thus couldn't print dmesg or check the logs either...
Have emailed PiterPunk with as detailed report as possible, and hope him or Patrick or someone more experienced than me might fix it.. Seems like there's still a lot going on in udev development, so maybe an even more recent version of udevd might help too...
-Y1
|
|
|
02-09-2006, 08:48 AM
|
#10
|
Member
Registered: Dec 2004
Distribution: Slackware
Posts: 41
Rep:
|
I'm not quite sure I understand the udev problem here, can I ask a few stupid questions? My udev knowledge still stops at udev rules
I found a thread said 2.6.15 only works with udev 071 and above, is it true? I have already installed 2.6.15.2 on two boxes (all running slackware-current, which uses udev 064, I believe), many important drivers are compiled into the kernel. It looks like everything is OK. Sound, CD recording etc. all works. Did I miss something? What should I look for to confirm udev works or not? By "working", do your guys mean new feature working or basic feature working?
Thank you very much for your help!
|
|
|
02-09-2006, 12:52 PM
|
#11
|
LQ Newbie
Registered: Jan 2006
Posts: 7
Rep:
|
linux-2.6.15.n and Slackware 10.2
Here is what Pat Volkerding of Slackware told me:
>>BTW, 2.6.15.x requires plenty of other changes that I'm working on now,
>>such as updates to udev, module init tools, and the addition of
>>sysfsutils. Until you see those things appear in -current, you're
>>going
>>to have to stick to 2.6.14.x or lower, and once the changes are merged
>>all the 2.6.x kernels older than 2.6.15 will be broken. So it might
>>not
>>be the best time to be trying to use a 2.6 kernel... :-)
I am, however, using 2.6.14.7 without problems so far.
|
|
|
02-09-2006, 04:02 PM
|
#12
|
Member
Registered: Nov 2003
Distribution: slackware 15
Posts: 546
Rep:
|
Quote:
Originally Posted by firebird
I'm not quite sure I understand the udev problem here, can I ask a few stupid questions? My udev knowledge still stops at udev rules
I found a thread said 2.6.15 only works with udev 071 and above, is it true? I have already installed 2.6.15.2 on two boxes (all running slackware-current, which uses udev 064, I believe), many important drivers are compiled into the kernel. It looks like everything is OK. Sound, CD recording etc. all works. Did I miss something? What should I look for to confirm udev works or not? By "working", do your guys mean new feature working or basic feature working?
Thank you very much for your help!
|
No Firebird
you can use kernel 2.6.15+ without problems, (or better, more problems than you would have with kernel 2.6.14 or lower) with udev that comes with Slack 10.2 (0.64).
The problems come if you want to use udev 0.71 (not sure, may be 0.76) with kernels 2.6.14 or lower, since newest releases of udev require some feature available only with 2.6.15+ kernels.
What differs in these new releases of udev, is the possibility not to use hotplug anymore since udev take care of collecting/intercepting "events" and creating device nodes in userspace.
As udev is in continous development, I counted 3 new releases in a week, it is a little difficult to be maintened and work properly on many systems.
I see only two reasons to switch to newer udev,for now, your system is working very bad, but I understand from your post it doesn't, or you want to "explore" new possibilities and features( ie my case).
The main advantage using new udev is your system will boot faster, but the disadvantage is it requires a lot of changes in startup scripts and some extra utilities.
Slackovado has already posted the link where you can find the required packages.
Ciao
|
|
|
02-09-2006, 05:59 PM
|
#13
|
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:
|
Quote:
Originally Posted by bmccrac02
Here is what Pat Volkerding of Slackware told me:
>>BTW, 2.6.15.x requires plenty of other changes that I'm working on now,
>>such as updates to udev, module init tools, and the addition of
>>sysfsutils.
|
These are the things that PV is working on now, but if you checked out the link earlier, they are the EXACT things that this thread is talking about. Piter Punk has already released "updates to udev, module init tools, and the addition of sysfsutils."
There seem to be some problems with them, though. I wonder now, who HAS got UDEV working (with dynamic /dev entries) using the Piter Punk solution?
|
|
|
02-09-2006, 11:23 PM
|
#14
|
Member
Registered: Dec 2004
Distribution: Slackware
Posts: 41
Rep:
|
urka58 and bmccrac02, thanks very much for clearing things up.
I guess I'd better waiting for PV for udev upgrade.
|
|
|
02-14-2006, 12:22 AM
|
#15
|
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:
|
OK, the Piter Punk packages are working for me now. I recompiled my kernel using the Slackware 2.6.15.3 config and that seemed to so the trick.
No hotplug = fast boot. 
|
|
|
All times are GMT -5. The time now is 04:07 PM.
|
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
|
|