Sure it just mean it’s attached to the console (stdout)
The “who” shows:
Userid Device Login Idle Command
System //0 bla-bla —:–:-- Dev.random
tony //1/dev/con1 bla-bla 0:00:00 who
This frightens me a bit, I’m trying to port ssh-1.2.33 to qnx4, I got it
nearly working…
The issues I have with it are “logout hang” and lots of complains in
syslog regarding “Cannot find the controlling tty”.
If I do “ssh somehost who” I get this:
Userid Device Login Iddle Command
System //0 bla-bla —:–:-- ksh
On all other *nixes this looks as expected: user //2/dev/tty2 bla-bla who
So I’m just curious if Dev.random is REALLY supposed to behave like this.
Sure it just mean it’s attached to the console (stdout)
The “who” shows:
Userid Device Login Idle Command
System //0 bla-bla —:–:-- Dev.random
tony //1/dev/con1 bla-bla 0:00:00 who
This frightens me a bit, I’m trying to port ssh-1.2.33 to qnx4, I got it
nearly working…
The issues I have with it are “logout hang” and lots of complains in
syslog regarding “Cannot find the controlling tty”.
If I do “ssh somehost who” I get this:
Userid Device Login Iddle Command
System //0 bla-bla —:–:-- ksh
On all other *nixes this looks as expected: user //2/dev/tty2 bla-bla who
So I’m just curious if Dev.random is REALLY supposed to behave like
this.
If the source are available you could change it. Or maybe you could start it
like this
Dev.random >/dev/null </dev/null 2>dev/null
v0.4 TODO file has a wish to add “multi-IRQ” feature, was it implemented?
I’d like to start Dev.random -i1 -i4 -i9 -i14 & (i.e. keyboard, modem, NIC
and IDE irqs simultaneously). It does start this way but how to make sure
it did hook all those vectors?
v0.4 TODO file has a wish to add “multi-IRQ” feature, was it implemented?
I’d like to start Dev.random -i1 -i4 -i9 -i14 & (i.e. keyboard, modem,
NIC
and IDE irqs simultaneously). It does start this way but how to make sure
it did hook all those vectors?
v0.4 TODO file has a wish to add “multi-IRQ” feature, was it
implemented?
I’d like to start Dev.random -i1 -i4 -i9 -i14 & (i.e. keyboard, modem,
NIC and IDE irqs simultaneously). It does start this way but how to make
sure
it did hook all those vectors?
sin irq
If started as Dev.random -i1 -i4 -i9 -i14 & it hooks to the last vector in
the line.
If started as Dev.random -i1,4,9,14 & it hooks to the first one…
By the way, what is the “-1” vector? A lot of managers hook to it.
By the way, what is the “-1” vector? A lot of managers hook to it.
-1 is a “synthetic” 50ms interrupt, driven off the timer interrupt.
(Basically Proc counts timer interrupts (irq 0), and every appropriate
number calls the handlers in the -1 chain.)
It is not recommended that any new code use it, instead a system
timer is recommended – but some of the system managers have not
been recoded (and will never be) to switch.
-David
Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services dagibbs@qnx.com