NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /dev files, mfs, audio, startup etc.



On Thu, Sep 04, 2008 at 11:44:22PM +0300, Aleksey Cheusov wrote:
> For some unknown reason /dev/audio, /dev/mixer and /dev/sound
> files are not present on my system.
> 
> dmesg:
>   auvia0 at pci0 dev 17 function 5: VIA Technologies VT8233A AC'97 Audio (rev 
> 0x40)
>   auvia0: interrupting at irq 10
>   auvia0: ac97: Avance Logic ALC200/ALC201 codec; headphone,
>             18 bit DAC, 18 bit ADC, Realtek 3D
>   auvia0: ac97: ext id 605<AC97_22,AMAP,SPDIF,VRA>
>   audio0 at auvia0: full duplex, mmap, independent
>   isa0 at pcib0
> 
> Q1) Why these device files are absent?

missing MAKEDEV invocation during system installation or startup
scripts?

> According to NetBSD Guide
>     (http://www.netbsd.org/docs/guide/en/chap-audio.html)
> in this case it is possible to create these devices by hand.
> 
> 
> chen# df -i /dev
> Filesystem  1K-blocks      Used     Avail Capacity  iused    ifree  %iused  
> Mounted on
> mfs:18             56        48         5    89%     1157      121    90%   
> /dev
> chen# cd /dev/
> chen# ./MAKEDEV all
> 
> /dev: create/symlink failed, no inodes free
> mknod: ttyCZ0017: No space left on device
> /dev: create/symlink failed, no inodes free
> mknod: dtyCZ0017: No space left on device 
> /dev: create/symlink failed, no inodes free
> mknod:

try ./MAKEDEV all_md ?  whatever is making your /dev mfs isn't creating
enough inodes.  find out where it is being created.

> Q3) What should I do in order to enable my audio card.
>     Some time ago, it definitely worked just fine.
> 
> NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC)
>        #0: Wed Jul 16 00:28:58 EEST 2008
>        
> cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC 
> i386
> 
> P.S.
> Some other /dev files are absent too (after startup).
> /dev/pf, /dev/pts, /dev/ptm and many others.
> 
> What files are created at NetBSD startup?
> Where this process is documented?

when did NetBSD switch to mfs /dev ?  

I've never seen this problem, but I have /dev on my (ffs) root
partition.

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | 
agrier%poofygoof.com@localhost


Home | Main Index | Thread Index | Old Index