From owner-freebsd-current Mon Nov 20 4:25:55 2000 Delivered-To: freebsd-current@freebsd.org Received: from thing.orbitel.bg (thing.orbitel.bg [195.24.32.46]) by hub.freebsd.org (Postfix) with SMTP id A7C8B37B479 for ; Mon, 20 Nov 2000 04:25:44 -0800 (PST) Received: (qmail 3699 invoked by uid 1001); 20 Nov 2000 12:25:43 -0000 Date: Mon, 20 Nov 2000 14:25:43 +0200 From: Stanislav Grozev To: current@freebsd.org Subject: Re: -current scheduler strangeness Message-ID: <20001120142543.B97732@thing.orbitel.bg> References: <20001120142326.A97732@thing.orbitel.bg> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eHhjakXzOLJAF9wJ" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001120142326.A97732@thing.orbitel.bg>; from tacho@orbitel.bg on Mon, Nov 20, 2000 at 02:23:26PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --eHhjakXzOLJAF9wJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable as a followup, whenever I have disk access the problem shows also... On Mon, Nov 20, 2000 at 02:23:26PM +0200, Stanislav Grozev wrote: > Hi, > today I upgraded my 5.0-CURRENT from PRE_SMPNG to -current from about 5-6 > hours. everything went fine, the system is working, but I now notice the= =20 > following: whenever I compile something (say a port) and play an mp3 > in xmms at the same time, the mp3 playing is frequently interrupted, > or loops for a second. when I stop the compile, the mp3 files are playing > ok. with PRE_SMPNG I never experienced such behavior, even with 2 or 3 > simultaneous compiles. I am attaching the dmesg output and my kernel > config file if that would be helpful. >=20 > as you can see, pcm shows: > pcm0: hwptr went backwards 3896 -> 3720 >=20 > with PRE_SMPNG it didn't show such things, and when I do not load the mac= hine > with compiles, it never displays such messages and plays fine. >=20 > any info will be greatly appreciated. >=20 > -tacho >=20 > # > # GENERIC -- Generic kernel configuration file for FreeBSD/i386 > # > # For more information on this file, please read the handbook section on > # Kernel Configuration Files: > # > # http://www.FreeBSD.org/handbook/kernelconfig-config.html > # > # The handbook is also available locally in /usr/share/doc/handbook > # if you've installed the doc distribution, otherwise always see the > # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the > # latest information. > # > # An exhaustive list of options and more detailed explanations of the > # device lines is also present in the NOTES configuration file. If you are > # in doubt as to the purpose or necessity of a line, check first in NOTES. > # > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.291 2000/11/15 18:36:24 imp Exp= $ >=20 > machine i386 > #cpu I386_CPU > #cpu I486_CPU > #cpu I586_CPU > cpu I686_CPU > ident THING > maxusers 32 >=20 > #To statically compile in device wiring instead of /boot/device.hints > #hints "GENERIC.hints" #Default places to look for devices. >=20 > #makeoptions DEBUG=3D-g #Build kernel with gdb(1) debug symbols >=20 > #options MATH_EMULATE #Support for x87 emulation > options INET #InterNETworking > options INET6 #IPv6 communications protocols > options FFS #Berkeley Fast Filesystem > options FFS_ROOT #FFS usable as root device [keep this!] > options SOFTUPDATES #Enable FFS soft updates support > options MFS #Memory Filesystem > options MD_ROOT #MD is a potential root device > options NFS #Network Filesystem > options NFS_ROOT #NFS usable as root device, NFS required > options MSDOSFS #MSDOS Filesystem > options CD9660 #ISO 9660 Filesystem > options CD9660_ROOT #CD-ROM usable as root, CD9660 required > #options DEVFS #Device Filesystem > options PROCFS #Process filesystem > options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] > options SCSI_DELAY=3D15000 #Delay (in ms) before probing SCSI > options UCONSOLE #Allow users to grab the console > options USERCONFIG #boot -c editor > options VISUAL_USERCONFIG #visual boot -c editor > options KTRACE #ktrace(1) support > options SYSVSHM #SYSV-style shared memory > options SYSVMSG #SYSV-style message queues > options SYSVSEM #SYSV-style semaphores > options P1003_1B #Posix P1003_1B real-time extensions > options _KPOSIX_PRIORITY_SCHEDULING > options KBD_INSTALL_CDEV # install a CDEV entry in /dev >=20 > # To make an SMP kernel, the next two are needed > #options SMP # Symmetric MultiProcessor Kernel > #options APIC_IO # Symmetric (APIC) I/O >=20 > device isa > #device eisa > device pci > #options COMPAT_OLDISA # compatability shims for lnc, le > #options COMPAT_OLDPCI # compatability shims for lnc >=20 > # Floppy drives > device fdc >=20 > # ATA and ATAPI devices > device ata > device atadisk # ATA disk drives > device atapicd # ATAPI CDROM drives > #device atapifd # ATAPI floppy drives > #device atapist # ATAPI tape drives > options ATA_STATIC_ID #Static device numbering > options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices >=20 > # SCSI Controllers > #device ahb # EISA AHA1742 family > #device ahc # AHA2940 and onboard AIC7xxx devices > #device amd # AMD 53C974 (Teckram DC-390(T)) > #device isp # Qlogic family > #device ncr # NCR/Symbios Logic > #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') >=20 > #device adv # Advansys scsi adapters > #device adw # Advansys wide scsi adapters > #device aha 1 # Adaptec 154x scsi adapters > #device aic # Adaptec 15[012]x scsi adapters, AIC-6[23]60. > #device bt # Buslogic/Mylex MultiMaster scsi adapters >=20 > #device ncv # NCR 53C500 > #device nsp # Workbit Ninja SCSI-3 > #device stg # TMC 18C30/18C50 >=20 > # RAID controllers interfaced to the SCSI subsystem > #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID > #device dpt # DPT Smartcache III, IV - See NOTES for options! > #device mly # Mylex AcceleRAID/eXtremeRAID >=20 > # SCSI peripherals > #device scbus # SCSI bus (required) > #device da # Direct Access (disks) > #device sa # Sequential Access (tape etc) > #device cd # CD > #device pass # Passthrough device (direct SCSI access) >=20 > # RAID controllers > #device aac # Adaptec FSA RAID > #device amr # AMI MegaRAID > #device ida # Compaq Smart RAID > #device mlx # Mylex DAC960 family > #device twe # 3ware ATA RAID >=20 > # atkbdc0 controls both the keyboard and the PS/2 mouse > device atkbdc 1 # At keyboard controller > device atkbd # at keyboard > device psm # psm mouse >=20 > device vga # VGA screen >=20 > # splash screen/screen saver > device splash >=20 > # syscons is the default console driver, resembling an SCO console > device sc 1 >=20 > # Enable this for the pcvt (VT220 compatible) console driver > #device vt > #options XSERVER # support for X server on a vt console > #options FAT_CURSOR # start with block cursor > # If you have a ThinkPAD, uncomment this along with the rest of the PCVT = lines > #options PCVT_SCANSET=3D2 # IBM keyboards are non-std >=20 > # Floating point support - do not disable. > device npx >=20 > # Power management support (see NOTES for more options) > device apm > # Add suspend/resume support for the i8254. > device pmtimer >=20 > # Audio support > device pcm >=20 > # PCCARD (PCMCIA) support > #device card # pccard bus > #device pcic # PCMCIA bridge >=20 > # Serial (COM) ports > device sio # 8250, 16[45]50 based serial ports >=20 > # Parallel port > device ppc > device ppbus # Parallel port bus (required) > device lpt # Printer > #device plip # TCP/IP over parallel > device ppi # Parallel port interface device > #device vpo # Requires scbus and da >=20 >=20 > # PCI Ethernet NICs. > #device de # DEC/Intel DC21x4x (``Tulip'') > #device fxp # Intel EtherExpress PRO/100B (82557, 82558) > #device vx # 3Com 3c590, 3c595 (``Vortex'') > #device wx # Intel Gigabit Ethernet Card (``Wiseman'') >=20 > # PCI Ethernet NICs that use the common MII bus controller code. > # NOTE: Be sure to keep the 'device miibus' line in order to use these NI= Cs! > device miibus # MII bus support > #device dc # DEC/Intel 21143 and various workalikes > #device pcn # AMD Am79C79x PCI 10/100 NICs > #device rl # RealTek 8129/8139 > #device sf # Adaptec AIC-6915 (``Starfire'') > #device sis # Silicon Integrated Systems SiS 900/SiS 7016 > #device ste # Sundance ST201 (D-Link DFE-550TX) > #device tl # Texas Instruments ThunderLAN > #device tx # SMC EtherPower II (83c170 ``EPIC'') > #device vr # VIA Rhine, Rhine II > #device wb # Winbond W89C840F > device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') >=20 > # ISA Ethernet NICs. pccard nics included. > #device cs # Crystal Semiconductor CS89x0 NIC > #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards > #device ex # Intel EtherExpress Pro/10 and Pro/10+ > #device ep # Etherlink III based cards > #device fe # Fujitsu MB8696x based cards > #device sn # SMC's 9000 series of ethernet chips > #device xe # Xircom pccard ethernet >=20 > # The probe order of these is presently determined by i386/isa/isa_compat= .c. > #device ie > #device le > #device lnc >=20 > # Wireless NIC cards > #device an # Aironet 4500/4800 802.11 wireless NICs.=20 > #device awi # BayStack 660 and others > #device wi # WaveLAN/IEEE 802.11 wireless NICs.=20 > #device wl # Older non 802.11 Wavelan wireless NIC. >=20 > # Pseudo devices - the number indicates how many units to allocated. > device random # Entropy device > options NOBLOCKRANDOM # avoid any blocking on device random > device loop # Network loopback > device ether # Ethernet support > #device sl # Kernel SLIP > #device ppp 1 # Kernel PPP > device tun # Packet tunnel. > device pty # Pseudo-ttys (telnet etc) > device md # Memory "disks" > device gif 4 # IPv6 and IPv4 tunneling > device faith 1 # IPv6-to-IPv4 relaying (translation) >=20 > # The `bpf' device enables the Berkeley Packet Filter. > # Be aware of the administrative consequences of enabling this! > device bpf # Berkeley packet filter >=20 > # USB support > #device uhci # UHCI PCI->USB interface > #device ohci # OHCI PCI->USB interface > #device usb # USB Bus (required) > #device udbp # USB Double Bulk Pipe devices > #device ugen # Generic > #device uhid # "Human Interface Devices" > #device ukbd # Keyboard > #device ulpt # Printer > #device umass # Disks/Mass storage - Requires scbus and da > #device ums # Mouse > #device urio # Diamond Rio 500 MP3 player > #device uscanner # Scanners > # USB Ethernet, requires mii > #device aue # ADMtek USB ethernet > #device cue # CATC USB ethernet > #device kue # Kawasaki LSI USB ethernet >=20 > device pcm > Copyright (c) 1992-2000 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: Mon Nov 20 09:47:33 EET 2000 > root@thing.orbitel.bg:/usr/src/sys/compile/THING > Timecounter "i8254" frequency 1193182 Hz > Timecounter "TSC" frequency 334093718 Hz > CPU: Pentium II/Pentium II Xeon/Celeron (334.09-MHz 686-class CPU) > Origin =3D "GenuineIntel" Id =3D 0x660 Stepping =3D 0 > Features=3D0x183f9ff > real memory =3D 134152192 (131008K bytes) > config> q > avail memory =3D 127025152 (124048K bytes) > Preloaded elf kernel "kernel" at 0xc0381000. > Preloaded userconfig_script "/boot/kernel.conf" at 0xc038109c. > Pentium Pro MTRR support enabled > md0: Malloc disk > Using $PIR table, 9 entries at 0xc00fdee0 > npx0: on motherboard > npx0: INT 16 interface > pcib0: at pcibus 0 on motherb= oard > pci0: on pcib0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pci1: at 0.0 irq 9 > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0xf000-0xf00f at device 7.1 = on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > pci0: at 7.2 irq 9 > pci0: at 7.3 > xl0: <3Com 3c980 Fast Etherlink XL> port 0xd400-0xd47f mem 0xd9000000-0xd= 900007f irq 10 at device 13.0 on pci0 > xl0: Ethernet address: 00:50:04:13:ad:d0 > miibus0: on xl0 > xlphy0: <3Com internal media interface> on miibus0 > xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > atapci1: port 0xe800-0xe8ff,0xe400-0= xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd807 irq 10 at device 19.0 on pc= i0 > ata2: at 0xd800 on atapci1 > ata3: at 0xe000 on atapci1 > atkbdc0: at port 0x60,0x64 on isa0 > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > psm0: irq 12 on atkbdc0 > psm0: model Generic PS/2 mouse, device ID 0 > fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 > fdc0: FIFO enabled, 8 bytes threshold > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > ppc0: at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=3D0x300> > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > sio1: type 16550A > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > pcm0: at port 0x220-0x22f,0x530-0x537,0x388-0x38b,0x330-= 0x331,0x370-0x371 irq 5 drq 0,1 on isa0 > unknown: can't assign resources > unknown: can't assign resources > unknown: can't assign resources > unknown: can't assign resources > unknown: can't assign resources > unknown: can't assign resources > ad0: 6149MB [13328/15/63] at ata0-master UDMA33 > Mounting root from ufs:/dev/ad0s1a > IP packet filtering initialized, divert disabled, rule-based forwarding d= isabled, default to deny, logging disabled > pcm0: hwptr went backwards 1876 -> 1656 > pcm0: hwptr went backwards 1724 -> 1616 > pcm0: hwptr went backwards 3896 -> 3720 -tacho -- [i don't follow] | [http://daemonz.org/ || tacho@daemonz.org] [everything should be made as simple as possible, but no simpler] 0x44FC3339 || [02B5 798B 4BD1 97FB F8DB 72E4 DCA4 BE03 44FC 3339] --eHhjakXzOLJAF9wJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6GRhG3KS+A0T8MzkRAg44AJ9Ky/IIDsvsGxRk1VXHV5ksZcQ+ygCfWUOt 95JyIQUgv6BmleEITuRnpvE= =V9xS -----END PGP SIGNATURE----- --eHhjakXzOLJAF9wJ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message