From owner-freebsd-stable@FreeBSD.ORG Tue Mar 31 07:03:32 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 F154C1065690; Tue, 31 Mar 2009 07:03:32 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 722268FC2D; Tue, 31 Mar 2009 07:03:31 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 34A657A7B5; Tue, 31 Mar 2009 11:03:30 +0400 (MSD) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 1709711437; Tue, 31 Mar 2009 11:03:30 +0400 Received: from dchagin.static.corbina.ru (localhost.chd.net [127.0.0.1]) by dchagin.static.corbina.ru (8.14.3/8.14.3) with ESMTP id n2V73TkY002546; Tue, 31 Mar 2009 11:03:29 +0400 (MSD) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.3/8.14.3/Submit) id n2V73P32002545; Tue, 31 Mar 2009 11:03:25 +0400 (MSD) (envelope-from dchagin) Date: Tue, 31 Mar 2009 11:03:25 +0400 From: Chagin Dmitry To: Weongyo Jeong Message-ID: <20090331070325.GA2479@dchagin.static.corbina.ru> References: <49CAA7AB.8030506@reiteration.net> <20090328191143.GA1989@dchagin.static.corbina.ru> <20090330080532.GB26132@weongyo.cdnetworks.kr> <20090330165334.GA2831@dchagin.static.corbina.ru> <20090331034229.GJ26132@weongyo.cdnetworks.kr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <20090331034229.GJ26132@weongyo.cdnetworks.kr> User-Agent: Mutt/1.5.19 (2009-01-05) 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 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 07:03:33 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 31, 2009 at 12:42:29PM +0900, Weongyo Jeong wrote: > 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 > > > > >=20 > > [skiped] > >=20 > > > >=20 > > > > Weongyo, please, look at line #166 - 169. > > >=20 > > > Oops. I got it. :-) I'll commit a patch into CURRENT as soon as > > > possible. Thanks! > > >=20 > >=20 > > yeah, does not fall any more. But, unfortunately, does not work :( > >=20 > > Mar 30 20:45:13 dchagin kernel: malo0: > Wireless Adapter> mem 0xd0130000-0xd013ffff,0xd0120000-0xd012ffff irq 2= 2 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 cm= d 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 > >=20 > > is this expected behaviour for such device? >=20 > No. It's one of the unexpected for amd64. Could you please test with > attached patch? >=20 > regards, > Weongyo Jeong >=20 > Index: if_malo_pci.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- 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)) { dchagin# ifconfig malo0 malo0: flags=3D8802 metric 0 mtu 2290 ether 00:18:4d:ec:61:89 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier dchagin# ifconfig malo0 scan ifconfig: unable to get scan results In the evening I will more in detail look... anyway, many thanks :) --=20 Have fun! chd --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAknRwDwACgkQ0t2Tb3OO/O31RwCfccm+SV4+Vuhk2hkDUhGMWUFM 0QcAnjT3wJWqVvDLZvE34LjakjhwJQNv =wBIU -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V--