Creative SoundBlaster32 ISA PnP doesn't work under CURRENT, but work fine under 4.8-RC and 4.8-STABLE. "Doesn't work" mean silence and error message: pcm0:play:0: play interrupt timeout, channel dead Also I've found something strange in dmesg: ports and drq for sbc0 in current come in reversed order. *** /dev/sndstat output under current (the same as in stable): FreeBSD Audio Driver (newpcm) Installed devices: pcm0: <SB16 DSP 4.16> at io 0x220 irq 5 drq 1:5 bufsz 4096d (1p/1r/0v channels duplex default) Here is some verbose dmesg pieces: FreeBSD 5.0-CURRENT #1: Tue Apr 22 03:34:03 NKZS 2003 root@main.trust.kemerovo.su:/usr/obj/usr/src/sys/GENERIC ... skipped ... isa_probe_children: probing PnP devices adv1: Invalid baseport of 0x220 specified. Nearest valid baseport is 0x230. Failing probe. sbc0: <Creative SB16/SB32> at port 0x388-0x38b,0x330-0x331,0x220-0x22f irq 5 drq 5,1 on isa0 sbc0: setting card to irq 5, drq 1, 5 pcm0: <SB16 DSP 4.16> on sbc0 pcm0: sndbuf_setmap 8eb000, 1000; 0xd6b58000 -> 8eb000 pcm0: sndbuf_setmap 8ed000, 1000; 0xd6b59000 -> 8ed000 adv1: Invalid baseport of 0x200 specified. Nearest valid baseport is 0x210. Failing probe. unknown: <Game> failed to probe at port 0x200-0x207 on isa0 adv1: Invalid baseport of 0x620 specified. Nearest valid baseport is 0x330. Failing probe. unknown: <WaveTable> failed to probe at port 0x620-0x623 on isa0 ata2: <Generic ESDI/IDE/ATA controller> at port 0x36e-0x36f,0x168-0x16f irq 10 on isa0 Device configuration finished. FreeBSD 4.8-RC #3: Wed Mar 5 19:49:45 NKZ 2003 root@main.trust.kemerovo.su:/usr/src/sys/compile/TRUST ... skipped ... isa_probe_children: probing PnP devices sbc0: <Creative SB16/SB32> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 sbc0: setting card to irq 5, drq 1, 5 pcm0: <SB16 DSP 4.16> on sbc0 pcm0: sndbuf_setmap 4000, 1000; 0xd0960000 -> 4000 pcm0: sndbuf_setmap 5000, 1000; 0xd0961000 -> 5000 unknown: <Game> failed to probe at port 0x200-0x207 on isa0 unknown: <WaveTable> failed to probe at port 0x620-0x623 on isa0 ata4: iobase=0x0168 altiobase=0x036e bmaddr=0x0000 ata4: <Generic ESDI/IDE/ATA controller> at port 0x168-0x16f,0x36e-0x36f irq 10 on isa0 BIOS Geometries: 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors 1:030ffe3f 0..783=784 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. Full dmesg from current: Copyright (c) 1992-2003 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 5.0-CURRENT #1: Tue Apr 22 03:34:03 NKZS 2003 root@main.trust.kemerovo.su:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc06da000. Preloaded elf module "/boot/modules/acpi.ko" at 0xc06da0a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 864462682 Hz CPU: Intel Pentium III (864.46-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 402640896 (383 MB) avail memory = 383647744 (365 MB) Pentium Pro MTRR support enabled npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <ASUS P2B-F > on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15 pcibios: BIOS version 2.10 Using $PIR table, 7 entries at 0xc00f0d10 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-safe" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 acpi_cpu0: <CPU> on acpi0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe4000000-0xe7ffffff at device 0.0 on pci0 pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 4.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel PIIX4 UDMA33 controller> port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 9 at device 4.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: <bridge, PCI-unknown> at device 4.3 (no driver attached) fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 0xd000-0xd01f mem 0xd4800000-0xd48fffff,0xd7000000-0xd7000fff irq 9 at device 9.0 on pci0 fxp0: Ethernet address 00:a0:c9:4b:be:18 miibus0: <MII bus> on fxp0 inphy0: <i82555 10/100 media interface> on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0xb800-0xb81f irq 9 at device 13.0 on pci0 ed0: address 00:c0:df:f8:b5:8d, type NE2000 (16 bit) fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model NetMouse/NetScroll Optical, device ID 0 orm0: <Option ROM> at iomem 0xc0000-0xcc7ff on isa0 pmtimer0 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ata2: <Generic ESDI/IDE/ATA controller> at port 0x36e-0x36f,0x168-0x16f irq 10 on isa0 Timecounters tick every 10.000 msec ad0: 29314MB <IBM-DTLA-307030> [59560/16/63] at ata0-master UDMA33 ad2: 6149MB <WDC AC26400B> [13328/15/63] at ata1-master UDMA33 acd0: CD-RW <CD-W516EB> at ata1-slave UDMA33 Mounting root from ufs:/dev/ad2s1a sbc0: <Creative SB16/SB32> at port 0x388-0x38b,0x330-0x331,0x220-0x22f irq 5 drq 5,1 on isa0 pcm0: <SB16 DSP 4.16> on sbc0 pcm0:play:0: play interrupt timeout, channel dead pcm0:play:0: play interrupt timeout, channel dead pcm0:play:0: play interrupt timeout, channel dead pcm0:play:0: play interrupt timeout, channel dead Fix: unknown How-To-Repeat: just take the machine with CURRENT and SB32 and try to play music
Responsible Changed From-To: freebsd-bugs->sound sound issue.
This could be the same problem as in kern/18345 <http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/18345>
Hello ! Mon May 3 22:20, Jukka A. Ukkonen <ext-jukka.ukkonen@nokia.com> wrote: > This could be the same problem as in > > kern/18345 <http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/18345> You're not quite right, my problem was with 5-CURRENT, not STABLE. But looks like both are in PnP mechanism. In that time when PR was sent, sbc drivers in CURRENT and STABLE had too little differences to be the problem source... --- Best regards, { Vladimir Kurtukov, ICQ 2929697 } Vladimir { vk@hvv.svzserv.kemerovo.su } { 2:5006/9@fidonet }
State Changed From-To: open->feedback Does this still applies to -current?
State Changed From-To: feedback->closed Feedback timeout (> 2 months).