Pentium 4 with 4.25?

Hello,

Can someone tell me if QNX 4.25 will work on a Pentium 4?

Thanks,
Tom.

Yes, it works.


“Tom” <pwc@ag-signs.com> wrote in message news:c3jhqu$36t$1@inn.qnx.com

Hello,

Can someone tell me if QNX 4.25 will work on a Pentium 4?

Thanks,
Tom.

“Pavol Kycina” <xkycina@microstep-hdo.sk> wrote in message
news:405e8723@news.microstep-hdo.sk

Yes, it works.

But the OS will report the wrong CPU frequency (qnx_osinfo() )

“Tom” <> pwc@ag-signs.com> > wrote in message news:c3jhqu$36t$> 1@inn.qnx.com> …
Hello,

Can someone tell me if QNX 4.25 will work on a Pentium 4?

Thanks,
Tom.
\

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:c3n6c6$6bj$1@inn.qnx.com

But the OS will report the wrong CPU frequency (qnx_osinfo() )

If you’re refering to the cpu_speed member, it’s not a CPU frequency, just a
benchmark value. But, you’re correct in that it will appear to wrap and
give wierd values because of the size of the container (it actually
calculates it ok). I’ve addressed the issue by capping the result to
0xffff. In addition, I’m also stuffing the cpu frequency in khz into the
osinfo struct now using some of the reserved space (member is cpu_khz) so
the benchmark (cpu_speed) is less important now without breaking anyone
still using it.


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>

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

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:c3n6c6$6bj$> 1@inn.qnx.com> …

But the OS will report the wrong CPU frequency (qnx_osinfo() )

If you’re refering to the cpu_speed member, it’s not a CPU frequency, just
a
benchmark value. But, you’re correct in that it will appear to wrap and
give wierd values because of the size of the container (it actually
calculates it ok). I’ve addressed the issue by capping the result to
0xffff. In addition, I’m also stuffing the cpu frequency in khz into the
osinfo struct now using some of the reserved space (member is cpu_khz) so
the benchmark (cpu_speed) is less important now without breaking anyone
still using it.

Sorry I got it wrong I was talking about cpu_features with should be able to
report speed up to 4095 Mzh but doesn’t work on P4 (don’t know if it’s
related to P4 or to the higher frequence). P4 is running at 2.2G so there
is enough bit to represent 2200Mzh. The value seems to be a third of the
actuall frequency. The value reported by cpu_feature&0xfff is the same as
the one display when Proc starts, which is what lead me to beleive the
calculation is off and not the representation.


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

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:c3qrl0$9q8$1@inn.qnx.com

Sorry I got it wrong I was talking about cpu_features with should be able
to
report speed up to 4095 Mzh but doesn’t work on P4 (don’t know if it’s
related to P4 or to the higher frequence). P4 is running at 2.2G so there
is enough bit to represent 2200Mzh. The value seems to be a third of the
actuall frequency. The value reported by cpu_feature&0xfff is the same as
the one display when Proc starts, which is what lead me to beleive the
calculation is off and not the representation.

If memory serves, it the /boot util that fills in the speed for that (since
proc doesn’t make reference to cpu_features anywhere). I’ll take a peek
later to see why it doesn’t report properly all the time.

\

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>

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

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:c3n6c6$6bj$> 1@inn.qnx.com> …

But the OS will report the wrong CPU frequency (qnx_osinfo() )

If you’re refering to the cpu_speed member, it’s not a CPU frequency, just
a
benchmark value. But, you’re correct in that it will appear to wrap and
give wierd values because of the size of the container (it actually
calculates it ok). I’ve addressed the issue by capping the result to
0xffff. In addition, I’m also stuffing the cpu frequency in khz into the
osinfo struct now using some of the reserved space (member is cpu_khz) so
the benchmark (cpu_speed) is less important now without breaking anyone
still using

In what version of Proc is this new member setup. At what offset in the
osinfo structure is it located.


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

“Mario Charest” postmaster@127.0.0.1 wrote in message

In what version of Proc is this new member setup. At what offset in the
osinfo structure is it located.

It’s not released, but should be whenever the next QNX4 update is scheduled.
The offset as reported by offsetof(struct _osinfo, cpu_khz) is 0x8E


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>

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

“Mario Charest” postmaster@127.0.0.1 wrote in message

In what version of Proc is this new member setup. At what offset in the
osinfo structure is it located.

It’s not released, but should be whenever the next QNX4 update is
scheduled.
The offset as reported by offsetof(struct _osinfo, cpu_khz) is 0x8E

If you ever fix the boot/clock problem drop me a note and I’ll see about
getting a copy via support plan.


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