2.1.42 termios corruption

Richard B. Johnson (root@analogic.com)
Wed, 4 Jun 1997 09:18:36 -0400 (EDT)


I recompiled the kernel with the slab.c patch and the terminal echo
is no longer corrupt. The slab patch should have nothing to do with
the problem but I think the result is simply because some addresses
have changed after the patch was installed (code got larger).

slab.c patch

c01f3000 A __init_begin
c01fa000 A __init_end
c01dc4ce ? __kstrtab_tty_std_termios
c01df890 ? __ksymtab_tty_std_termios
c024db4c B tty_std_termios

unpatched kernel

c01f3000 A __init_begin
c01fa000 A __init_end
c01dc44e ? __kstrtab_tty_std_termios
c01df810 ? __ksymtab_tty_std_termios
c024db4c B tty_std_termios

I note that the offset of tty_std_termios did not change. However, some
other termios structures did.

Cheers,
DJ
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Analogic Corporation
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.42 on an i586 machine (66.15 BogoMips).
Warning : It's hard to stay on the trailing edge of technology.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-