setserial oops with 2.1.15 and non working mouse

Farzad FARID (
Sat, 14 Dec 1996 15:47:09 +0100 (MET)

I got this when I booted my freshly compiled linux 2.1.15:

divide error: 0000
CPU: 0
EIP: 0010:[<c017a75d>]
EFLAGS: 00010082
eax: fffffffe ebx: fffffffe ecx: 00000000 edx: ffffffff
esi: c025ace4 edi: 000004c6 ebp: 00000000 esp: c1e33efc
ds: 0018 es: 0018 ss: 0018
Process setserial (pid: 30, process nr: 7, stackpage=c1e33000)
Stack: c1df7000 00000082 c1e33f28 c1df7000 000003e8 c0183fb7 c1df7000
c025ace4 c001d63c c01adf7c c1f23810 c1df7934 c017a610 c1df7000
c1df7000 00000002 c0085bc0 00000000 00000001 00000246 c017cabf
Call Trace: [<c0183fb7>] [<c017a610>] [<c017cabf>] [<c017ceb6>]
[<c0122ce0>] [<c0122d50>] [<c0122da4>]
Code: f7 7e 10 89 c3 b9 05 00 00 00 31 d2 f7 f1 89 c3 85 db 75 05

15:44 [root:p2] Aion:/tmp# ksymoops /boot/ <
Using `/boot/' to map addresses to symbols.

>>EIP: c017a75d <rs_wait_until_sent+85/118>
Trace: c0183fb7 <tty_wait_until_sent+ef/124>
Trace: c017a610 <rs_close+144/20c>
Trace: c017cabf <release_dev+25f/4a0>
Trace: c017ceb6 <tty_release+a/10>
Trace: c0122ce0 <__fput+1c/40>
Trace: c0122d50 <close_fp+4c/5c>
Trace: c0122da4 <sys_close+44/50>
Trace: c010aa76 <system_call+36/40>

Code: c017a75d <rs_wait_until_sent+85/118> idivl 0x10(%esi),%eax
Code: c017a760 <rs_wait_until_sent+88/118> movl %eax,%ebx
Code: c017a762 <rs_wait_until_sent+8a/118> movl $0x5,%ecx
Code: c017a767 <rs_wait_until_sent+8f/118> xorl %edx,%edx
Code: c017a769 <rs_wait_until_sent+91/118> divl %ecx,%eax
Code: c017a76b <rs_wait_until_sent+93/118> movl %eax,%ebx
Code: c017a76d <rs_wait_until_sent+95/118> testl %ebx,%ebx
Code: c017a76f <rs_wait_until_sent+97/118> jne c017a776 <rs_wait_until_sent+9e/118>

Another computer I compiled 2.1.15 on didn't oops, but on both computers
the mouse doesn't work anymore. gpm loads but does not work and I get an
error message from X11 saying it cannot access the mouse.
On both computers the UART is a 16550A, I can open the computer and find
the brand of the chip if someone cares.

Farzad FARID
Administrateur Reseau
SGIP - Publicis