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 |
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. |
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 |
Quote:
I'll post later today how it went. |
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 |
Quote:
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. |
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 |
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. :scratch: 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. |
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 |
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! |
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. |
Quote:
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 |
Quote:
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? |
urka58 and bmccrac02, thanks very much for clearing things up.
I guess I'd better waiting for PV for udev upgrade. |
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 09:49 PM. |