I noticed that all kernels starting from tytso patch for generic pci serial ports (2.3.16 if I remeber well) fail to autodetect irq in UP when irqs are shared. Autodetection works with an SMP kernel. To better show what I'm trying to say, have a look at the following boot msg snippets. UP: Nov 13 18:08:34 p200 kernel: Linux version 2.3.26 ([EMAIL PROTECTED]) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Sat Nov 13 17:33:49 CET 1999 ... Nov 13 18:08:34 p200 kernel: Serial driver version 4.30 with SHARE_IRQ DETECT_IRQ SERIAL_PCI PCI_IOMEM enabled Nov 13 18:08:34 p200 kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A Nov 13 18:08:34 p200 kernel: ttyS01 at 0x02f8 (irq = 0) is a 16550A Nov 13 18:08:34 p200 kernel: ttyS02 at 0x03e8 (irq = 0) is a 16550A and SMP: Nov 13 17:29:05 p200 kernel: Linux version 2.3.26smp ([EMAIL PROTECTED]) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 SMP Sat Nov 13 17:05:38 CET 1999 ... Nov 13 17:29:05 p200 kernel: SMP motherboard not detected. Using dummy APIC emulation. Nov 13 17:29:05 p200 kernel: Initializing CPU#0 Nov 13 17:29:05 p200 kernel: calibrating APIC timer ... Nov 13 17:29:05 p200 kernel: ..... CPU clock speed is 199.4363 MHz. Nov 13 17:29:05 p200 kernel: ..... host bus clock speed is 0.0000 MHz. Nov 13 17:29:05 p200 kernel: cpu: 0, clocks: 0, slice: 0, nr: 1. Nov 13 17:29:05 p200 kernel: CPU0<C0:0,C:0,D:0,S:0,C:0> Nov 13 17:29:05 p200 kernel: Setting commenced=1, go go go ... Nov 13 17:29:05 p200 kernel: Serial driver version 4.30 with SHARE_IRQ DETECT_IRQ SERIAL_PCI PCI_IOMEM enabled Nov 13 17:29:05 p200 kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A Nov 13 17:29:05 p200 kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A Nov 13 17:29:05 p200 kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A Using setserial I can adjust irqs and everything works well (I never use S0 and S2 togheter). I just tried 2.3.28 and nothing changed. I know irq autodetect it's unsafe but many distribution makers use it and, being that it worked before 2.3.16, maybe it can be fixed. Ciao, Filippo. - Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/ To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]
