From owner-freebsd-stable@FreeBSD.ORG Fri Jan 11 14:43:29 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF60516A51E for ; Fri, 11 Jan 2008 14:43:29 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id 4F95913C448 for ; Fri, 11 Jan 2008 14:43:28 +0000 (UTC) (envelope-from jhs@berklix.org) Received: from js.berklix.net (p549A73A7.dip.t-dialin.net [84.154.115.167]) (authenticated bits=0) by tower.berklix.org (8.13.6/8.13.6) with ESMTP id m0BEhPHJ009431 for ; Fri, 11 Jan 2008 14:43:27 GMT (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by js.berklix.net (8.13.8/8.13.8) with ESMTP id m0BEig1Z067231 for ; Fri, 11 Jan 2008 15:44:42 +0100 (CET) (envelope-from jhs@berklix.org) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.13.8/8.13.8) with ESMTP id m0BEiaS4093841 for ; Fri, 11 Jan 2008 15:44:41 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <200801111444.m0BEiaS4093841@fire.js.berklix.net> To: stable@freebsd.org From: "Julian Stacey" Organization: http://berklix.com BSD Linux Unix Consultancy, Munich/Muenchen. User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://berklix.com/~jhs/cv/ Date: Fri, 11 Jan 2008 15:44:36 +0100 Sender: jhs@berklix.org Cc: Subject: sticky sound on 7 stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2008 14:43:30 -0000 Hi stable@ I have sticky sound flow on 2 different slowish laptops running 7 Stable, Sound plays for a few secs, then breaks for a fraction & resumes, repeatedly. I guess fault is not sound config, hence I'm not posting multimedia@, but stable@ where I've seen other Sticky 7 response topics. I have 3 test files: -rwxr-xr-x 1 jhs staff 32521108 Dec 9 18:01 1.avi* -rw-r----- 1 jhs staff 3859434 Dec 6 11:03 audio_01.mp3 -rw-r----- 1 jhs staff 42535964 Dec 6 11:02 audio_01.wav 1.avi: RIFF (little-endian) data, AVI, 320 x 240, ~15 fps, video: Motion JPEG, audio: uncompressed PCM (mono, 11024 Hz) audio_01.mp3: MPEG ADTS, layer III, v1, 128 kBits, 44.1 kHz, JntStereo audio_01.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 Hz 1.avi is from my digital camera: a short movie. (nothing wrong with 1.avi on a faster laptop running 6.2-REL) mplayer plays it in bursts. screen is local, no ethernet activity, no other disc acrivity (makes etc) Only other processe I have are idle sshd & apache & such, nothing active. No disc activity until I start the music player. on a dir of / thus no soft updates also on a dir of /usr with soft updates mplayer *.wav (plays fine on a faster 6.2 box) Plays normal speed on the slower CPU (where top shows 6 to 0% free). but occasional interruptions. ie sticky. (no pcmcia ethernet activity, I can control it via SLIP!) Plays slow on the faster CPU! (where top shows 10% free CPU) (unusual machine, 5 pcmcia slots, maybe irqs or other conf. screwed, thus pcmcia ethernet works.) Also interruptions. ksmp3play audio_01.mp3 (plays fine on a faster 6.2 box) Really bad break up, this could be a different simpler problem ? Maybe my CPU can't decompress fast enough ? Maybe this not a FreeBSD problem ? I think I tried swapoff on all partitions, & then building a little ram disc for the mp3, no improvement. Much other info on both laptops & their BSD conf. here: host=lapd CPU 166M 586 http://www.berklix.com/~jhs/hardware/digital/ host=lapn CPU 133M 586 http://www.berklix.com/~jhs/hardware/laptops/dell_latitude_xpi_p133st/ Many dmesg & other debug info linked within, anything else you want please just tell me debug command to run. I'm happy to try src/ & sys/ patches etc. Pref. based on 7-stable. Both have /boot/loader.conf: hw.ata.ata_dma="0" # Essential else disk access fails. Could that be it ? both report from xs atacontrol mode ad0 current mode = PIO4 I dont know about HZ setting, or different schedulers, but happy to try sysctls or tweak kernel configs if people suggest ideas ? Should I be using rtprio or that SCHED/ULE whatever swapper ? At least the same model Digital laptop has played sound for others on older FreeBSD. Ideas, comments, & TYFM URLs all welcome, Thanks ! Julian -- Julian Stacey. Munich Consultant: BSD Linux Unix. http://berklix.com