- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- half-duplex mode vs full-duplex mode issue
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
11-30-2022 07:24 PM - last edited on 12-02-2022 03:16 AM by support_s
11-30-2022 07:24 PM - last edited on 12-02-2022 03:16 AM by support_s
half-duplex mode vs full-duplex mode issue
Hello,
Someone knows why the following function detecs correctly the cable disconnection for an ethernet card when is configured on half-duplex mode and when is configured on full-duplex mode doesn't detect the disconnection?
void check_hubs(int hub)
{
unsigned int stat,error_dev;
float waittime = 0.1; /* needed time to obtain a qio answer */
P5_PARAM xmt_param={0xAB,0,0x04,0,0,0}; /* broadcast multicast address */
char xmt_buffer[1]; /* transmit buffer */
/* transmits a multicast message */
_qio_iosb[hub].w_err = 0;
stat = sys$qio(0,_network_channel[hub].channel,IO$_WRITEVBLK,&_qio_iosb[hub],0,0,&xmt_buffer[0],0,0,0,&xmt_param,0);
if (stat & 1)
{
/* qio success. wait a time to access to the returned information */
lib$wait(&waittime);
/* checks qio status */
if (_qio_iosb[hub].w_err == 0)
{
/* timeout in write operation */
error_dev = TRUE;
}
else if ($FAIL(_qio_iosb[hub].w_err))
{
/* network error */
error_dev = TRUE;
}
else
{
/* success in write operation */
error_dev = FALSE;
}
}
else
{
/* qio error */
if (_network_channel[hub].critical)
{
lib$stop(stat,0,0);
}
else if (!_error_in_hub[hub])
{
printf("QUIO ERROR CONTROL_DEVFAIL\n");
lib$signal(CONTROL_DEVFAIL, 1, &_dvc_dsc);
}
error_dev = TRUE;
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022 08:25 PM
11-30-2022 08:25 PM
Query: half-duplex mode vs full-duplex mode issue
System recommended content:
1. Is there an IPM to force FESA to run in Full duplex mode ?
Please click on "Thumbs Up/Kudo" icon to give a "Kudo".
Thank you for being a HPE valuable community member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2022 07:54 AM
12-01-2022 07:54 AM
Re: half-duplex mode vs full-duplex mode issue
You're checking the IOSB, before the QIO has finished. LIB$WAIT may not be enough... Timing may be different between HDX und FDX case.
Try testing with sys$qiow
Volker.