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.
|
 |
04-25-2006, 08:41 PM
|
#1
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
alsa problem after the latest slackware-current update
After I updated my system I have a problem with alsa.
Although alsaconf runs fine, the sound card is detected and the modules are loaded at boot, I get a no soundcard found message in the boot process. The only way to overcome this is by running hotplug.
I'm not sure but I think it must have something to do with the new udev not building the device nodes.
Has anybody had the same problem?
I'm using the slackware-current 2.6.16.9 kernel
Last edited by perfect_circle; 04-25-2006 at 08:44 PM.
|
|
|
04-25-2006, 09:37 PM
|
#2
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Original Poster
Rep:
|
This is strange.
If I run /etc/rc.d/rc.udev afterwards it creates the /dev/sound/* files and the sound works, but when udev is executed in the boot process it doesn't.
|
|
|
04-25-2006, 09:47 PM
|
#3
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Original Poster
Rep:
|
I seem to be facing the problem for which the 090 was not included instead:
Quote:
I've had other reports of hardware that wasn't hotplugged correctly, too (and ran into some myself). Mostly it seems to be a question of figuring out the proper place in the boot process to put udev, but there are also a lot of things we're left to figure out concerning the udev rules. We'll get there, but maybe not in the next release.
|
|
|
|
04-26-2006, 02:51 AM
|
#4
|
Member
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770
Rep:
|
According to kernel.org the latest 2.6 fixes a hotplug race condition resent in the most recent Slack 2.6 kernel.
|
|
|
04-26-2006, 04:42 AM
|
#5
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
To me - looking at the latest ChangeLog - it seems that you will need both udev and hotplug enabled (chmod +x /etc/rc.d/rc.hotplug ; chmod +x /etc/rc.d/rc.udev) for 2.6 kernels.
Also note that for the 2.6 kernel, if udev is enabled, the old hotplug will not be used. Udevsend will take the place of the hotplug program for handling hotplugging events - and this is configured in rc.hotplug.
Eric
|
|
|
04-26-2006, 05:48 AM
|
#6
|
Member
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225
Rep:
|
The same behaviour here:
Without udev no devices, with udev and without hotlug no soundcard!
With udev and hotplug there is no problem with my soundcard, only the boot process needs more time.
Fluxx.
|
|
|
04-26-2006, 09:37 AM
|
#7
|
Member
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346
Rep: 
|
Well if your soundcard is compiled as a module then it won't show up during boot, if it's in the kernel it will. As module alsaconf will detect it, if it's in the kernel it won't. Dunno why...
Add your module name to /etc/rc.d/rc.modules and it will (hopefully work).
|
|
|
04-26-2006, 01:17 PM
|
#8
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Original Poster
Rep:
|
Quote:
Originally Posted by pdw_hu
Well if your soundcard is compiled as a module then it won't show up during boot, if it's in the kernel it will. As module alsaconf will detect it, if it's in the kernel it won't. Dunno why...
Add your module name to /etc/rc.d/rc.modules and it will (hopefully work).
|
This won't make any difference at all.
In rc.S the boot script the /etc/rc.d/rc.udev is executed in line 40 and the /etc/rc.d/rc.modules is executed in line 200.
and then rc.alsa is executed in rc.M. I don't think this will make any difference. SO the alsa modules are loaded after rc.udev
So the question is Am I obligated to use hotplug?
Last edited by perfect_circle; 04-26-2006 at 01:19 PM.
|
|
|
04-26-2006, 03:15 PM
|
#9
|
Member
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225
Rep:
|
That was my first idea and I tried it immediately, without any positive effect. For me the only solution is to start hotplug and have a proper working soundcard.
No problem with a soundcard, a little problem with an old pc with an isa-pnp soundchip (onboard). With this machine hotplug needs about 40 seconds to finish, to add a "&" in rc.M doesn't help, because then the soundcard isn't detected in the right time and rc.alsa runs before.
No more ideas here ...
Fluxx.
|
|
|
All times are GMT -5. The time now is 05:52 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
|
|