Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: David Ranch <linux-hams@trinnet.net>
To: "linux-hams@vger.kernel.org" <linux-hams@vger.kernel.org>
Subject: Re: UBUNTO 12.04 VScom TC800  Serial Kissattach ax??- port configuring corruption HELP Required please
Date: Sun, 01 Jun 2014 09:04:03 -0700	[thread overview]
Message-ID: <538B4EF3.7080003@trinnet.net> (raw)
In-Reply-To: <T1wVLuA0bviTFw2H@skywaves.demon.co.uk>


Hello Paul,

First off, kudos to you for sticking with it and working through the 
problems both patently and following through the steps logically!


> There is an issue with setserial which is a 2000 version

As I understand it, setserial is completely optional and the kernel 
should properly select IRQs, memory addresses, etc.  I'm thinking this 
might be a kernel / driver bug.


> From what I read from the Professor Google files, UBUNTU identified
> the issue late 2013..

Do you have a URL to share here so we can read what was found on that 
Ubuntu list?  Thirteen years is a LONG time to find a bug though the 
value of serial ports have been on a great decline in that period.


> /dev/ttyS4 uart 16950/954 port 0xef00 irq 22 baud_base 921600 
> spd_normal autoconfigure
> /dev/ttyS5 uart 16950/954 port 0xef08 irq 22 baud_base 921600 
> spd_normal autoconfigure
> /dev/ttyS6 uart 16950/954 port 0xef10 irq 22 baud_base 921600 
> spd_normal autoconfigure
> /dev/ttyS7 uart 16950/954 port 0xef18 irq 22 baud_base 921600 
> spd_normal autoconfigure
> /dev/ttyS8 uart 16950/954 port 0xed00 irq 22 baud_base 921600 
> spd_normal autoconfigure
> /dev/ttyS9 uart 16950/954 port 0xed08 irq 22 baud_base 921600 
> spd_normal autoconfigure
> /dev/ttyS10 uart 16950/954 port 0xed10 irq 22 baud_base 921600 
> spd_normal autoconfigure
> /dev/ttyS11 uart 16950/954 port 0xed18 irq 22 baud_base 921600 
> spd_normal autoconfigure

Depending on the card's driver, the number of available interrupts, 
etc., and if you see some strange performance issues, you might want to 
consider using a few different IRQs.  I doubt you'll have this issue as 
computers are so fast today but wanted to mention it as it WAS a very 
real problem back in the day.


> To force an error. I set the boot option in the GRUB menu
> pci=routeirq  # For all devices temp work around for broken drivers

Right... https://help.ubuntu.com/community/DebuggingIRQProblems
--
Do IRQ routing for all PCI devices. This is normally done in 
pci_enable-device(), and is a temporary workaround for broken drivers 
which don't call it.
--

That goes along my thought that this is a kernel driver issue.



> Then reviewed the syslog  Was very Interesting.. and Bingo!!!

Google indexes this list too so maybe you could past in some of the 
syslog errors that you saw?


> Deleted modem-manager  sudo apt-get purge modemmanager
> as do not run dial up modems. rebooted without the pci=routeirq boot 
> option.
> We now have PCI VScomm  8 serial ports active connected to 6 paccom 
> TNC's and
> two SCS PTCiipro data controllers.  All working.

[tangent]
Ah yes... the infamous #$^#$%# modem-manager and it's bitten me (and 
many other people) many times.  Btw, I don't recommend to DELETE it as 
many distributions have so many dependencies on it.  I personally 
recommend to RENAME it - 
http://www.trinityos.com/HAM/CentosDigitalModes/hampacketizing-centos.html#1f.presetup-modemmanager 
.   Anyway, it greatly saddens me to see over-arching software coming 
into various Linux distros.  Ubuntu started it with enabling software 
like modem-manager and network-manager by default and now many 
distributions is bringing in systemd which REALLY obfuscates things even 
more.  I can appreciate a distrubution's goal to get things to "just 
work" but this comes at a very high price.  Time will tell how this goes 
and decisions like this are purely at the distro level.  If we don't 
like it, users can switch to a different distro but there aren't many 
distros left that are opting out (not a super comprehensive list but you 
get the idea):

    http://en.wikipedia.org/wiki/Systemd#Adoption


> At the time of writing this. they have been up for 23 hours.. instead 
> of a few minutes.

Congratulations and now we need to get you on the AMPR system!

--David
KI6ZHD

  reply	other threads:[~2014-06-01 16:04 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-08  4:34 Multicast AX.25? Stuart Longland
2014-03-08  9:21 ` Stuart Longland
2014-03-27 13:01   ` netromr.c path quality calc bug ax25tools-1.0.2/netrom Paul Lewis
     [not found]     ` <14505098c38.27e7.5a0dbb80754033f6c6eb17b69a6b1aac@tlen.pl>
2014-03-27 19:46       ` sp2lob@tlen
2014-04-03 10:55         ` AX25IPD /tmp/unix98 invalid export Variable AX25: Paul Lewis
2014-04-05  3:30           ` Stuart Longland
2014-04-05  5:27             ` Marius Petrescu
2014-04-05  7:44               ` Paul Lewis
2014-04-04 15:36         ` UBUNTO 12.04 VScom TC800 Serial Kissattach ax??- port configuring corruption HELP Required please Paul Lewis
2014-04-05 20:49           ` David Ranch
2014-04-05 21:09             ` Paul Lewis
2014-04-06 11:22             ` Paul Lewis
2014-04-06 13:18             ` Paul Lewis
2014-04-06 14:19             ` Paul Lewis
2014-04-06 15:17             ` Paul Lewis
2014-04-06 18:51               ` David Ranch
2014-04-06 19:42                 ` Paul Lewis
2014-04-08 14:51                 ` Paul Lewis
2014-06-01  9:48                 ` Paul Lewis
2014-06-01 16:04                   ` David Ranch [this message]
2014-06-01 19:20                     ` Paul Lewis
2014-03-28  0:36     ` netromr.c path quality calc bug ax25tools-1.0.2/netrom Brian
2014-03-08  9:29 ` [PATCH] ax25ipd: Add support for multicast AX/UDPv4 Stuart Longland
2014-03-08 16:44 ` Multicast AX.25? David Ranch
2014-03-09 21:21   ` Stuart Longland VK4MSL
2014-03-23  7:40 ` Revised AX.25 multicast patch Stuart Longland
2014-03-23  7:40   ` [PATCH] ax25ipd: Add support for multicast AX/UDPv4 Stuart Longland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=538B4EF3.7080003@trinnet.net \
    --to=linux-hams@trinnet.net \
    --cc=linux-hams@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox