Re: Sound stopped working

From: Scott Long <scottl_at_freebsd.org>
Date: Fri, 03 Dec 2004 12:24:45 -0700
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_at_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_at_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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
> real memory  = 1073725440 (1023 MB)
> avail memory = 1032712192 (984 MB)
> ACPI APIC Table: <ASUS   P4S533  >
> ioapic0 <Version 0.0> irqs 0-23 on motherboard
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <ASUS P4S533> 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: <ACPI CPU> port 0x530-0x537 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: <SiS 645DX host to AGP bridge> mem 0xe8000000-0xebffffff at device
> 0.0 on pci0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> nvidia0: <GeForce4 MX 440 with AGP8X> mem
> 0xf0000000-0xf7ffffff,0xe7000000-0xe7ffffff irq 16 at device 0.0 on pci1
> nvidia0: [GIANT-LOCKED]
> isab0: <PCI-ISA bridge> at device 2.0 on pci0
> isa0: <ISA bus> on isab0
> ohci0: <SiS 5571 USB controller> mem 0xe6800000-0xe6800fff irq 20 at
> device 2.2 on pci0
> ohci0: [GIANT-LOCKED]
> usb0: OHCI version 1.0, legacy support
> usb0: <SiS 5571 USB controller> 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: <SiS 5571 USB controller> mem 0xe6000000-0xe6000fff irq 23 at
> device 2.3 on pci0
> ohci1: [GIANT-LOCKED]
> usb1: OHCI version 1.0, legacy support
> usb1: <SiS 5571 USB controller> 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: <SiS 961 UDMA100 controller> 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: <SiS 900 10/100BaseTX> port 0xb000-0xb0ff mem
> 0xe5800000-0xe5800fff irq 22 at device 3.0 on pci0
> miibus0: <MII bus> on sis0
> rlphy0: <RTL8201L 10/100 media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> sis0: Ethernet address: 00:e0:18:94:ce:14
> pcm0: <CMedia CMI8738> port 0xa800-0xa8ff irq 17 at device 5.0 on pci0
> fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on
> acpi0
> fdc0: [FAST]
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> ppc0: <ECP parallel printer port> 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: <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: <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: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: model IntelliMouse Explorer, device ID 4
> orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff 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
> 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 <MAXTOR 6L040L2/A93.0500> [77557/16/63] at ata0-master
> UDMA100
> ad1: 39205MB <Maxtor 6E040L0/NAR61590> [79656/16/63] at ata0-slave
> UDMA100
> acd0: CDRW <AOPEN CD-RW CRW2440/2.06> at ata1-master PIO4
> acd1: DVDROM <JLMS DVD-ROM LTD-166S/DS08> at ata1-slave UDMA40
> cd0 at ata1 bus 0 target 0 lun 0
> cd0: <AOPEN CD-RW CRW2440 2.06> 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: <JLMS DVD-ROM LTD-166S DS08> 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_at_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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
> real memory  = 1073725440 (1023 MB)
> avail memory = 1032712192 (984 MB)
> ACPI APIC Table: <ASUS   P4S533  >
> ioapic0 <Version 0.0> irqs 0-23 on motherboard
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <ASUS P4S533> 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: <ACPI CPU> port 0x530-0x537 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: <SiS 645DX host to AGP bridge> mem 0xe8000000-0xebffffff at device
> 0.0 on pci0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> nvidia0: <GeForce4 MX 440 with AGP8X> mem
> 0xf0000000-0xf7ffffff,0xe7000000-0xe7ffffff irq 16 at device 0.0 on pci1
> nvidia0: [GIANT-LOCKED]
> isab0: <PCI-ISA bridge> at device 2.0 on pci0
> isa0: <ISA bus> on isab0
> ohci0: <SiS 5571 USB controller> mem 0xe6800000-0xe6800fff irq 20 at
> device 2.2 on pci0
> ohci0: [GIANT-LOCKED]
> usb0: OHCI version 1.0, legacy support
> usb0: <SiS 5571 USB controller> 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: <SiS 5571 USB controller> mem 0xe6000000-0xe6000fff irq 23 at
> device 2.3 on pci0
> ohci1: [GIANT-LOCKED]
> usb1: OHCI version 1.0, legacy support
> usb1: <SiS 5571 USB controller> 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: <SiS 961 UDMA100 controller> 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: <SiS 900 10/100BaseTX> port 0xb000-0xb0ff mem
> 0xe5800000-0xe5800fff irq 22 at device 3.0 on pci0
> miibus0: <MII bus> on sis0
> rlphy0: <RTL8201L 10/100 media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> sis0: Ethernet address: 00:e0:18:94:ce:14
> 
> 
> 
> pcm0: <CMedia CMI8738> port 0xa800-0xa8ff irq 17 at device 5.0 on pci0
> 
> I think this is the sound driver^^^^^
> 
> fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on
> acpi0
> fdc0: [FAST]
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> ppc0: <ECP parallel printer port> 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: <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: <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: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: model IntelliMouse Explorer, device ID 4
> orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff 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
> 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 <MAXTOR 6L040L2/A93.0500> [77557/16/63] at ata0-master
> UDMA100
> ad1: 39205MB <Maxtor 6E040L0/NAR61590> [79656/16/63] at ata0-slave
> UDMA100
> acd0: CDRW <AOPEN CD-RW CRW2440/2.06> at ata1-master PIO4
> acd1: DVDROM <JLMS DVD-ROM LTD-166S/DS08> at ata1-slave UDMA40
> cd0 at ata1 bus 0 target 0 lun 0
> cd0: <AOPEN CD-RW CRW2440 2.06> 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: <JLMS DVD-ROM LTD-166S DS08> 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: <CMedia CMI8738> at io 0xa800 irq 17 kld snd_cmi (1p/1r/0v
> channels duplex
>  default)
> 
> 
> Any suggestions?
> 
> 
Received on Fri Dec 03 2004 - 18:24:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:23 UTC