Re: more about serial console

From: foo
Date: Tue Jun 15 2004 - 14:02:48 EST


On Tue, Jun 15, 2004 at 07:52:05PM +0100, Russell King wrote:
> On Tue, Jun 15, 2004 at 02:42:29PM -0400, foo@xxxxxxxxxxxxxxxxx wrote:
> > On Mon, Jun 14, 2004 at 08:04:36PM -0400, foo@xxxxxxxxxxxxxxxxx wrote:
> > > The other weird thing I have seen is with the serial console. After
> > > init loads the net bonding module and the network comes up, the serial
> > > console output stops, as though I had typed ^s. If I type a character
> > > (doesn't seem to matter what), instead of that character printing I see
> > > the next character of console output. I have to hold down a key for a
> > > few seconds to get the next few lines of output, then it starts printing
> > > on its own again. I've seen this with 2.6.7-rc3-bk4 and 2.6.6, not with
> > > 2.6.5 (I booted 2.6.6 by accident yesterday, I don't know how it does
> > > with NFS).
> >
> > More experience with 2.6.7-rc3-bk6: this is basically the same, although
> > the console stalled twice during one boot, once after mounting all the
> > filesystems and then again after the ethernet comes up (as always).
> >
> > Also, I was wrong about getting one character of output for each that I
> > type - it looks like I get 16 characters (if that many are available to
> > be printed, seemingly).
>
> So it only happens when userspace is using the serial port and a few
> other things are in use.
>
> Is anything sharing the serial port's interrupt?

Nope.

$ cat /proc/interrupts
CPU0 CPU1
0: 3287097 11178094 IO-APIC-edge timer
3: 71993 20488 IO-APIC-edge serial
4: 544 14 IO-APIC-edge serial
8: 3 0 IO-APIC-edge rtc
9: 0 0 IO-APIC-level acpi
16: 121 32 IO-APIC-level sym53c8xx
24: 6370 371797 IO-APIC-level ioc0, eth0
25: 324116 0 IO-APIC-level ioc1, eth1
NMI: 88 157
LOC: 14461411 14461930
ERR: 0
MIS: 0

-ryan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/