malo causes sig 12 error and panic on Freebsd 7.2-PRERELEASE (7-STABLE)

Chagin Dmitry dchagin at freebsd.org
Tue Mar 31 00:03:33 PDT 2009


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
> > > > > 
> > [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: <Marvell Libertas 88W8335 802.11g
> > 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
> 

> 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)) {

dchagin# ifconfig malo0
malo0: flags=8802<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 :)

-- 
Have fun!
chd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090331/ac0776c5/attachment.pgp


More information about the freebsd-stable mailing list