Date: Sun, 1 Dec 2002 15:52:31 +0100 From: Fam_Schlesinger@t-online.de (Felix Schlesinger) To: freebsd-stable@freebsd.org Subject: Interrupt Timeouts Zoltrix pcm card Message-ID: <15850.8751.879584.523190@felixm.schlesinger.dyndns.org>
next in thread | raw e-mail | index | archive | help
(reposted, because it doesnt seem to have made it ot -stable last time) 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 any error (Decoding of ... finished). When I use 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, changing PCI-slots, ...) but nothing seemed to have any effect on the problem, so it cannot be due to IRQ-sharing. 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> 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: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443BX (440 BX) host to PCI bridge> 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: <PCI bus> on pcib0 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> 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: <PCI bus> on pcib1 pci1: <NVidia Riva TNT graphics accelerator> (vendor=0x10de, dev=0x0020) at 0.0 irq 11 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 ATA33 controller> 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: <Intel 82371AB/EB (PIIX4) USB controller> (vendor=0x8086, dev=0x7112) at 7.2 chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0 dc0: <Davicom DM9102 10/100BaseTX> port 0xe400-0xe47f mem 0xe0000000-0xe000007f irq 10 at device 9.0 on pci0 dc0: Ethernet address: 00:00:ab:91:30:92 miibus0: <MII bus> on dc0 amphy0: <Am79C873 10/100 media interface> on miibus0 amphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bpf: dc0 attached pcm0: <CMedia CMI8738> 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: <Option ROM> at iomem 0xc0000-0xc87ff on isa0 ata2 failed to probe at port 0x1f0 irq 14 on isa0 ata3 failed to probe at port 0x170 irq 15 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0067 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio0: irq maps: 0x21 0x31 0x21 0x21 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 isa_probe_children: probing PnP devices ed1: <NE2000 PLUG & PLAY ETHERNET CARD> at port 0x200-0x21f irq 3 on isa0 bpf: ed1 attached ed1: address 00:00:e8:6b:aa:ed, type NE2000 (16 bit) BIOS Geometries: 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: lo0 attached bpf: ppp0 attached new masks: bio 68c000, tty 631012, net 67141a ad0: success setting UDMA2 on Intel chip Creating DISK ad0 ar: FreeBSD check1 failed ad0: <ST380021A/3.19> ATA-5 disk at ata0-master ad0: 76319MB (156301488 sectors), 155061 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA33 ad0: piomode=4 dmamode=2 udmamode=5 cblid=1 ata1-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1 ata1-slave: success setting PIO4 on generic chip acd0: <PHILIPS CDRW1610A/0.010000> CD-RW drive at ata1 as slave acd0: read 2755KB/s (36026KB/s) write 2755KB/s (2755KB/s), 8192KB buffer, PIO4 acd0: Reads: CD-R, CD-RW, CD-DA stream, packet acd0: Writes: CD-R, CD-RW, test write, burnproof acd0: Audio: play, 128 volume levels acd0: Mechanism: ejectable tray, unlocked, lock protected acd0: Medium: CD-R blank Mounting root from ufs:/dev/ad0s1a ad0s1: type 0xa5, start 63, end = 156296384, size 156296322 : OK start_init: trying /sbin/init bpf: tun0 attached IP packet filtering initialized, divert disabled, rule-based forwarding enabled, default to deny, logging disabled #pciconf -lv chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x71908086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82443BX/ZX 440BX/ZX CPU to PCI Bridge (AGP Implemented)' class = bridge subclass = HOST-PCI pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x71918086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82443BX/ZX 440BX/ZX AGPset PCI-to-PCI bridge' class = bridge subclass = PCI-PCI isab0@pci0:7:0: class=0x060100 card=0x00000000 chip=0x71108086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M ISA Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:7:1: class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M IDE Controller' class = mass storage subclass = ATA none0@pci0:7:2: class=0x0c0300 card=0x00000000 chip=0x71128086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M USB Interface' class = serial bus subclass = USB chip1@pci0:7:3: class=0x068000 card=0x00000000 chip=0x71138086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82371AB/EB/MB PIIX4/4E/4M Power Management Controller' class = bridge subclass = PCI-unknown dc0@pci0:9:0: class=0x020000 card=0x91021282 chip=0x91021282 rev=0x10 hdr=0x00 vendor = 'Davicom Semiconductor Inc.' device = 'DM9102/A/AF,DM9801 Fast Ethernet Adapter' class = network subclass = ethernet pcm0@pci0:10:0: class=0x040100 card=0x011113f6 chip=0x011113f6 rev=0x10 hdr=0x00 vendor = 'C-Media Electronics Inc.' device = 'CMI8738/PCI C3DX PCI Audio Chip' class = multimedia subclass = audio none1@pci1:0:0: class=0x030000 card=0x05501092 chip=0x002010de rev=0x04 hdr=0x00 vendor = 'Nvidia Corporation' device = 'Riva TNT GUI+3D Accelerator [NV4]' class = display subclass = VGA PNP-OS is set to off the BIOS and all IRQs are assigned to PCI/PnP Does anybody have any idea were to look (the source around the error-message doesn't seem very helpful to me)? Ciao Felix xposted, please follow up where appropriate. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15850.8751.879584.523190>