[PATCH] tty proc bugfix [was RE: Linux 2.2.15pre19]

From: Mario Vanoni (vanonim@dial.eunet.ch)
Date: Thu Apr 20 2000 - 18:24:40 EST


SMP 2xPIII550:

Kernel 2.2.14 pure
patched with 2.2.15pre19

by hand changed _ONLY_ /usr/src/linux/drivers/char/serial.c:

*start = page + (begin-off) with *start = page + (off-begin)

compiled new kernel, reboot:

at start, via crontab:
2 setiathome running
sysstat running
then started:
while :; dd if=/proc/tty/driver/serial of=/dev/null bs=1024 2> /dev/null; done

Now >2h uptime writing this mail, with original serial.c uptime <=10 seconds
!!!

Many thanks to

Sebastien (innocent) which with sysstat caused the firsts crashes on my SMP,
Andrea with his immense patience helped my to find the offending code
   and give me a patch to check if true,
Manfred to localize the exact point of the bug.

Regards
Mario

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



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:17 EST