RE: st-lab i-472 serial card problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> From: Greg KH [mailto:gregkh@xxxxxxxxxxxxxxxxxxx]
> Sent: Thursday, July 25, 2019 1:19 PM
> To: Mike Bogdanov; Nicos Gollan
> Cc: linux-serial@xxxxxxxxxxxxxxx
> Subject: Re: st-lab i-472 serial card problem
> 
> On Tue, Jul 23, 2019 at 04:27:47PM +0300, Mike Bogdanov wrote:
> > Hi,
> > I have a problem with 6  serial port card st-lab i-472
> >
(http://www.stlab.ru/catalog/kontrolleri/controller-st-lab-pci-e-x1-i-472-i-
> > 470-6-ext-6xcom9m-ret.html).
> >
> > i have instaled debian 8.
> > >root@c000050:~# uname -a
> > >Linux c000050 4.9.0-0.bpo.9-686-pae #1 SMP Debian 4.9.168-
> 1+deb9u3~deb8u1
> > (2019-06-17) i686 GNU/Linux
> >
> >
> > In dmesg i found the follow message with yuor email:
> > [ 2.180347] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
> > [ 2.207661] 00:01: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a
> > 16550A
> > [ 2.237213] 0000:01:00.0: ttyS4 at I/O 0xe050 (irq = 16, base_baud =
115200)
> > is a ST16650V2
> > [ 2.266932] 0000:01:00.0: ttyS5 at I/O 0xe040 (irq = 16, base_baud =
115200)
> > is a ST16650V2
> > [ 2.296576] 0000:01:00.1: ttyS6 at I/O 0xe030 (irq = 17, base_baud =
115200)
> > is a ST16650V2
> > [ 2.326296] 0000:01:00.1: ttyS7 at I/O 0xe020 (irq = 17, base_baud =
115200)
> > is a ST16650V2
> > [ 2.334970] serial 0000:01:00.2: NetMos/Mostech serial driver ignoring
port
> > on ambiguous config.
> > [ 2.343895] serial 0000:01:00.2: 0000:01:00.2: unknown NetMos/Mostech
> device
> > Please send the output of lspci -vv, this
> > message (0x9710,0x9900,0xa000,0x1000), the
> > manufacturer and name of serial board or
> > modem board to <linux-serial@xxxxxxxxxxxxxxx>.
> > [ 2.371816] serial 0000:01:00.3: NetMos/Mostech serial driver ignoring
port
> > on ambiguous config.
> > [ 2.380734] serial 0000:01:00.3: 0000:01:00.3: unknown NetMos/Mostech
> device
> > Please send the output of lspci -vv, this
> > message (0x9710,0x9900,0xa000,0x1000), the
> > manufacturer and name of serial board or
> > modem board to <linux-serial@xxxxxxxxxxxxxxx>.
> >
> >
> 
> Odd, this "should" work.  Nicos added support for this back in the 3.1
> kernel, but odds are something has changed in the hardware since then.
> Does the device work properly even with these messages?

Before linux kernel 4.9 I work with 3.16 . Yes port was workable with
similar message but without suggestion to write message to someone. 

> Nicos, any idea?
> 
> lspci-v output below for reference.
> 
> thanks,
> 
> greg k-h
> 
> ----------------------------------------------------------
> >
> > Can you give advice how can i start this board?
> >

I'm not shure I'm right.... especially if consider a comment in code I found
near my error message:
 //serial ports, or 0x1000 indicates *something*. This is not immediately
obvious, since the 2s1p+4s ...

But I decide to make temporary solution for me witch work now:
----------------------------------------------------------
*** 8250_pci.old.c      
--- 8250_pci.c  
***************
*** 810,819 ****
--- 810,821 ----
                 * advertising the same function 3 as the 4s+2s1p config.
                 */
                sub_serports = dev->subsystem_device & 0xf;
                if (sub_serports > 0)
                        return sub_serports;
+               if (dev->subsystem_vendor == 0xa000 && dev->subsystem_device
== 0x1000)
+                       return 1;
                dev_err(&dev->dev,
                        "NetMos/Mostech serial driver ignoring port on
ambiguous config.\n");
                return 0;
        }
----------------------------------------------------------


Best Regards,
Bogdanov Mike







[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux