Sponsored Content
Operating Systems BSD FreeBSD 8.1 and OSS: system freezing Post 302474556 by nathanbrownitt on Wednesday 24th of November 2010 02:33:53 PM
Old 11-24-2010
FreeBSD 8.1 and OSS: system freezing

Hey all,

This is my first post and I'm a brand new unix user. Just to let ya know, my technical knowledge consists of windows and linux(Ubuntu, Fedora, Sabayon, and Arch Linux), so I'm not a complete NOOB at using unix-like OSes. Anyway, I installed FreeBSD 8.1 yesterday and everything is going well: system is updated, everything compiled from source just fine, and ports tree is updated. However, I am having a big problem with getting my sound to work. I know that my sound card(Creative x-fi extreme gamer) is not natively supported in unix, so I installed OSS. After I installed it I added oss_enable="YES" into /etc/rc.conf. When I restart my system, it freezes as soon as I log in to gnome: everytime! The system completely locks up. The only way I can use my system, is if I disable OSS. Furthermore, I've been using the system(with OSS disabled) for several hours now and it's not freezing at all. OSS has to be the problem.

That's why I need your help. I'm lovin FreeBSD, but I'd love to have some sound.
Please help me resolve this issue.

My PC specs:
Motherboard: ASUS Striker Extreme
CPU: Intel C2D
RAM: 6GB DDR2
GPU: Nvidia 9800GTX+
HDD: 1TB Western Digital
SoundCard: Creative X-FI Extreme Gamer

I appreciate your feedback,

Thanks,

Nathan
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

CDE freezing

I am running Solaris 8 intel and recently my Common Desktop environment will not load. I enter the root username and password at the prompt, it switches to the CDE screen and the freezes. The OpenWindows environment works fine. I tried with a regular username (not root) and I get the same resutls.... (2 Replies)
Discussion started by: dangral
2 Replies

2. UNIX for Dummies Questions & Answers

Installing FreeBSD on old system?

I've never had trouble installing freebsd or any linux/unix system on any computer i've tried to do it on. I just recently aquired a Packard Bell, 75mhz Pentium, 482 i believe. Im having difficulty installing it. I have FreeBSD 5.1 on cd and the computer wont even recognize the cd on boot, so it... (2 Replies)
Discussion started by: MadProfessor
2 Replies

3. SCO

SCO Unix 5.0.5 freezing

Hie I use SCO Unix 5.0.5 as my operating system and i have been having the following problem for the past couple of days : After every 3 hours or more , my system freezes and all users are locked out .I can not do anything even on the console . Each time i have to press the reset button... (2 Replies)
Discussion started by: babby
2 Replies

4. BSD

FreeBSD Stackable File System

how can we create a folder invisible to the userspace, i.e no flavor of "ls" should be able to retrieve it, it should exist and we should be able to work with it like any other folder. Specifically, hat changes do we need to make in the kernel... I am thinking of a whiteout entry but not sure... (3 Replies)
Discussion started by: warrior1234
3 Replies

5. Solaris

Jet/Jumpstart installation freezing

Hi guys, I have a problem with installing new Solaris servers via jet/jumpstart (tried both). I`ve configured server, created profile for a client, issued {1} boot net -v install and went to get some cofee... After I came back, client was able to load system from server, get IP and,... (4 Replies)
Discussion started by: masloff
4 Replies

6. SCO

X Server -> keyboard and mouse are freezing

hi I've configured X Server using Video Configuration Manager on SCO 5.0.6, but the keyboard and mouse are freezing after 5 minutes on the graphical login mask. ---------- Post updated at 01:59 PM ---------- Previous update was at 02:43 AM ---------- BTW I finished the configuration,... (2 Replies)
Discussion started by: ccc
2 Replies

7. BSD

How to get the FreeBsd system information?

Hi, How to get the FreeBsd system hardware and software basic information using terminal command with guest login? Here below i have specified some of the information i need. Please have a look at this and guide me. OS Name: OS Version : OS Manufacturer: OS... (2 Replies)
Discussion started by: forumguest
2 Replies

8. Hardware

Laptop freezing issues

I am having Laptop freezing issues. Whenever I try to use Firfox and vlc, chrome and vlc, firefox and chrome, or anything similar to that my computer freezes. I always have to kill one of the processes before I can use my laptop again. I am guessing this is a hardware issue because when I move... (5 Replies)
Discussion started by: cokedude
5 Replies

9. Infrastructure Monitoring

Need help getting Loadrunner to work with freeBSD system monitoring rstatd/rup/rsysinfo

Hi there, I'm trying to use loadrunner with freebsd system monitoring tools like rstatd/rup/rsysinfo, but I keep getting this error from loadrunner: Monitor name :UNIX Resources. Internal rpc error (error code:4). Machine: 192.168.1.15. Hint: Check that RPC on this machine is up and running.... (0 Replies)
Discussion started by: echan00
0 Replies

10. Linux

Linux keeps freezing on UFW BLOCK

Hi everyone, I have had trouble getting several versions of Linux stable on my machine over the last few months. I do not think the issue is with the machine. Windows ran fine on it for a long time. The current issue is that whenever I lock the screen then come back after a long time I find... (2 Replies)
Discussion started by: mojoman
2 Replies
SND_EMU10KX(4)						   BSD Kernel Interfaces Manual 					    SND_EMU10KX(4)

NAME
snd_emu10kx -- Creative SoundBlaster Live! and Audigy sound cards device driver SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file: device sound device snd_emu10kx Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5): snd_emu10kx_load="YES" DESCRIPTION
The snd_emu10kx bridge driver allows the generic audio driver sound(4) to attach to Creative sound cards based on the EMU10K1, CA0100, CA0101, CA0102 and CA0108 DSPs. The snd_emu10kx sound cards have a PCM part, which is accessible through one to five pcm(4) devices (see MULTICHANNEL PLAYBACK for details), and MPU401-compatible MIDI I/O controller, which is accessible through the midi device. Wave table synthesizer support is not available. HARDWARE
The snd_emu10kx driver supports the following sound cards: o Creative Sound Blaster Live! (EMU10K1 Chipset). Both PCM and MIDI interfaces are available. o Creative Sound Blaster Audigy (CA0100 and CA0101 Chipset). PCM and two MIDI interfaces available. o Creative Sound Blaster Audigy 2 and Creative Sound Blaster Audigy 4 (CA0102 Chipset). PCM support is limited to 48kHz/16 bit stereo (192kHz/24 bit part of this chipset is not supported). o Creative Sound Blaster Audigy 2 Value (CA0108 Chipset). PCM support is limited to 48kHz/16 bit stereo (192kHz/24 bit part of this chipset is not supported). There is no MIDI support for this card. The snd_emu10kx driver does not support the following sound cards (although they have names similar to some supported ones): o Creative Sound Blaster Live! 24-Bit, identified by FreeBSD as "emu10k1x Soundblaster Live! 5.1". o Creative Sound Blaster Audigy LS / ES, identified by FreeBSD as "CA0106-DAT Audigy LS". o All other Creative sound cards with -DAT chipsets. o All Creative X-Fi series sound cards. MULTICHANNEL PLAYBACK
By default the snd_emu10kx driver is loaded with multichannel playback capabilities enabled. If you do not set the hint.emu10kx.0.multichannel_disabled option in your loader.conf(5) configuration file you will get up to five DSP devices, one for each sound card output. You can use additional software (like audio/pulseaudio from The Ports Collection) to do sound stream demultiplexing. Only ``FRONT'' output can play and record sound from external sources (like line or S/PDIF inputs). MULTICHANNEL RECORDING
By default multichannel recording capabilities are not enabled when you load the snd_emu10kx driver. If you enable the hint.emu10kx.0.multichannel_recording option in loader.conf(5) you will get one more DSP device that is rate-locked to 48kHz/16bit/mono. This is actually 48kHz/16bit/32 channels on SB Live! cards and 48kHz/16bit/64channels on Audigy cards, but the current implementation of the sound subsystem does not support such an amount of PCM channels. This device can not be opened for read, thus confusing many applications. Within a multichannel stream, the first half (0-15 or 0-31) is a copy of all DSP outputs, the second half (15-30 or 32-63) is a copy of some DSP inputs. On Live! cards the last substream (31) is used as a sync stream and is always set to 0xc0de. Audigy cards do not need such sync data, because a stream always starts with substream 0. SB Live! substream map (in byte offsets, each substream is 2 bytes LE) Offset Substream +0x00..+0x1E PCM streams 0..15 +0x20, +0x22 Empty +0x24..+0x2A PCM inputs: front left, front right, rear left, rear right, center, sub +0x2C..+0x3C DSP inputs 0..8: +0x3E sync substream (0xc0de) Audigy substream map (in byte offsets, each substream is 2 bytes LE) Offset Substream +0x00..+0x3E PCM streams 0..31 +0x40..+0x5E PCM inputs: front LR, rear LR, center, sub, ... +0x60..+0x7E DSP inputs 0..16 OSS MIXER CONTROLS
These are the controls available through the standard OSS programming interface. You can use mixer(8) to change them. On EMU10K1-based cards the OSS mixer directly controls the AC97 codec. On newer cards the OSS mixer controls some parameters of the AC97 codec and some DSP-based mixer controls. "vol" mixer control for the overall sound volume. "pcm" mixer control for the PCM playback volume. It controls only front output volume in multichannel mode and all output volume in single channel mode. "rec" mixer control acts very differently on EMU10K1 and other cards. On EMU10K1 cards it controls the AC97 codec recording level. On non- EMU10K1 cards it controls the amount of AC97 ``stereo mix'' entering the DSP. AC97 recording level and AC97 recording source are fixed on CA0100, CA0101, CA0102 and CA0108 cards. The AC97 recording levels are always set to maximum and recording source is always ``stereo mix''. "dig1" is a CD S/PDIF (on-card) volume control "dig2" is an AudigyDrive S/PDIF (Audigy series) or TOSLink (SB Live! series) volume control "dig3" is an on-card S/PDIF volume control "line2" is AudigyDrive "Line In 2" volume control "line3" is AudigyDrive "AUX In 2" volume control Other OSS mixer controls control the inputs of the AC97 codec. PRIVATE DEVICE CONTROLS
You can control some of EMU10Kx's operation and configuration parameters through dev.emu10kx.<X> sysctls. These sysctl(8) values are tempo- rary and should not be relied upon. DRIVER CONFIGURATION
Loader tunables are used to set driver configuration. Tunables can be set at the loader(8) prompt before booting the kernel or they can be stored in /boot/loader.conf. These tunables cannot be changed from a machine sysctl(8) entry after boot, but you can change them using kenv(1) before loading the snd_emu10kx driver. hint.emu10kx.<X>.disabled Disables loading a driver instance. hint.emu10kx.<X>.multichannel_disabled Disables multichannel playback support, when one card is represented as several PCM devices. hint.emu10kx.<X>.multichannel_recording Enables experimental multichannel recording support. hint.emu10kx.<X>.debug Set debug output level. 0 No additional debug options enabled 1 Enables all DSP outputs to be connected, even those that are known to be unused on a particular card. 2 Additional debug messages about in-driver events will be printed. 2 Additional debug messages will be printed when memory allocation fails. FILES
/dev/emu10kx? snd_emu10kx management interface SEE ALSO
sound(4) HISTORY
The snd_emu10kx device driver first appeared in FreeBSD 7.0. AUTHORS
The PCM part of the driver is based on the snd_emu10k1(4) SB Live! driver by Cameron Grant <cg@freebsd.org>. The MIDI interface is based on the snd_emu10k1(4) MIDI interface code by Mathew Kanner <matk@freebsd.org>. The snd_emu10kx device driver and this manual page were written by Yuriy Tsibizov. BUGS
The driver does not detect lost S/PDIF signals and produces noise when S/PDIF is not connected and S/PDIF volume is not zero. The PCM driver cannot detect the presence of Live!Drive or AudigyDrive breakout boxes and tries to use them (and list their connectors in the mixer). The MIDI driver cannot detect the presence of Live!Drive or AudigyDrive breakout boxes and tries to enable the IR receiver on them anyway. BSD
May 28, 2008 BSD
All times are GMT -4. The time now is 01:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy