From: Russell King <rmk@arm.linux.org.uk>
To: Alexander Koch <efraim@clues.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: getting my serial ports back? ;-)
Date: Sat, 11 Jan 2003 09:44:35 +0000 [thread overview]
Message-ID: <20030111094435.A14987@flint.arm.linux.org.uk> (raw)
In-Reply-To: <20030111101241.GA3589@clues.de>; from efraim@clues.de on Sat, Jan 11, 2003 at 11:12:42AM +0100
On Sat, Jan 11, 2003 at 11:12:42AM +0100, Alexander Koch wrote:
> devfs: v1.22 (20021013) Richard Gooch (rgooch@atnf.csiro.au)
> devfs: boot_options: 0x1
> pnp: the driver 'serial' has been registered
> pnp: pnp: match found with the PnP device '00:0f' and the driver 'serial'
> pnp: the device '00:0f' has been activated
> devfs_register(tts/2): could not append to parent, err: -17
> tts/2 at I/O 0x3e8 (irq = 4) is a 16550A
> pnp: pnp: match found with the PnP device '00:10' and the driver 'serial'
> pnp: the device '00:10' has been activated
> devfs_register(tts/3): could not append to parent, err: -17
> tts/3 at I/O 0x2e8 (irq = 3) is a 16550A
Argh. What I suspect has happened here is:
- the serial driver probed the ports tts/0 and tts/1 at I/O 0x3f8 and
0x2f8, and found two UARTS there. So it claimed IO resources at
these addresses.
(please show earlier messages in the boot log to confirm this.)
- PNP came along, and noticed that 0x3f8 and 0x2f8 were used, so re-
located the ports to 0x3e8 and 0x2e8, and told the serial driver
about them.
Since the serial driver knew there were ports at tts/0 and tts/1, it
allocated tts/2 and tts/3 to the "PNP" ports.
However, the original ports found are no longer at 0x3f8 and 0x2f8,
and therefore no longer work.
> That's coming from gpm startup, at least one of it, although
> I have /dev/tts/0 in my gpm.conf... Ah, it's hardcoded in the
> binary, it seems (doing a strings on it).
A "get you working" fix should be to tell gpm.conf to use /dev/tts/2
As for the -17 (EEXIST) error with devfs, I'd need to see the other
serial messages earlier in the boot log to work out what's going on,
as well as the kernel version the messages came from.
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
next prev parent reply other threads:[~2003-01-11 9:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-11 10:12 getting my serial ports back? ;-) Alexander Koch
2003-01-11 9:44 ` Russell King [this message]
2003-01-11 12:52 ` Alexander Koch
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=20030111094435.A14987@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=efraim@clues.de \
--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