From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 25 01:06:11 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A56FF106566B for ; Fri, 25 Dec 2009 01:06:11 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 612F78FC0A for ; Fri, 25 Dec 2009 01:06:11 +0000 (UTC) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NNyd5-0003YL-0g for freebsd-sparc64@freebsd.org; Fri, 25 Dec 2009 01:06:10 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NNyd4-0001FQ-36 for freebsd-sparc64@freebsd.org; Fri, 25 Dec 2009 01:06:06 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBP165OP002407 for ; Fri, 25 Dec 2009 01:06:05 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBP165Zk002406 for freebsd-sparc64@freebsd.org; Fri, 25 Dec 2009 01:06:05 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 25 Dec 2009 01:06:05 +0000 From: Anton Shterenlikht To: freebsd-sparc64@freebsd.org Message-ID: <20091225010605.GA2393@mech-cluster241.men.bris.ac.uk> References: <20091224193546.GA29965@mech-cluster241.men.bris.ac.uk> <4B33D8EB.2000107@acm.poly.edu> <20091224214312.GA1344@mech-cluster241.men.bris.ac.uk> <20091225005652.GA2322@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091225005652.GA2322@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -2.1 X-Spam-Level: -- Subject: Re: sound on blade 1500? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 01:06:11 -0000 On Fri, Dec 25, 2009 at 12:56:52AM +0000, Anton Shterenlikht wrote: > On Thu, Dec 24, 2009 at 09:43:12PM +0000, Anton Shterenlikht wrote: > > On Thu, Dec 24, 2009 at 04:11:07PM -0500, Boris Kochergin wrote: > > > > How can I check which chip I've got in blade 1500? > > > > I couldn't find anything is dmesg > > > > > > > Have a look at the output of "pciconf -lv". A device in the multimedia > > > class and audio subclass will be your sound card. > > > > cool, thank you > > > > none1@pci0:0:8:0: class=0x040100 card=0x545110b9 chip=0x545110b9 rev=0x02 > > hdr=0x00 > > vendor = 'Acer Labs Incorporated (ALi/ULi)' > > device = 'ALI M5451 PCI AC-Link Controller Audio Device' > > class = multimedia > > subclass = audio > > > > I see here > > http://www.freebsd.org/news/status/report-2009-04-2009-09.html#FreeBSD/sparc64 > > > > that snd_t4dwave(4) might be working on sparc64 for this device. > > kind of worked: > > mech-anton242# dmesg|grep pcm > pcm1: port 0x900-0x9ff mem 0x100000-0x100fff at device 8.0 on pci0 > pcm1: > pcm1: [GIANT-LOCKED] > pcm1: [ITHREAD] > > mech-anton242# cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 64bit 2009061500/sparc64) > Installed devices: > pcm1: at io 0x900 irq 1956 [GIANT] (1p:1v/1r:1v channels duplex default) > > and 'ls -al > /dev/dsp' produces some sound, > however, playing a cd with cdcontrol gives only > perfect silence: > > cdcontrol> status > Audio status = 17, current track = 1, current position = 0:25.05 > No media catalog info available > Left volume = 255, right volume = 255 > cdcontrol> > > The volume is max (I think) and no other obvious problems. > > How can I debug this further? Just saw this in the console, what can I deduce from this: acd0: FAILURE - READ_SUBCHANNEL ILLEGAL REQUEST asc=0x00 ascq=0x11 (cd0:ata1:0:0:0): READ SUB-CHANNEL. CDB: 42 2 40 2 0 0 0 0 18 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error (cd0:ata1:0:0:0): SCSI Status: Check Condition (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:0,11 (cd0:ata1:0:0:0): Audio play operation in progress (cd0:ata1:0:0:0): Unretryable error Dec 25 01:00:57 mech-anton242 su: mexas to root on /dev/ttyv2 acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 1 0 0 1 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error (cd0:ata1:0:0:0): SCSI Status: Check Condition (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 (cd0:ata1:0:0:0): Illegal mode for this track (cd0:ata1:0:0:0): Unretryable error (cd0:ata1:0:0:0): cddone: got error 0x6 back acd0: FAILURE - READ_SUBCHANNEL ILLEGAL REQUEST asc=0x00 ascq=0x11 (cd0:ata1:0:0:0): READ SUB-CHANNEL. CDB: 42 2 40 2 0 0 0 0 18 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error (cd0:ata1:0:0:0): SCSI Status: Check Condition (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:0,11 (cd0:ata1:0:0:0): Audio play operation in progress (cd0:ata1:0:0:0): Unretryable error acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00 (cd0:ata1:0:0:0): READ(10). CDB: 28 0 0 0 0 1 0 0 1 0 (cd0:ata1:0:0:0): CAM Status: SCSI Status Error (cd0:ata1:0:0:0): SCSI Status: Check Condition (cd0:ata1:0:0:0): ILLEGAL REQUEST asc:64,0 (cd0:ata1:0:0:0): Illegal mode for this track (cd0:ata1:0:0:0): Unretryable error (cd0:ata1:0:0:0): cddone: got error 0x6 back many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423