[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200708181107.56087.arvidjaar@mail.ru>
Date: Sat, 18 Aug 2007 11:07:55 +0400
From: Andrey Borzenkov <arvidjaar@...l.ru>
To: linux-serial@...r.kernel.org,
Michal Piotrowski <michal.k.k.piotrowski@...il.com>,
Bjorn Helgaas <bjorn.helgaas@...com>
Cc: linux-kernel@...r.kernel.org
Subject: [2.6.23-rc3 possible regression] 8250 claims nonexisting device blocking IO port
This is related to thread "2.6.22-rc: regression: no irda0 interface (2.6.21
was OK), smsc does not find chip" but it is already way too overloaded.
In 2.6.23 smsc-ircc2 fails to initialize IrDA controller. Apparently because
it by default is using the same IO port as ttyS3 and this is now claimed by
8250.
2.6.22:
[ 469.821782] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ
sharing enabled
[ 469.853873] Yenta: ISA IRQ mask 0x04b8, PCI irq 11
[ 469.853890] Socket status: 30000007
[ 469.858814] ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 11
[ 469.858836] ACPI: PCI Interrupt 0000:00:06.0[A] -> Link [LNKH] -> GSI 11
(level, low) -> IRQ 11
[ 469.973485] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 470.233276] pccard: PCMCIA card inserted into slot 0
[ 470.262099] NET: Registered protocol family 23
[ 470.306381] Detected unconfigured Toshiba laptop with ALi ISA bridge SMSC
IrDA chip, pre-configuring device.
[ 470.306415] Activated ALi 1533 ISA bridge port 0x02e8.
[ 470.306427] Activated ALi 1533 ISA bridge port 0x02f8.
[ 470.306649] found SMC SuperIO Chip (devid=0x5a rev=00 base=0x002e):
LPC47N227
[ 470.306681] smsc_superio_flat(): fir: 0x2f8, sir: 0x2e8, dma: 03, irq: 7,
mode: 0x0e
[ 470.306716] SMsC IrDA Controller found
[ 470.306719] IrCC version 2.0, firport 0x2f8, sirport 0x2e8 dma=3, irq=7
[ 470.306917] No transceiver found. Defaulting to Fast pin select
[ 470.307472] IrDA: Registered device irda0
2.6.23:
[ 527.077955] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ
sharing enabled
[ 527.078628] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 527.080142] serial8250: ttyS3 at I/O 0x2e8 (irq = 3) is a 16550A
[ 527.129869] usbcore: registered new device driver usb
[ 527.153849] e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
[ 527.153867] e100: Copyright(c) 1999-2006 Intel Corporation
[ 527.155556] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 527.155570] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKD] -> GSI 11
(level, low) -> IRQ 11
[ 527.350234] e100: eth0: e100_probe: addr 0xf7efd000, irq 11, MAC addr
00:00:39:D7:14:A1
[ 527.350406] Yenta: CardBus bridge found at 0000:00:10.0 [12a3:ab01]
[ 527.350466] Yenta: Using CSCINT to route CSC interrupts to PCI
[ 527.350474] Yenta: Routing CardBus interrupts to PCI
[ 527.350489] Yenta TI: socket 0000:00:10.0, mfunc 0x01000002, devctl 0x60
[ 527.420546] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 527.443070] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI)
Driver
[ 527.580072] Yenta: ISA IRQ mask 0x0000, PCI irq 11
[ 527.580091] Socket status: 30000059
[ 527.630514] NET: Registered protocol family 23
[ 527.704313] Yenta: CardBus bridge found at 0000:00:11.0 [1179:0001]
[ 527.774824] Detected unconfigured Toshiba laptop with ALi ISA bridge SMSC
IrDA chip, pre-configuring device.
[ 527.774863] Activated ALi 1533 ISA bridge port 0x02e8.
[ 527.774878] Activated ALi 1533 ISA bridge port 0x02f8.
[ 527.775087] found SMC SuperIO Chip (devid=0x5a rev=00 base=0x002e):
LPC47N227
[ 527.775121] smsc_superio_flat(): fir: 0x2f8, sir: 0x2e8, dma: 03, irq: 7,
mode: 0x0e
[ 527.775145] smsc_ircc_present: can't get sir_base of 0x2e8
I attach full dmesg from 2.6.22 and 2.6.23 as well as kernel config. The
following is on 2.6.23:
{pts/1}% lspnp -vvv
00:00 PNP0c01 System board
state = active
allocated resources:
mem 0x0-0x9ffff
mem 0xe0000-0xeffff
mem 0xf0000-0xfffff
mem 0x100000-0x1ef5ffff
00:01 PNP0a03 PCI bus
state = active
allocated resources:
io 0xcf8-0xcff
00:02 PNP0200 AT DMA controller
state = active
allocated resources:
io 0x0-0xf
io 0x81-0x83
io 0x87-0x87
io 0x89-0x8b
io 0x8f-0x8f
io 0xc0-0xdf
dma 4
00:03 PNP0800 AT speaker
state = active
allocated resources:
io 0x61-0x61
00:04 PNP0c04 Math coprocessor
state = active
allocated resources:
io 0xf0-0xff
irq 13
00:05 PNP0303 IBM enhanced keyboard (101/102-key, PS/2 mouse support)
state = active
allocated resources:
io 0x60-0x60
io 0x64-0x64
irq 1
00:06 PNP0f13 PS/2 port for PS/2-style mice
state = active
allocated resources:
irq 12
00:07 PNP0b00 AT real-time clock
state = active
allocated resources:
io 0x70-0x71
irq 8
00:08 PNP0c02 Motherboard resources
state = active
allocated resources:
io 0x2e-0x2f
io 0x62-0x62
io 0x66-0x66
io 0x80-0x80
io 0x84-0x86
io 0x88-0x88
io 0x8c-0x8e
io 0x92-0x92
00:09 PNP0501 16550A-compatible serial port
state = active
allocated resources:
io 0x3f8-0x3ff
irq 4
possible resources:
irq 3,4,5,6,7,10,11 High-Edge
Dependent: 01 - Priority acceptable
port 0x3f8-0x3f8, align 0x0, size 0x8, 16-bit address decoding
Dependent: 02 - Priority acceptable
port 0x2f8-0x2f8, align 0x0, size 0x8, 16-bit address decoding
Dependent: 03 - Priority acceptable
port 0x2e8-0x2e8, align 0x0, size 0x8, 16-bit address decoding
Dependent: 04 - Priority acceptable
port 0x3e8-0x3e8, align 0x0, size 0x8, 16-bit address decoding
00:0a SMCf010 SMC Fast Infrared Port
state = active
allocated resources:
io 0x2e8-0x2ef
io 0x100-0x107
irq 5
dma 1
possible resources:
port 0x100-0x130, align 0xf, size 0x8, 16-bit address decoding
irq 3,4,5,6,7,10,11 High-Edge
dma 1,2,3 16-bit compatible
Dependent: 01 - Priority acceptable
port 0x3f8-0x3f8, align 0x0, size 0x8, 16-bit address decoding
Dependent: 02 - Priority acceptable
port 0x2e8-0x2e8, align 0x0, size 0x8, 16-bit address decoding
Dependent: 03 - Priority acceptable
port 0x2f8-0x2f8, align 0x0, size 0x8, 16-bit address decoding
Dependent: 04 - Priority acceptable
port 0x3e8-0x3e8, align 0x0, size 0x8, 16-bit address decoding
00:0b PNP0401 ECP printer port
state = active
allocated resources:
io 0x378-0x37a
io 0x778-0x77a
irq 7
dma 3
possible resources:
dma 1,2,3 8-bit compatible
Dependent: 01 - Priority acceptable
port 0x378-0x378, align 0x0, size 0x3, 16-bit address decoding
port 0x778-0x778, align 0x0, size 0x3, 16-bit address decoding
irq 7 High-Edge
Dependent: 02 - Priority acceptable
port 0x278-0x278, align 0x0, size 0x3, 16-bit address decoding
port 0x678-0x678, align 0x0, size 0x3, 16-bit address decoding
irq 5 High-Edge
Dependent: 03 - Priority acceptable
port 0x3bc-0x3bc, align 0x0, size 0x3, 16-bit address decoding
port 0x7bc-0x7bc, align 0x0, size 0x3, 16-bit address decoding
irq 7 High-Edge
{pts/1}% lspci -nn
00:00.0 Host bridge [0600]: ALi Corporation M1644/M1644T Northbridge+Trident
[10b9:1644] (rev 01)
00:01.0 PCI bridge [0604]: ALi Corporation PCI to AGP Controller [10b9:5247]
00:02.0 USB Controller [0c03]: ALi Corporation USB 1.1 Controller [10b9:5237]
(rev 03)
00:04.0 IDE interface [0101]: ALi Corporation M5229 IDE [10b9:5229] (rev c3)
00:06.0 Multimedia audio controller [0401]: ALi Corporation M5451 PCI AC-Link
Controller Audio Device [10b9:5451] (rev 01)
00:07.0 ISA bridge [0601]: ALi Corporation M1533/M1535 PCI to ISA Bridge
[Aladdin IV/V/V+] [10b9:1533]
00:08.0 Bridge [0680]: ALi Corporation M7101 Power Management Controller [PMU]
[10b9:7101]
00:0a.0 Ethernet controller [0200]: Intel Corporation 82557/8/9 Ethernet Pro
100 [8086:1229] (rev 08)
00:10.0 CardBus bridge [0607]: Texas Instruments PCI1410 PC card Cardbus
Controller [104c:ac50] (rev 01)
00:11.0 CardBus bridge [0607]: Toshiba America Info Systems ToPIC100 PCI to
Cardbus Bridge with ZV Support [1179:0617] (rev 32)
00:11.1 CardBus bridge [0607]: Toshiba America Info Systems ToPIC100 PCI to
Cardbus Bridge with ZV Support [1179:0617] (rev 32)
00:12.0 System peripheral [0880]: Toshiba America Info Systems SD TypA
Controller [1179:0805] (rev 03)
01:00.0 VGA compatible controller [0300]: Trident Microsystems CyberBlade
XPAi1 [1023:8820] (rev 82)
View attachment "dmesg.2.6.22" of type "text/plain" (25805 bytes)
View attachment "dmesg.2.6.23" of type "text/plain" (26389 bytes)
View attachment "config-2.6.22-2avb" of type "text/plain" (47521 bytes)
View attachment "config-2.6.23-rc3-2avb" of type "text/plain" (49683 bytes)
Download attachment "signature.asc " of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists