Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-26-04, 06:43 AM   #1
Valheru
Registered User
 
Join Date: Jan 2004
Posts: 31
Default NFORCE 0283 nvsound module : Error : illegal write

Is any dev. aware of this issue? I am running Gentoo Linux 2004.2 with the 2.6.8-r2 kernel. I have sound support (the soundcore.ko module otherwise) built into the kernel statically, as I found out that this resolves the error Arts otherwise generates when using the nvsound module. Incidently it also resolves the nvmixer application manager from crashing with a segfault, which happens if you build sound support as a module.

I can get the module loaded with this configuration (OSS Sound support IS configured as a module BTW, as is ALSA as I am currently using ALSA's intel8x0 module for sound, but it doesn't work either if I leave ALSA support out). My JVC reciever even lights up in Dolby Digital mode, an both analogue and digital outputs are enabled in nvmixer. I just can't play ANY sound whatsoever. And when I do a "cat /usr/kde/3.32/share/sound/pop.wav >> /dev/sound/dsp" I recieve the error "Error : illegal write". Arts can't play sound either, and I see no MIDI mixer in ARTS etiher, something I do see with the intel8x0 ALSA driver. Both /dev/sound/dsp and mixer are there with chmod 660 BTW. And I added alias sound-slot-0 nvsound to /etc/modules.d/aliases and did a source /etc/profile && env-update && modules-update. Still no sound over either the analogue desktop speakers or the digital hookup via the SPDIF to my reciever. Very frustrating.

Last edited by Valheru; 08-26-04 at 12:03 PM.
Valheru is offline   Reply With Quote
Old 09-17-04, 04:48 PM   #2
Kaitain
AOA*****s.com
 
Join Date: Aug 2004
Location: London, UK
Posts: 5
Default Re: NFORCE 0283 nvsound module : Error : illegal write

Same issue here:

Using kernel-2.6.7-gentoo-r11 it all works just fine - the module inserts and I get working sound without that annoying hiss inherent in the snd-intel8x0 module.

Using kernel-2.6.8-gentoo-r4 I get this error popping up in KDE:
Code:
Sound server fatal error:
AudioSubSystem::handleIO: write failed
len = -1, can_write = 4096, errno = 29 (Illegal seek)
The relevant output from dmesg is:
Code:
Nvsound: Nvidia Audio Init Module, 21:31:02 Sep 17 2004 version 1.0-0
ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:06.0 to 64
Nvsound: NVIDIA CK8S Audio found at IO 0xc000 and 0xbc00, IRQ 5
Nvsound: Aci_device 000001003fcd9800 Apu_device 0000000000000000
Nvsound: DEV MIXER 0 DEV AUDIO 3
Nvsound: Set format as 10
Nvsound: Unable to change the Record SampleRate, set back to 48000
Nvsound: Value a000c
Nvsound: fragment size a fragnum c
Nvsound: Nvaudio_release
Nvsound: Set format as 10
Nvsound: Value a000c
Nvsound: fragment size a fragnum c
Nvsound: Nvaudio_release
Nvsound: Set format as 10
Nvsound: Value a000c
Nvsound: fragment size a fragnum c
(This obtained from a sound server restart)

What's interesting is that lsmod suggests that the module inserts correctly, but that it isn't linked to the other components that use it:
Code:
Module                  Size  Used by
snd_seq_oss            37632  0
snd_seq_midi_event      9472  1 snd_seq_oss
snd_seq                58560  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          9292  2 snd_seq_oss,snd_seq
snd_pcm_oss            58408  0
snd_pcm               109452  1 snd_pcm_oss
snd_page_alloc         12944  1 snd_pcm
snd_timer              28232  2 snd_seq,snd_pcm
snd_mixer_oss          20544  1 snd_pcm_oss
snd                    62632  8 snd_seq_oss,snd_seq_midi_event,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
nvsound              1854096  0
nvidia               5290644  12
I used essentially the same config for kernel 2.6.8 as for 2.6.7, only changing those bits that really needed changing. The only parts of my system built as modules are for sound and video.

Software:
2.6.8-gentoo-r4 compiled for x86_64
gcc 3.3.4
glibc 2.3.4

Relevant Hardware:
Epox 8KDA3+

I'll use the intel8x0 module for now, but that hissing is doing my nut, so if anyone has any clues why it should suddenly stop working in kernel 2.6.8 I'd be pleased to find out
Kaitain is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 02:44 PM
Error messages... HELP!!!! Imperito NVIDIA Linux 3 09-24-02 11:46 PM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 09:23 AM
Need help to get the X to work on my Acer TravelMate 630 knchee NVIDIA Linux 16 09-19-02 11:16 PM
RH7.3 and nForce - can't find the module dmw400 NVIDIA Linux 4 08-05-02 01:14 PM

All times are GMT -5. The time now is 08:18 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.