- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DL_ATTACH_REQ fails on a "virtual" PPA
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2005 04:39 AM
03-23-2005 04:39 AM
DL_ATTACH_REQ fails on a "virtual" PPA
I've installed HP APA on a machine;
then I run a proprietary stack which issues a DL_ATTACH_REQ on the nmid related to the link aggregated generated by the HP APA; the command fails and the return message isn't understandable....
Of course the stack properly runs on any other LAN card (btlan driver) since many many years!!
What can I do?
regards
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2005 05:19 AM
03-24-2005 05:19 AM
Re: DL_ATTACH_REQ fails on a "virtual" PPA
What is the OS version and APA version?
(Run "what /usr/conf/lib/libhp_apa.a").
The DL_ATTACH_REQ should use PPA number instead of nmid. The PPA number of link aggregation should be 900-949 if your OS is 11i. (It is 100-149 for 11.0).
Can you please post the error messages and the code related to DL_ATTACH_REQ?
Can you use "ifconfig" to configure an IP address on the linkagg successfully? If IP is correctly configured, that means the link aggregation handles "DL_ATTACH_REQ" correctly, because "ifconfig" also uses "DL_ATTACH_REQ".
Regards,
Xianje
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2005 07:16 PM
03-24-2005 07:16 PM
Re: DL_ATTACH_REQ fails on a "virtual" PPA
I believe the DL_ATTACH_REQ usually works :-)...
maybe there's something not appropriate in our code.
tlrhdq,sys,root # what libhp_apa.a
libhp_apa.a:
HP Auto-Port Aggregation (APA): hp_apa.c: PHNE_28778 B.11.11.11 Apr 1 2003 16:04:53
About the error code: we receive from the stream device a control buffer (buf_len > 0) while data buffer is empty, but I can't decode the buffer content....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2005 04:44 AM
03-25-2005 04:44 AM
Re: DL_ATTACH_REQ fails on a "virtual" PPA
You might provide the entire contents of the return message so someone else might try to understand it. errno, and dl_errno and the works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2005 06:06 AM
03-25-2005 06:06 AM
Re: DL_ATTACH_REQ fails on a "virtual" PPA
The "ACK" for "DL_ATTACH_REQ" only contains control info, no data. You just need to cast the control data as "dl_ok_ack_t" and decode it. If "dl_ok_ack_t->dl_primitive" is DL_OK_ACK, then the "DL_ATTACH_REQ" is successful.
Please check the DLPI programmer guide for example programs.
http://docs.hp.com/en/B2355-90139/index.html
HTH,
Xianjie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 07:40 PM
03-28-2005 07:40 PM
Re: DL_ATTACH_REQ fails on a "virtual" PPA
(gdb) print *err_ack
$2 = {dl_primitive = 3197999093, dl_error_primitive = 3711907495, dl_errno = 2101030891, dl_unix_errno = 3121141789}
(gdb) ptype *err_ack
type = struct {
uint32_t dl_primitive;
uint32_t dl_error_primitive;
uint32_t dl_errno;
uint32_t dl_unix_errno;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 05:45 AM
03-29-2005 05:45 AM
Re: DL_ATTACH_REQ fails on a "virtual" PPA
It has been a long time since I've done DLPI stuff so be kind :) - you are certain of the structure definition, and that it is indeed a DL_ERROR_ACK that comes-back and not something else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2005 06:31 AM
04-01-2005 06:31 AM
Re: DL_ATTACH_REQ fails on a "virtual" PPA
Did your program issue a DL_GET_PPA_REQ just before the DL_ATTACH_REQ?
You mentioned that the stack properly runs on any other LAN card (btlan driver) since many many years, but did you try the same program on a btlan interface AFTER APA is installed?
I suspect that the data buffer of DL_GET_PPA_REQ is not big enough. (After APA installed, the returned data size of DL_GET_PPA_REQ inceased substantially.) If your data buffer is not big enough, there will still be control data left on the stream heard after the DL_GET_PPA_REQ is acked. When you try to read back the control data for DL_ATTACH_REQ, it actually reads the remaining data for DL_GET_PPA_REQ, which will NOT be understandable when you try to decode it as a DL_OK_ACK_T.
The same problem happened for the older version of tcpdump. It works fine before APA installed. But after APA is installed, tcpdump failed due to failure of DL_ATTACH_REQ.
I suspect you hit the same problem as the older tcpdump did.
Xianjie