Re: es1371 freezes 2.4.0 hard

Jeff Garzik (jgarzik@mandrakesoft.com)
Sat, 27 Jan 2001 09:22:45 -0500


David Bustos wrote:
> Quoth Jeff Garzik on Thu, Jan 25, 2001 at 10:24:13AM -0500:
> > What happens if you remove the call to pci_enable_device() in the source
> > code, drivers/sound/es1371.c?
>
> That seems to do it.

Ok. For a temporary fix, there ya go.

But removing pci_enable_device is incorrect; it merely avoids what
appears to be a bug with your Via irq routing. Would it be possible for
you to edit linux/arch/i386/kernel/pci-i386.h, and change the line near
the top from
#undef DEBUG
to
#define DEBUG 1
and then send the output of 'dmesg -s 16384' to linux-kernel (and CC
me)? That will dump your PCI IRQ routing information, among other
details.

Step two, "modprobe es1371" with pci_enable_device -in- the code, and
with debugging enabled as described above. IIRC it should print out a
few more lines of debugging information that will be helpful. Since we
are dealing with a hard lock, these last few lines of debugging info
might have to be copied via a serial console, or by hand.

One last question... is this an SMP machine? If so, let me know if
booting with "noapic" option on the command line fixes things.

Regards,

Jeff

-- 
Jeff Garzik       | "You see, in this world there's two kinds of
Building 1024     |  people, my friend: Those with loaded guns
MandrakeSoft      |  and those who dig. You dig."  --Blondie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/