public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: JosMHinkle@netscape.net
To: linux-kernel@vger.kernel.org
Subject: Linux kernel 2.4.19 failure to access a serial port
Date: Wed, 14 Aug 2002 18:43:33 -0400	[thread overview]
Message-ID: <79B43166.1160898F.0BD32098@netscape.net> (raw)

Summary: In an i586 system with two serial ports and a modem,
Linux fails to access the modem

Slight expansion: A system with two serial ports on ttyS0 and ttyS1
and a hardware modem on ttyS2 was not serviced properly in kernel
2.4.19 and some earlier ones.  The modem at ttyS2 was fairly well
ignored.  The interrupt requests used were ttyS0:irq4 ttyS1:irq3
ttyS2:irq10

Temporary fix:
   In drivers/char/serial.c at the directive "#ifdef CONFIG_PCI"
the assumption is made that interrupt requests are shared and
there are more than four serial ports.  That is not necessarily
true, and the directives defeat the options set in configuration.
   The solution here was to comment out #define CONFIG_SERIAL_SHARE_IRQ
and CONFIG_SERIAL_MANY_PORTS and recompile.

#ifdef CONFIG_PCI
#define ENABLE_SERIAL_PCI
/*** Commented out to allow unshared IRQ's on ttyS0-ttyS3
#ifndef CONFIG_SERIAL_SHARE_IRQ
#define CONFIG_SERIAL_SHARE_IRQ
#endif
#ifndef CONFIG_SERIAL_MANY_PORTS
#define CONFIG_SERIAL_MANY_PORTS
#endif
***/
#endif

   It seems a more sophisticated judgement needs to be made, and
perhaps simply following the directions of the configurer would be
advisable, in that these two items are made specifically available
in configuration, and should not be silently bypassed.

Note: I have been informed the mailer here does not break lines as
shown on the screen.  I hope this message turned out better.  It is
purposely reposted so the viewer doesn't have to deal with the 
unbroken line version






__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


             reply	other threads:[~2002-08-14 22:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-14 22:43 JosMHinkle [this message]
2002-08-15 14:47 ` Linux kernel 2.4.19 failure to access a serial port Stuart MacDonald
  -- strict thread matches above, loose matches on Subject: below --
2002-08-16  7:01 JosMHinkle
2002-08-14  3:49 JosMHinkle
2002-08-14 13:57 ` Stuart MacDonald

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=79B43166.1160898F.0BD32098@netscape.net \
    --to=josmhinkle@netscape.net \
    --cc=linux-kernel@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