From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 19 20:04:40 2010 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E339C106566B for ; Tue, 19 Jan 2010 20:04:40 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 732A18FC13 for ; Tue, 19 Jan 2010 20:04:39 +0000 (UTC) Received: by ewy26 with SMTP id 26so1421621ewy.3 for ; Tue, 19 Jan 2010 12:04:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Lk/52hzAegZuYj+NuFD0qn+SmxVwD+knui2yhS4UmGw=; b=jjH03or+lMVRFtznpYhQemsNEwRhRa9Yg5ywLKjvf2QYjw8z4LDHKPHgxyBaStIjcC LCTxCH3ikfrgvJ0cp6tLJ8NnVkWXAMAe1+pYPoE8sabe8SFSyeh7kChtgJCr7julpU66 YEiyd2vkqSqvVPEPvGhwCBDHy5ZWzL7QuLpQw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=KULxHGpTRedjVccpKIRSi8nlEFy9IB5tGS5WMK5z5bFpst8LBR3lDLGU+xaWBBLaT5 BIEsPW7owWGNDbQboVDpzy5n8FxNi5SrJAsZLi9n9cl7jac1h1VLThiazegU0UVRBJ6F JwVogeUDWq0lDM8h1+pamDBhGa8AgbMTG038g= MIME-Version: 1.0 Received: by 10.213.110.14 with SMTP id l14mr5768599ebp.82.1263931479117; Tue, 19 Jan 2010 12:04:39 -0800 (PST) In-Reply-To: <20100119075444.5ab3acc5@gmail.com> References: <20100106103504.51cc1428@gmail.com> <3a142e751001171859k39b20885y3b15a3bc5ac2c225@mail.gmail.com> <3a142e751001171900l1b341b78o409734bc744f30a8@mail.gmail.com> <20100118090840.52be92e3@gmail.com> <3a142e751001180823i2e891017u4cb0111a1a8ee6be@mail.gmail.com> <20100118114000.15dcd17c@gmail.com> <3a142e751001181334t4e48a21bk499df4b4edccd73e@mail.gmail.com> <20100118205326.54143464@gmail.com> <3a142e751001190417gff6c3a9l8458894cc73898f1@mail.gmail.com> <20100119075444.5ab3acc5@gmail.com> From: Paul B Mahol Date: Tue, 19 Jan 2010 20:04:19 +0000 Message-ID: <3a142e751001191204g6446ee27wa7b0d463ecb3eb5b@mail.gmail.com> To: Alex Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mobile@freebsd.org Subject: Re: Wireless problems on 8.0-RELEASE X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 20:04:41 -0000 On Tue, Jan 19, 2010 at 12:54 PM, Alex wrote: > On Tue, 19 Jan 2010 12:17:49 +0000 > Paul B Mahol wrote: > >> On 1/19/10, Alex wrote: >> > On Mon, 18 Jan 2010 21:34:27 +0000 >> > Paul B Mahol wrote: >> > >> >> On 1/18/10, Alex wrote: >> >> > On Mon, 18 Jan 2010 16:23:56 +0000 >> >> > Paul B Mahol wrote: >> >> > >> >> >> On 1/18/10, Alex wrote: >> >> >> > The module is loaded at boot time in loader.conf, but I think >> >> >> > this is the message you were looking for: >> >> >> > >> >> >> > ntoskrnl dummy called... >> >> >> >> >> >> I was looking for: >> >> >> >> >> >> no match for IoWMIQueryAllData >> >> >> no match for IoWMIOpenBlock >> >> >> >> >> >> Does message appears only when uploading >> >> >> or just always, after boot is completed >> >> >> but before interface is turned up (via ifconfig) >> >> >> >> >> > >> >> > I've never seen those messages in the dmesg output. Strangely, >> >> > the only method by which I can successfully upload large files >> >> > is scp. >> >> >> >> Here is my test results (another driver/card combination): >> >> With opera and gmail, upload "stuck" at ~32kb but rtorrent and sftp >> >> uploads just fine. Upload of 1.3M file in opera stuck at few kb but >> >> it was complete after >> >> few seconds. >> >> >> >> >> You said that 7.2 doesnt have this problem, >> >> >> are you using same SYS and INF files with 8.0 ? >> >> >> >> >> > >> >> > No, because Lenovo released updates for the driver. Both the >> >> > older version of the driver (the one I used on 7.2) and the >> >> > newest version of the driver produce the same problems on 8.0. >> >> > If you want, I can upload the older version of the driver too. >> >> >> >> Try to remove line with OID_GEN_CURRENT_LOOKAHEAD >> >> in /sys/dev/if_ndis.c, rebuild and reinstall if_ndis module and see >> >> if that helps. >> >> >> > >> > /sys/dev/if_ndis.c does not exist, >> > however /sys/dev/if_ndis/if_ndis.c does exist. I have commented out >> > the line and executed: >> > >> > make buildkernel >> > make installkernel >> > >> > but it did not seem to fix the problem (I don't use modules -- I >> > only compile in what I need). >> > >> >> Why are you have tso disabled, does it works with tso enabled? >> >> Are there any other custom sysctl options? >> >> >> > >> > If I recall correctly, someone on IRC recommended I try disabling >> > that. Changing this setting had no effect -- the problem existed >> > either way. It is enabled now. No other sysctl options are in >> > effect. >> > >> >> What is signal strength of the AP? And current link speed? (this >> >> one is available only on CURRENT and from my git repo code) >> > >> > SSID/MESH ID =A0 =A0BSSID =A0 =A0 =A0 =A0 =A0 =A0 =A0CHAN RATE =A0 S:N= =A0 =A0 INT CAPS >> > skynet =A0 =A0 =A0 =A0 =A000:28:10:00:28:10 =A0 =A06 =A0 54M -71:-96 = =A0100 EP >> > >> > media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g >> That one is just after association, code from CURRENT have fixed this. >> >> Does lowering mtu of wlan0 interface to 1400 helps? >> >> Speaking about "ntoskrnl dummy called..." >> >> Try to change return value of IoWMIRegistrationControl, in >> /sys/compat/ndis/subr_ntoskrnl.c , from STATUS_SUCCESS to >> STATUS_NOT_IMPLEMENTED and recompile/reinstall kernel. >> > > I have changed the return value, but the ntoskrnl messages are still > being displayed at a rate of about one per second. And on 7.2 message where not displayed? That's strange ... > > I have changed the MTU and am now able to log in to gmail, however when > I do the following message appears: > > "Some Gmail features have failed to load due to an Internet > connectivity problem." > > Moreover, the user interface is unresponsive. Maybe miniport driver modify/corrupts ethernet packets somehow. Try to pick packets transferred in air (via another card with working monitor mode). Tcpdump on wlan(0) can not help because that is what FreeBSD sends to ndis and not what driver sends, so with your already reported output we can only see outcome of bug, not real source of it. Try code from gitorious, if something come up with bootverbose I could add bunch of DEBUG printfs. --=20 Paul B Mahol