Skip to contentSkip to conversation

dmasound module: interrupt (de)allocation panic

DISCUSSION Geert Uytterhoeven 1 participant 1 message Sep 20, 1999 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines · Joseph Garcia

I've caught a problem in interrupt deallocation of the dmasound module. According to the top of the source file, you have done most of the work in this area, so i figured you would be most qualfied in providing insight in fixing this. This came to my attention while attempting to improve the wallstreet

I worked on the Amiga part of the driver only.

Quoted 26 lines

sleep code so that sound will wake up as well, in which modularity code would come in handy. I am aware that Benjamin Herrenschmidt's and Paul Mackerras' attempts at resolving this sleep/sound issue haven't been successful.

Here are my notes on the issue:

In order to make the module, i had to force "machine compatibility" as a g3 powerbook to prevent a linker error. (not to important. i usually compile it in anyway)

upon installing and removing, a second install results in a interrupt initialization failure, however sound works.

Installing the module, removing it, sleeping it, and reinstalling it still yeilds same results as if no sleep at all (sound works, interrupt init fail)

if the system is slept with the sound installed or compiled in, afterwards, the system acts as if it works, though there is no output. (this is the original problem we have been having trouble with)

the module can be removed the second time, but the kernel panics upon a 3rd install.

the kernel also panics in a simple "strnlen" call (PC/System.map tracked) when cat-ting the /proc/interrupts when the module has been removed, even just once.

Quoted 13 lines

All this is with just the dmasound as a module, and not the soundcore (sc is compiled in). (this shouldn't matter, right?)

Any insight on this would be greatly appreceated.

Thanks for your time.

Signature · 3 lines
Joseph P. Garcia      [email protected]      [email protected]
CS Undergraduate                      Student Employee - Systems Programmer
University of Wisconsin - Madison                            UW Lidar Group

Greetings,

Geert

--
Geert Uytterhoeven ----------------- Sony Suprastructure Center Europe (SUPC-E) [email protected] ------------------- Sint Stevens Woluwestraat 55 Phone +32-2-7248608 Fax +32-2-7262686 ---------------- B-1130 Brussels, Belgium

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/