Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Blechmann <tim@klingt.org>
Cc: alsa-devel@alsa-project.org, linux-pcmcia@lists.infradead.org,
	Wolfram Sang <w.sang@pengutronix.de>
Subject: Re: hard freezes with hdsp with cardbus/pci adapter card
Date: Tue, 11 Aug 2009 09:26:19 +0200	[thread overview]
Message-ID: <4A811D1B.2020709@klingt.org> (raw)
In-Reply-To: <4A811076.6000603@klingt.org>


[-- Attachment #1.1: Type: text/plain, Size: 1867 bytes --]

hm, actually, i think the issue is related to the pci latency of the
cardbus controller.

after changing the latency timer of the card to 0xff, i am running the
system for about an hour without freeze. the new output of lspci is:

06:01.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller
(rev 01)
	Subsystem: ENE Technology Inc CB1410 Cardbus Controller
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 255, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 17
	Region 0: Memory at fb600000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=06, secondary=07, subordinate=0a, sec-latency=176
	Memory window 0: c4000000-c7fff000 (prefetchable)
	Memory window 1: c8000000-cbfff000
	I/O window 0: 0000e000-0000e0ff
	I/O window 1: 0000e400-0000e4ff
	BridgeCtl: Parity+ SERR+ ISA- VGA- MAbort- >Reset- 16bInt- PostWrite+
	16-bit legacy interface ports at 0001
	Kernel driver in use: yenta_cardbus
	Kernel modules: yenta_socket


i am not sure, whether it is related, but the hdsp driver sets its
latency timer to 0xff as well, commented with:

	/* From Martin Bjoernsen :
	    "It is important that the card's latency timer register in
	    the PCI configuration space is set to a value much larger
	    than 0 by the computer's BIOS or the driver.
	    The windows driver always sets this 8 bit register [...]
	    to its maximum 255 to avoid problems with some computers."
	*/

maybe the ene bridge doesn't like to have devices connected, with a
higher latency timer value, that it is using itself?

tim

-- 
tim@klingt.org
http://tim.klingt.org

Every word is like an unnecessary stain on silence and nothingness
  Samuel Beckett


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2009-08-11  7:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-10 21:32 hard freezes with hdsp with cardbus/pci adapter card Tim Blechmann
2009-08-10 21:56 ` Florian Faber
2009-08-11  5:06 ` Wolfram Sang
2009-08-11  6:32   ` Tim Blechmann
2009-08-11  7:26     ` Tim Blechmann [this message]
2009-08-11  9:25       ` Wolfram Sang
2009-08-11  9:47         ` Tim Blechmann
2009-08-11 15:19           ` Tim Blechmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A811D1B.2020709@klingt.org \
    --to=tim@klingt.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-pcmcia@lists.infradead.org \
    --cc=w.sang@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox