Re: Interrupts not being raised.

David Woodhouse (David.Woodhouse@mvhi.com)
Fri, 12 Feb 1999 12:31:48 +0000


mingo@chiara.csoma.elte.hu said:
> asm volatile ("int $11"); // raise IRQ11

int $11 == IRQ 11?

traps.c says:
set_trap_gate(11,&segment_not_present);

The card I'm playing with is now set up to share an IRQ with a 100BT ethernet
card, and a bttv card. There's no shortage of interrupts. I know that the
driver works when a stray interrupt from another card wakes it up.

9: 15298415 XT-PIC eth0, bttv

int $9 definitely isn't IRQ 9. It's a CPU exception...

coprocessor segment overrun: 0000
CPU: 0
EIP: 0010:[<c84d033a>]
EFLAGS: 00000246
Process insmod (pid: 29930, process nr: 68, stackpage=c5afd000)
Code: 68 fc 13 4d c8 e8 30 26 cc f7 a1 c0 16 4d c8 50 a1 bc 13 4d

Shouldn't that be 0x20 + (irq) ?

---- ---- ----
David Woodhouse David.Woodhouse@mvhi.com Office: (+44) 1223 810302
Project Leader, Process Information Systems Mobile: (+44) 976 658355
Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/