Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Wireless problems on 8.0-RELEASE

4 views
Skip to first unread message

Alex

unread,
Jan 6, 2010, 10:35:04 AM1/6/10
to freebsd...@freebsd.org
Hi. I am having connection issues with multiple servers, and I think it
might be related to FreeBSD. Whenever I try to log in to Paypal or edit
Wikipedia, I get no response from the web server after POSTing the form
data. Additionally, when I try to email a colleague a file (Claws
3.7.3), the transfer to gmail's SMTP server stops at *exactly* 36864
bytes, every time. The file is only ~600KB.

I am using wireless on a Thinkpad X200:
44C8733I SBB THINKPAD B/G/N 44C5194I SBB INTEGRWIRELESSWIDEAREANETW
which appears to be a RTL8192SE. I am using the drivers provided by the
manufacturer combined with ndis.

My MTU is set to 1500, and net.inet.tcp.tso is disabled.

Does anyone know why this might be happening?

--
Alex

signature.asc

Paul B Mahol

unread,
Jan 17, 2010, 5:30:12 PM1/17/10
to Alex, freebsd...@freebsd.org

That is irrelevant because MTU setting is completely ignored by
ndisapi and if_ndis.

> Does anyone know why this might be happening?

There are many possible reasons, but I never experienced upload problems
with NDISulator. (well only when using powerd with aggressive settings,
this way watchdog did happened when transferring at high speeds ...
but tranfer completed just fine)

What is dmesg output related to ndis0?

You could also try code from here:
http://www.gitorious.org/ndisulator

--
Paul B Mahol

Alex

unread,
Jan 17, 2010, 7:17:01 PM1/17/10
to Paul B Mahol, freebsd...@freebsd.org

I filed a report about this problem which contains the information you
are looking for: http://www.freebsd.org/cgi/query-pr.cgi?pr=142624

Thank you for your assistance.

--
Alex

Paul B Mahol

unread,
Jan 17, 2010, 10:00:46 PM1/17/10
to Alex, freebsd...@freebsd.org
On 1/18/10, Paul B Mahol <one...@gmail.com> wrote:
> Report is missing most important lines, the ones which are displayed
> once module is loaded but before interface is activated.
>
> I need to know the real name of "dummy" call(s).

If you can't manage to get that information, post link to .SYS and
.INF files you are using.

--
Paul B Mahol

Paul B Mahol

unread,
Jan 17, 2010, 9:59:16 PM1/17/10
to Alex, freebsd...@freebsd.org
On 1/18/10, Alex <ale...@gmail.com> wrote:

Report is missing most important lines, the ones which are displayed


once module is loaded but before interface is activated.

I need to know the real name of "dummy" call(s).

--
Paul B Mahol

Alex

unread,
Jan 18, 2010, 9:08:40 AM1/18/10
to Paul B Mahol, freebsd...@freebsd.org
On Mon, 18 Jan 2010 03:00:46 +0000

Paul B Mahol <one...@gmail.com> wrote:

> On 1/18/10, Paul B Mahol <one...@gmail.com> wrote:
> > On 1/18/10, Alex <ale...@gmail.com> wrote:
> >> On Sun, 17 Jan 2010 22:30:12 +0000
> >> Paul B Mahol <one...@gmail.com> wrote:
> >>
> >>> On 1/6/10, Alex <ale...@gmail.com> wrote:
> >>> > Does anyone know why this might be happening?
> >>>
> >>> There are many possible reasons, but I never experienced upload
> >>> problems with NDISulator. (well only when using powerd with
> >>> aggressive settings, this way watchdog did happened when
> >>> transferring at high speeds ... but tranfer completed just fine)
> >>>
> >>> What is dmesg output related to ndis0?
> >>>
> >>
> >> I filed a report about this problem which contains the information
> >> you are looking for:
> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=142624
> >
> > Report is missing most important lines, the ones which are displayed
> > once module is loaded but before interface is activated.
> >
> > I need to know the real name of "dummy" call(s).
>

The module is loaded at boot time in loader.conf, but I think this is
the message you were looking for:

ntoskrnl dummy called...

That message repeats itself over and over, completely filling up my
dmesg output.

> If you can't manage to get that information, post link to .SYS and
> .INF files you are using.
>

http://centromere.net/rtl8192se.tar.bz2

--
Alex

Paul B Mahol

unread,
Jan 18, 2010, 11:23:56 AM1/18/10
to Alex, freebsd...@freebsd.org
On 1/18/10, Alex <ale...@gmail.com> 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)

You said that 7.2 doesnt have this problem,
are you using same SYS and INF files with 8.0 ?

--
Paul B Mahol

Alex

unread,
Jan 18, 2010, 11:40:00 AM1/18/10
to Paul B Mahol, freebsd...@freebsd.org
On Mon, 18 Jan 2010 16:23:56 +0000

Paul B Mahol <one...@gmail.com> wrote:

> On 1/18/10, Alex <ale...@gmail.com> 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.

> 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.

--
Alex

Paul B Mahol

unread,
Jan 18, 2010, 4:34:27 PM1/18/10
to Alex, freebsd...@freebsd.org
On 1/18/10, Alex <ale...@gmail.com> wrote:
> On Mon, 18 Jan 2010 16:23:56 +0000
> Paul B Mahol <one...@gmail.com> wrote:
>
>> On 1/18/10, Alex <ale...@gmail.com> 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.

Why are you have tso disabled, does it works with tso enabled?
Are there any other custom sysctl options?

What is signal strength of the AP? And current link speed? (this one
is available only on CURRENT and from my git repo code)
--
Paul B Mahol

Alex

unread,
Jan 18, 2010, 8:53:26 PM1/18/10
to Paul B Mahol, freebsd...@freebsd.org
On Mon, 18 Jan 2010 21:34:27 +0000

/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 BSSID CHAN RATE S:N INT CAPS
skynet 00:28:10:00:28:10 6 54M -71:-96 100 EP

media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g

--
Alex

Kevin Oberman

unread,
Jan 19, 2010, 12:20:37 AM1/19/10
to Alex, Paul B Mahol, freebsd...@freebsd.org
> Date: Mon, 18 Jan 2010 11:40:00 -0500
> From: Alex <ale...@gmail.com>
> Sender: owner-free...@freebsd.org

>
> On Mon, 18 Jan 2010 16:23:56 +0000
> Paul B Mahol <one...@gmail.com> wrote:
>
> > On 1/18/10, Alex <ale...@gmail.com> 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.

ssh (and scp) limit window size. This may relate to the problem.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: obe...@es.net Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751

Paul B Mahol

unread,
Jan 19, 2010, 7:17:49 AM1/19/10
to Alex, freebsd...@freebsd.org
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.

--
Paul B Mahol

Alex

unread,
Jan 19, 2010, 7:54:44 AM1/19/10
to Paul B Mahol, freebsd...@freebsd.org
On Tue, 19 Jan 2010 12:17:49 +0000

I have changed the return value, but the ntoskrnl messages are still
being displayed at a rate of about one per second.

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.

--
Alex

Ian Smith

unread,
Jan 19, 2010, 8:34:27 AM1/19/10
to Alex, Paul B Mahol, freebsd...@freebsd.org

Are you sure that your firewall is not blocking ICMP traffic,
specifically icmptype 3, so preventing path MTU discovery?

cheers, Ian

Alex

unread,
Jan 19, 2010, 2:35:56 PM1/19/10
to Ian Smith, Paul B Mahol, freebsd...@freebsd.org

I do not have a firewall enabled.

--
Alex

Paul B Mahol

unread,
Jan 19, 2010, 3:04:19 PM1/19/10
to Alex, freebsd...@freebsd.org

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.

--
Paul B Mahol

0 new messages