Re: /dev/dsp disappeared after power outage



On Mon, 04.02.2008 at 13:00:40 -0700, Bert JW Regeer wrote:
On Feb 4, 2008, at 08:03 , John Baldwin wrote:
On Saturday 02 February 2008 06:40:15 pm Aryeh M. Friedman wrote:
I just had a power outage and when it came back /dev/dsp0.0 was
missing from the devices. the kern module loaded fine and detected
the card correctly (according to dmesg, sysctl and /dev/sndstat) but
neither the above or /dev/pcm exists. After rebooting the problem
remains. Any ideas how to fix it?

Nothing to fix. This is how devfs device cloning works.

Nothing to fix? The sound card that is correctly detected by the kernel
module is not being created in /dev, ONLY after he had a power outage. It is
not even coming back when he reboots the machine.

I don't have any suggestions, I just don't believe "Nothing to fix" is the
right answer.

Sigh,

AFAIK dev cloning works by creating the device nodes when open()ed.
Using 'ls /dev/dsp*' will not open() any devices, so nothing is created.
He should use 'ls /dev/dsp0 /dev/dsp0.0' and then the devices should
appear.

Try it for yourself, do 'ls /dev/dsp*' then 'ls /dev/dsp.8'

Not that anything usefull can be done with ls(1) to get sound :)


Cheers,
Ulrich Spoerlein
--
It is better to remain silent and be thought a fool,
than to speak, and remove all doubt.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: sudden reboot
    ... This won't fix your problem, but it'll keep your machine from rebooting, ... unless the rebooting is caused by a hardware problem. ... The system error log is copied below. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Problems after removing msblaster
    ... the name of the virus, worm, and/or Trojan Horse is important. ... When you find a Symantec Fix Procedure. ... The keys you show may or may ... I don't have any of these files or entries and now the PC's in a rebooting ...
    (microsoft.public.security.virus)
  • Re: deactivating Automatic Restart
    ... This won't fix your problem, but it'll keep your machine from rebooting, ... unless the rebooting is caused by a hardware problem. ... Automatically restart | ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Problems after removing msblaster
    ... the name of the virus, worm, and/or Trojan Horse is important. ... When you find a Symantec Fix Procedure. ... I don't have any of these files or entries and now the PC's in a rebooting ...
    (microsoft.public.security.virus)
  • Re: Problems after removing msblaster
    ... the name of the virus, worm, and/or Trojan Horse is important. ... When you find a Symantec Fix Procedure. ... I don't have any of these files or entries and now the PC's in a rebooting ...
    (microsoft.public.security.virus)