iwi leaks memory?

Luigi Rizzo rizzo at icir.org
Fri Feb 16 11:15:20 UTC 2007


On Fri, Feb 16, 2007 at 08:41:09AM +0200, V.Chukharev wrote:
> On Fri, 16 Feb 2007 00:35:51 +0200, Luigi Rizzo <rizzo at icir.org> wrote:
> 
> > will have a look at this.
> > Which version of if_iwi.c are you using ?
> 
> Thanks.
> $ grep -i __FBSDID /usr/src/sys/dev/iwi/if_iwi.c
> __FBSDID("$FreeBSD: src/sys/dev/iwi/if_iwi.c,v 1.8.2.12 2007/01/23 22:17:48 jhb Exp $");
> 
> It's STABLE, updated couple of days ago.

ok i tried your script to do ifconfig up and down
and it does not give me the problem you see (at least not until 100).
Do you see the error always at the same point ? Any other things
e.g. how is the iwi_bss loaded (manually, from /boot/loader or
automatically) ?

	cheers
	luigi

> > 	cheers
> > 	luigi
> >
> > On Thu, Feb 15, 2007 at 11:34:48PM +0200, V.Chukharev wrote:
> >> Hi,
> >>
> >> It seems that iwi driver cannot survive more than just a few cycles of switching down/up.
> >> In a place with a bad wireless connection I needed to do that quite a number of times
> >> (that was the simplest way to restore connectivity I knew), and after 5-10 cycles I needed
> >> to reboot my notebook totally.
> >>
> >> Can anybody with iwi (<Intel(R) PRO/Wireless 2200BG>) confirm (or better unconfirm)
> >> that doing
> >>
> >>     for ii in `jot 100`; do sudo ifconfig iwi0 down; sleep 2; sudo ifconfig iwi0 up; done
> >>
> >> always results in the following messages (and lost connectivity):
> >>
> >> Feb 15 09:43:59 chu kernel: iwi0: link state changed to DOWN
> >> Feb 15 09:44:13 chu kernel: iwi0: link state changed to UP
> >> Feb 15 09:44:13 chu kernel: iwi0: link state changed to DOWN
> >> Feb 15 09:44:18 chu kernel: iwi0: device timeout
> >> Feb 15 09:44:20 chu kernel: iwi0: could not allocate firmware DMA memory
> >>
> >> A fix for this would be even better ;))
> >>
> >> Thanks,
> >> --
> >> V. Chukharev
> >> _______________________________________________
> >> freebsd-net at freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> >> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
> >
> 
> 
> -- 
> V. Chukharev


More information about the freebsd-net mailing list