Bug 8562 - Serial driver 8250 does not work with ACPI enabled in BIOS
Summary: Serial driver 8250 does not work with ACPI enabled in BIOS
Status: CLOSED CODE_FIX
Alias: None
Product: ACPI
Classification: Unclassified
Component: Config-Interrupts (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: acpi_bios
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-01 06:10 UTC by Matti Linnanvuori
Modified: 2008-01-12 22:08 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.21.5
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
Kernel configuration file .config producing the bug (54.93 KB, text/plain)
2007-06-04 01:09 UTC, Matti Linnanvuori
Details
Boot Log (26.10 KB, text/plain)
2007-06-04 01:14 UTC, Matti Linnanvuori
Details
/proc/interrupts (965 bytes, text/plain)
2007-06-04 01:18 UTC, Matti Linnanvuori
Details
PCI List lspci -v (9.25 KB, text/plain)
2007-06-10 23:04 UTC, Matti Linnanvuori
Details
Kernel Modules lsmod (1.75 KB, text/plain)
2007-06-10 23:28 UTC, Matti Linnanvuori
Details
Loaded driver and hardware information /proc/iomem (1.82 KB, text/plain)
2007-06-11 03:44 UTC, Matti Linnanvuori
Details
Loaded driver and hardware information /proc/ioports (1.46 KB, text/plain)
2007-06-11 03:45 UTC, Matti Linnanvuori
Details
Boot log when /dev/ttyS3 works with append="acpi=noirq nomce" (32.27 KB, text/plain)
2007-08-09 22:28 UTC, Matti Linnanvuori
Details
Boot log of Linux kernel 2.6.22.1 lilo.conf line append="acpi=noirq" (16.94 KB, text/plain)
2007-08-20 03:18 UTC, Matti Linnanvuori
Details
Boot log of 2.6.22.1 without append="acpi=noirq" in lilo.conf (16.13 KB, text/plain)
2007-08-20 03:32 UTC, Matti Linnanvuori
Details
Working 2.6.22.6 dmesg without acpi=noirq on motherboard GIC88-B/N (13.68 KB, text/plain)
2007-09-20 23:41 UTC, Matti Linnanvuori
Details
Boot log of Linux 2.6.23.1 on PMB-53LF without acpi=noirq (4.14 KB, text/plain)
2007-11-08 02:17 UTC, Matti Linnanvuori
Details
Boot log of Linux 2.6.23.1 on PMB-53LF with acpi=noirq (4.17 KB, text/plain)
2007-11-08 02:18 UTC, Matti Linnanvuori
Details

Description Matti Linnanvuori 2007-06-01 06:10:02 UTC
Most recent kernel where this bug did *NOT* occur: unknown

Hardware Environment: Motherboard PMB-532LF
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz
stepping        : 6
cpu MHz         : 1833.574
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni
 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 3668.64
clflush size    : 64

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T5600  @ 1.83GHz
stepping        : 6
cpu MHz         : 1833.574
cache size      : 2048 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni
 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 3666.43
clflush size    : 64

Software Environment: Linux lk10 2.6.21.2 #6 SMP PREEMPT Fri Jun 1 14:43:26 EEST
2007 i686 unknown unknown GNU/Linux

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
CONFIG_SERIO_RAW=m
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_CONSOLE is not set
CONFIG_SERIAL_8250_PCI=y
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
# CONFIG_SERIAL_8250_MANY_PORTS is not set
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
# CONFIG_SERIAL_8250_RSA is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_PRINTER is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set

Problem Description:
Communication with serial driver 8250 works only if ACPI is disabled in BIOS.
Comment 1 Matti Linnanvuori 2007-06-04 01:09:52 UTC
Created attachment 11661 [details]
Kernel configuration file .config producing the bug
Comment 2 Matti Linnanvuori 2007-06-04 01:14:17 UTC
Created attachment 11664 [details]
Boot Log
Comment 3 Matti Linnanvuori 2007-06-04 01:18:17 UTC
Created attachment 11668 [details]
/proc/interrupts
Comment 4 Matti Linnanvuori 2007-06-04 05:20:35 UTC
Adding the following line to /etc/lilo.conf helped:
append="acpi=noirq"
Comment 5 Matti Linnanvuori 2007-06-04 22:39:53 UTC
setserial version 2.17, 27-Jan-2000 takes very little time to report about
/dev/ttyS0 - /dev/ttyS2 but several seconds to report about /dev/ttyS3 the
following:
setserial /dev/ttyS3
/dev/ttyS3, UART: 16550A, Port: 0x02e8, IRQ: 11
Comment 6 Zhang Rui 2007-06-08 01:48:30 UTC
Hi, Matti,
Can you verify that if the symptom is the same as bug 8494.
Comment 7 Matti Linnanvuori 2007-06-10 23:00:23 UTC
The directory /proc/acpi/power_resource is empty when the problem happens, so I
can't verify that the symptom is the same as bug 8494.

:/proc/acpi # ls *
dsdt  event  fadt

ac_adapter:
.  ..

battery:
.  ..

button:
.  ..  power

embedded_controller:
.  ..

fan:
.  ..  FAN

power_resource:
.  ..

processor:
.  ..  CPU0  CPU1

thermal_zone:
.  ..  THRM


/proc/acpi/fan/FAN/state:
status:                  on

/proc/acpi/processor/CPU0/info:
processor id:            0
acpi id:                 0
bus mastering control:   no
power management:        no
throttling control:      no
limit interface:         no

/proc/acpi/processor/CPU0/limit:
<not supported>

/proc/acpi/processor/CPU0/power:
active state:            C0
max_cstate:              C8
bus master activity:     00000000
maximum allowed latency: 2000 usec
states:

/proc/acpi/processor/CPU0/throttling:
<not supported>

/proc/acpi/processor/CPU1/info:
processor id:            1
acpi id:                 1
bus mastering control:   no
power management:        no
throttling control:      no
limit interface:         no

/proc/acpi/processor/CPU1/limit:
<not supported>

/proc/acpi/processor/CPU1/power:
active state:            C0
max_cstate:              C8
bus master activity:     00000000
maximum allowed latency: 2000 usec
states:

/proc/acpi/processor/CPU1/throttling:
<not supported>

/proc/acpi/thermal_zone/THRM/cooling_mode:
cooling mode:   active

/proc/acpi/thermal_zone/THRM/polling_frequency:
<polling disabled>

/proc/acpi/thermal_zone/THRM/state:
state:                   ok

/proc/acpi/thermal_zone/THRM/temperature:
temperature:             47 C

/proc/acpi/thermal_zone/THRM/trip_points:
critical (S5):           85 C
passive:                 83 C: tc1=4 tc2=3 tsp=60 devices=0xdfd80338
active[0]:               83 C: devices=0xdfd8c694
Comment 8 Matti Linnanvuori 2007-06-10 23:04:12 UTC
Created attachment 11728 [details]
PCI List lspci -v
Comment 9 Matti Linnanvuori 2007-06-10 23:28:46 UTC
Created attachment 11729 [details]
Kernel Modules lsmod
Comment 10 Matti Linnanvuori 2007-06-11 03:44:50 UTC
Created attachment 11730 [details]
Loaded driver and hardware information /proc/iomem
Comment 11 Matti Linnanvuori 2007-06-11 03:45:40 UTC
Created attachment 11731 [details]
Loaded driver and hardware information /proc/ioports
Comment 12 Matti Linnanvuori 2007-06-13 00:57:12 UTC
The bug appears also in 2.6.21.5.
Comment 13 Matti Linnanvuori 2007-06-22 00:09:33 UTC
lspci -vvv
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
	Subsystem: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
	Latency: 0
	Capabilities: [e0] #09 [5109]

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA])
	Subsystem: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at fdf00000 (32-bit, non-prefetchable) [size=512K]
	Region 1: I/O ports at ff00 [size=8]
	Region 2: Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Region 3: Memory at fdf80000 (32-bit, non-prefetchable) [size=256K]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
		Address: 00000000  Data: 0000
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0, cache line size 10
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: fdd00000-fddfffff
	Prefetchable memory behind bridge: 00000000fdb00000-00000000fdb00000
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
	Capabilities: [40] #10 [0141]
	Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
		Address: fee0300c  Data: 41c9
	Capabilities: [90] #0d [0000]
	Capabilities: [a0] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0, cache line size 10
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: fda00000-fdafffff
	Prefetchable memory behind bridge: 00000000fde00000-00000000fde00000
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
	Capabilities: [40] #10 [0141]
	Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
		Address: fee0300c  Data: 41d1
	Capabilities: [90] #0d [0000]
	Capabilities: [a0] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 23
	Region 4: I/O ports at fe00 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin B routed to IRQ 19
	Region 4: I/O ports at fd00 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin C routed to IRQ 18
	Region 4: I/O ports at fc00 [size=32]

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01) (prog-if 00 [UHCI])
	Subsystem: Intel Corporation: Unknown device 27ca
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin D routed to IRQ 16
	Region 4: I/O ports at fb00 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) (prog-if 20 [EHCI])
	Subsystem: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 23
	Region 0: Memory at fdfff000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1) (prog-if 01 [Subtractive decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Bus: primary=00, secondary=03, subordinate=04, sec-latency=32
	I/O behind bridge: 0000b000-0000cfff
	Memory behind bridge: f9000000-fcffffff
	Prefetchable memory behind bridge: 00000000fdc00000-00000000fdc00000
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
	Capabilities: [50] #0d [0000]

00:1e.2 Multimedia audio controller: Intel Corporation 82801G (ICH7 Family) AC'97 Audio Controller (rev 01)
	Subsystem: Unknown device 414c:4760
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 17
	Region 0: I/O ports at f200 [size=256]
	Region 1: I/O ports at fa00 [size=64]
	Region 2: Memory at fdffe000 (32-bit, non-prefetchable) [size=512]
	Region 3: Memory at fdffd000 (32-bit, non-prefetchable) [size=256]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
	Subsystem: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Capabilities: [e0] #09 [100c]

00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01) (prog-if 8a [Master SecP PriP])
	Subsystem: Intel Corporation 82801G (ICH7 Family) IDE Controller
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4
	Region 2: I/O ports at 0170 [size=8]
	Region 3: I/O ports at 0374
	Region 4: I/O ports at f800 [size=16]

00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
	Subsystem: Intel Corporation 82801G (ICH7 Family) SMBus Controller
	Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin B routed to IRQ 19
	Region 4: I/O ports at 0500 [size=32]

01:00.0 Ethernet controller: Intel Corporation 82573V Gigabit Ethernet Controller (Copper) (rev 03)
	Subsystem: Intel Corporation: Unknown device 81c2
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0, cache line size 10
	Interrupt: pin A routed to IRQ 221
	Region 0: Memory at fdde0000 (32-bit, non-prefetchable) [size=128K]
	Region 2: I/O ports at ef00 [size=32]
	Capabilities: [c8] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=1 PME-
	Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable+
		Address: 00000000fee0300c  Data: 41d9
	Capabilities: [e0] #10 [0001]

02:00.0 Ethernet controller: Intel Corporation 82573V Gigabit Ethernet Controller (Copper) (rev 03)
	Subsystem: Intel Corporation: Unknown device 81c2
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0, cache line size 10
	Interrupt: pin A routed to IRQ 220
	Region 0: Memory at fdae0000 (32-bit, non-prefetchable) [size=128K]
	Region 2: I/O ports at df00 [size=32]
	Capabilities: [c8] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
		Status: D0 PME-Enable- DSel=0 DScale=1 PME-
	Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable+
		Address: 00000000fee0300c  Data: 41e1
	Capabilities: [e0] #10 [0001]

03:00.0 Signal processing controller: Xilinx Corporation: Unknown device 0002 (rev 42)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at f9000000 (32-bit, non-prefetchable) [size=16M]

03:01.0 Network controller: Tumsan Oy: Unknown device 0301 (rev 46)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Interrupt: pin A routed to IRQ 17
	Region 0: Memory at fb000000 (32-bit, non-prefetchable) [size=16M]

03:02.0 Signal processing controller: Xilinx Corporation: Unknown device 0001 (rev 07)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Interrupt: pin A routed to IRQ 18
	Region 0: Memory at fa000000 (32-bit, non-prefetchable) [size=16M]

03:03.0 Ethernet controller: VMWare Inc: Unknown device 0008 (rev 03)
	Subsystem: VMWare Inc: Unknown device 0008
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 252 (63750ns min), cache line size 10
	Interrupt: pin A routed to IRQ 19
	Region 0: Memory at fcfa0000 (64-bit, non-prefetchable) [size=128K]
	Region 2: Memory at fcf00000 (64-bit, non-prefetchable) [size=256K]
	Region 4: I/O ports at cf00 [size=64]
	Expansion ROM at fc000000 [disabled] [size=256K]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=1 PME-
	Capabilities: [e4] 
03:03.1 Ethernet controller: VMWare Inc: Unknown device 0009 (rev 03)
	Subsystem: VMWare Inc: Unknown device 0008
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 252 (63750ns min), cache line size 10
	Interrupt: pin B routed to IRQ 16
	Region 0: Memory at fcfc0000 (64-bit, non-prefetchable) [size=128K]
	Region 2: Memory at fcf40000 (64-bit, non-prefetchable) [size=256K]
	Region 4: I/O ports at ce00 [size=64]
	Expansion ROM at fc040000 [disabled] [size=256K]
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=1 PME-
	Capabilities: [e4] 
03:04.0 Communication controller: Xilinx Corporation Wildcard TE405P/TE410P (1st Gen) (rev 01)
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 20
	Region 0: Memory at fcfff000 (32-bit, non-prefetchable) [size=128]

03:05.0 PCI bridge: Intel Corporation 21152 PCI-to-PCI Bridge (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64, cache line size 10
	Bus: primary=03, secondary=04, subordinate=04, sec-latency=32
	I/O behind bridge: 0000b000-0000bfff
	Memory behind bridge: fcd00000-fcdfffff
	Prefetchable memory behind bridge: 00000000fdc00000-00000000fdc00000
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
	Capabilities: [dc] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
		Bridge: PM- B3+

04:04.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
	Subsystem: D-Link System Inc DFE-580TX
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (2500ns min, 2500ns max), cache line size 10
	Interrupt: pin A routed to IRQ 21
	Region 0: I/O ports at bf00 [size=128]
	Expansion ROM at fdc00000 [disabled] [size=64K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable+ DSel=0 DScale=2 PME-

04:05.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
	Subsystem: D-Link System Inc DFE-580TX
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (2500ns min, 2500ns max), cache line size 10
	Interrupt: pin A routed to IRQ 22
	Region 0: I/O ports at be00 [size=128]
	Expansion ROM at fdc10000 [disabled] [size=64K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable+ DSel=0 DScale=2 PME-

04:06.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
	Subsystem: D-Link System Inc DFE-580TX
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (2500ns min, 2500ns max), cache line size 10
	Interrupt: pin A routed to IRQ 23
	Region 0: I/O ports at bd00 [size=128]
	Expansion ROM at fdc20000 [disabled] [size=64K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable+ DSel=0 DScale=2 PME-

04:07.0 Ethernet controller: D-Link System Inc DL10050 Sundance Ethernet (rev 14)
	Subsystem: D-Link System Inc DFE-580TX
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (2500ns min, 2500ns max), cache line size 10
	Interrupt: pin A routed to IRQ 20
	Region 0: I/O ports at bc00 [size=128]
	Expansion ROM at fdc30000 [disabled] [size=64K]
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold+)
		Status: D0 PME-Enable+ DSel=0 DScale=2 PME-
Comment 14 Matti Linnanvuori 2007-06-26 01:10:06 UTC
/proc/version
Linux version 2.6.21.5 (matti@cmdsys) (gcc version 4.1.2 20061115 (prerelease) (
SUSE Linux)) #4 SMP PREEMPT Mon Jun 18 15:19:03 EEST 2007
Comment 15 Matti Linnanvuori 2007-07-02 05:33:31 UTC
Fixed in 2.6.22-rc7.
Comment 16 Matti Linnanvuori 2007-07-03 01:32:17 UTC
The problem reappeared in 2.6.22-rc7. It might be a user-space program bug anyway:
setserial /dev/ttyS3 works fast if the user-space program is killed.
Comment 17 Matti Linnanvuori 2007-07-03 22:44:22 UTC
A kernel where this bug did *NOT* occur was 2.4.30.
Comment 18 Matti Linnanvuori 2007-07-09 23:41:58 UTC
The problem appeared also in 2.6.22.
Comment 19 Bjorn Helgaas 2007-08-07 11:29:56 UTC
This might be a bug in the ACPI description of your COM4 (ttyS3) device.
Your dmesg has this:

  Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
  serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
  serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
  serial8250: ttyS2 at I/O 0x3e8 (irq = 4) is a 16550A
  serial8250: ttyS3 at I/O 0x2e8 (irq = 3) is a 16550A
  00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
  00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
  00:08: ttyS2 at I/O 0x3e8 (irq = 10) is a 16550A
  00:09: ttyS3 at I/O 0x2e8 (irq = 11) is a 16550A

The duplicate lines (starting with "00:06") are from the 8250 PNP probes.
According to them, ACPI told us that ttyS2 is on IRQ 10 and ttyS3 is on IRQ 11.
Without those probes (as in 2.4.30 and possibly when you turn off ACPI in
the BIOS), we use the compiled-in defaults of IRQ 4 and 3 for ttyS2 and ttyS3.

I don't know exactly what the problem symptom is.  Does the problem go away
if you force the IRQ back to 3 with "setserial /dev/ttyS3 irq 3"?
Comment 20 Matti Linnanvuori 2007-08-08 00:25:53 UTC
The problem symptom is that a user-space program fails to communicate with the serial port if ACPI is allowed to route IRQs.
An init script calls setserial in the following way:
setserial /dev/ttyS0 auto_irq autoconfig
setserial /dev/ttyS1 auto_irq autoconfig
setserial /dev/ttyS2 auto_irq autoconfig
setserial /dev/ttyS3 auto_irq autoconfig
Comment 21 Jukka Partanen 2007-08-08 01:47:04 UTC
More background: In this particular case ports are intentionally
configured in BIOS settings to use

ttyS0: port 0x3f8, IRQ 4
ttyS1: port 0x2f8, IRQ 3
ttyS2: port 0x3e8, IRQ 10
ttyS3: port 0x2e8, IRQ 11

in order to be able to use all the serial ports at the same time.
Sharing IRQs on serial ports has never worked for us with our hardware.
Actually this BIOS does not allow to configure ttyS2 with different
I/O port but same IRQ than e.g. ttyS0 (same for ttyS3).
So "setserial /dev/ttyS3 irq 3" would not work.
Comment 22 Jukka Partanen 2007-08-08 02:15:29 UTC
User space symptom: problems with using the /dev/ttyS3 port,
just like when serial driver is using wrong IRQ. No traffic, long delays, etc.

"setserial /dev/ttyS3" shows correct (as configured in BIOS settings) I/O port
and IRQ, but using /dev/ttyS3 does not work. "setserial /dev/ttyS3 irq 11"
(nor "setserial /dev/ttyS3 irq 3, tried even that) does not help.
For all the other ports, too, setserial shows correct I/O ports and IRQs.
Comment 23 Bjorn Helgaas 2007-08-09 09:36:40 UTC
What are the ttyS3 settings when it *does* work?  Can you attach a dmesg
log when everything is working, e.g., if you boot with "acpi=noirq" or
if you turn off CONFIG_SERIAL_8250_PNP?
Comment 24 Matti Linnanvuori 2007-08-09 22:28:21 UTC
Created attachment 12343 [details]
Boot log when /dev/ttyS3 works with append="acpi=noirq nomce"

Kernel version is 2.6.22.1 configured with all debug options on.
Comment 25 Bjorn Helgaas 2007-08-10 08:44:01 UTC
Good grief.  All that kobject debug crap fills up the logs, obliterating
the stuff I'd like to see.  If you have CONFIG_DEBUG_KOBJECT=y, can you
turn that off, please?

It does have this:
  00:09: ttyS3 at I/O 0x2e8 (irq = 11) is a 16550A
which means ttyS3 must be working with IRQ 11.  So maybe there's some
interrupt sharing issue that "acpi=noirq" works around.

Your first log was from 2.6.21.2, which has different legacy serial
detection that 2.6.22.1.  So can you get two logs from 2.6.22.1, one
with "acpi=noirq" (where ttyS3 should work) and one without (where ttyS3
probably won't work)?  Also collect the contents of /proc/interrupts.

I want to see exactly what difference "acpi=noirq" makes, with everything
else the same.
Comment 26 Matti Linnanvuori 2007-08-20 03:18:10 UTC
Created attachment 12454 [details]
Boot log of Linux kernel 2.6.22.1 lilo.conf line append="acpi=noirq"
Comment 27 Matti Linnanvuori 2007-08-20 03:32:22 UTC
Created attachment 12456 [details]
Boot log of 2.6.22.1 without append="acpi=noirq" in lilo.conf

Communication with /dev/ttyS3 failed with this configuration.
Comment 28 Matti Linnanvuori 2007-09-20 05:32:12 UTC
Fixed in kernel version 2.6.22.6.
Comment 29 Bjorn Helgaas 2007-09-20 11:12:55 UTC
I'd like to know exactly what the fix is.  Between 2.6.11.1 and 2.6.22.6, we did revert a serial change:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=57d4810ea0d9ca58a7bcc1336607f0cede0a2abf

But it's not clear to me how that would fix this problem.

On 2.6.22.1, the /dev/ttyS3 works with "acpi=noirq", which seems to put us in PIC mode rather than IOAPIC mode.  I wonder if there was something wrong in IOAPIC mode.

Please attach the boot log from 2.6.22.6.
Comment 30 Matti Linnanvuori 2007-09-20 23:41:38 UTC
Created attachment 12897 [details]
Working 2.6.22.6 dmesg without acpi=noirq on motherboard GIC88-B/N

The motherboard is different from previous tests.
Comment 31 Fu Michael 2007-11-06 21:44:22 UTC
Matti, are you able to do the test as Bjorn suggested in comment# 29? Or, we won't be able to track this down... thanks.
Comment 32 Fu Michael 2007-11-06 21:45:25 UTC
(In reply to comment #31)
> Matti, are you able to do the test as Bjorn suggested in comment# 29? Or, we
> won't be able to track this down... thanks.
> 

I mean on the same mobo of PMB-532LF. Different mobo doesn't help to the debugging..
Comment 33 Matti Linnanvuori 2007-11-08 02:17:51 UTC
Created attachment 13454 [details]
Boot log of Linux 2.6.23.1 on PMB-53LF without acpi=noirq
Comment 34 Matti Linnanvuori 2007-11-08 02:18:44 UTC
Created attachment 13455 [details]
Boot log of Linux 2.6.23.1 on PMB-53LF with acpi=noirq
Comment 35 Fu Michael 2007-11-18 21:29:47 UTC
I'll mark this bug as fixed according to comment# 28...

Note You need to log in before you can comment on or make changes to this bug.