Date: Sat, 14 Dec 2002 21:28:35 -0600 From: Jon Noack <noackjr@rice.edu> To: freebsd-current@freebsd.org Subject: CPUTYPE=p4 warning needed Message-ID: <3DFBF6E3.3050306@rice.edu>
next in thread | raw e-mail | index | archive | help
I didn't see any warnings in /usr/share/examples/etc/make.conf, so I thought I'd share my experience with CPUTYPE=p4. Building world with CPUTYPE=p4 results in static when playing back mpeg audio. All other audio works fine. A few cases where this is present (to show it is not application specific): 1) playing an mp3 with mpg123 2) playing an mp3 with xmms 3) playing a movie with mpeg audio in mplayer A symptom of this problem in xmms is that the spectrum analyzer is almost constantly maxed out at most every frequency. Thus, it seems that in the decoding of the audio stream the amplitude of the signal is outputed too high, resulting in some form of clipping. This clipping sounds like static. This is ignorant speculation, but maybe it will help. This problem is present when these applications are installed via packages or compiled from ports. In any case, I think it would be a good idea to include a warning in /usr/share/examples/etc/make.conf that says CPUTYPE optimizations may result in broken code. Maybe it's just my machine, but I've recompiled several times now and it's consistent (if and only if I build and install world with CPUTYPE=p4 is the problem evident). Jon Noack dmesg: 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 5.0-CURRENT #0: Sat Dec 14 20:48:25 CST 2002 noackjr@compgeek.dnsalias.org:/usr/obj/usr/src/sys/COMPGEEK Preloaded elf kernel "/boot/kernel/kernel" at 0xc04ff000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04ff0a8. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 2539102024 Hz CPU: Pentium 4 (2539.10-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 = 536805376 (511 MB) avail memory = 516071424 (492 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: <math processor> on motherboard npx0: INT 16 interface acpi0: <AMIINT AMIINI09> on motherboard ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE31 Using $PIR table, 15 entries at 0xc00f7450 acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_cpu0: <CPU> on acpi0 acpi_cpu1: <CPU> 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: <Intel 82850 host to AGP bridge> mem 0xe8000000-0xebffffff at device 0.0 on pci0 pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xdc00-0xdc1f irq 10 at device 29.0 on pci0 usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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 ums0: Microsoft Microsoft Wheel Mouse Optical\M-., rev 1.10/1.21, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. uhub1: Philips Semiconductors hub, class 9/0, rev 1.10/1.10, addr 3 uhub1: 3 ports with 3 removable, self powered uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xd800-0xd81f irq 9 at device 29.1 on pci0 usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1 usb1: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xd400-0xd41f irq 9 at device 29.2 on pci0 usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2 usb2: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: <serial bus, USB> at device 29.7 (no driver attached) pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <PCI-PCI bridge> at device 2.0 on pci2 pci3: <PCI bus> on pcib3 asr0: <Adaptec Caching SCSI RAID> mem 0xe2000000-0xe3ffffff irq 11 at device 2.1 on pci2 asr0: major=154 asr0: ADAPTEC 2100S FW Rev. 370F, 1 channel, 256 CCBs, Protocol I2O rl0: <RealTek 8139 10/100BaseTX> port 0xbc00-0xbcff mem 0xefeeff00-0xefeeffff irq 12 at device 9.0 on pci2 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode rl0: Ethernet address: 00:20:ed:40:16:0c miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: <Creative CT5880-E> port 0xb800-0xb83f irq 11 at device 10.0 on pci2 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH4 ATA100 controller> port 0xff00-0xff0f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: <serial bus, SMBus> at device 31.3 (no driver attached) acpi_button1: <Sleep Button> on acpi0 fdc0: cmd 3 failed at out byte 1 of 3 atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: cmd 3 failed at out byte 1 of 3 orm0: <Option ROMs> at iomem 0xcc000-0xd1fff,0xc0000-0xcbfff on isa0 pmtimer0 on isa0 fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 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 Timecounters tick every 10.000 msec acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5% ata0-slave: timeout waiting for interrupt ata0-slave: ATAPI identify failed acd0: CD-RW <CD-W516EB> at ata0-master UDMA33 acd1: DVD-ROM <JLMS DVD-ROM LTD163D> at ata1-master UDMA33 da0 at asr0 bus 0 target 0 lun 0 da0: <ADAPTEC RAID-0 370F> Fixed Direct Access SCSI-2 device da0: Tagged Queueing Enabled da0: 35003MB (71686144 512 byte sectors: 255H 63S/T 4462C) MBREXT Slice 5 on da0s3: 0000 00 01 c1 ff 0c fe ff ff 3f 00 00 00 87 f1 45 02 |........?.....E.| [0] f:00 typ:12 s(CHS):255/1/193 e(CHS):255/254/255 s:63 l:38138247 0000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| [1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0 Mounting root from ufs:/dev/da0s2a To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DFBF6E3.3050306>