From owner-cvs-all Sun Feb 10 14:39:43 2002 Delivered-To: cvs-all@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 8F60537B416; Sun, 10 Feb 2002 14:38:53 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id RAA17405; Sun, 10 Feb 2002 17:38:53 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g1AMcNb45124; Sun, 10 Feb 2002 17:38:23 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15462.63071.7554.450268@grasshopper.cs.duke.edu> Date: Sun, 10 Feb 2002 17:38:23 -0500 (EST) To: Cameron Grant Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, sound@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files files.i386 src/sys/dev/sound/isa ad1816.c ad1816.h es1888.c ess.c gusc.c mss.c mss.h sb.h sb16.c sb8.c sbc.c src/sys/dev/sound/pci als4000.c als4000.h aureal.c aureal.h cmi.c cmireg.h cs4281.c cs4281.h csa.c csapcm.c csareg.h ... In-Reply-To: <200108010341.f713fBW46908@freefall.freebsd.org> References: <200108010341.f713fBW46908@freefall.freebsd.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I realize that this is somewhat late notice (;), but this commit breaks support for the onboard NeoMagic 256ZX in my wife's Dell Lattitude. I noticed it when upgrading my wife's laptop from 4.3 to 4.5-STABLE. A kernel built from sources dated one hour before this commit works just fine, and one built from sources dated one hour after this commit gives the following problems (as does 4.5-STABLE). So I'm fairly certain it was something in this commit. pcm0: play interrupt timeout, channel dead When I attempt to play an mp3 via amp. Interestingly enough, the thing is still getting interrupts: # vmstat -i | grep pcm pcm0 irq5 59 0 When putting a printf in the nm_intr() interrupt routine, I noticed that I started to get noise (not sound, really) and the "interrupt timeout" stopped happening. I then put a DELAY(20) there, and got the same effect. I don't have enough pcm fu to be able to get much farther, I'm afraid. This is the card: pcm0@pci1:0:1: class=0x040100 card=0x00911028 chip=0x800610c8 rev=0x00 hdr=0x00 vendor = 'Neomagic Corporation' device = 'NM2360 MagicMedia 256ZX Audio Device' class = multimedia subclass = audio % cat /dev/sndstat FreeBSD Audio Driver (newpcm) Feb 9 2002 18:36:13 Installed devices: pcm0: at memory 0xf5800000, 0xfda00000 irq 5 (1p/1r/0v channels duplex) I've appended the dmesg from a 4.5-STABLE kernel. Thanks for any help you can give, Drew 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.5-STABLE #4: Sat Feb 9 19:23:16 EST 2002 gallatin@tardy:/usr/src/sys/compile/TARDY Calibrating clock(s) ... TSC clock: 396993279 Hz, i8254 clock: 1193021 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 CPU: Pentium II/Pentium II Xeon/Celeron (397.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x66d Stepping = 13 Features=0x183f9ff real memory = 201261056 (196544K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x003df000 - 0x0bfe5fff, 197160960 bytes (48135 pages) avail memory = 191987712 (187488K bytes) bios32: Found BIOS32 Service Directory header at 0xc00ffe80 bios32: Entry = 0xffe90 (c00ffe90) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xc0ce pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f0000:e2f4 Rev = 1.0 pnpbios: Event flag at 4b4 Other BIOS signatures found: ACPI: 000f3c30 Preloaded elf kernel "kernel" at 0xc03b8000. Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 pci_open(1): mode 1 addr port (0x0cf8) is 0x80000008 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71908086) Using $PIR table, 5 entries at 0xc00fbd80 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: 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 f0000000, size 26 found-> vendor=0x8086, dev=0x7191, revid=0x03 class=06-04-00, hdrtype=0x01, mfdev=0 subordinatebus=1 secondarybus=1 found-> vendor=0x104c, dev=0xac1c, revid=0x01 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 found-> vendor=0x104c, dev=0xac1c, revid=0x01 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 found-> vendor=0x8086, dev=0x7110, revid=0x02 class=06-80-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 00000860, size 4 found-> vendor=0x8086, dev=0x7112, revid=0x01 class=0c-03-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=d, irq=11 map[20]: type 1, range 32, base 0000ece0, size 5 found-> vendor=0x8086, dev=0x7113, revid=0x03 class=06-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[90]: type 1, range 32, base 00000840, size 4 pci0: on pcib0 pcib1: at device 1.0 on pci0 found-> vendor=0x10c8, dev=0x0006, revid=0x00 class=03-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base f6000000, size 25 map[14]: type 1, range 32, base fdc00000, size 22 map[18]: type 1, range 32, base fdb00000, size 20 found-> vendor=0x10c8, dev=0x8006, revid=0x00 class=04-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=b, irq=5 map[10]: type 1, range 32, base f5800000, size 23 map[14]: type 1, range 32, base fda00000, size 20 pci1: on pcib1 pci1: (vendor=0x10c8, dev=0x0006) at 0.0 irq 11 pcm0: mem 0xfda00000-0xfdafffff,0xf5800000-0xf5ffffff irq 5 at device 0.1 on pci1 pcm0: ac97 codec id 0x83847609 (SigmaTel STAC9721/9723) pcm0: ac97 codec features 18 bit DAC, 18 bit ADC, 5 bit master volume, SigmaTel 3D Enhancement pcm0: ac97 primary codec extended features AMAP pcm0: rec buf 0xc9dbcc00 pcm0: play buf 0xc9db8c00 pcic0: irq 11 at device 3.0 on pci0 pcic0: PCI Memory allocated: 0x44000000 pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq] pcic0: PCI Configuration space: 0x00: 0xac1c104c 0x02100007 0x06070001 0x00822008 0x10: 0x44000000 0x020000a0 0x20000000 0x00000000 0x20: 0x00000000 0x00000000 0x00000000 0x00000000 0x30: 0x00000000 0x00000000 0x00000000 0x07e0010b 0x40: 0x00911028 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x2024d020 0x00000000 0x00000000 0x01261222 0x90: 0x606682c0 0x00000000 0x00000000 0x00000000 0xa0: 0x7e210001 0x00800000 0x00000018 0x00000007 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 pccard0: on pcic0 pcic1: irq 11 at device 3.1 on pci0 pcic1: PCI Memory allocated: 0x44001000 pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][FUNC pci int + CSC serial isa irq] using shared irq11. pcic1: PCI Configuration space: 0x00: 0xac1c104c 0x02100007 0x06070001 0x00822008 0x10: 0x44001000 0x020000a0 0x20000000 0x00000000 0x20: 0x00000000 0x00000000 0x00000000 0x00000000 0x30: 0x00000000 0x00000000 0x00000000 0x07e0010b 0x40: 0x00911028 0x00000001 0x00000000 0x00000000 0x50: 0x00000000 0x00000000 0x00000000 0x00000000 0x60: 0x00000000 0x00000000 0x00000000 0x00000000 0x70: 0x00000000 0x00000000 0x00000000 0x00000000 0x80: 0x2024d020 0x00000000 0x00000000 0x01261222 0x90: 0x606682c0 0x00000000 0x00000000 0x00000000 0xa0: 0x7e210001 0x00800000 0x00000818 0x00000007 0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 0xc0: 0x00000000 0x00000000 0x00000000 0x00000000 0xd0: 0x00000000 0x00000000 0x00000000 0x00000000 0xe0: 0x00000000 0x00000000 0x00000000 0x00000000 0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 pccard1: on pcic1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x860-0x86f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0860 ata0: mask=03 status0=50 status1=00 ata0: mask=03 ostat0=50 ostat2=00 ata0-slave: ATAPI probe a=00 b=00 ata0-master: ATAPI probe a=00 b=00 ata0: mask=03 status0=50 status1=00 ata0-master: ATA probe a=01 b=a5 ata0: devices=01 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x0868 ata1: mask=00 status0=ff status1=ff ata1: probe allocation failed uhci0: port 0xece0-0xecff irq 11 at device 7.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 intpm0: port 0x840-0x84f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 840 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 800 pcic-: pcic0 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices orm0: