Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2009 11:03:25 +0400
From:      Chagin Dmitry <dchagin@freebsd.org>
To:        Weongyo Jeong <weongyo@freebsd.org>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: malo causes sig 12 error and panic on Freebsd 7.2-PRERELEASE (7-STABLE)
Message-ID:  <20090331070325.GA2479@dchagin.static.corbina.ru>
In-Reply-To: <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> <20090331034229.GJ26132@weongyo.cdnetworks.kr>

next in thread | previous in thread | raw e-mail | index | archive | help

--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: <Marvell Libertas 88W8335 802.11g
> > 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<BROADCAST,SIMPLEX,MULTICAST> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090331070325.GA2479>