Operating System - HP-UX
1832567 Members
5344 Online
110043 Solutions
New Discussion

DLKM unload hangs in wsio_intr_deactivate

 
Kallol   Biswas
Occasional Contributor

DLKM unload hangs in wsio_intr_deactivate

Hi,
Is there are document on DLKM operations?
The wsio_intr_deactivate routine sleeps for ever.

The code sequence:

if (wsio_intr_alloc(isc, ( wsio_drv_isr_t)threecom_isr,
(uintptr_t)isc, (uint64_t)0, &iobj) != WSIO_OK) {
printf("threecom:wsio_intr_alloc failed!\n");
return -1;
}

.....
if (wsio_intr_set_irq_line(isc, iobj, (intptr_t)WSIO_IRQ_LINE_AUTO,
(uint64_t)0L) != WSIO_OK) {
printf("threecom:wsio_intr_set_irq_line failed!\n");
return -1;
}

if (wsio_intr_activate(isc, iobj) != WSIO_OK) {
printf("threecom: wsio_intr_activate failed!\n");
return -1;
}

The card's interrupt is not tunred on, and the module is tried to be unloaded

The mod unload routine:
........
wsio_intr_deactivate(threecom_isc, iftp->iobj);
..........

The unload operation hangs.

Any suggestion how to fix this problem?

Kallol
kallolbiswas@yahoo.com
3 REPLIES 3
Bill McNAMARA_1
Honored Contributor

Re: DLKM unload hangs in wsio_intr_deactivate

http://h21007.www2.hp.com/dspp/srch/srch_SearchResut_IDX/1,1694,,00.html?qtext=DLKM&criteria=0&col=all&lk=1&rf=0&fld=3&nh=10&fdt=in&fin=an&amo=03&ady=1&ayr=2002&bmo=03&bdy=12&byr=2002&st=&qt=%2BDLKM


Your q would be better suited on the developer portal:

http://www.hp.com/go/developers

I have seen info on DLKM there, including code examples, install guides etc.

But I guessw in your case you need a pstat patch: PHKL_22986 or greater...


Later,
Bill
It works for me (tm)
Kallol   Biswas
Occasional Contributor

Re: DLKM unload hangs in wsio_intr_deactivate

I forgot to mention that I have a 11i
system. PHKL_22986 is for 11.0.
What is the 11i equivalent patch for
it? And how to find it out.
MUFTI Rachid
Frequent Advisor

Re: DLKM unload hangs in wsio_intr_deactivate

Hello,


PHKL_22986 (Upux 11) cumulative pstat patch has been fixed on hpUx 11.11, you dont need it.

rachid