Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-03-2018, 08:38 AM
|
#1
|
LQ Newbie
Registered: Apr 2018
Posts: 12
Rep: 
|
slackware 14.2 Fintek Super IO F81866 UART how to check IRQ sharing?
Hello,
I try to install touch panel on AFL-08A-N26/R/2G-R11 PC Panel. The installation program does not detect any PenMount module. This panel is ecquipped with Fintek F81866 Super IO. The support suggested on setting up irq sharing.
Dmesg during startup shows:
[ 0.921855] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.943440] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 0.965172] 00:06: ttyS2 at I/O 0x3e8 (irq = 10, base_baud = 115200) is a 16550A
[ 0.992712] 00:07: ttyS3 at I/O 0x2e8 (irq = 10, base_baud = 115200) is a 16550A
[ 1.020114] 00:08: ttyS1 at I/O 0x250 (irq = 10, base_baud = 115200) is a 16550A
3 serial ports uses the same irq.
How can I be sure that irq sharing is working fine? How can I check it?
Regards,
Robert
|
|
|
05-03-2018, 08:54 AM
|
#2
|
Member
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
|
I believe you can check using this:
Code:
$ watch -n1 cat /proc/interrupts
Look at the far-right column for comma separated values, IIRC these are using a shared IRQ when more than one is present. For example on my machine this entry:
Code:
18: 44726 44770 44359 44534 44477 44823 45504 55564 IR-IO-APIC 18-fasteoi ohci_hcd:usb8, ohci_hcd:usb9, ohci_hcd:usb10, ohci_hcd:usb11
Being shared by
Code:
ohci_hcd:usb8, ohci_hcd:usb9, ohci_hcd:usb10, ohci_hcd:usb11
|
|
|
05-03-2018, 09:08 AM
|
#3
|
LQ Newbie
Registered: Apr 2018
Posts: 12
Original Poster
Rep: 
|
In my case:
CPU0 CPU1 CPU2 CPU3
0: 157 0 0 0 IO-APIC 2-edge timer
4: 3 4 4 1 IO-APIC 4-edge
7: 45 0 0 0 IO-APIC 7-edge
8: 7 8 7 5 IO-APIC 8-edge rtc0
9: 0 0 0 0 IO-APIC 9-fasteoi acpi
10: 8 8 7 7 IO-APIC 10-edge
14: 0 0 0 0 IO-APIC 14-edge pata_legacy.0
15: 0 0 0 0 IO-APIC 15-edge pata_legacy.1
16: 0 0 0 0 IO-APIC 16-fasteoi uhci_hcd:usb5
18: 12 13 12 8 IO-APIC 18-fasteoi ath9k, uhci_hcd:usb4
19: 1553 1591 1632 1618 IO-APIC 19-fasteoi ata_piix, i801_smbus, uhci_hcd:usb3
23: 1 0 0 1 IO-APIC 23-fasteoi ehci_hcd:usb1, uhci_hcd:usb2
27: 1215 1264 1300 1276 PCI-MSI 524288-edge eth0
29: 34 70 187 112 PCI-MSI 442368-edge snd_hda_intel
NMI: 0 0 0 0 Non-maskable interrupts
LOC: 60911 54063 47512 38119 Local timer interrupts
SPU: 0 0 0 0 Spurious interrupts
PMI: 0 0 0 0 Performance monitoring interrupts
IWI: 0 0 0 0 IRQ work interrupts
RTR: 0 0 0 0 APIC ICR read retries
RES: 1145 1072 1196 959 Rescheduling interrupts
CAL: 667 500 993 1014 Function call interrupts
TLB: 31 27 27 26 TLB shootdowns
TRM: 0 0 0 0 Thermal event interrupts
THR: 0 0 0 0 Threshold APIC interrupts
DFR: 0 0 0 0 Deferred Error APIC interrupts
MCE: 0 0 0 0 Machine check exceptions
MCP: 11 11 11 11 Machine check polls
ERR: 45
MIS: 0
PIN: 0 0 0 0 Posted-interrupt notification event
PIW: 0 0 0 0 Posted-interrupt wakeup event
How to interpret this listing? I'm not sure.
Robert
|
|
|
05-03-2018, 10:54 AM
|
#4
|
Member
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
|
The numbers in the first column is the IRQ
IRQ 10, as mentioned by your dmesg is;
Code:
10: 8 8 7 7 IO-APIC 10-edge
* "8,8,7,7" is just the total number of interrupts made on each cpu.
* "IO-APIC" is the interrupt controller for that IRQ.
* "edge" is the type of interrupt.
I'm not sure how serial ports should show up in this output however.
|
|
|
05-07-2018, 07:19 AM
|
#5
|
LQ Newbie
Registered: Apr 2018
Posts: 12
Original Poster
Rep: 
|
Hi,
I did it by compiling and installing new kernel 4.16.7 with nr_uarts=6 set in the options. Then serial ttyS4 become visible and after setting irq sharing in F81866 the PenMount become active under x11.
Regards,
Robert
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 04:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|