[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kernel/3814: Auich playback very slow after 2004/06/06 commit



The following reply was made to PR kernel/3814; it has been noted by GNATS.

From: Mark Pecaut <mpecaut@wykids.org>
To: Ted Unangst <tedu@zeitbombe.org>
Cc: gnats@openbsd.org, GNATS Filer <gnats@cvs.openbsd.org>,
        bugs@cvs.openbsd.org
Subject: Re: kernel/3814: Auich playback very slow after 2004/06/06 commit
Date: Wed, 9 Jun 2004 07:44:42 -0600

 On Tue, Jun 08, 2004 at 10:42:48PM -0400, Ted Unangst wrote:
 > try this patch with current.
 > 
 > Index: machdep.c
 > ===================================================================
 > RCS file: /cvs/src/sys/arch/i386/i386/machdep.c,v
 > retrieving revision 1.295
 > diff -u -r1.295 machdep.c
 > --- machdep.c	2004/06/06 17:34:37	1.295
 > +++ machdep.c	2004/06/09 02:42:09
 > @@ -1392,7 +1392,6 @@
 >  #if !defined(SMALL_KERNEL) && defined(I686_CPU)
 >  	p3_step = step;
 >  	update_cpuspeed = p3_update_cpuspeed;
 > -	update_cpuspeed();
 >  #endif
 >  }
 >  
 > @@ -1404,7 +1403,6 @@
 >  #if !defined(SMALL_KERNEL) && defined(I686_CPU)
 >  	p4_model = model;
 >  	update_cpuspeed = p4_update_cpuspeed;
 > -	update_cpuspeed();
 >  #endif
 >  }
 
 This patch fixes it.  Thanks a million!
 
 -Mark 
 
 --
 OpenBSD 3.5-current (GENERIC) #64: Wed Jun  9 07:38:24 MDT 2004
     mpecaut@nerdmeister.wykids.net:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Pentium(R) 4 CPU 1400MHz ("GenuineIntel" 686-class) 1.40 GHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
 real mem  = 133246976 (130124K)
 avail mem = 115101696 (112404K)
 using 1652 buffers containing 6766592 bytes (6608K) of memory
 mainbus0 (root)
 bios0 at mainbus0: AT/286+(00) BIOS, date 09/10/01, BIOS32 rev. 0 @ 0xffe90
 apm0 at bios0: Power Management spec V1.2
 apm0: AC on, battery charge unknown
 pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
 pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfba90/176 (9 entries)
 pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801BA LPC" rev 0x00)
 pcibios0: PCI bus #2 is the last bus
 bios0: ROM list: 0xc0000/0x8000
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 "Intel 82845 Host" rev 0x03
 ppb0 at pci0 dev 1 function 0 "Intel 82845 AGP" rev 0x03
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 "ATI Rage 128 Pro TF" rev 0x00
 wsdisplay0 at vga1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 ppb1 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x12
 pci2 at ppb1 bus 2
 "Conexant 56k Winmodem" rev 0x08 at pci2 dev 8 function 0 not configured
 dc0 at pci2 dev 9 function 0 "Davicom DM9102" rev 0x31: irq 11, address 00:80:ad:79:ad:96
 amphy0 at dc0 phy 1: Am79C873 10/100 media interface, rev. 0
 "S3 ViRGE" rev 0x06 at pci2 dev 10 function 0 not configured
 ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x12
 pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x12: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility
 wd0 at pciide0 channel 0 drive 0: <IC35L020AVER07-0>
 wd0: 16-sector PIO, LBA, 19092MB, 39102336 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
 atapiscsi0 at pciide0 channel 1 drive 0
 scsibus0 at atapiscsi0: 2 targets
 cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-ROM SC-148C, B100> SCSI0 5/cdrom removable
 cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
 uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x12: irq 11
 usb0 at uhci0: USB revision 1.0
 uhub0 at usb0
 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 2 ports with 2 removable, self powered
 "Intel 82801BA SMBus" rev 0x12 at pci0 dev 31 function 3 not configured
 uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB2" rev 0x12: irq 9
 usb1 at uhci1: USB revision 1.0
 uhub1 at usb1
 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 2 ports with 2 removable, self powered
 auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97 Audio" rev 0x12: irq 10, ICH2 AC97
 ac97: codec id 0x41445360 (Analog Devices AD1885)
 ac97: codec features headphone, Analog Devices Phat Stereo
 audio0 at auich0
 auich0: measured ac97 link rate at 55952 Hz
 isa0 at ichpcib0
 isadma0 at isa0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: <PC speaker>
 sysbeep0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 npx0 at isa0 port 0xf0/16: using exception 16
 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
 biomask ca40 netmask ca40 ttymask cac2
 pctr: user-level cycle counter enabled
 dkcsum: wd0 matched BIOS disk 80
 root on wd0a
 rootdev=0x0 rrootdev=0x300 rawdev=0x302
 uhidev0 at uhub0 port 1 configuration 1 interface 0
 uhidev0: Primax Electronics product 0x4d03, rev 1.00/5.00, addr 2, iclass 3/1
 ums0 at uhidev0: 3 buttons and Z dir.
 wsmouse0 at ums0 mux 0