Re: Syba 8-Port Serial Card Unidentified By Kernel

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bjorn Helgaas
Date: Wednesday, September 3, 2008 - 8:59 pm

On Sunday 28 October 2007 9:42:42 am Andrey Panin wrote:

Can you point me to any of those IT887x docs?  I haven't been able
to dig any up myself.


I tested basically the same patch against a current upstream tree,
and the syba ports don't work, even with "irqpoll".  Here's the
discovery:

Serial: 8250/16550 driver16 ports, IRQ sharing enabled
<FF>serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
pnp: the driver 'serial' has been registered
00:10: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial 00:10: driver attached
00:11: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
serial 00:11: driver attached
serial 0000:00:01.0: check 0x2a0
serial 0000:00:01.0: got 0x0
serial 0000:00:01.0: syba at 0x000002a0
serial 0000:00:01.0: ite887x: io base at 0x2a0
serial 0000:00:01.0: ite887x: IRR0=00 IMR0=00 IER0=00
serial 0000:00:01.0: ite887x: IRR1=00 IMR1=00 IER1=00
serial 0000:00:01.0: ite887x: IRR2=00 IMR2=00 IER2=00
0000:00:01.0: ttyS4 at I/O 0x1000 (irq = 16) is a 16550A
0000:00:01.0: ttyS5 at I/O 0x1008 (irq = 16) is a 16550A
0000:00:01.0: ttyS6 at I/O 0x1010 (irq = 16) is a 16550A
0000:00:01.0: ttyS7 at I/O 0x1018 (irq = 16) is a 16550A
0000:00:01.0: ttyS8 at I/O 0x1020 (irq = 16) is a 16550A
0000:00:01.0: ttyS9 at I/O 0x1028 (irq = 16) is a 16550A
0000:00:01.0: ttyS10 at I/O 0x1030 (irq = 16) is a 16550A
0000:00:01.0: ttyS11 at I/O 0x1038 (irq = 16) is a 16550A

The entire dmesg log is at http://helgaas.com/tmp/sybase.txt
The patch I tested is at http://helgaas.com/tmp/sybase.patch

Here's the "lspci -xxx" output:

00:01.0 Serial controller: PLX Technology, Inc. Unknown device 9016 (rev 01)
00: b5 10 16 90 03 01 80 02 01 02 00 07 00 00 00 00
10: 01 10 00 00 d1 10 00 00 c1 10 00 00 00 30 24 e8
20: 00 20 24 e8 00 10 24 e8 00 00 00 00 4e 54 08 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 01 00 00
40: 3f 3f 08 00 00 8c 20 8b 45 54 55 45 00 00 10 d2
50: 01 01 71 03 01 03 00 00 00 00 00 00 00 00 00 00
60: a0 02 00 e5 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 a0 02 00 00 f8 03 f8 02
80: 78 03 78 07 00 08 00 07 00 01 20 01 40 01 60 01
90: 00 00 00 00 00 00 00 00 00 00 00 00 70 43 25 64
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Syba 8-Port Serial Card Unidentified By Kernel, Chris Bergeron, (Fri Oct 5, 2:31 pm)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Nicholas Miell, (Fri Oct 5, 3:43 pm)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Lennart Sorensen, (Tue Oct 9, 11:14 am)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Chris Bergeron, (Tue Oct 9, 12:25 pm)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Andrey Panin, (Wed Oct 10, 2:54 am)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Chris Bergeron, (Thu Oct 11, 10:02 am)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Lennart Sorensen, (Thu Oct 11, 12:01 pm)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Chris Bergeron, (Thu Oct 11, 1:48 pm)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Andrey Panin, (Fri Oct 12, 5:08 am)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Chris Bergeron, (Tue Oct 16, 12:03 pm)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Andrey Panin, (Tue Oct 16, 11:42 pm)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Chris Bergeron, (Wed Oct 17, 3:16 pm)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Andrey Panin, (Wed Oct 17, 10:57 pm)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Chris Bergeron, (Thu Oct 18, 10:00 am)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Andrey Panin, (Mon Oct 22, 8:33 am)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Lennart Sorensen, (Mon Oct 22, 9:18 am)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Chris Bergeron, (Mon Oct 22, 10:14 am)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Andrey Panin, (Fri Oct 26, 4:35 am)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Andrey Panin, (Sun Oct 28, 8:42 am)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Bjorn Helgaas, (Wed Sep 3, 8:59 pm)
Re: Syba 8-Port Serial Card Unidentified By Kernel, Bjorn Helgaas, (Wed Sep 10, 12:26 pm)