Bug 505421
Summary: | snd-seq is not loaded on startup | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fernando Lopez-Lezcano <nando> |
Component: | module-init-tools | Assignee: | Jon Masters <jonathan> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 11 | CC: | alexsmith.z.xl.i, awilliam, bikehead, dwlegg, hdegoede, itamar, jcm, jonathan, jscotka, kernel-maint, me, mrhodes, mschmidt, oget.fedora, renich, steevithak, twhite, windsor |
Target Milestone: | --- | Keywords: | CommonBugs, EasyFix, Regression |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | https://fedoraproject.org/wiki/Common_F12_bugs#alsa-sequencer | ||
Fixed In Version: | 3.7-10.fc11 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-12-16 01:11:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 516998, 527107 |
Description
Fernando Lopez-Lezcano
2009-06-11 20:38:56 UTC
*** Bug 501048 has been marked as a duplicate of this bug. *** tuxguitar also needs "modprobe snd-seq-oss" to work properly We removed snd-seq along with snd-seq-oss when commenting out the line in /etc/modprobe.d/dist-oss.conf. Ad according to comment #2 we need snd-seq-oss for at least one application too. (In reply to comment #3) > We removed snd-seq along with snd-seq-oss when commenting out the line in > /etc/modprobe.d/dist-oss.conf. Ad according to comment #2 we need snd-seq-oss > for at least one application too. Can snd-seq be added back ASAP? Or is the fix already in the pipeline? It breaks a lot of the sound software (qjackctl is just one example). In particular anything that uses the ALSA MIDI sequencer. Some software is nice and warns the user, others just fails to start. (In reply to comment #4) > (In reply to comment #3) > > We removed snd-seq along with snd-seq-oss when commenting out the line in > > /etc/modprobe.d/dist-oss.conf. Ad according to comment #2 we need snd-seq-oss > > for at least one application too. > > Can snd-seq be added back ASAP? Or is the fix already in the pipeline? It > breaks a lot of the sound software (qjackctl is just one example). In > particular anything that uses the ALSA MIDI sequencer. Some software is nice > and warns the user, others just fails to start. Is there an interim fix I could push somehow in the Planet CCRMA repository? (ie: a package that would be overriden when the official package with the fix becomes available from Fedora). Right now Fedora 11 is quite broken because of this problem. (In reply to comment #3) > We removed snd-seq along with snd-seq-oss when commenting out the line in > /etc/modprobe.d/dist-oss.conf. Ad according to comment #2 we need snd-seq-oss > for at least one application too. No thats a typo in comment 2, tuxguitar just needs snd-seq, afaik. (In reply to comment #6) > (In reply to comment #3) > > We removed snd-seq along with snd-seq-oss when commenting out the line in > > /etc/modprobe.d/dist-oss.conf. Ad according to comment #2 we need snd-seq-oss > > for at least one application too. > > No thats a typo in comment 2, tuxguitar just needs snd-seq, afaik. From the error output of Bug 501048 I can say that tuxguitar needs the presence of /dev/sequencer which is generated by snd-seq-oss. It might be that the MIDI part of the Java sound API needs /dev/sequencer, not just tuxguitar. The weird thing is, on my fresh F-11 system, snd-seq-oss is not blacklisted and is loaded by default. (In reply to comment #0) > 1. boot the computer in f11 > 2. try to use the ALSA sequencer, for example install and start qjackctl > (control application for Jack) > 3. qjackctl complains on startup: > > "Could not open ALSA sequencer as a client" > "ALSA MIDI patchbay will not be available" > > and of course no midi ports are shown in the connections dialog. Still broken, users can't use MIDI out of the box in Fedora 11! What would be a recommended workaround?? I think the snd-seq-oss thing is confusing the issue. That's truly part of OSS, so if we're serious about disabling OSS by default, that one should stay blacklisted. But the failure to load snd-seq appears to be simply an error and should be fixed ASAP. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers (In reply to comment #9) > I think the snd-seq-oss thing is confusing the issue. That's truly part of OSS, > so if we're serious about disabling OSS by default, that one should stay > blacklisted. But the failure to load snd-seq appears to be simply an error and > should be fixed ASAP. Does anyone in the cc' list know what incantation I should use for fixing this issue?? Are devices still loaded through udev rules? What would be required is, if something tries to access /dev/snd/seq then snd-seq should be modprobed automatically (this was happening for fedora < 11). What is the currently proper way of doing this? Harald Hoyer is in CC, he ought to know. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Ok, I've been discussing this with Harald Hoyer on irc. Here is a summary: The issue is that in F-10 and before we had a modprobe rule which caused the oss compat modules to be loaded as soon as snd-pcm got loaded, this also caused the snd-seq module to get loaded. Now we (rightfully) no longer cause the oss stuff to auto load, snd-seq also does not get loaded. However since we now live in a udev world this means /dev/snd/seq never gets created, and since it does not exist the module also will not get autoloaded by the old kernel autoload mechanism. Normally there would be 2 options to solve this: 1) force snd-seq to be always loaded (or atleast as soon as snd-pcm is loaded) 2) "manually" create the /dev/snd/seq node 2) Would be the preferred solution here, modifying /sbin/start_udev to create a /dev/snd/seq node, so that the module will be autoloaded by the kernel autoload mechanism as soon as an application needs it, this is how this is done for other virtual devices such as loopback and /dev/net/tun. However 2) cannot be used since alsa uses dynamic minor numbers So we will have to use option 1), and always load snd_seq, atleast on systems where a soundcard is present. So the solution to this bug is to create an /etc/modprobe.d/dist-alsa.conf file with the following contents: # Make midi applications work on systems with a soundcard: install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-seq Note the snd-seq should be at the same line as the "install snd-pcm /sbin/modprobe ..." (In reply to comment #13) > Note the snd-seq should be at the same line as the "install snd-pcm > /sbin/modprobe ..." Thanks very much!! At least now I have a workaround. Hopefully it will make to fc11+... Now, I _think_ this (snd-seq not autoloading) happened before in the fedora cycle (2?, 3?, can't remember). I'll see if I can find an email or something about it. (In reply to comment #14) > (In reply to comment #13) > > Note the snd-seq should be at the same line as the "install snd-pcm > > /sbin/modprobe ..." > > Thanks very much!! At least now I have a workaround. Hopefully it will make to > fc11+... Reported in June, it is now October. I still can't honestly recommend Fedora 11 to new users of Planet CCRMA (and any other serious audio users that are still using Fedora, fewer and fewer as time goes by, of course) as they _will_ get an error _when_ they try to start Jack through Qjackctl. The error and the usability of MIDI can't be fixed if you are not root, and fixing it requires loading a kernel module by hand. Not acceptable. The issue is solved (see previous posts). When is a _fix_ going to be released? Is this even fixed in Fedora 12?????? I'm experiencing this bug as well. It prevents the proper operation of the M-Audio USB MIDIMAN multiport MIDI interfaces, which used to work fine with previous version of Fedora. We've dropped back to Fedora 10 until a fix is available for this bug. (In reply to comment #15) > (In reply to comment #14) > > (In reply to comment #13) > > > Note the snd-seq should be at the same line as the "install snd-pcm > > > /sbin/modprobe ..." > > > > Thanks very much!! At least now I have a workaround. Hopefully it will make to > > fc11+... > > Reported in June, it is now October. > > I still can't honestly recommend Fedora 11 to new users of Planet CCRMA (and > any other serious audio users that are still using Fedora, fewer and fewer as > time goes by, of course) as they _will_ get an error _when_ they try to start > Jack through Qjackctl. The error and the usability of MIDI can't be fixed if > you are not root, and fixing it requires loading a kernel module by hand. Not > acceptable. > > The issue is solved (see previous posts). When is a _fix_ going to be released? > Is this even fixed in Fedora 12?????? Erm, I don't think it is. I'll poke Jon about this on monday and make sure we get this fixed asap. R. Steven Rainwater: the workaround is fairly easy, you just have to load the snd-seq at each boot. You can just stick 'modprobe snd-seq' at the bottom of /etc/rc.local to save having to do it manually each boot. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers (In reply to comment #18) > (In reply to comment #15) > > (In reply to comment #14) > > > (In reply to comment #13) > > > > Note the snd-seq should be at the same line as the "install snd-pcm > > > > /sbin/modprobe ..." > > > > > > Thanks very much!! At least now I have a workaround. Hopefully it will make to > > > fc11+... > > > > Reported in June, it is now October. > > > > I still can't honestly recommend Fedora 11 to new users of Planet CCRMA (and > > any other serious audio users that are still using Fedora, fewer and fewer as > > time goes by, of course) as they _will_ get an error _when_ they try to start > > Jack through Qjackctl. The error and the usability of MIDI can't be fixed if > > you are not root, and fixing it requires loading a kernel module by hand. Not > > acceptable. > > > > The issue is solved (see previous posts). When is a _fix_ going to be released? > > Is this even fixed in Fedora 12?????? > > Erm, I don't think it is. I'll poke Jon about this on monday and make sure we > get this fixed asap. Could you please remember? I can file another bug against 12 or rawhide or 13 if needed. I could very well have released some hack in the Planet CCRMA repository to fix this, but I talked myself out of it. This is very VERY basic, and should have had a suitable response from the maintainers of the package that broke this (plus anything I could release would probably conflict with whatever is the final fix). Workarounds should not be even mentioned as options at this point given that the release cycle of Fedora is only 6 months and this regression breaks basic functionality and was properly reported. As to the workaround being "fairly easy", it depends on your background. Most new users that try Fedora, want to do serious audio work, and have the bad luck of arriving in the Fedora 11 timeframe, will just walk away (ie: not much to look forward to when the very first program that you have to use to do serious audio work starts up with an error panel). I'm only mentioning the workaround as some people could clearly benefit from it. I'm not suggesting it removes the need to fix the bug, it doesn't. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers (In reply to comment #19) > (In reply to comment #18) > > (In reply to comment #15) > > > (In reply to comment #14) > > > > (In reply to comment #13) > > > > > Note the snd-seq should be at the same line as the "install snd-pcm > > > > > /sbin/modprobe ..." > > > > > > > > Thanks very much!! At least now I have a workaround. Hopefully it will make to > > > > fc11+... > > > > > > Reported in June, it is now October. > > > > > > I still can't honestly recommend Fedora 11 to new users of Planet CCRMA (and > > > any other serious audio users that are still using Fedora, fewer and fewer as > > > time goes by, of course) as they _will_ get an error _when_ they try to start > > > Jack through Qjackctl. The error and the usability of MIDI can't be fixed if > > > you are not root, and fixing it requires loading a kernel module by hand. Not > > > acceptable. > > > > > > The issue is solved (see previous posts). When is a _fix_ going to be released? > > > Is this even fixed in Fedora 12?????? > > > > Erm, I don't think it is. I'll poke Jon about this on monday and make sure we > > get this fixed asap. > > Could you please remember? I can file another bug against 12 or rawhide or 13 > if needed. 2009.10.12: fully updated fc11 system, still does not load snd-seq by default. (In reply to comment #21) > (In reply to comment #19) > > (In reply to comment #18) > > > (In reply to comment #15) > > > > (In reply to comment #14) > > > > > (In reply to comment #13) > > > > > > Note the snd-seq should be at the same line as the "install snd-pcm > > > > > > /sbin/modprobe ..." > > > > > > > > > > Thanks very much!! At least now I have a workaround. Hopefully it will make to > > > > > fc11+... > > > > > > > > Reported in June, it is now October. > > > > > > > > I still can't honestly recommend Fedora 11 to new users of Planet CCRMA (and > > > > any other serious audio users that are still using Fedora, fewer and fewer as > > > > time goes by, of course) as they _will_ get an error _when_ they try to start > > > > Jack through Qjackctl. The error and the usability of MIDI can't be fixed if > > > > you are not root, and fixing it requires loading a kernel module by hand. Not > > > > acceptable. > > > > > > > > The issue is solved (see previous posts). When is a _fix_ going to be released? > > > > Is this even fixed in Fedora 12?????? > > > > > > Erm, I don't think it is. I'll poke Jon about this on monday and make sure we > > > get this fixed asap. > > > > Could you please remember? I can file another bug against 12 or rawhide or 13 > > if needed. > > 2009.10.12: fully updated fc11 system, still does not load snd-seq by default. Just looked at Koji, the builds for fc12 _and_ fc13 do not (AFAICT) include any fixes for this issue (it is not in the changelog, I did not actually look at the files). I guess we wait till fc14? What _is_ the problem? What is the problem with fixing this? Could a module-init-tool maintainer commit the changes Hans described in comment #12 ? This is very important! Thanks for the ping. I am not ignoring you but have been busy with some other things for the past few days - this is planned for the next build and should be there before Monday. Great news! Thank you. module-init-tools-3.9-4.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/module-init-tools-3.9-4.fc12 I have pushed an update to testing. Please test and vote on the update. jon, could you file a tag request to have this go in f12 final? i think it's appropriate to be tagged in. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers I have filed that request. Same problem with /dev/dsp. I made a report. It was not considered a bug. Wondering if a less amateurish solution to /dev/snd/seq not being created is possible by reporting it upstream to alsa and udev? It's not amateurish, it's the correct way to do it. /dev/dsp not being present is indeed not a bug. We have intentionally disabled OSS emulation in ALSA. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers jon: what's the URL of the tag request? searching for 'module-init-tools' in releng trac isn't finding me anything. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers (In reply to comment #27) > I have pushed an update to testing. Please test and vote on the update. Thank you!! Is this only for fc12? (can't test on fc12 yet). Would it be possible to do it for fc11 as well? (which is where the bug was originally reported). (In reply to comment #26) > module-init-tools-3.9-4.fc12 has been submitted as an update for Fedora 12. > http://admin.fedoraproject.org/updates/module-init-tools-3.9-4.fc12 Thank you System but the link is broken. the update has been brought in to the main rawhide tree (rather than f12 updates-testing), so just updating any f12 beta install should get the updated version and you can test with that. jon, I second Fernando on the request for an f11 update :) -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers (In reply to comment #35) > the update has been brought in to the main rawhide tree (rather than f12 > updates-testing), so just updating any f12 beta install should get the updated > version and you can test with that. > > jon, I second Fernando on the request for an f11 update :) Please, an update for fc11 would be nice... I see that in the fc12 package it says "Resolves #505421" which is a bit optimistic as the bug was created for fc11 (but it is good, of course, to have it solved on fc12 onwards! :-). (In reply to comment #36) > (In reply to comment #35) > > the update has been brought in to the main rawhide tree (rather than f12 > > updates-testing), so just updating any f12 beta install should get the updated > > version and you can test with that. > > > > jon, I second Fernando on the request for an f11 update :) > > Please, an update for fc11 would be nice... I see that in the fc12 package it > says "Resolves #505421" which is a bit optimistic as the bug was created for > fc11 (but it is good, of course, to have it solved on fc12 onwards! :-). I can confirm that the Fedora 12 fix works when ported over to Fedora 11's latest released module-init-tools package. I gave up and released a fixed package in the Planet CCRMA repositories with a 9.1* release tag, it will be overriden when/if a -10 release package hits the real Fedora repositories. At least Planet CCRMA users will be able to start qjackctl out of the box without an error if they upgrade. 2009-06-11 is way too long ago. (In reply to comment #37) > (In reply to comment #36) > > (In reply to comment #35) > > > the update has been brought in to the main rawhide tree (rather than f12 > > > updates-testing), so just updating any f12 beta install should get the updated > > > version and you can test with that. > > > > > > jon, I second Fernando on the request for an f11 update :) > > > > Please, an update for fc11 would be nice... I see that in the fc12 package it > > says "Resolves #505421" which is a bit optimistic as the bug was created for > > fc11 (but it is good, of course, to have it solved on fc12 onwards! :-). > > I can confirm that the Fedora 12 fix works when ported over to Fedora 11's > latest released module-init-tools package. FEDORA 11 FIX PLEASE??? Why is this being ignored again and again? Is there a reason? I imagine that having released a fix for Fedora 12 (thanks!) means that issuing the same for Fedora 11 is trivial. Please do not abuse the priority field. As per the policy, only maintainers should set it. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Fernando, I believe a possible solution would be to ask for comaintainership in pkgdb: https://admin.fedoraproject.org/pkgdb/packages/name/module-init-tools I believe in "if nobody is fixing it, fix it yourself" (In reply to comment #39) > Please do not abuse the priority field. As per the policy, only maintainers > should set it. Sorry, did not know that, won't happen again. Is there any other way other than comments in the bug report to express urgency about a fix? see comment #40 :) -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers (In reply to comment #42) > see comment #40 :) :-) :-P Sigh... I know, I know. I have not been involved in the Fedora packaging loop in a long long time and I think I don't have the resources to do that - last time I tried it was a huge time sink I could not really afford (I'm not criticizing the process, it just did not work for me). The more I can delegate to Fedora maintainers - specially for non-audio specific packages like this one - the better. I naively thought that something like this would be easy to resolve but apparently it is not going to happen. Time to give up, I guess. And perhaps to start looking for greener pastures. I understand the "you want it you do it" philosophy, that is what I do every day here at CCRMA. But my time has limits and I can't do everything. Which is true for everyone else, of course. (In reply to comment #43) > (In reply to comment #42) > > see comment #40 :) > > :-) :-P > > Sigh... > > I know, I know. I have not been involved in the Fedora packaging loop in a long > long time and I think I don't have the resources to do that - last time I tried > it was a huge time sink I could not really afford Not really. Well, that may be considered true when you are introducing a brand new package. In this case, the package is already in Fedora, so it does not need to go through the review process (I assume that you find this part time consuming). All that need to be done is - cvs checkout - update spec file - cvs commit - make the build - submit to testing/stable (can easily be done via bodhi) It shouldn't take more than a couple minutes, which also makes me wonder why the assignee is refusing doing it. it is easy to resolve, and it will happen. but if you really need it to happen yesterday, that's the only sure way. jon, could you just push the f11 update too? I've wasted more time replying to this bug than it would have taken me to do the fix myself, if I had commit rights. sigh. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers Something interesting came to my attention today. I never read the comment part in /etc/modprobe.d/dist-oss.conf before: # This has been disabled in F11 onwards because it can interfere with the # PulseAudio sound service (a legacy OSS application can prevent PulseAudio # applications from playing sound by preventing PulseAudio from (re-)opening # the sound device). # install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-pcm-oss && /sbin/modprobe snd-seq-device && /sbin/modprobe snd-seq-oss Pulseaudio keeps screwing things up even when it's not installed. Oh boy... >(a legacy OSS application can prevent PulseAudio
># applications from playing sound by preventing PulseAudio from (re-)opening
># the sound device).
So can using alsa directly. I don't see the point in trying to point a finger at oss modules as a direct result of a pulseaudio programming flaw.
pulseaudio does a nice job here but to drop support for oss to accommodate it before legacy apps and drivers have ported away from oss and it is also officially removed from the mainline kernel seems a little premature.
Sound is bad enough on Linux without also limiting the options.
if no-one deprecates OSS, no-one will ever move away from it. The justification in that comment is a little narrow, really we deprecated OSS because apps badly need to stop using it and someone has to give that a push. But this is OT for the bug. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers A fix is being taken care of. Great news, thanks. This is in the 3.7-10 build. I will push to updates. module-init-tools-3.7-10.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/module-init-tools-3.7-10.fc11 can you guys please test the update and confirm that it works? please report to bodhi - the link in comment #52. note you can log in with FAS credentials - there's a 'log in' button at the bottom of the blue bar on the left hand side of the page. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers module-init-tools-3.7-10.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update module-init-tools'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-12174 module-init-tools-3.7-10.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 527075 has been marked as a duplicate of this bug. *** |