* Re: RTL8187B transmit problems
@ 2008-10-26 7:35 Piter PUNK
2008-10-27 0:31 ` Larry Finger
0 siblings, 1 reply; 8+ messages in thread
From: Piter PUNK @ 2008-10-26 7:35 UTC (permalink / raw)
To: linux-wireless
Hi,
I did some new tests to see what's my transmission problems with
rtl8187b. I can associate and can send pings (and even to connect
through ssh with other hosts) but i can't transmit "big" files. But
at first mail I didn't know how big must be a "big" file.
I tested with 64, 128, 256, 512, 1024 and 2048 bytes files. From 64 to
512 I always can transmit the file. 1024 sometimes hangs and 2048
always hangs. All files can be transmitted using rt73usb wireless.
I put the tcpdump output of those tests in:
http://www.slackware.com/~piterpunk/transmittests/
The 512-byte file dump is almost equal for both wireless cards.
2048-byte is very different. All logs are scp from my machine to
slackware.com. But the same happens sending mail (but not receiving),
uploading ftp files, doing scp to other machines, etc...
I'll be very happy to provide any extra information or do additional
tests with the cards to help the problem diagnostics. Changing the
rate didn't have any influence in test results. I have an iwl3945 that
works fine, too.
Thanks in advance!
Piter PUNK
--
| E-Mail: piterpk@terra.com.br
.|.
/V\
// \\ UIN:116043354 Homepage:http://piterpunk.info02.com.br
/( )\
^`~'^ ----> Slackware Linux <----
#105432
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: RTL8187B transmit problems
2008-10-26 7:35 RTL8187B transmit problems Piter PUNK
@ 2008-10-27 0:31 ` Larry Finger
2008-10-27 1:49 ` Piter PUNK
0 siblings, 1 reply; 8+ messages in thread
From: Larry Finger @ 2008-10-27 0:31 UTC (permalink / raw)
To: Piter PUNK; +Cc: linux-wireless
Piter PUNK wrote:
>
> Hi,
>
> I did some new tests to see what's my transmission problems with
> rtl8187b. I can associate and can send pings (and even to connect
> through ssh with other hosts) but i can't transmit "big" files. But
> at first mail I didn't know how big must be a "big" file.
>
> I tested with 64, 128, 256, 512, 1024 and 2048 bytes files. From 64 to
> 512 I always can transmit the file. 1024 sometimes hangs and 2048
> always hangs. All files can be transmitted using rt73usb wireless.
I have not downloaded your tcpdump file yet to see your details. On my system, I
am unable to duplicate your results. I used dd with /dev/urandom as the source
to create files of 1024, 2048, 4096, 8192, 16384, and 32768 bytes. All of these
could be transmitted to a second host on my local network using scp.
What are the details of your device? Please post the output of 'dmesg | grep -i
rtl'.
Larry
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RTL8187B transmit problems
2008-10-27 0:31 ` Larry Finger
@ 2008-10-27 1:49 ` Piter PUNK
2008-10-27 17:08 ` Larry Finger
0 siblings, 1 reply; 8+ messages in thread
From: Piter PUNK @ 2008-10-27 1:49 UTC (permalink / raw)
To: Larry Finger; +Cc: linux-wireless
Larry Finger wrote:
> What are the details of your device? Please post the output of 'dmesg | grep -i
> rtl'.
This is the built-in rtl8187b adapter:
usb 1-1: new high speed USB device using ehci_hcd and address 7
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: New USB device found, idVendor=0bda, idProduct=8189
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: RTL8187B_WLAN_Adapter
usb 1-1: Manufacturer: Manufacturer_Realtek
usb 1-1: SerialNumber: 00e04c000001
rtl8187: 8187B chip detected. Support is EXPERIMENTAL, and could damage your
hardware, use at your own risk
phy3: Selected rate control algorithm 'pid'
phy3: hwaddr 00:16:44:aa:df:bf, RTL8187BvE V0 + rtl8225z2
This is my external rtl8187b USB dongle:
usb 1-3: new high speed USB device using ehci_hcd and address 8
usb 1-3: configuration #1 chosen from 1 choice
rtl8187: 8187B chip detected. Support is EXPERIMENTAL, and could damage your
hardware, use at your own risk
phy4: Selected rate control algorithm 'pid'
phy4: hwaddr 00:18:e7:42:2c:23, RTL8187BvE V0 + rtl8225z2
usb 1-3: New USB device found, idVendor=0bda, idProduct=8189
usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-3: Product: RTL8187B_WLAN_Adapter
usb 1-3: Manufacturer: Manufacturer_Realtek
usb 1-3: SerialNumber: 00e04c000001
Both have the same "not-working" results. Using any of my other
adapters the transmission works fine. (ok, it didn't work with
USB Marvell dongle... but it isn't even detected)
Thanks!
Piter PUNK
--
| E-Mail: piterpk@terra.com.br
.|.
/V\
// \\ UIN:116043354 Homepage:http://piterpunk.info02.com.br
/( )\
^`~'^ ----> Slackware Linux <----
#105432
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: RTL8187B transmit problems
2008-10-27 1:49 ` Piter PUNK
@ 2008-10-27 17:08 ` Larry Finger
2008-10-28 1:27 ` Piter PUNK
0 siblings, 1 reply; 8+ messages in thread
From: Larry Finger @ 2008-10-27 17:08 UTC (permalink / raw)
To: Piter PUNK; +Cc: linux-wireless
Piter PUNK wrote:
> Larry Finger wrote:
>> What are the details of your device? Please post the output of 'dmesg
>> | grep -i
>> rtl'.
>
> This is the built-in rtl8187b adapter:
>
> usb 1-1: new high speed USB device using ehci_hcd and address 7
> usb 1-1: configuration #1 chosen from 1 choice
> usb 1-1: New USB device found, idVendor=0bda, idProduct=8189
> usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 1-1: Product: RTL8187B_WLAN_Adapter
> usb 1-1: Manufacturer: Manufacturer_Realtek
> usb 1-1: SerialNumber: 00e04c000001
> rtl8187: 8187B chip detected. Support is EXPERIMENTAL, and could damage
> your
> hardware, use at your own risk
> phy3: Selected rate control algorithm 'pid'
> phy3: hwaddr 00:16:44:aa:df:bf, RTL8187BvE V0 + rtl8225z2
>
> This is my external rtl8187b USB dongle:
>
> usb 1-3: new high speed USB device using ehci_hcd and address 8
> usb 1-3: configuration #1 chosen from 1 choice
> rtl8187: 8187B chip detected. Support is EXPERIMENTAL, and could damage
> your
> hardware, use at your own risk
> phy4: Selected rate control algorithm 'pid'
> phy4: hwaddr 00:18:e7:42:2c:23, RTL8187BvE V0 + rtl8225z2
> usb 1-3: New USB device found, idVendor=0bda, idProduct=8189
> usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 1-3: Product: RTL8187B_WLAN_Adapter
> usb 1-3: Manufacturer: Manufacturer_Realtek
> usb 1-3: SerialNumber: 00e04c000001
>
> Both have the same "not-working" results. Using any of my other
> adapters the transmission works fine. (ok, it didn't work with
> USB Marvell dongle... but it isn't even detected)
My device is a little different that yours:
rtl8187: 8187B chip detected. Support is EXPERIMENTAL, and could damage your
hardware, use at your own risk
rtl8187: inconsistency between id with OEM info!
phy1: Selected rate control algorithm 'pid'
phy1: hwaddr 00:11:6b:3e:c4:0a, RTL8187BvB(early) V0 + rtl8225z2
I'll review the code to look at the differences in paths for your device and
mine. Just in case there is a data dependency, please send me (privately) your
2048 byte file.
Thanks,
Larry
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: RTL8187B transmit problems
2008-10-27 17:08 ` Larry Finger
@ 2008-10-28 1:27 ` Piter PUNK
0 siblings, 0 replies; 8+ messages in thread
From: Piter PUNK @ 2008-10-28 1:27 UTC (permalink / raw)
To: Larry Finger; +Cc: linux-wireless
Larry Finger wrote:
> Piter PUNK wrote:
>> This is the built-in rtl8187b adapter:
>>
>> usb 1-1: new high speed USB device using ehci_hcd and address 7
>> usb 1-1: configuration #1 chosen from 1 choice
>> usb 1-1: New USB device found, idVendor=0bda, idProduct=8189
>> usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>> usb 1-1: Product: RTL8187B_WLAN_Adapter
>> usb 1-1: Manufacturer: Manufacturer_Realtek
>> usb 1-1: SerialNumber: 00e04c000001
>> rtl8187: 8187B chip detected. Support is EXPERIMENTAL, and could damage
>> your
>> hardware, use at your own risk
>> phy3: Selected rate control algorithm 'pid'
>> phy3: hwaddr 00:16:44:aa:df:bf, RTL8187BvE V0 + rtl8225z2
>
>
> My device is a little different that yours:
>
> rtl8187: 8187B chip detected. Support is EXPERIMENTAL, and could damage your
> hardware, use at your own risk
> rtl8187: inconsistency between id with OEM info!
> phy1: Selected rate control algorithm 'pid'
> phy1: hwaddr 00:11:6b:3e:c4:0a, RTL8187BvB(early) V0 + rtl8225z2
>
> I'll review the code to look at the differences in paths for your device and
> mine. Just in case there is a data dependency, please send me (privately) your
> 2048 byte file.
Is an all zeroed file: dd if=/dev/zero of=file2048 count=2048 bs=1
Data is independent and, maybe, I can transmit something between 1024
and 2048 bytes; not tested yet. I only begin those tests with files with
different sizes to "see" why I can connect with SSH, browse in web,
download my mails... and can't send mail, upload files or fill web
forms.
Feel free to suggest other tests. I have many wireless devices and
access points available to test.
Thanks!
Piter PUNK
--
| E-Mail: piterpk@terra.com.br
.|.
/V\
// \\ UIN:116043354 Homepage:http://piterpunk.info02.com.br
/( )\
^`~'^ ----> Slackware Linux <----
#105432
^ permalink raw reply [flat|nested] 8+ messages in thread
* RTL8187B transmit problems
@ 2008-10-06 2:36 Piter PUNK
2008-10-08 19:57 ` Matthew Garrett
0 siblings, 1 reply; 8+ messages in thread
From: Piter PUNK @ 2008-10-06 2:36 UTC (permalink / raw)
To: linux-wireless
Hi,
I have two rtl8187b cards. One built in my notebook and one external
USB wireless dongle from Encore. Both works with the rtl8187 driver
(thanks Herton! thanks Hin-Tak!) but i still have some problems.
I'm using 2.6.27-rc7 kernel and three problems are very common, but
intermittent:
1) I found my network when scan (iwlist wlan0 scan) but i can't
associate in the found network.
2) I associate in my network but i can't transmit anything.
3) I associate, can transmit but only "small" transmissions. Ping,
HTTP GET, POP commands... when i try to upload a file, send a
mail, etc... the connection stuck.
The three problems happens in both rtl8187b cards. I try with two
different access points to make sure the problem isn't AP related and
now i am using an rt73usb without problems.
Without encryption, the problem 2 isn't noticeable. I don't do
a lot of tests without encryption enabled, but i can do if you want.
That's one small example of problem 2:
---
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"MyLab"
Mode:Managed Frequency:2.437 GHz Access Point:
00:1D:0F:FB:B4:52
Bit Rate=54 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:XXXX-XXXX-XX Security mode:open
Power Management:off
Link Quality=98/100 Signal level:-22 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@cameron:~# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.7 icmp_seq=41 Destination Host Unreachable
From 192.168.0.7 icmp_seq=44 Destination Host Unreachable
From 192.168.0.7 icmp_seq=47 Destination Host Unreachable
^C
--- 192.168.0.1 ping statistics ---
47 packets transmitted, 0 received, +3 errors, 100% packet loss, time
46041ms
---
If you have any specific tests or patches to apply I'll be
very happy to try and test them. If you need more information
to "see" the problem, only need to ask what information you
need.
Thanks!
Piter PUNK
--
| E-Mail: piterpk@terra.com.br (personal)
.|.
/V\
// \\ UIN:116043354 Homepage:http://piterpunk.info02.com.br
/( )\
^`~'^
#105432
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: RTL8187B transmit problems
2008-10-06 2:36 Piter PUNK
@ 2008-10-08 19:57 ` Matthew Garrett
2008-10-09 13:10 ` Piter PUNK
0 siblings, 1 reply; 8+ messages in thread
From: Matthew Garrett @ 2008-10-08 19:57 UTC (permalink / raw)
To: Piter PUNK; +Cc: linux-wireless
Try reducing the bit rate - iwconfig wlan0 11M fixed, for example.
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: RTL8187B transmit problems
2008-10-08 19:57 ` Matthew Garrett
@ 2008-10-09 13:10 ` Piter PUNK
0 siblings, 0 replies; 8+ messages in thread
From: Piter PUNK @ 2008-10-09 13:10 UTC (permalink / raw)
To: Matthew Garrett; +Cc: linux-wireless
Matthew Garrett wrote:
> Try reducing the bit rate - iwconfig wlan0 11M fixed, for example.
>
Hi,
I try that. This time i got my problem #3:
---from first mail---
3) I associate, can transmit but only "small" transmissions. Ping,
HTTP GET, POP commands... when i try to upload a file, send a
mail, etc... the connection stuck.
---------------------
I associate:
---
wmaster0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"MyLab"
Mode:Managed Frequency:2.437 GHz Access Point:
00:1D:0F:FB:B4:52
Bit Rate=11 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:XXXX-XXXX-XX Security mode:open
Power Management:off
Link Quality=100/100 Signal level:-5 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
---
I can ping
---
root@cameron:~# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=32.9 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=136 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=1.69 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=2.25 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=55.0 ms
^C
--- 192.168.0.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4016ms
rtt min/avg/max/mdev = 1.692/45.795/136.994/49.817 ms
---
But i can't transmit anything bigger. Trying to send an mail
or an 448K tarball through scp didn't work (but ssh session
works). Using rt73 USB dongle works fine (i sent the tarball
and i will send this mail).
Hope this test can help.
Thanks!
Piter PUNK
--
| E-Mail: piterpk@terra.com.br (personal)
.|.
/V\
// \\ UIN:116043354 Homepage:http://piterpunk.info02.com.br
/( )\
^`~'^
#105432
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2008-10-28 1:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-26 7:35 RTL8187B transmit problems Piter PUNK
2008-10-27 0:31 ` Larry Finger
2008-10-27 1:49 ` Piter PUNK
2008-10-27 17:08 ` Larry Finger
2008-10-28 1:27 ` Piter PUNK
-- strict thread matches above, loose matches on Subject: below --
2008-10-06 2:36 Piter PUNK
2008-10-08 19:57 ` Matthew Garrett
2008-10-09 13:10 ` Piter PUNK
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).