Date: Tue, 31 Mar 2009 12:42:29 +0900 From: Weongyo Jeong <weongyo.jeong@gmail.com> To: Chagin Dmitry <dchagin@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: <20090331034229.GJ26132@weongyo.cdnetworks.kr> In-Reply-To: <20090330165334.GA2831@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>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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
[-- Attachment #2 --]
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)) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090331034229.GJ26132>
