Quote:
Originally Posted by
Corona688
I suspect your test setup isn't actually producing interrupts. Try not loading your driver and running your trigger: dmesg should overflow with 'IRQ 10, nobody cared' messages.
Or, check 'cat /proc/interrupts' to see what it thinks is on those interrupts, they may be routed elsewhere internally. What kind of bus are you triggering on? If you're using ISA, make sure you assign those interrupts to ISA in the CMOS.
Ok, tomorrow I will try it.
Thanks a lot.
---------- Post updated at 03:37 PM ---------- Previous update was at 03:36 PM ----------
Hello,
I have made test that you told me.
Quote:
I suspect your test setup isn't actually producing interrupts. Try not loading your driver and running your trigger: dmesg should overflow with 'IRQ 10, nobody cared' messages.
Ok, I startup my system and I dont load my driver. Then I have connect a square wave in pin INT5, INT7 and INT10 in PC-104 slot (B23, B21 and D4) but I dont see any text with "IRQX, nobody cared". I supposed that it is bad.
Output of dmesg after trigger interrupts:
Quote:
...............
EXT3 FS on hda2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:0e.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
eth0: RealTek RTL8139 at 0xfc00, 00:04:5f:84:9f:a7, IRQ 11
eth0: Identified 8139 chip type 'RTL-8101'
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
leicif: module license 'Dual BSD/GLP' taints kernel.
LEICIFLectura de los parametros de la tarjeta PCI: Error al obtener el dispositivo
eth0: no IPv6 routers present
Quote:
Or, check 'cat /proc/interrupts' to see what it thinks is on those interrupts, they may be routed elsewhere internally. What kind of bus are you triggering on? If you're using ISA, make sure you assign those interrupts to ISA in the CMOS.
Before connect square wave....
Quote:
0: 4930 XT-PIC-XT timer
1: 2 XT-PIC-XT i8042
2: 0 XT-PIC-XT cascade
8: 0 XT-PIC-XT rtc
9: 0 XT-PIC-XT acpi
11: 125 XT-PIC-XT ehci_hcd:usb1, ohci_hcd:usb2, eth0
12: 3 XT-PIC-XT i8042
14: 713 XT-PIC-XT ide0
NMI: 0 Non-maskable interrupts
LOC: 0 Local timer interrupts
TRM: 0 Thermal event interrupts
SPU: 0 Spurious interrupts
ERR: 0
MIS: 0
and after.....
Quote:
CPU0
0: 28181 XT-PIC-XT timer
1: 2 XT-PIC-XT i8042
2: 0 XT-PIC-XT cascade
8: 0 XT-PIC-XT rtc
9: 0 XT-PIC-XT acpi
11: 493 XT-PIC-XT ehci_hcd:usb1, ohci_hcd:usb2, eth0
12: 3 XT-PIC-XT i8042
14: 724 XT-PIC-XT ide0
NMI: 0 Non-maskable interrupts
LOC: 0 Local timer interrupts
TRM: 0 Thermal event interrupts
SPU: 0 Spurious interrupts
ERR: 0
MIS: 0
In BIOS, I have configured IRQ5, IRQ7 and IRQ10 as legacy ISA.
Well, I supposed that I need to read more about it and how to setup correctly IRQ Handlers.
Anyway, Thank you very much for your help.
Best regards.