udev update question (from Current Changelog)
I was reading over the changelong for Current, and I'm a little confused by PV's comment for the latest udev update.
Quote:
(1) I do use ALSA, so should I avoid this update? (2) If this update turns rc.udev off, won't I be throwing out the baby with the bathwater if I apply this update? Thanks for your help. |
Re: udev update question (from Current Changelog)
Quote:
2) I'm not sure of this new update, but for me, udev 054 works well. So i'm personally not going to upgrade udev. And on a side note, good work on pkgtool.. It is a bit faster now. |
Thanks for your reply, xushi. I think I'll hold off on the udev update, too. I was curious, though, what effect it would have on ALSA, which I am using instead of OSS. If I have time next week I'll try to do some testing and see if that turns up anything useful. I've had one or two glitches with udev updates in the past, so I'm a little wary.
Like you, I'm also glad PV returned Jim Hawkin's optimized pkgtool script to Current. By your comment, I was afraid you thought I was one of its authors. I was just doing some unsolicited public relations for it by promoting it on this forum. I had seen how much it speeds things up and, also, I've used it for six months without any problems at all. I think it was Stuart Winter or Jim himself who contacted Pat about adding it back to Current. |
I upgraded udev, and indeed it broke alsa.
I then followed PV's suggestion to chmod 644 rc.udev but then the system wouldn't boot, ending with a message saying something like Failed to open /dev/hda8 (which is my root partition) fsck.reiserfs for /dev/hda8 exited with signal 6 I downgraded udev to 054 and all is well again. Does anyone have clue why fsck didn't work anymore? And why come out with a newer version of udev if it's already known not to function? Cheers, Leon. |
hehe, sorry, i meant to say
And on a side note, good work has been done on pkgtool.. It is much faster now. :D |
Quote:
This is also why I run stable (10.1) at the moment. I'm not saying that current is "unstable", it's just "untested". Most people run current with little or no problems, but every once in a blue moon something like this happens. Later, MMYoung |
Yeah makes sense ;)
I guess -current is always so 'stable' that it caught me by surprise this time. |
I do find it odd that he would put this in current when it's broken. I've been trying to build newer versions of udev ever since 55 and they all break alsa... :mad: Current has always been 'stable' to my knowledge and this move confuses me, especially when he knows that it's broken.... Hmmm... Oh well... I just figured alsa is standard with pretty much everyone and that was the whole reason he was waiting to upgrade; until he could get this ironed out...
udev really needs to get a sense of order to it. Seems like it's in constant flux and nothing has really stabilized... |
Quote:
....... It's also possible that this has something to do with the ever-changing syntax used in the udev.rules config file. ................... the syntax is not finalized..... dare not to upgrade udev packages. BTW, pkgtool is great now. noticeable performance up! |
I keep forgetting that 2.4 is the kernel that comes with 10.1..... If we are running a 2.4 kernel then disabling udev really doesn't matter... :rolleyes: Thats why he put a 'broken' udev into current. It's not really broken. Not until 2.6.xx makes it into current.
On a side note, I found a fix for udev and mailed it off to Pat. So... It could be fixed soon. |
I've also upgraded udev to 062 and ALSA didn't find the soundcard. After downgrading to 054, it works again well. So if you have troubles with ALSA, downgrading is very problably solution.
2_jong357: thnx for finding patch and moving it to Patric |
Well, I don't think you'll find it anytime soon in current. I always run 2.6.xx... As a result, I tend to forget that 10.1 comes with 2.4 as I caught myself doing from above... My work around will break hotplug with 2.4 kernels as Pat pointed out in his reply email.... Thats why you won't see a fix in current. Atleast not mine... ;) So.... If you only run a 2.6.xx kernel, and are not worried about breaking hotplug with 2.4 all you need to do is call upon udevsend to handle hotplug events in the startup script. Put this line right above where udevstart is called.
Code:
echo /sbin/udevsend > /proc/sys/kernel/hotplug Well, anyway.... The above addition to rc.udev works on a 2.6 kernel.... I'm running udev-063 right now with no changes to anything in his source directory except calling upon udevsend in rc.udev... |
Quote:
|
Thanks a lot for the workaround, jong357. I'll probably use it, as I run only 2.6.x kernels.
One question, though: what's the downside of just not updating udev, at least for now? Are there significant new features in the post-54 releases of udev that make updating worthwhile? |
Quote:
Just wondering, MMYoung |
Quote:
Later, MMYoung |
Well, too often people just upgrade to upgrade and don't know if they need to or not. I'm guilty of occassionally doing "Ooooo, Look! A new version of xyz" where xyz is some back water irrelevant package even.... I suppose udev is along those lines. 054 was working just fine. This post and the changelog made me curious tho... So, I had to try and upgrade for no good reason really... ;) The changelog is quite extensive, but as with most things, will probably only effect a few people....
Code:
Summary of changes from v062 to v063 |
Quote:
Quote:
BTW, thanks for the reminder that Current isn't really a 2.6.x kernel config. That's very easy to forget. |
Quote:
|
I like udev but it gave me some problems when trying to use alsa as modules in my kernel. I got sound working simply by building it into the kernel. (monolithic) I'm really having problems with gstreamer though. I cant change tracks on cd's without gnome-cd freezing. Also when I change my multimedia prefs. to alsasink, the test button produces a very choppy test tone.
|
Quote:
Personally, I have no problem with using it. It's young, yes. Constantly changing, yes. It still works tho and thats good enough for me. |
How do I tell my version of udev? I recently used slapt-get upgrade and am having some sound problems
|
Code:
udevinfo -V |
I guess you guys have seen that Pat has switched to udev-058 in today's Current updates. This is his changelog entry:
Quote:
|
Quote:
FWIW, I'm running kernel 2.6.12.2 with alsa-driver-1.0.9b_2.6.12.2-i486-1. |
Quote:
Quote:
|
May I know where can I get udev-054-i486-3.tgz?
udev-58 does not work for my sound. But USB drive works fine udev-62 works fine for my sound. But not for USB drive. On udev-58, me get this error when execute alsamixer. Code:
alsamixer: function snd_ctl_open failed for default: No such file or directory |
Quote:
http://linux.jetstreamgames.co.nz/sl...t/slackware/a/ You'd better hurry, though, because if this site gets updated, udev-54 will disappear. |
Thankd dhave.
Sound is back BUT USB drive is gone. How can I update the udev rule for the following device: Code:
Bus 001 Device 006: ID ffff:ffff |
Here's the latest from Patrick regarding udev, from today's (22july05) changelog:
Quote:
|
My initial tests show that the fixed udev-058 listed in the 22july05 Current changelog plays nicely with alsa, at least on my system.
The fixed package name is udev-058-i486-2.tgz. PV said in the changelog that he'd like to hear from people who are working on this problem, in hopes that the udev glitches can be taken care of more permanently. |
Yep, it looks like udev-058-i486-2.tgz is working... I upgraded to it on my Armada laptop and all is well (so far).
...but, I'm keeping the 054 handy, just in case... |
All times are GMT -5. The time now is 03:51 PM. |