From owner-freebsd-hackers Sun Dec 1 6:53: 4 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12C7237B401; Sun, 1 Dec 2002 06:52:58 -0800 (PST) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id F39FE43E4A; Sun, 1 Dec 2002 06:52:56 -0800 (PST) (envelope-from Fam_Schlesinger@t-online.de) Received: from fwd04.sul.t-online.de by mailout01.sul.t-online.com with smtp id 18IVSq-000398-02; Sun, 01 Dec 2002 15:52:56 +0100 Received: from felixm.schlesinger.dyndns.org.t-online.de (0235124450-0001@[217.80.165.39]) by fwd04.sul.t-online.com with esmtp id 18IVSd-1tQyy8C; Sun, 1 Dec 2002 15:52:43 +0100 From: Fam_Schlesinger@t-online.de (Felix Schlesinger) Message-ID: <15850.8751.879584.523190@felixm.schlesinger.dyndns.org> Date: Sun, 1 Dec 2002 15:52:31 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: freebsd-stable@freebsd.org Cc: freebsd-hackers@freebsd.org Subject: Interrupt Timeouts Zoltrix pcm card X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Sender: 0235124450-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi I have a Zoltrix Nightingale (CMI8738) PCI card in my PC. It is detected by pcm, but when any sound is played, I only get interrupt timeouts ("pcm0:play:0: play interrupt timeout, channel dead" from the kernel). Its interessting that mpg123 e.g. exits after a few seconds without generating an error (Decoding of ... finished). With the OSS drivers its exactly the same, just the error-message is a little different) I tested with different configurations (GENERIC or custom (minimal) kernel, removing all other cards, chaning PCI-slots, ...) but nothing seemed to have any effect on the problem, so its not due to IRQ-sharing or something like that. The card is known to work under FreeBSD, but some people reported problems with the CMI8738-Chip in connection with APM and laptops that lead to the same message. This however is not the case here. I included all relevant output below, if I forgot anything please tell me, and I will post it. %uname -pr 4.7-STABLE i386 %dmesg (boot -v) Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.7-STABLE #2: Sun Dec 1 12:05:35 CET 2002 root@felix.schlesinger.dyndns.org:/usr/src/sys/compile/kern2 Calibrating clock(s) ... TSC clock: 349058787 Hz, i8254 clock: 1193153 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method Timecounter "TSC" frequency 349069023 Hz CPU: Pentium II/Pentium II Xeon/Celeron (349.07-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 134152192 (131008K bytes) Physical memory chunk(s): 0x00001000 - 0x0009ffff, 651264 bytes (159 pages) 0x0032d000 - 0x07fe7fff, 130789376 bytes (31931 pages) avail memory = 127512576 (124524K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fad30 bios32: Entry = 0xfb1b0 (c00fb1b0) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xb1e0 pnpbios: Found PnP BIOS data at 0xc00fbe00 pnpbios: Entry = f0000:be28 Rev = 1.0 Other BIOS signatures found: ACPI: 000f70b0 Preloaded elf kernel "kernel" at 0xc0306000. Pentium Pro MTRR support enabled Creating DISK md0 md0: Malloc disk Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086) Using $PIR table, 6 entries at 0xc00fdd60 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard found-> vendor=0x8086, dev=0x7190, revid=0x03 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base d8000000, size 26 found-> vendor=0x8086, dev=0x7191, revid=0x03 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x8086, dev=0x7110, revid=0x02 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7111, revid=0x01 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000f000, size 4 found-> vendor=0x8086, dev=0x7112, revid=0x01 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=255 map[20]: type 1, range 32, base 0000e000, size 5 found-> vendor=0x8086, dev=0x7113, revid=0x02 class=06-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[90]: type 1, range 32, base 00005000, size 4 found-> vendor=0x1282, dev=0x9102, revid=0x10 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base 0000e400, size 7 map[14]: type 1, range 32, base e0000000, size 7 found-> vendor=0x13f6, dev=0x0111, revid=0x10 class=04-01-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=12 map[10]: type 1, range 32, base 0000e800, size 8 pci0: on pcib0 pcib1: at device 1.0 on pci0 found-> vendor=0x10de, dev=0x0020, revid=0x04 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base dc000000, size 24 map[14]: type 1, range 32, base de000000, size 24 pci1: on pcib1 pci1: (vendor=0x10de, dev=0x0020) at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=00 ata0-master: ATA 01 a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008 ata1: mask=03 ostat0=40 ostat2=50 ata1-master: ATAPI 54 6b ata1-slave: ATAPI 14 eb ata1: mask=03 stat0=40 stat1=00 ata1-master: ATA 41 65 ata1: devices=08 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x7112) at 7.2 chip1: port 0x5000-0x500f at device 7.3 on pci0 dc0: port 0xe400-0xe47f mem 0xe0000000-0xe000007f irq 10 at device 9.0 on pci0 dc0: Ethernet address: 00:00:ab:91:30:92 miibus0: on dc0 amphy0: on miibus0 amphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: dc0 attached pcm0: port 0xe800-0xe8ff irq 12 at device 10.0 on pci0 pcm0: sndbuf_setmap 3000, 4000; 0xc81f6000 -> 3000 pcm0: sndbuf_setmap 11000, 4000; 0xc81fa000 -> 11000 ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number Trying Read_Port at 203 @@@9519: adding io range 0x200-0x3ff, size=0x20, align=0x20 @@@9519: adding irq mask 0x9e38 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: