From owner-freebsd-current@FreeBSD.ORG Fri Dec 3 19:24:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D672E16A4CE for ; Fri, 3 Dec 2004 19:24:35 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50DD143D1D for ; Fri, 3 Dec 2004 19:24:35 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id iB3JSQ6E085018; Fri, 3 Dec 2004 12:28:26 -0700 (MST) (envelope-from scottl@freebsd.org) Message-ID: <41B0BD7D.30506@freebsd.org> Date: Fri, 03 Dec 2004 12:24:45 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20040929 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Justin R. Smith" References: <1102080321.1144.1.camel@localhost> In-Reply-To: <1102080321.1144.1.camel@localhost> X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: current@freebsd.org Subject: Re: Sound stopped working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2004 19:24:36 -0000 If you back out rev 1.59.2.2 of /sys/i386/i386/busdma_machdep.c, does it work again? Scott Justin R. Smith wrote: > My uname: > > FreeBSD jsmith.org 5.3-STABLE FreeBSD 5.3-STABLE #0: Mon Nov 29 10:44:52 > EST 2004 jsmith@jsmith.org:/usr/obj/usr/src/sys/MYKERNEL i386 > > A couple of rebuilds ago, sound stopped working. The sound devices get > created but no sound actually comes out of the speakers. Sound continues > to work in Windows, so I don't think it's a hardware problem. > > My dmesg: > > FreeBSD 5.3-STABLE #0: Mon Nov 29 10:44:52 EST 2004 > jsmith@jsmith.org:/usr/obj/usr/src/sys/MYKERNEL > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2400.18-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 > > Features=0x3febfbff > real memory = 1073725440 (1023 MB) > avail memory = 1032712192 (984 MB) > ACPI APIC Table: > ioapic0 irqs 0-23 on motherboard > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20 > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 > cpu0: port 0x530-0x537 on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: mem 0xe8000000-0xebffffff at device > 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > nvidia0: mem > 0xf0000000-0xf7ffffff,0xe7000000-0xe7ffffff irq 16 at device 0.0 on pci1 > nvidia0: [GIANT-LOCKED] > isab0: at device 2.0 on pci0 > isa0: on isab0 > ohci0: mem 0xe6800000-0xe6800fff irq 20 at > device 2.2 on pci0 > ohci0: [GIANT-LOCKED] > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 3 ports with 3 removable, self powered > ulpt0: Canon S600, rev 1.10/2.20, addr 2, iclass 7/1 > ulpt0: using bi-directional mode > ohci1: mem 0xe6000000-0xe6000fff irq 23 at > device 2.3 on pci0 > ohci1: [GIANT-LOCKED] > usb1: OHCI version 1.0, legacy support > usb1: on ohci1 > usb1: USB revision 1.0 > uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 3 ports with 3 removable, self powered > atapci0: port > 0xd800-0xd80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0 > ata0: channel #0 on atapci0 > ata1: channel #1 on atapci0 > sis0: port 0xb000-0xb0ff mem > 0xe5800000-0xe5800fff irq 22 at device 3.0 on pci0 > miibus0: on sis0 > rlphy0: on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > sis0: Ethernet address: 00:e0:18:94:ce:14 > pcm0: port 0xa800-0xa8ff irq 17 at device 5.0 on pci0 > fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on > acpi0 > fdc0: [FAST] > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > ppc0: port 0x778-0x77b,0x378-0x37f irq 7 drq > 3 on acpi0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/16 bytes threshold > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > acpi0 > sio0: type 16550A > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model IntelliMouse Explorer, device ID 4 > orm0: at iomem 0xc0000-0xcffff on isa0 > pmtimer0 on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > isa0 > Timecounter "TSC" frequency 2400184756 Hz quality 800 > Timecounters tick every 10.000 msec > acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% > ad0: 38172MB [77557/16/63] at ata0-master > UDMA100 > ad1: 39205MB [79656/16/63] at ata0-slave > UDMA100 > acd0: CDRW at ata1-master PIO4 > acd1: DVDROM at ata1-slave UDMA40 > cd0 at ata1 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 16.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > cd1 at ata1 bus 0 target 1 lun 0 > cd1: Removable CD-ROM SCSI-0 device > cd1: 3.300MB/s transfers > cd1: Attempt to query device size failed: NOT READY, Medium not present > Mounting root from ufs:/dev/ad1s1a > ipfw2 initialized, divert disabled, rule-based forwarding disabled, > default to deny, logging disabled > pid 58286 (totem-video-thumbna), uid 500: exited on signal 11 (core > dumped) > Waiting (max 60 seconds) for system process `vnlru' to stop...done > Waiting (max 60 seconds) for system process `bufdaemon' to stop...done > Waiting (max 60 seconds) for system process `syncer' to stop... > Syncing disks, vnodes remaining...5 5 5 4 4 2 2 0 0 0 done > No buffers busy after final sync > Copyright (c) 1992-2004 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.3-STABLE #0: Mon Nov 29 10:44:52 EST 2004 > jsmith@jsmith.org:/usr/obj/usr/src/sys/MYKERNEL > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2400.18-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 > > Features=0x3febfbff > real memory = 1073725440 (1023 MB) > avail memory = 1032712192 (984 MB) > ACPI APIC Table: > ioapic0 irqs 0-23 on motherboard > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20 > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 > cpu0: port 0x530-0x537 on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: mem 0xe8000000-0xebffffff at device > 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > nvidia0: mem > 0xf0000000-0xf7ffffff,0xe7000000-0xe7ffffff irq 16 at device 0.0 on pci1 > nvidia0: [GIANT-LOCKED] > isab0: at device 2.0 on pci0 > isa0: on isab0 > ohci0: mem 0xe6800000-0xe6800fff irq 20 at > device 2.2 on pci0 > ohci0: [GIANT-LOCKED] > usb0: OHCI version 1.0, legacy support > usb0: on ohci0 > usb0: USB revision 1.0 > uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 3 ports with 3 removable, self powered > ulpt0: Canon S600, rev 1.10/2.20, addr 2, iclass 7/1 > ulpt0: using bi-directional mode > ohci1: mem 0xe6000000-0xe6000fff irq 23 at > device 2.3 on pci0 > ohci1: [GIANT-LOCKED] > usb1: OHCI version 1.0, legacy support > usb1: on ohci1 > usb1: USB revision 1.0 > uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub1: 3 ports with 3 removable, self powered > atapci0: port > 0xd800-0xd80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0 > ata0: channel #0 on atapci0 > ata1: channel #1 on atapci0 > sis0: port 0xb000-0xb0ff mem > 0xe5800000-0xe5800fff irq 22 at device 3.0 on pci0 > miibus0: on sis0 > rlphy0: on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > sis0: Ethernet address: 00:e0:18:94:ce:14 > > > > pcm0: port 0xa800-0xa8ff irq 17 at device 5.0 on pci0 > > I think this is the sound driver^^^^^ > > fdc0: port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on > acpi0 > fdc0: [FAST] > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > ppc0: port 0x778-0x77b,0x378-0x37f irq 7 drq > 3 on acpi0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/16 bytes threshold > ppbus0: on ppc0 > plip0: on ppbus0 > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on > acpi0 > sio0: type 16550A > sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 > sio1: type 16550A > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model IntelliMouse Explorer, device ID 4 > orm0: at iomem 0xc0000-0xcffff on isa0 > pmtimer0 on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > isa0 > Timecounter "TSC" frequency 2400180100 Hz quality 800 > Timecounters tick every 10.000 msec > acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0% > ad0: 38172MB [77557/16/63] at ata0-master > UDMA100 > ad1: 39205MB [79656/16/63] at ata0-slave > UDMA100 > acd0: CDRW at ata1-master PIO4 > acd1: DVDROM at ata1-slave UDMA40 > cd0 at ata1 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 16.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > cd1 at ata1 bus 0 target 1 lun 0 > cd1: Removable CD-ROM SCSI-0 device > cd1: 3.300MB/s transfers > cd1: Attempt to query device size failed: NOT READY, Medium not present > Mounting root from ufs:/dev/ad1s1a > ipfw2 initialized, divert disabled, rule-based forwarding disabled, > default to deny, logging disabled > > Cat /dev/sndstat returns: > > FreeBSD Audio Driver (newpcm) > Installed devices: > pcm0: at io 0xa800 irq 17 kld snd_cmi (1p/1r/0v > channels duplex > default) > > > Any suggestions? > >