At Mon, 16 Dec 2002 21:55:01 +0100, Friedrich Ewaldt wrote: > > >especially, please check the following: > > > >- loading the module and unloading it immediately works? > > > yep. /proc/asound builds up immediately, lsmod shows snd, ... modules > immediately after modprobing ok.
> >- the port and irq number are correct, i.e. match with the resources > > listed on lspci? > > > info from /proc/asound/cards: > FM801-AS at 0xec00, irq 10 > > lspci output: > 00:0b.0 Multimedia audio controller: Fortemedia, Inc Xwave QS3000A > [FM801] (rev a0) > Subsystem: Fortemedia, Inc: Unknown device 1319 > Flags: bus master, medium devsel, latency 40, IRQ 10 > I/O ports at ec00 [size=128] > > (IRQ 10, I/O ec00 also shown by window?) ok, looks fine, too. > >- playback (via aplay) works? does the system hang up at the start, > > during the playback or at the stop? > > > playback works. I even hear the correct sound when I plug in headphones :-) > The system locks when stopping playback. (If only I had infinite audio > files...) hmm... > >- during the playback, does the count in /proc/interrupts increases? > > (check with another terminal) > > > > > the count at '10' (I assume this is irq 10) increases during playback by > approx. 10-15 per second. ok, that's normal. > >a typical reason of such a hang up is either the wrong spinlocks, > >unexpected infinite loops in the driver code, or the interrupt > >storms. if it's the interrupt storm, then it can be related with the > >hardware, often motherboard chipset, or BIOS version. > >or, could it be because of ACPI? did you apply it? > > > > > I unselected ACPI before compiling the kernel. ACPI is switched off in > the bios. (I have only APM running as power management) ok, then it shouldn't be a problem. perhaps do you see something out in the kernel messages on console 10 (alt+f10) when the system hangs? well, after hang up, you cannot switch the console, but you can start aplay on a certain console, switch with alt+f10 and wait until the playback is finished. anyway, could you try the attached patch? if you see something on the kernel messages such like kernel panic or oops, we can track the point... ciao, Takashi
fm801-intr-fix.dif
Description: Binary data