Re: Looking for a way to trigger error on network adapter

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 21 Feb 2001 13:55:13 +0000 (GMT)


> I want to see how my code bahaves during rare (?) events: an overflow of
> the RX fifo (256 bytes) and a TX underrun. It's my understanding that if the
> adapter pains at DMAing, those errors should be triggered.
> Could I/O at a inocuous location (a well-choosen PCI register ?) be enough
> for that ?

Install XFree86 4.0 on a matrox card. Enable pci retries in the config. Wave
large windows around while running a heavy graphical app.

Thats certainly enough to make several sound cards barf and sulk. The matrox
has a bencmarketing feature where they lock the pci bus to get better winbench
type numbers. They arent the only people who do it and thankfully you can turn
it off, but for this specific case its rather useful 8)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/