Hello,
Yes, you are right.
“Hugh Brown” <hsbrown@qnx.com> wrote in message
news:boe1uv$8cc$1@inn.qnx.com…
You don’t say what platform you are running on! Is this x86 or some other
platform?
x86
Are you running 6.2.0 and 6.2.1 on exactly the same machine? Do
Yes. Actually the machine is floppy booted. I have used exactly the same
buildfile to create the two floppys, the only diference is the qnx versions
in the machines I have used to create them, 6.2.0 in one case and 6.2.1 in
the other.
The problem appears too in another 6.2.1 system (x86) with full
installation. It is a dual processor and it blocks in 1 processor
configuration and in 2 processors configuration. In the 2 processors case,
one of the cpu remains 100% used and after two or three trials
(starting/closing the driver software) it blocks completly.
I have not been able to reproduce the problem in any of the 6.2.0 boxes we
have, we have 4 of them, with all kind of diferent configurations; 1
processors, two processor, harddisk booted, floppy booted, network booted, 1
network card, two network cards… the problem verifies only in the 6.2.1.
you disable the adapter before you call pci_detach_device()?
Uhmm, what do you mean with ‘disable the adapter’?
What I do is to stop the acquisition in the framegraber by writing in the
adequate register…
then stopping the dma tranfers(by again writing in a framegrabber register)
then detaching the assigned irq (InterruptDetach)
and then calling pci_detach_device()
I will work in the problem the next hours so I hope I can provide more data
later.
I know this is an strange problem; this is why I am writing in the
newsgroup, I am sorry I am not supplying enought data, but you will
undertand this is dificult to debug, my hope was that this was somekind of a
know bug in the pci stuff…
Thanks in advance.
Carlos Beltran
“Carlos Beltran” <> cbeltran@dist.unige.it> > wrote in message
news:bodtq4$5j3$> 1@inn.qnx.com> …
Hello,
I am running my driver for BT848 cards (bttvx) under qnx 6.2.0 and it
works
perfectly. But exactly the same code in a 6.2.1 box is blocking the
machine
completly. The problem appears when I call the pci_detach_device()
function
when closing the driver.
I don’t understand why this is happening. I am not totally sure, but the
block seems to be a consequence of a 100% use of the CPU.
Is there diferences in the pci server from 6.2.0 to 6.2.1??
Ah! both are PE editions…
Thank you in advance.
Carlos Beltran
\