From owner-freebsd-current@FreeBSD.ORG Fri Jun 1 07:40:15 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D752C1065672; Fri, 1 Jun 2012 07:40:15 +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 882E88FC12; Fri, 1 Jun 2012 07:40:15 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SaMT0-0004xe-Et; Fri, 01 Jun 2012 08:40:14 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1SaMT0-0003bY-0I; Fri, 01 Jun 2012 08:40:14 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q517eDoQ099034; Fri, 1 Jun 2012 08:40:13 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q517eDCF099033; Fri, 1 Jun 2012 08:40:13 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Fri, 1 Jun 2012 08:40:13 +0100 From: Anton Shterenlikht To: John Baldwin Message-ID: <20120601074013.GA98814@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: John Baldwin , Anton Shterenlikht , freebsd-current@freebsd.org References: <20120426224215.GA79891@mech-cluster241.men.bris.ac.uk> <201205211308.24244.jhb@freebsd.org> <20120529231701.GA16367@mech-cluster241.men.bris.ac.uk> <201205301200.08879.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201205301200.08879.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, Anton Shterenlikht Subject: Re: updating from r231158 to 234465: mounting from ufs:/dev/ad4s1a failed with error 19 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2012 07:40:16 -0000 On Wed, May 30, 2012 at 12:00:08PM -0400, John Baldwin wrote: > On Tuesday, May 29, 2012 7:17:01 pm Anton Shterenlikht wrote: > > On Mon, May 21, 2012 at 01:08:24PM -0400, John Baldwin wrote: > > > On Monday, May 21, 2012 5:45:19 am Anton Shterenlikht wrote: > > > > On Mon, May 21, 2012 at 09:42:17AM +0100, Anton Shterenlikht wrote: > > > > > On Sun, May 20, 2012 at 09:54:51AM +0100, Anton Shterenlikht wrote: > > > > > > On Fri, May 18, 2012 at 10:48:52AM -0400, John Baldwin wrote: > > > > > > > On Wednesday, May 16, 2012 11:30:19 am Anton Shterenlikht wrote: > > > > > > > > er.. yes, of course it helped. > > > > > > > > > > > > > > > > My problem was that I couldn't boot. > > > > > > > > So, I presumed the very existence of dmesg.boot > > > > > > > > showed that your patches (both of them) work fine. > > > > > > > > But, sorry, I could've been more explicit. > > > > > > > > All seems to work, including sound and wireless. > > > > > > > > > > > > > > Hmm. Can you try one more thing. Can you boot an unmodified > kernel > > > (no > > > > > > > patches) but set 'hw.pci.enable_io_modes=0' from the loader? > > > > > > > > > > > > That works too, see dmesg.boot below. > > > > > > > > > > I might have misled you on this, > > > > > > > > Yes, sorry, looking at the dmesg I sent you, > > > > I obviously booted the patched kernel. > > > > > > > > So, no, 'hw.pci.enable_io_modes=0' in /boot/loader.conf > > > > doesn't help to boot an unmodified kernel. > > > > > > Ok, I'll work on getting this fix into the tree in some fashion. > > > > Just to let you know. > > I'm on 2³6024 now, with your patch. > > > > I've lost sound. > > > > Commands like: > > > > % ls > /dev/dsp0.0 > > % mixer vol 100 > > > > give lots of > > > > hðãc0: ©ømmãnð timeøut øn ãððress 0 > > hðãc0: ©ømmãnð timeøut øn ãððress 0 > > hðãc0: ©ømmãnð timeøut øn ãððress 0 > > > > on the console. > > > > Just wanted to check with you if you > > think this has anything to do with the > > patch, or whether you think it's a completely > > different issue. > > It could be related perhaps, though I thought on your system the only BAR that > was disabled was the VGA framebuffer. The situation with sould is more complex. On reboot, I get sound, e.g. # cat > /dev/dsp or # dd if=/dev/cd0 of=/dev/dspcd bs=2352 It seems the hdac0 errors start when I launch linux-flash from firefox: hdac0: Unexpected unsolicited response from address 0: 00000000 hdac0: Unexpected unsolicited response from address 0: 00000000 hdac0: Command timeout on address 0 hdac0: Reset setting timeout pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead hdac0: Command timeout on address 0 After that I can't get the sound back until I reboot. I'll ask in ports as well. 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