netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* VIA "Velocity" test report - VLAN reception not working
@ 2005-11-26  0:40 linux
  2005-11-28 22:48 ` Francois Romieu
  0 siblings, 1 reply; 2+ messages in thread
From: linux @ 2005-11-26  0:40 UTC (permalink / raw)
  To: alan; +Cc: linux, netdev

Okay this is a little late for your May '04 test request, but
I just got one of these (Zyxel GN670-T brand) to upgrade a server.
(PII+440BX motherboard, getting a bit dated, but working very reliably)

0000:00:09.0 0200: 1106:3119 (rev 11)
        Subsystem: 187e:3302
        Flags: bus master, 66MHz, medium devsel, latency 48, IRQ 9
        I/O ports at d000 [size=256]
        Memory at e1800000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

ethtool output:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Supports auto-negotiation: Yes
        Advertised link modes:  Not reported
        Advertised auto-negotiation: No
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: puag
        Wake-on: g
        Current message level: 0x00000002 (2)
        Link detected: no

Kernel 2.6.15-rc2, monolithic.  Only local patch is PPSkit-lite, which
really shouldn't have any effect.  No idea about that "Link detected: no"
line; I'm ssh- ed in over it right now.

Anyway, I can send and receive untagged packets just fine, but I can't
seem to receive tagged packets.  A Tulip-based 100baseT card plugged
into another port on the same switch gets everything.  (I also swapped
ports to confirm.)

I saw a bunch of VLAN filtering stuff in the driver that I didn't
really follow, so perhaps the problem's there.

(I confess I didn't choose super-carefully.  It was advertised as having
Linux support and VLAN support and was reasonably cheap.  I didn't
actually know the chipset until it arrived.  And yes, I *am* asking the
vendor for support, but I expect that'll take a while.)


Here are some simultaneous TCPdumps of the two cards both
plugged into tagged ports (vlan 2 only) on the same switch.


First, the Velocity card:

18:47:43.612697 802.1d unknown version
	0x0000:  4242 0300 0002 024c 8000 000f b53f 7ea4
	0x0010:  0000 0000 8000 000f b53f 7ea4 8001 0000
	0x0020:  1400 0200 0f00 0000 0101 080a 00ad
18:47:45.615858 802.1d unknown version
	0x0000:  4242 0300 0002 024c 8000 000f b53f 7ea4
	0x0010:  0000 0000 8000 000f b53f 7ea4 8001 0000
	0x0020:  1400 0200 0f00 0000 0101 080a 00ad
18:47:47.615340 802.1d unknown version
	0x0000:  4242 0300 0002 024c 8000 000f b53f 7ea4
	0x0010:  0000 0000 8000 000f b53f 7ea4 8001 0000
	0x0020:  1400 0200 0f00 0000 0101 080a 015e
18:47:49.615663 802.1d unknown version
	0x0000:  4242 0300 0002 024c 8000 000f b53f 7ea4
	0x0010:  0000 0000 8000 000f b53f 7ea4 8001 0000
	0x0020:  1400 0200 0f00 0000 0000 0000 0000
18:47:51.619371 802.1d unknown version
	0x0000:  4242 0300 0002 024c 8000 000f b53f 7ea4
	0x0010:  0000 0000 8000 000f b53f 7ea4 8001 0000
	0x0020:  1400 0200 0f00 0000 0101 080a 015d
18:47:53.621815 802.1d unknown version
	0x0000:  4242 0300 0002 024c 8000 000f b53f 7ea4
	0x0010:  0000 0000 8000 000f b53f 7ea4 8001 0000
	0x0020:  1400 0200 0f00 0000 0101 080a 015e
18:47:55.623634 802.1d unknown version
	0x0000:  4242 0300 0002 024c 8000 000f b53f 7ea4
	0x0010:  0000 0000 8000 000f b53f 7ea4 8001 0000
	0x0020:  1400 0200 0f00 0000 0101 080a 015e

Then, the Tulip card:

18:47:44.253702 vlan 2, p 0, IP 192.35.100.29.45877 > 192.35.100.1.53:  26928+ A? home25.netscape.com.horizon.com. (49)
	0x0000:  0002 0800 4500 004d 0daa 4000 ff11 2590
	0x0010:  c023 641d c023 6401 b335 0035 0039 9b66
	0x0020:  6930 0100 0001 0000 0000 0000 0668 6f6d
	0x0030:  6532 3508 6e65 7473 6361 7065 0363 6f6d
	0x0040:  0768 6f72 697a 6f6e 0363 6f6d 0000 0100
	0x0050:  01
18:47:44.264620 vlan 2, p 0, IP 192.35.100.29.45878 > 192.35.100.1.53:  21460+ A? loghost.horizon.com. (37)
	0x0000:  0002 0800 4500 0041 0dab 4000 ff11 259b
	0x0010:  c023 641d c023 6401 b336 0035 002d 97a2
	0x0020:  53d4 0100 0001 0000 0000 0000 076c 6f67
	0x0030:  686f 7374 0768 6f72 697a 6f6e 0363 6f6d
	0x0040:  0000 0100 01
18:47:44.418660 vlan 2, p 0, arp who-has 192.35.100.95 (ff:ff:ff:ff:ff:ff) tell 192.35.100.92
	0x0000:  0002 0806 0001 0800 0604 0001 0003 bad9
	0x0010:  a038 c023 645c ffff ffff ffff c023 645f
	0x0020:  0000 0000 0000 0000 0000 0000 0000 0000
	0x0030:  0000
18:47:44.462252 vlan 2, p 0, IP 192.35.100.23.36769 > 192.35.100.1.53:  4757+ A? inc.horizon.com. (33)
	0x0000:  0002 0800 4500 003d 0f62 4000 ff11 23ee
	0x0010:  c023 6417 c023 6401 8fa1 0035 0029 dd6f
	0x0020:  1295 0100 0001 0000 0000 0000 0369 6e63
	0x0030:  0768 6f72 697a 6f6e 0363 6f6d 0000 0100
	0x0040:  01
18:47:44.764354 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40257, length 64
	0x0000:  0002 0800 4500 0054 9d40 4000 4001 551d
	0x0010:  c023 6403 c023 6401 0800 0b0d df4e 9d41
	0x0020:  a0a2 8743 0000 0000 7ea9 0b00 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:44.839288 vlan 2, p 0, IP 192.35.100.36.40967 > 192.35.100.1.53:  40979+ A? mirror.csit.fsu.edu. (37)
	0x0000:  0002 0800 4500 0041 227d 4000 ff11 10c2
	0x0010:  c023 6424 c023 6401 a007 0035 002d 73e5
	0x0020:  a013 0100 0001 0000 0000 0000 066d 6972
	0x0030:  726f 7204 6373 6974 0366 7375 0365 6475
	0x0040:  0000 0100 01
18:47:45.049258 vlan 2, p 0, arp who-has 192.35.100.139 tell 192.35.100.234
	0x0000:  0002 0806 0001 0800 0604 0001 0080 c8b9
	0x0010:  c1d5 c023 64ea 0000 0000 0000 c023 648b
18:47:45.264333 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40258, length 64
	0x0000:  0002 0800 4500 0054 9d41 4000 4001 551c
	0x0010:  c023 6403 c023 6401 0800 39ad df4e 9d42
	0x0020:  a1a2 8743 0000 0000 5608 0400 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:45.418585 vlan 2, p 0, arp who-has 192.35.100.95 (ff:ff:ff:ff:ff:ff) tell 192.35.100.92
	0x0000:  0002 0806 0001 0800 0604 0001 0003 bad9
	0x0010:  a038 c023 645c ffff ffff ffff c023 645f
	0x0020:  0000 0000 0000 0000 0000 0000 0000 0000
	0x0030:  0000
18:47:45.628260 802.1d unknown version
	0x0000:  4242 0300 0002 024c 8000 000f b53f 7ea4
	0x0010:  0000 0000 8000 000f b53f 7ea4 8019 0000
	0x0020:  1400 0200 0f00 0000 0101 080a 00ad
18:47:45.780328 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40259, length 64
	0x0000:  0002 0800 4500 0054 9d42 4000 4001 551b
	0x0010:  c023 6403 c023 6401 0800 9bcc df4e 9d43
	0x0020:  a1a2 8743 0000 0000 ece7 0b00 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:46.049345 vlan 2, p 0, arp who-has 192.35.100.139 tell 192.35.100.234
	0x0000:  0002 0806 0001 0800 0604 0001 0080 c8b9
	0x0010:  c1d5 c023 64ea 0000 0000 0000 c023 648b
18:47:46.215070 vlan 2, p 0, IP 192.35.100.39.723 > 192.35.100.1.111: UDP, length 56
	0x0000:  0002 0800 4500 0054 7d0a 4000 ff11 b61e
	0x0010:  c023 6427 c023 6401 02d3 006f 0040 c42e
	0x0020:  4385 9ea7 0000 0000 0000 0002 0001 86a0
	0x0030:  0000 0002 0000 0003 0000 0000 0000 0000
	0x0040:  0000 0000 0000 0000 0001 86a4 0000 0002
	0x0050:  0000 0011 0000 0000
18:47:46.280315 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40260, length 64
	0x0000:  0002 0800 4500 0054 9d43 4000 4001 551a
	0x0010:  c023 6403 c023 6401 0800 ca6c df4e 9d44
	0x0020:  a2a2 8743 0000 0000 c446 0400 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:46.418594 vlan 2, p 0, arp who-has 192.35.100.95 (ff:ff:ff:ff:ff:ff) tell 192.35.100.92
	0x0000:  0002 0806 0001 0800 0604 0001 0003 bad9
	0x0010:  a038 c023 645c ffff ffff ffff c023 645f
	0x0020:  0000 0000 0000 0000 0000 0000 0000 0000
	0x0030:  0000
18:47:46.796311 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40261, length 64
	0x0000:  0002 0800 4500 0054 9d44 4000 4001 5519
	0x0010:  c023 6403 c023 6401 0800 2c8c df4e 9d45
	0x0020:  a2a2 8743 0000 0000 5a26 0c00 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:47.049424 vlan 2, p 0, arp who-has 192.35.100.139 tell 192.35.100.234
	0x0000:  0002 0806 0001 0800 0604 0001 0080 c8b9
	0x0010:  c1d5 c023 64ea 0000 0000 0000 c023 648b
18:47:47.296299 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40262, length 64
	0x0000:  0002 0800 4500 0054 9d45 4000 4001 5518
	0x0010:  c023 6403 c023 6401 0800 5b2c df4e 9d46
	0x0020:  a3a2 8743 0000 0000 3285 0400 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:47.412369 vlan 2, p 0, IP 192.35.100.23.727 > 192.35.100.1.111: UDP, length 56
	0x0000:  0002 0800 4500 0054 0f63 4000 ff11 23d6
	0x0010:  c023 6417 c023 6401 02d7 006f 0040 e607
	0x0020:  4382 7cdd 0000 0000 0000 0002 0001 86a0
	0x0030:  0000 0002 0000 0003 0000 0000 0000 0000
	0x0040:  0000 0000 0000 0000 0001 86a4 0000 0002
	0x0050:  0000 0011 0000 0000
18:47:47.418592 vlan 2, p 0, arp who-has 192.35.100.95 (ff:ff:ff:ff:ff:ff) tell 192.35.100.92
	0x0000:  0002 0806 0001 0800 0604 0001 0003 bad9
	0x0010:  a038 c023 645c ffff ffff ffff c023 645f
	0x0020:  0000 0000 0000 0000 0000 0000 0000 0000
	0x0030:  0000
18:47:47.452763 vlan 2, p 0, IP 192.35.100.23.36770 > 198.69.104.3.53:  10818+ A? xave0. (23)
	0x0000:  0002 0800 4500 0033 0911 4000 ff11 2025
	0x0010:  c023 6417 c645 6803 8fa2 0035 001f 23f3
	0x0020:  2a42 0100 0001 0000 0000 0000 0578 6176
	0x0030:  6530 0000 0100 01
18:47:47.627380 802.1d unknown version
	0x0000:  4242 0300 0002 024c 8000 000f b53f 7ea4
	0x0010:  0000 0000 8000 000f b53f 7ea4 8019 0000
	0x0020:  1400 0200 0f00 0000 0101 080a 015e
18:47:47.812301 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40263, length 64
	0x0000:  0002 0800 4500 0054 9d46 4000 4001 5517
	0x0010:  c023 6403 c023 6401 0800 bd4b df4e 9d47
	0x0020:  a3a2 8743 0000 0000 c864 0c00 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:48.306211 vlan 2, p 0, arp who-has 192.35.100.1 tell 192.35.100.43
	0x0000:  0002 0806 0001 0800 0604 0001 00e0 18cf
	0x0010:  e42f c023 642b 0000 0000 0000 c023 6401
	0x0020:  0000 0000 0000 0000 0000 0000 0000 0000
	0x0030:  0000
18:47:48.306279 vlan 2, p 0, arp reply 192.35.100.1 is-at 00:80:c8:b9:c1:d5
	0x0000:  0002 0806 0001 0800 0604 0002 0080 c8b9
	0x0010:  c1d5 c023 6401 00e0 18cf e42f c023 642b
18:47:48.312271 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40264, length 64
	0x0000:  0002 0800 4500 0054 9d47 4000 4001 5516
	0x0010:  c023 6403 c023 6401 0800 eaeb df4e 9d48
	0x0020:  a4a2 8743 0000 0000 a1c3 0400 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:48.828276 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40265, length 64
	0x0000:  0002 0800 4500 0054 9d48 4000 4001 5515
	0x0010:  c023 6403 c023 6401 0800 4e0b df4e 9d49
	0x0020:  a4a2 8743 0000 0000 36a3 0c00 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:49.263637 vlan 2, p 0, IP 192.35.100.29.45879 > 192.35.100.1.53:  21460+ A? loghost.horizon.com. (37)
	0x0000:  0002 0800 4500 0041 0dac 4000 ff11 259a
	0x0010:  c023 641d c023 6401 b337 0035 002d 97a1
	0x0020:  53d4 0100 0001 0000 0000 0000 076c 6f67
	0x0030:  686f 7374 0768 6f72 697a 6f6e 0363 6f6d
	0x0040:  0000 0100 01
18:47:49.328257 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40266, length 64
	0x0000:  0002 0800 4500 0054 9d49 4000 4001 5514
	0x0010:  c023 6403 c023 6401 0800 7dab df4e 9d4a
	0x0020:  a5a2 8743 0000 0000 0d02 0500 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:49.628255 802.1d unknown version
	0x0000:  4242 0300 0002 024c 8000 000f b53f 7ea4
	0x0010:  0000 0000 8000 000f b53f 7ea4 8019 0000
	0x0020:  1400 0200 0f00 0000 0000 0000 0000
18:47:49.829323 vlan 2, p 0, IP 192.35.100.36.40968 > 192.35.100.1.53:  32418+ A? sunfreeware.mirrors.tds.net.horizon.com. (57)
	0x0000:  0002 0800 4500 0055 227e 4000 ff11 10ad
	0x0010:  c023 6424 c023 6401 a008 0035 0041 757e
	0x0020:  7ea2 0100 0001 0000 0000 0000 0b73 756e
	0x0030:  6672 6565 7761 7265 076d 6972 726f 7273
	0x0040:  0374 6473 036e 6574 0768 6f72 697a 6f6e
	0x0050:  0363 6f6d 0000 0100 01
18:47:49.844258 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40267, length 64
	0x0000:  0002 0800 4500 0054 9d4a 4000 4001 5513
	0x0010:  c023 6403 c023 6401 0800 deca df4e 9d4b
	0x0020:  a5a2 8743 0000 0000 a4e1 0c00 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:49.994730 vlan 2, p 0, IP 192.35.100.28.41057 > 192.35.100.1.53:  41451+ A? bimini. (24)
	0x0000:  0002 0800 4500 0034 758e 4000 ff11 bdc5
	0x0010:  c023 641c c023 6401 a061 0035 0020 3186
	0x0020:  a1eb 0100 0001 0000 0000 0000 0662 696d
	0x0030:  696e 6900 0001 0001
18:47:50.344249 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40268, length 64
	0x0000:  0002 0800 4500 0054 9d4b 4000 4001 5512
	0x0010:  c023 6403 c023 6401 0800 086b df4e 9d4c
	0x0020:  a6a2 8743 0000 0000 8140 0500 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:50.463048 vlan 2, p 0, IP 192.35.100.23.36771 > 198.69.104.19.53:  4757+ A? inc.horizon.com. (33)
	0x0000:  0002 0800 4500 003d f58a 4000 ff11 3391
	0x0010:  c023 6417 c645 6813 8fa3 0035 0029 d339
	0x0020:  1295 0100 0001 0000 0000 0000 0369 6e63
	0x0030:  0768 6f72 697a 6f6e 0363 6f6d 0000 0100
	0x0040:  01
18:47:50.860237 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40269, length 64
	0x0000:  0002 0800 4500 0054 9d4c 4000 4001 5511
	0x0010:  c023 6403 c023 6401 0800 6f8a df4e 9d4d
	0x0020:  a6a2 8743 0000 0000 1220 0d00 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:51.138682 vlan 2, p 0, arp who-has 192.35.100.95 (ff:ff:ff:ff:ff:ff) tell 192.35.100.92
	0x0000:  0002 0806 0001 0800 0604 0001 0003 bad9
	0x0010:  a038 c023 645c ffff ffff ffff c023 645f
	0x0020:  0000 0000 0000 0000 0000 0000 0000 0000
	0x0030:  0000
18:47:51.211846 vlan 2, p 0, IP 192.35.100.23.734 > 192.35.100.1.2049: S 3636096760:3636096760(0) win 8760 <mss 1460>
	0x0000:  0002 0800 4500 002c 0f64 4000 ff06 2408
	0x0010:  c023 6417 c023 6401 02de 0801 d8ba 6ef8
	0x0020:  0000 0000 6002 2238 dafc 0000 0204 05b4
	0x0030:  5555
18:47:51.360222 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40270, length 64
	0x0000:  0002 0800 4500 0054 9d4d 4000 4001 5510
	0x0010:  c023 6403 c023 6401 0800 9e2a df4e 9d4e
	0x0020:  a7a2 8743 0000 0000 ea7e 0500 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:51.631385 802.1d unknown version
	0x0000:  4242 0300 0002 024c 8000 000f b53f 7ea4
	0x0010:  0000 0000 8000 000f b53f 7ea4 8019 0000
	0x0020:  1400 0200 0f00 0000 0000 0000 0000
18:47:51.876222 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40271, length 64
	0x0000:  0002 0800 4500 0054 9d4e 4000 4001 550f
	0x0010:  c023 6403 c023 6401 0800 014a df4e 9d4f
	0x0020:  a7a2 8743 0000 0000 7f5e 0d00 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:52.138545 vlan 2, p 0, arp who-has 192.35.100.95 (ff:ff:ff:ff:ff:ff) tell 192.35.100.92
	0x0000:  0002 0806 0001 0800 0604 0001 0003 bad9
	0x0010:  a038 c023 645c ffff ffff ffff c023 645f
	0x0020:  0000 0000 0000 0000 0000 0000 0000 0000
	0x0030:  0000
18:47:52.376207 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40272, length 64
	0x0000:  0002 0800 4500 0054 9d4f 4000 4001 550e
	0x0010:  c023 6403 c023 6401 0800 2eea df4e 9d50
	0x0020:  a8a2 8743 0000 0000 58bd 0500 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:52.449501 vlan 2, p 0, IP 192.35.100.86.933 > 192.35.100.1.2049: S 3199884626:3199884626(0) win 8760 <mss 1460>
	0x0000:  0002 0800 4500 002c d816 4000 ff06 5b16
	0x0010:  c023 6456 c023 6401 03a5 0801 beba 5d52
	0x0020:  0000 0000 6002 2238 059d 0000 0204 05b4
	0x0030:  5555
18:47:52.829061 vlan 2, p 0, IP 192.35.100.32.265061 > 192.35.100.1.2049: 104 getattr fh Unknown/010000020009000440ED2B00DF7741008B4F2400DA774100724F240000000000
	0x0000:  0002 0800 4500 0084 e550 0000 ff11 8daf
	0x0010:  c023 6420 c023 6401 03fb 0801 0070 0000
	0x0020:  0004 0b65 0000 0000 0000 0002 0001 86a3
	0x0030:  0000 0002 0000 0001 0000 0001 0000 0020
	0x0040:  4387 a2a8 0000 0006 6261 6c72 6f67 0000
	0x0050:  0000 0000 0000 0000 0000 0001 0000 0000
	0x0060:  0000 0000 0000 0000 0100 0002 0009 0004
	0x0070:  40ed 2b00 df77 4100 8b4f 2400 da77 4100
	0x0080:  724f 2400 0000 0000
18:47:52.849002 vlan 2, p 0, IP 192.35.100.32.265062 > 192.35.100.1.2049: 132 getattr fh Unknown/010000020009000440ED2B0004261D0055782400AD251D00A676240000000000
	0x0000:  0002 0800 4500 00a0 e551 0000 ff11 8d92
	0x0010:  c023 6420 c023 6401 03fc 0801 008c 0000
	0x0020:  0004 0b66 0000 0000 0000 0002 0001 86a3
	0x0030:  0000 0002 0000 0001 0000 0001 0000 003c
	0x0040:  4387 a2a8 0000 0006 6261 6c72 6f67 5b6d
	0x0050:  0000 009e 0000 000b 0000 0008 0000 000b
	0x0060:  0000 000a 0000 000c 0000 000e 0000 000f
	0x0070:  0000 003c 0000 0014 0000 0018 0000 0000
	0x0080:  0000 0000 0100 0002 0009 0004 40ed 2b00
	0x0090:  0426 1d00 5578 2400 ad25 1d00 a676 2400
	0x00a0:  0000 0000
18:47:52.892204 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40273, length 64
	0x0000:  0002 0800 4500 0054 9d50 4000 4001 550d
	0x0010:  c023 6403 c023 6401 0800 9209 df4e 9d51
	0x0020:  a8a2 8743 0000 0000 ed9c 0d00 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:53.076199 vlan 2, p 0, IP 192.35.100.3.123 > 192.35.100.1.123: NTPv4, Client, length 48
	0x0000:  0002 0800 4510 004c 5084 4000 4011 a1c1
	0x0010:  c023 6403 c023 6401 007b 007b 0038 710f
	0x0020:  6302 04ec 0000 000f 0000 050f c023 6401
	0x0030:  c732 1eb8 166c c1ca 0000 0000 0000 0000
	0x0040:  0000 0000 0000 0000 c732 2129 137d fa00
18:47:53.138525 vlan 2, p 0, arp who-has 192.35.100.95 (ff:ff:ff:ff:ff:ff) tell 192.35.100.92
	0x0000:  0002 0806 0001 0800 0604 0001 0003 bad9
	0x0010:  a038 c023 645c ffff ffff ffff c023 645f
	0x0020:  0000 0000 0000 0000 0000 0000 0000 0000
	0x0030:  0000
18:47:53.392190 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40274, length 64
	0x0000:  0002 0800 4500 0054 9d51 4000 4001 550c
	0x0010:  c023 6403 c023 6401 0800 c0a9 df4e 9d52
	0x0020:  a9a2 8743 0000 0000 c5fb 0500 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:53.452379 vlan 2, p 0, IP 192.35.100.23.36772 > 192.35.100.1.53:  10818+ A? xave0. (23)
	0x0000:  0002 0800 4500 0033 0f65 4000 ff11 23f5
	0x0010:  c023 6417 c023 6401 8fa4 0035 001f 2e15
	0x0020:  2a42 0100 0001 0000 0000 0000 0578 6176
	0x0030:  6530 0000 0100 01
18:47:53.542795 vlan 2, p 0, IP 192.35.100.30.53148 > 192.35.100.1.661: UDP, length 92
	0x0000:  0002 0800 4500 0078 2e79 4000 ff11 0495
	0x0010:  c023 641e c023 6401 cf9c 0295 0064 f084
	0x0020:  4381 bb7b 0000 0000 0000 0002 0001 86a4
	0x0030:  0000 0002 0000 0003 0000 0000 0000 0000
	0x0040:  0000 0000 0000 0000 0000 000b 686f 7269
	0x0050:  7a6f 6e2e 636f 6d00 0000 000d 7061 7373
	0x0060:  7764 2e62 796e 616d 6500 0000 0000 000a
	0x0070:  7275 6e64 6c32 6265 616d 0000
18:47:53.571691 vlan 2, p 0, IP 192.35.100.30.53149 > 192.35.100.1.111: UDP, length 64
	0x0000:  0002 0800 4500 005c 2e7a 4000 ff11 04b0
	0x0010:  c023 641e c023 6401 cf9d 006f 0048 5c16
	0x0020:  4381 549a 0000 0000 0000 0002 0001 86a0
	0x0030:  0000 0003 0000 0003 0000 0000 0000 0000
	0x0040:  0000 0000 0000 0000 0001 86a4 0000 0002
	0x0050:  0000 0003 7564 7000 0000 0000 0000 0000
18:47:53.574510 vlan 2, p 0, IP 192.35.100.30.53150 > 192.35.100.1.661: UDP, length 88
	0x0000:  0002 0800 4500 0074 2e7b 4000 ff11 0497
	0x0010:  c023 641e c023 6401 cf9e 0295 0060 f79d
	0x0020:  4381 0cb2 0000 0000 0000 0002 0001 86a4
	0x0030:  0000 0002 0000 0003 0000 0000 0000 0000
	0x0040:  0000 0000 0000 0000 0000 000b 686f 7269
	0x0050:  7a6f 6e2e 636f 6d00 0000 000d 7061 7373
	0x0060:  7764 2e62 796e 616d 6500 0000 0000 0008
	0x0070:  7365 6e64 6d61 696c
18:47:53.634245 802.1d unknown version
	0x0000:  4242 0300 0002 024c 8000 000f b53f 7ea4
	0x0010:  0000 0000 8000 000f b53f 7ea4 8019 0000
	0x0020:  1400 0200 0f00 0000 0101 080a 00ad
18:47:53.908188 vlan 2, p 0, IP 192.35.100.3 > 192.35.100.1: ICMP echo request, id 57166, seq 40275, length 64
	0x0000:  0002 0800 4500 0054 9d52 4000 4001 550b
	0x0010:  c023 6403 c023 6401 0800 21c9 df4e 9d53
	0x0020:  a9a2 8743 0000 0000 5cdb 0d00 0000 0000
	0x0030:  1011 1213 1415 1617 1819 1a1b 1c1d 1e1f
	0x0040:  2021 2223 2425 2627 2829 2a2b 2c2d 2e2f
	0x0050:  3031 3233 3435 3637
18:47:54.138621 vlan 2, p 0, arp who-has 192.35.100.95 (ff:ff:ff:ff:ff:ff) tell 192.35.100.92
	0x0000:  0002 0806 0001 0800 0604 0001 0003 bad9
	0x0010:  a038 c023 645c ffff ffff ffff c023 645f
	0x0020:  0000 0000 0000 0000 0000 0000 0000 0000
	0x0030:  0000


Thanks a lot for any suggestions!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: VIA "Velocity" test report - VLAN reception not working
  2005-11-26  0:40 VIA "Velocity" test report - VLAN reception not working linux
@ 2005-11-28 22:48 ` Francois Romieu
  0 siblings, 0 replies; 2+ messages in thread
From: Francois Romieu @ 2005-11-28 22:48 UTC (permalink / raw)
  To: linux; +Cc: alan, netdev

linux@horizon.com <linux@horizon.com> :
[...]
>         Link detected: no
> 
> Kernel 2.6.15-rc2, monolithic.  Only local patch is PPSkit-lite, which
> really shouldn't have any effect.  No idea about that "Link detected: no"
> line; I'm ssh- ed in over it right now.

The driver does not correctly handle netif_carrier_{on/off}.

[...]
> I saw a bunch of VLAN filtering stuff in the driver that I didn't
> really follow, so perhaps the problem's there.
> 
> (I confess I didn't choose super-carefully.  It was advertised as having
> Linux support and VLAN support and was reasonably cheap.  I didn't
> actually know the chipset until it arrived.  And yes, I *am* asking the
> vendor for support, but I expect that'll take a while.)

If you can put the card in a crashme/testme computer, feel free to try
the patches at:
http://www.zoreil.com/~romieu/linux/kernel/2.6.x/2.6.15-rc2/via-velocity/20051128

The patches apply on top of each other. I'd suggest doing a first round
of testing without VLAN to check that the usual flow did not experience
collateral damages.

If it works fine, enable VLAN when the last patch is applied and add
a single vlan with vconfig. If it does not crash, tcpdump + ping in
both direction w/wo VLAN may help fix the issues.

The patches are quite straightforward even if they are poorly described.

--
Ueimor

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-28 22:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-26  0:40 VIA "Velocity" test report - VLAN reception not working linux
2005-11-28 22:48 ` Francois Romieu

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