Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Oct 2002 20:44:28 -0700
From:      Lars Eggert <larse@ISI.EDU>
To:        current <current@FreeBSD.ORG>
Subject:   mpd: resource deadlock avoided?
Message-ID:  <3DA4F79C.4070202@isi.edu>

next in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms020903050703040801030003
Content-Type: multipart/mixed;
 boundary="------------010405030206010103020303"

This is a multi-part message in MIME format.
--------------010405030206010103020303
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I'm trying to connect to a Cisco VPN server using mpd under -current. 
While the connection setup seems to work fine (see attached log), when I 
try to send traffic over the tunnel, I see these messages:

	PING hbo.isi.edu (128.9.160.75): 56 data bytes
	ping: sendto: Resource deadlock avoided
	ping: sendto: No buffer space available
	ping: sendto: No buffer space available
	ping: sendto: No buffer space available
	^C
	--- hbo.isi.edu ping statistics ---
	4 packets transmitted, 0 packets received, 100% packet loss

For the first packet after the tunnel comes up, I always get "resource 
deadlock avoided", for all later packets "no buffer space".

This may well be an interoperability issue between mpd and the Cisco box 
- I can connect to a MS RAS server fine using the same mpd config (only 
difference is the peer IP address).

Any clues?

Thanks,
Lars
-- 
Lars Eggert <larse@isi.edu>           USC Information Sciences Institute

--------------010405030206010103020303
Content-Type: text/plain;
 name="log.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="log.txt"

Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 60062, version 3.9 (root@localhost 02:27 10-Oct-2002)
[ISI] ppp node is "mpd60062-ISI"
mpd: local IP address for PPTP is 0.0.0.0
[ISI] using interface ng0
set iface downp-script: unknown command. Try "help".
set link allow: unknown command. Try "help".
[ISI] IFACE: Open event
[ISI] IPCP: Open event
[ISI] IPCP: state change Initial --> Starting
[ISI] IPCP: LayerStart
[ISI:ISI] [ISI] bundle: OPEN event in state CLOSED
[ISI] opening link "ISI"...
[ISI] link: OPEN event
[ISI] LCP: Open event
[ISI] LCP: state change Initial --> Starting
[ISI] LCP: LayerStart
[ISI] device: OPEN event in state DOWN
pptp0: connecting to 198.32.16.245:1723
[ISI] device is now in state OPENING
pptp0: connected to 198.32.16.245:1723
pptp0: attached to connection with 198.32.16.245:1723
pptp0-0: outgoing call connected at 10000000 bps
[ISI] PPTP call successful
[ISI] device: UP event in state OPENING
[ISI] device is now in state UP
[ISI] rec'd unknown ctrl message, cookie=942710669 cmd=4
[ISI] link: UP event
[ISI] link: origination is local
[ISI] LCP: Up event
[ISI] LCP: state change Starting --> Req-Sent
[ISI] LCP: phase shift DEAD --> ESTABLISH
[ISI] LCP: SendConfigReq #1
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM 26d9dbaa
[ISI] LCP: rec'd Configure Request #0 link 0 (Req-Sent)
 AUTHPROTO CHAP MSOFT
[ISI] LCP: SendConfigAck #0
 AUTHPROTO CHAP MSOFT
[ISI] LCP: state change Req-Sent --> Ack-Sent
[ISI] LCP: SendConfigReq #2
 ACFCOMP
 PROTOCOMP
 MRU 1500
 MAGICNUM 26d9dbaa
[ISI] LCP: rec'd Configure Ack #2 link 0 (Ack-Sent)
 MRU 1500
 MAGICNUM 26d9dbaa
 PROTOCOMP
 ACFCOMP
[ISI] LCP: state change Ack-Sent --> Opened
[ISI] LCP: phase shift ESTABLISH --> AUTHENTICATE
[ISI] LCP: auth: peer wants CHAP, I want nothing
[ISI] LCP: LayerUp
[ISI] CHAP: rec'd CHALLENGE #1
 Name: ""
 Using authname "larse"
[ISI] CHAP: sending RESPONSE
[ISI] CHAP: rec'd CHALLENGE #2
 Name: ""
 Using authname "larse"
[ISI] CHAP: sending RESPONSE
[ISI] CHAP: rec'd SUCCESS #2
[ISI] LCP: authorization successful
[ISI] LCP: phase shift AUTHENTICATE --> NETWORK
[ISI] up: 1 link, total bandwidth 64000 bps
[ISI] IPCP: Up event
[ISI] IPCP: state change Starting --> Req-Sent
[ISI] IPCP: SendConfigReq #1
 IPADDR 0.0.0.0
 COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
 PRIDNS 0.0.0.0
 SECDNS 0.0.0.0
[ISI] IPCP: rec'd Configure Request #0 link 0 (Req-Sent)
 IPADDR 198.32.16.245
   198.32.16.245 is OK
[ISI] IPCP: SendConfigAck #0
 IPADDR 198.32.16.245
[ISI] IPCP: state change Req-Sent --> Ack-Sent
[ISI] rec'd unexpected protocol CCP on link 0, rejecting
[ISI] IPCP: SendConfigReq #2
 IPADDR 0.0.0.0
 COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
 PRIDNS 0.0.0.0
 SECDNS 0.0.0.0
[ISI] IPCP: rec'd Configure Reject #2 link 0 (Ack-Sent)
 COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[ISI] IPCP: SendConfigReq #3
 IPADDR 0.0.0.0
 PRIDNS 0.0.0.0
 SECDNS 0.0.0.0
[ISI] IPCP: rec'd Configure Nak #3 link 0 (Ack-Sent)
 IPADDR 128.9.176.34
   128.9.176.34 is OK
 PRIDNS 128.9.128.128
 SECDNS 128.9.144.145
[ISI] IPCP: SendConfigReq #4
 IPADDR 128.9.176.34
 PRIDNS 128.9.128.128
 SECDNS 128.9.144.145
[ISI] IPCP: rec'd Configure Ack #4 link 0 (Ack-Sent)
 IPADDR 128.9.176.34
 PRIDNS 128.9.128.128
 SECDNS 128.9.144.145
[ISI] IPCP: state change Ack-Sent --> Opened
[ISI] IPCP: LayerUp
  128.9.176.34 -> 198.32.16.245
[ISI] IFACE: Up event
[ISI] exec: /sbin/ifconfig ng0 128.9.176.34 198.32.16.245 netmask 0xffffffff -link0
[ISI] exec: /sbin/route add 128.9.160.0 198.32.16.245 -netmask 0xfffff000
[ISI] exec: /sbin/route add 128.9.112.0 198.32.16.245 -netmask 0xfffff000
[ISI] exec: /etc/mpd/ng-up.sh ng0 inet 128.9.176.34 198.32.16.245
[ISI] exec: command returned 256
[ISI] IFACE: Up event


--------------010405030206010103020303--

--------------ms020903050703040801030003
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJtjCC
AzgwggKhoAMCAQICEGZFcrfMdPXPY3ZFhNAukQEwDQYJKoZIhvcNAQEEBQAwgdExCzAJBgNV
BAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgG
A1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2Vydmlj
ZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkG
CSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMDA4MzAwMDAw
MDBaFw0wNDA4MjcyMzU5NTlaMIGSMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBD
YXBlMRIwEAYDVQQHEwlDYXBlIFRvd24xDzANBgNVBAoTBlRoYXd0ZTEdMBsGA1UECxMUQ2Vy
dGlmaWNhdGUgU2VydmljZXMxKDAmBgNVBAMTH1BlcnNvbmFsIEZyZWVtYWlsIFJTQSAyMDAw
LjguMzAwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAN4zMqZjxwklRT7SbngnZ4HF2ogZ
gpcO40QpimM1Km1wPPrcrvfudG8wvDOQf/k0caCjbZjxw0+iZdsN+kvx1t1hpfmFzVWaNRqd
knWoJ67Ycvm6AvbXsJHeHOmr4BgDqHxDQlBRh4M88Dm0m1SKE4f/s5udSWYALQmJ7JRr6aFp
AgMBAAGjTjBMMCkGA1UdEQQiMCCkHjAcMRowGAYDVQQDExFQcml2YXRlTGFiZWwxLTI5NzA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hbCBGcmVlbWFpbCBSU0EgMjAwMC44LjMwAgMIJUEwDQYJ
KoZIhvcNAQEBBQAEggEAnOz5FydYP1w0MR8XSJdy9bTa4FLuk53eQt/VYDu3JQobYl/ndANh
EafHhKbmVths/5czc/npnWDL40/oxRHVcHFRZJmkEvmf2YHYgDRcVMdj96rIPgv0UMvjV5/a
2Iv/LXs2AkR4MNnKoEwzEf9LfFSvboysHKiR0OA52LT1OuRbG40li8Yi4CRScrPykafjYDCu
ui8hj0ldEUJOtQ+UdNFpNzNcBxNIAX/tG3FoioIwmdoKZajBpElwjsd4Mf6E9ZsBz+Z0c4Cu
DotB3bnXRjrqc4aYx+f1MxlnRTvBEijjYbFUD6cUcP83zbta7CDhgGoGSq65Fi0MJq7C/0Xg
sgAAAAAAAA==
--------------ms020903050703040801030003--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DA4F79C.4070202>