From owner-freebsd-questions@FreeBSD.ORG Mon Apr 18 17:23:13 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 115BA106566B for ; Mon, 18 Apr 2011 17:23:13 +0000 (UTC) (envelope-from gautham@lisphacker.org) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id C6D858FC1A for ; Mon, 18 Apr 2011 17:23:12 +0000 (UTC) Received: by vws18 with SMTP id 18so4734442vws.13 for ; Mon, 18 Apr 2011 10:23:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.178.102 with SMTP id cx6mr3253977vdc.59.1303145908391; Mon, 18 Apr 2011 09:58:28 -0700 (PDT) Received: by 10.52.163.8 with HTTP; Mon, 18 Apr 2011 09:58:28 -0700 (PDT) Date: Mon, 18 Apr 2011 16:58:28 +0000 Message-ID: From: Gautham Ganapathy To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: ZFS on USB / Sound on alienware m11x X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2011 17:23:13 -0000 Hi I am trying out FreeBSD on ZFS using the PC-BSD 8.2 installer. I have it installed on a Western Digital USB HDD connected to an Alienware m11x laptop. It seems to work well except that once in a while, any application performing a write freezes for a few seconds (around 15 or so) and looking at top shows their states to be in zio. Is this because it was installed on a USB drive? I am trying to get sound working on the laptop. After starting snd_hda at boot, two devices are found and dmesg shows the following hdac0: mem 0xf1000000-0xf1003fff irq 17 at device 0.1 on pci1 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] hdac1: mem 0xf1600000-0xf1603fff irq 22 at device 27.0 on pci0 hdac1: HDA Driver Revision: 20100226_0142 hdac1: [ITHREAD] hdac0: HDA Codec #0: NVidia (Unknown) hdac0: HDA Codec #1: NVidia (Unknown) hdac0: HDA Codec #2: NVidia (Unknown) hdac0: HDA Codec #3: NVidia (Unknown) pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 1 nid 1 on hdac0 pcm2: at cad 2 nid 1 on hdac0 pcm3: at cad 3 nid 1 on hdac0 hdac1: HDA Codec #0: Realtek ALC665 pcm4: at cad 0 nid 1 on hdac1 pcm5: at cad 0 nid 1 on hdac1 I think the NVIDIA device is for the HDMI output, while the Realtek codec is for the normal audio. Under /dev, I can see six devices dsp0.0,dsp1.1,dsp2.1,dsp3.1,dsp4.0 and dsp5.1. I tried playing an mp3 file using mpg123 and gave each of these devices using the -a option, but none of them worked. The output tab under the GNOME sound preferences shows the devices dsp0, dsp1, dsp2, dsp3, dsp4 and dsp5. None of them seem to work either. Any ideas on how to get the wound working? Gautham