Re: 2.1.66 serial flakeyness?

Robert Mihram (rob.dm@berlin.snafu.de)
Fri, 28 Nov 1997 02:38:11 +0100


--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii

On Wed, Nov 26, 1997 at 04:41:06PM -0500, Theodore Y. Ts'o wrote:
>
> > Has anyone else experienced this problem:
> > When I go to dial out through my modem with it set to 38400, I can't get
> > a higher then 9600 baud connection. This does not happen with 2.1.65 or
> > any other kernel I've tried, it doesn't happen if I set the rate to 57600
> > either.
>
> Oops, I made a really stupid brain-o in the serial driver changes. The
> following patch to 2.1.66 should fix things:
>
> --- serial.c.orig Wed Nov 26 16:37:52 1997
> +++ serial.c Wed Nov 26 16:38:34 1997
> @@ -1376,7 +1376,8 @@
> /* Determine divisor based on baud rate */
> baud = tty_get_baud_rate(info->tty);
> baud_base = info->state->baud_base;
> - if (baud == 38400)
> + if (baud == 38400 &&
> + ((info->flags & ASYNC_SPD_MASK) == ASYNC_SPD_CUST))
> quot = info->state->custom_divisor;
> else {
> if (baud == 134)
>
> Sorry for the inconvenience!!!
>
> - Ted
Hi,
My machine chrashed five times within the last 24 hours. It was hard for me to
track down the problem, because there were no OOPS in the log. After the 5th
crash I got an OOPS in my log. I attach it + the output of ksymoops.

Thank you

Rob

-- 
Robert Mihram <rob.dm@berlin.snafu.de>
http://www.snafu.de/~rob.dm

--FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="ksymoops.log"

Using `/System.map-2.1.66' to map addresses to symbols.

>>EIP: c15a8843 cannot be resolved Trace: c017b09a <n_tty_flush_buffer+7a/a8> Trace: c017e3f1 <pty_flush_buffer+1d/40> Trace: c01788f5 <do_tty_hangup+105/284> Trace: c010f1e4 <tqueue_bh+28/38> Trace: c0116f09 <do_bottom_half+45/60> Trace: c010a361 <do_IRQ+e9/f4> Trace: c01092a8 <ret_from_intr> Code: Code: c1 01 00 roll $0x0,(%ecx) Code: 00 00 addb %al,(%eax) Code: 90 nop Code: 90 nop Code: 90 nop

--FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="oops.log"

Nov 28 01:31:38 denkall kernel: Oops: 0002 Nov 28 01:31:38 denkall kernel: CPU: 0 Nov 28 01:31:38 denkall kernel: EIP: 0010:[<c15a8843>] Nov 28 01:31:38 denkall kernel: EFLAGS: 00013883 Nov 28 01:31:38 denkall kernel: eax: c15a883d ebx: c0457000 ecx: 00000000 edx: 00000018 Nov 28 01:31:38 denkall kernel: esi: c0b3b000 edi: c0457bc4 ebp: 00003286 esp: c0b53f50 Nov 28 01:31:38 denkall kernel: ds: 0018 es: 0018 ss: 0018 Nov 28 01:31:38 denkall kernel: Process X (pid: 211, process nr: 33, stackpage=c0b53000) Nov 28 01:31:38 denkall kernel: Stack: c017b09a c0457000 c0457000 00000000 c017e3f1 c0457000 00000000 c0b3b000 Nov 28 01:31:38 denkall kernel: c01788f5 c0b3b000 00000000 c01c3d80 00000000 c0b53f98 c0b3b000 c010f1e4 Nov 28 01:31:38 denkall kernel: c0b3b000 00000001 c0b53fbc c0116f09 00000000 20000000 c010a361 bfffd32a Nov 28 01:31:38 denkall kernel: Call Trace: [<c017b09a>] [<c017e3f1>] [<c01788f5>] [<c010f1e4>] [<c0116f09>] [<c010a361>] [<c01092a8>] Nov 28 01:31:38 denkall kernel: Code: c1 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

--FL5UXtIhxfXey3p5--