From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 23 04:20:12 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88D6F37B404 for ; Wed, 23 Apr 2003 04:20:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F5EA43FB1 for ; Wed, 23 Apr 2003 04:20:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3NBKBUp098218 for ; Wed, 23 Apr 2003 04:20:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3NBKBmF098216; Wed, 23 Apr 2003 04:20:11 -0700 (PDT) Resent-Date: Wed, 23 Apr 2003 04:20:11 -0700 (PDT) Resent-Message-Id: <200304231120.h3NBKBmF098216@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vladimir Kurtukov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A90C437B401 for ; Wed, 23 Apr 2003 04:18:30 -0700 (PDT) Received: from hvv.svzserv.kemerovo.su (hvv.svzserv.kemerovo.su [213.184.65.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC78B43F3F for ; Wed, 23 Apr 2003 04:18:28 -0700 (PDT) (envelope-from vk@hvv.svzserv.kemerovo.su) Received: from hvv.svzserv.kemerovo.su (localhost [127.0.0.1]) h3NBIPo9070083 for ; Wed, 23 Apr 2003 19:18:25 +0800 (NKZS) (envelope-from vk@hvv.svzserv.kemerovo.su) Received: (from vk@localhost) by hvv.svzserv.kemerovo.su (8.12.6p2/8.12.8/Submit) id h3NBIPAl070082; Wed, 23 Apr 2003 19:18:25 +0800 (NKZS) (envelope-from vk) Message-Id: <200304231118.h3NBIPAl070082@hvv.svzserv.kemerovo.su> Date: Wed, 23 Apr 2003 19:18:25 +0800 (NKZS) From: Vladimir Kurtukov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/51308: Creative SB32 doesn't work under CURRENT X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Vladimir Kurtukov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 11:20:13 -0000 >Number: 51308 >Category: kern >Synopsis: Creative SB32 doesn't work under CURRENT >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Apr 23 04:20:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Vladimir Kurtukov >Release: FreeBSD 5.0-CURRENT i386 >Organization: JSC SvzServ >Environment: System: FreeBSD main.trust.kemerovo.su 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Tue Apr 22 03:34:03 NKZS 2003 root@main.trust.kemerovo.su:/usr/obj/usr/src/sys/GENERIC i386 >Description: 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: 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: 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: 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: failed to probe at port 0x200-0x207 on isa0 adv1: Invalid baseport of 0x620 specified. Nearest valid baseport is 0x330. Failing probe. unknown: failed to probe at port 0x620-0x623 on isa0 ata2: 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: 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: on sbc0 pcm0: sndbuf_setmap 4000, 1000; 0xd0960000 -> 4000 pcm0: sndbuf_setmap 5000, 1000; 0xd0961000 -> 5000 unknown: failed to probe at port 0x200-0x207 on isa0 unknown: failed to probe at port 0x620-0x623 on isa0 ata4: iobase=0x0168 altiobase=0x036e bmaddr=0x0000 ata4: 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 real memory = 402640896 (383 MB) avail memory = 383647744 (365 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface acpi0: 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: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe4000000-0xe7ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 4.0 on pci0 isa0: on isab0 atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd400-0xd41f irq 9 at device 4.2 on pci0 usb0: 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: at device 4.3 (no driver attached) fxp0: 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: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ed0: port 0xb800-0xb81f irq 9 at device 13.0 on pci0 ed0: address 00:c0:df:f8:b5:8d, type NE2000 (16 bit) fdc0: 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: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: 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: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model NetMouse/NetScroll Optical, device ID 0 orm0: