Skip to contentSkip to conversation

: alsamixer crashes system when snd-ioctl32 is loaded

ALSA - driver 0000167 [email protected] 1 participant 1 message Nov 20, 2004

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=167>
======================================================================
Reported By: bons78
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   167
Category:                   SPARC - cs4231
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               debian/unstable
Kernel Version:             linux-2.6.4+
======================================================================
Date Submitted:             03-30-2004 00:02 CEST
Last Modified:              11-20-2004 16:36 CET

======================================================================
Summary: alsamixer crashes system when snd-ioctl32 is loaded
Description:
alsamixer crashes system hard when snd-ioctl32 is loaded. System still responds to some sysrq commands (sync remount boot show) - sysrq (term killall) has no effect.
There's no chance to do any other keyboard input. No logs, no traps, no oops. Machine still responds to ping,(even port 22 stays open) but login via ssh is not possible.

alsamixer, of course, is useless without the ioctl32 wrapper loaded - but does not crash the system then.
So I suspect a problem in the ioctl32 wrapper.

======================================================================

----------------------------------------------------------------------
eradicator - 11-20-04 11:14
----------------------------------------------------------------------
I updated the patch to fix a few more of the broken ioctl32 calls...
http://bugs.gentoo.org/attachment.cgi?id=44338&action=edit

All that's left is pcm32.c... hopefully I'll get to it sometime this weekend...

----------------------------------------------------------------------
sjoerd - 11-20-04 16:36
----------------------------------------------------------------------
With this patch i can get sound out of my U5 :).. Although the quality isn't very good, some kind of background noise in alsaplayer. A friend of mine told me that he also had that when using alsa's oss emulation, so that's probably the driver not the emulation layer..

I've not put #ifdef sparc everywhere like eradicator does.. Using user pointers directly from get_fs() == KERNEL_DS is wrong everywhere. It just happens to work on some architectures

Also the function _snd_ioctl32_ctl_elem_value now always returns -EINVAL when indirect data is used. I couldn't find out how that works..

Issue History
Date Modified Username Field Change
======================================================================

03-30-04 00:02 bons78         New Issue                                    
03-30-04 00:02 bons78         Distribution              => debian/unstable 
03-30-04 00:02 bons78         Kernel Version            => linux-2.6.4+    
04-13-04 19:41 tiwai          Note Added: 0000795                          
07-04-04 22:32 weeve          Note Added: 0001381                          
07-05-04 08:09 eradicator     Issue Monitored: eradicator                    
11-19-04 05:45 weeve          Note Added: 0002474                          
11-19-04 05:46 weeve          Issue Monitored: weeve                       
11-19-04 05:55 rlrevell       Note Added: 0002475                          
11-20-04 10:23 eradicator     Note Added: 0002478                          
11-20-04 11:14 eradicator     Note Added: 0002479                          
11-20-04 16:36 sjoerd         File Added: sparc-alsa-cvs.patch                  

11-20-04 16:36 sjoerd Note Added: 0002480
======================================================================

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8