LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-25-2006, 08:41 PM   #1
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
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.
 
Old 04-25-2006, 09:37 PM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Original Poster
Rep: Reputation: 53
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.
 
Old 04-25-2006, 09:47 PM   #3
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Original Poster
Rep: Reputation: 53
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.
 
Old 04-26-2006, 02:51 AM   #4
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
According to kernel.org the latest 2.6 fixes a hotplug race condition resent in the most recent Slack 2.6 kernel.
 
Old 04-26-2006, 04:42 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119Reputation: 8119
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
 
Old 04-26-2006, 05:48 AM   #6
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
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.
 
Old 04-26-2006, 09:37 AM   #7
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
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).
 
Old 04-26-2006, 01:17 PM   #8
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Original Poster
Rep: Reputation: 53
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.
 
Old 04-26-2006, 03:15 PM   #9
Fluxx
Member
 
Registered: Aug 2005
Location: Bavaria, Germany
Distribution: Slackware (Current)
Posts: 225

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
did a slackware-current update nuke .Xmodmap for anyone else? Danus ex Slackware 11 09-15-2005 06:35 PM
slackware-current and alsa equinox Slackware 13 05-10-2005 04:06 AM
Alsa broke while upgrading to Slackware-current Almighty-Bob Linux - Software 5 03-16-2005 09:07 PM
alsa / slackware current / Intel i810 hjles Slackware 14 01-25-2005 07:11 AM
Cant eject cdrom after slackware-current update windsok Slackware 3 09-19-2003 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration