Roamer,

If my driver does not respond to interrupt promptly, how do you explain why 
[b]snoop[/b] printed messages correctly?

/*test1:Solaris PC 192.18.0.50 to Linux PC 192.168.0.10*/

# snoop 192.168.0.50
Using device /dev/qla1 (promiscuous mode)

192.168.0.50 -> 192.168.0.10 ICMP Echo request (ID: 1063 Sequence number: 0)
192.168.0.10 -> 192.168.0.50 ICMP Echo reply (ID: 1063 Sequence number: 0)
192.168.0.50 -> 192.168.0.10 ICMP Echo request (ID: 1064 Sequence number: 0)
192.168.0.10 -> 192.168.0.50 ICMP Echo reply (ID: 1064 Sequence number: 0)
192.168.0.50 -> 192.168.0.10 ICMP Echo request (ID: 1064 Sequence number: 1)
192.168.0.10 -> 192.168.0.50 ICMP Echo reply (ID: 1064 Sequence number: 1)
192.168.0.50 -> 192.168.0.10 ICMP Echo request (ID: 1064 Sequence number: 2)

Single [b]ping[/b] always success, but continuous ping using [b]ping -s[/b] 
always got stuck for 1 minute or two (timeout?)

# ping 192.168.0.10       
192.168.0.10 is alive

# ping -s 192.168.0.10
PING 192.168.0.10: 56 data bytes
^C
----192.168.0.10 PING Statistics----
54 packets transmitted, 1 packets received, 98% packet loss

Is it possible that some packets deemed correct by snoop are discarded as bad 
packets by Solaris?
Below are the packets Solaris requested my driver to send and response, can 
somebody help me to check if they are correct?

requested sending data:
Apr  4 09:12:19 sol-nt1  0x0000000000000000 : 00 30 48 22 a4 62 00 c0
Apr  4 09:12:19 sol-nt1  0x0000000000000008 : dd 07 4f 67 08 00 45 00
Apr  4 09:12:19 sol-nt1  0x0000000000000010 : 00 54 a6 96 00 00 ff 01
Apr  4 09:12:19 sol-nt1  0x0000000000000018 : 93 85 c0 a8 00 32 c0 a8
Apr  4 09:12:19 sol-nt1  0x0000000000000020 : 00 0a [b]08 00[/b] 4a 49 04 28
Apr  4 09:12:19 sol-nt1  0x0000000000000028 : 00 06 63 ce 13 46 45 71
Apr  4 09:12:19 sol-nt1  0x0000000000000030 : 02 00 08 09 0a 0b 0c 0d
Apr  4 09:12:19 sol-nt1  0x0000000000000038 : 0e 0f 10 11 12 13 14 15
Apr  4 09:12:19 sol-nt1  0x0000000000000040 : 16 17 18 19 1a 1b 1c 1d
Apr  4 09:12:19 sol-nt1  0x0000000000000048 : 1e 1f 20 21 22 23 24 25
Apr  4 09:12:19 sol-nt1  0x0000000000000050 : 26 27 28 29 2a 2b 2c 2d
Apr  4 09:12:19 sol-nt1  0x0000000000000058 : 2e 2f 30 31 32 33 34 35
Apr  4 09:12:19 sol-nt1  0x0000000000000060 : 36 37

Response from LinuxPC
Apr  4 09:12:19 sol-nt1 Mac Data dump:
Apr  4 09:12:19 sol-nt1  0x0000000000000000 : 45 00 00 54 b5 22 00 00
Apr  4 09:12:19 sol-nt1  0x0000000000000008 : 40 01 43 fa c0 a8 00 0a
Apr  4 09:12:19 sol-nt1  0x0000000000000010 : c0 a8 00 32 00 00 52 49
Apr  4 09:12:19 sol-nt1  0x0000000000000018 : 04 28 00 06 63 ce 13 46
Apr  4 09:12:19 sol-nt1  0x0000000000000020 : 45 71 02 00 08 09 0a 0b
Apr  4 09:12:19 sol-nt1  0x0000000000000028 : 0c 0d 0e 0f 10 11 12 13
Apr  4 09:12:19 sol-nt1  0x0000000000000030 : 14 15 16 17 18 19 1a 1b
Apr  4 09:12:19 sol-nt1  0x0000000000000038 : 1c 1d 1e 1f 20 21 22 23
Apr  4 09:12:19 sol-nt1  0x0000000000000040 : 24 25 26 27 28 29 2a 2b
Apr  4 09:12:19 sol-nt1  0x0000000000000048 : 2c 2d 2e 2f 30 31 32 33
Apr  4 09:12:19 sol-nt1  0x0000000000000050 : 34 35 36 37
 
 
This message posted from opensolaris.org
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to