From owner-freebsd-stable@FreeBSD.ORG Tue Mar 31 03:42:38 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3E2C106566B; Tue, 31 Mar 2009 03:42:38 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by mx1.freebsd.org (Postfix) with ESMTP id A1F608FC13; Tue, 31 Mar 2009 03:42:38 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so3074429rvb.43 for ; Mon, 30 Mar 2009 20:42:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:organization :x-operation-sytem; bh=o0UF34+ZtyOtvWjzoin73vb654zGAD/bGtOOBDAOwQU=; b=Kry6lLlj6/h4NjRuKhmcVEikYbhW055jjO+yMaXcYp+Hb0t39HDo+wLdtG51q6CpbD A1Fa0V/WTLf2nydxJrJ9WnYWJIUI+c/m9hS+C+yOUUddeH8pIsdluRT7H/7T4YLW4A/1 qkJgRsj8A/y3AMO+VyMpdX9jqcJfwVb6yOK+8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :organization:x-operation-sytem; b=RBIzo3QRHL7xdxIQeISjSLoPfB2fHadupl60xkDUb0IQ+u/WT4vpfMeZ/YDImOroK+ qcYHn70z7eDG6cc75KdyMLLJ9UG2yN7ZSvM90xThzP8iqhQSrJiCuuAPTJI2irs8zLjq N74CZIk/iqdLV8p29R8Yxgfl0HDPDLPlP8Ujw= Received: by 10.141.105.14 with SMTP id h14mr1451523rvm.138.1238470953247; Mon, 30 Mar 2009 20:42:33 -0700 (PDT) Received: from weongyo ([114.111.62.249]) by mx.google.com with ESMTPS id k41sm15814365rvb.46.2009.03.30.20.42.31 (version=SSLv3 cipher=RC4-MD5); Mon, 30 Mar 2009 20:42:32 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Tue, 31 Mar 2009 12:42:29 +0900 From: Weongyo Jeong Date: Tue, 31 Mar 2009 12:42:29 +0900 To: Chagin Dmitry Message-ID: <20090331034229.GJ26132@weongyo.cdnetworks.kr> References: <49CAA7AB.8030506@reiteration.net> <20090328191143.GA1989@dchagin.static.corbina.ru> <20090330080532.GB26132@weongyo.cdnetworks.kr> <20090330165334.GA2831@dchagin.static.corbina.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0ntfKIWw70PvrIHh" Content-Disposition: inline In-Reply-To: <20090330165334.GA2831@dchagin.static.corbina.ru> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: FreeBSD Stable Subject: Re: malo causes sig 12 error and panic on Freebsd 7.2-PRERELEASE (7-STABLE) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Mar 2009 03:42:39 -0000 --0ntfKIWw70PvrIHh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Mar 30, 2009 at 08:53:34PM +0400, Chagin Dmitry wrote: > On Mon, Mar 30, 2009 at 05:05:32PM +0900, Weongyo Jeong wrote: > > On Sat, Mar 28, 2009 at 10:11:43PM +0300, Chagin Dmitry wrote: > > > On Wed, Mar 25, 2009 at 09:52:43PM +0000, John wrote: > > > > Hi list > > > > > [skiped] > > > > > > > Weongyo, please, look at line #166 - 169. > > > > Oops. I got it. :-) I'll commit a patch into CURRENT as soon as > > possible. Thanks! > > > > yeah, does not fall any more. But, unfortunately, does not work :( > > Mar 30 20:45:13 dchagin kernel: malo0: Wireless Adapter> mem 0xd0130000-0xd013ffff,0xd0120000-0xd012ffff irq 22 at > device 4.0 on pci4 > Mar 30 20:45:13 dchagin kernel: malo0: [FILTER] > Mar 30 20:45:13 dchagin kernel: malo0: unable to allocate memory for cmd tag, > error 12 > Mar 30 20:45:13 dchagin kernel: malo0: unable to attach HAL > Mar 30 20:45:13 dchagin kernel: device_attach: malo0 attach returned 5 > > is this expected behaviour for such device? No. It's one of the unexpected for amd64. Could you please test with attached patch? regards, Weongyo Jeong --0ntfKIWw70PvrIHh Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="patch_malo_20090331_allocnow.diff" Index: if_malo_pci.c =================================================================== --- if_malo_pci.c (revision 190544) +++ if_malo_pci.c (working copy) @@ -245,7 +245,7 @@ BUS_SPACE_MAXADDR, /* maxsize */ 0, /* nsegments */ BUS_SPACE_MAXADDR, /* maxsegsize */ - BUS_DMA_ALLOCNOW, /* flags */ + 0, /* flags */ NULL, /* lockfunc */ NULL, /* lockarg */ &sc->malo_dmat)) { --0ntfKIWw70PvrIHh--