Re: [BISECTED] - multiport braiboxes serial card broken between 4.8 and 4.9 (and again in 4.14)

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

 



Hi,
> Yep, this one only, with your script versus the following w/o your
> script.

ok, with 1st patch, IRQ in lspci is right, after manual ports setup
all of them work.

with whole serie, ports are autodetected correctly and work
> 
> Here actually two test cases would be nice to have: a) only patch 1
> applied, and then b) all of them are applied.
> 
> 
> Tested-by: First Last <e@xxxxxxxx>
done

> It's a very famous and known "feature". On x86 4 first ports are
> allocated for ISA cards. And internal algo does some tricks with that.
> 
> What you may do to get them more deterministic, i.e. always start from
> ttyS4 is to supply 8250.nr_uarts=9 (4 ISA + 5 on your card, or for
> safest choice just put 16 there, but be sure that MAX_NR_UARTS in kernel
> configuration is >= 16 as well).

ok, thanks for clarification

> Since you have one ISA port, it's not so easy.
> 
> You may try to supply 8250.nr_uarts=6, in this case they will occupy
> those gaps, but mind ordering -- nr_uarts=9 not the same as nr_uarts=6!
> (Keep an eye on IO addresses)

you're right, this does the trick, but with nr_uarts the ordering is wrong.


thanks for all the help, and if You'd not mind, I'll try to send you patches
for review tomorrow for more brainboxes models. I suppose 3s1p will be
very similar to the one done today, but let me as two final questions
today - 1) if I have all-serial card (4 serial, no parallel), they'll go
to 8250_pci.c, right? 2) if some of the cards correctly work only with
APIC disable, is there some quirk to enable for such models, or some
other solution to have them working without having to disable it?

but if it's too large topic, we can postpone it for later or just
can let be..

in any case, have a nice rest of evening

good night

n.




> -- 
> Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Intel Finland Oy
> 

-- 
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 00 Ostrava

tel.:   +420 591 166 214
fax:    +420 596 621 273
mobil:  +420 777 093 799

www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis@xxxxxxxxxxx
-------------------------------------

Attachment: pgpKCOxZKryxV.pgp
Description: PGP signature


[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