Resetting the counters in Net

Hi folks,
Is there a way to reset the transmit counters in a Net.arcnet driver without
restarting it ?
AlP

Hi again,
Actually, I should be a bit more specific… we’re running QNX Proc 4.22B
with:
Net.arcnet V4.22A
Net V4.20D
I expect there are probably updated versions of these but this is a running
system that I would rather not change software in.
I will be surprised if there isn’t a message I can send to Net.arcnet to
reset the counters…
AlP

“Al Parker” <alparker@nbnet.nb.ca> wrote in message
news:c8siba$djd$1@inn.qnx.com

Hi folks,
Is there a way to reset the transmit counters in a Net.arcnet driver
without
restarting it ?
AlP

The counters are in the driver, so the only way to reset them is to restart
the driver.

“Al Parker” <alparker@nbnet.nb.ca> wrote in message
news:c8sj3t$dvq$1@inn.qnx.com

Hi again,
Actually, I should be a bit more specific… we’re running QNX Proc 4.22B
with:
Net.arcnet V4.22A
Net V4.20D
I expect there are probably updated versions of these but this is a
running
system that I would rather not change software in.
I will be surprised if there isn’t a message I can send to Net.arcnet to
reset the counters…
AlP

“Al Parker” <> alparker@nbnet.nb.ca> > wrote in message
news:c8siba$djd$> 1@inn.qnx.com> …
Hi folks,
Is there a way to reset the transmit counters in a Net.arcnet driver
without
restarting it ?
AlP
\

Al Parker wrote:

Hi again,
Actually, I should be a bit more specific… we’re running QNX Proc 4.22B
with:
Net.arcnet V4.22A
Net V4.20D
I expect there are probably updated versions of these but this is a running
system that I would rather not change software in.
I will be surprised if there isn’t a message I can send to Net.arcnet to
reset the counters…

Which counters specifically do you want to reset?

\

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

Specifically,
txd_ok.
Our customer has some software that uses that as a basis for determining
that the card/Net is a alive.
It’s currently pegged at 2,000,000,000
AlP

“Adam Mallory” <amallory@qnx.com> wrote in message
news:c8vequ$nol$1@inn.qnx.com

Al Parker wrote:

Hi again,
Actually, I should be a bit more specific… we’re running QNX Proc
4.22B
with:
Net.arcnet V4.22A
Net V4.20D
I expect there are probably updated versions of these but this is a
running
system that I would rather not change software in.
I will be surprised if there isn’t a message I can send to Net.arcnet to
reset the counters…

Which counters specifically do you want to reset?

\

Cheers,
Adam

QNX Software Systems Ltd.
[ > amallory@qnx.com > ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net

Al Parker wrote:

Specifically,
txd_ok.
Our customer has some software that uses that as a basis for determining
that the card/Net is a alive.
It’s currently pegged at 2,000,000,000
AlP

Well, I was going to suggest that if the location of that counter was
known (I don’t have a build of that version of that driver handy), then
you could construct a far pointer into Net.arcnet’s data section via the
GDT, and wack the value directly.

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

Thanks Adam,
I was thinking of that as a last resort.
…strange that there isn’t a message interface to reset this.
AlP

“Adam Mallory” <amallory@qnx.com> wrote in message
news:c92l3v$aqi$1@inn.qnx.com

Al Parker wrote:

Specifically,
txd_ok.
Our customer has some software that uses that as a basis for determining
that the card/Net is a alive.
It’s currently pegged at 2,000,000,000
AlP

Well, I was going to suggest that if the location of that counter was
known (I don’t have a build of that version of that driver handy), then
you could construct a far pointer into Net.arcnet’s data section via the
GDT, and wack the value directly.

Cheers,
Adam

QNX Software Systems Ltd.
[ > amallory@qnx.com > ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net

Al Parker wrote:

Thanks Adam,
I was thinking of that as a last resort.
…strange that there isn’t a message interface to reset this.

I think it’s stranger that they cap off. Then again, using the txd_ok
counter as determination if Net/nic is “alive” wouldn’t have been my
first choice either.

I think directly wacking the counter is your only solution given your
restriction of not changing system software.

Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>