: alsamixer crashes system when snd-ioctl32 is loaded
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-21-2004 21:26 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.
======================================================================
----------------------------------------------------------------------
sjoerd - 11-21-04 17:44
----------------------------------------------------------------------
A friend of mine just tried both my patches on his blade 100. The cvs patch against 2.6.10-rc2 did indeed freeze his machine. Linux 2.6.9 with the patch that was on the sparclinux list worked fine.. So either i forgot to forward port something or something else was broken..
On a side note, his sound didn't have any distorsions. So the bad quality i'm hearing is the alsa driver for my card and not the 32 bit emulation layer
----------------------------------------------------------------------
eradicator - 11-21-04 21:26
----------------------------------------------------------------------
ok, good point about the code testing on different archs, and you're right about the speedup being minimal... I'm just alays nervous about changing something for other architectures when I can't test it... I still want to leave in the #ifdef stuff around the indirect code as we didn't really "fix" that so much as forced it to return an error...
I'll try out 2.6.9 with your list patch and compare to see what's going wrong...
Also, I'm not familiar with "__attribute__((packed));" What does that do, and why was that removed from the ends of the structs?
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 11-20-04 18:15 sjoerd Issue Monitored: sjoerd 11-21-04 03:05 eradicator Note Added: 0002482 11-21-04 11:34 eradicator File Added: alsa-driver-1.0.7.ioctl32.patch
11-21-04 11:39 eradicator Note Added: 0002485
11-21-04 11:49 eradicator File Added: alsa-driver-1.0.7.ioctl32.patch
11-21-04 11:50 eradicator Note Added: 0002486 11-21-04 11:57 eradicator Note Added: 0002487 11-21-04 12:54 sjoerd Note Added: 0002488 11-21-04 17:44 sjoerd Note Added: 0002489 11-21-04 21:26 eradicator Note Added: 0002490
======================================================================
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/