Division by zero in serial device in 2.1.125

Anders Melchiorsen (postmaster@and.nospam.kampsax.k-net.dk)
24 Oct 1998 12:16:21 +0100


After trying to get my modem to work I found this in my log. I did a
"setserial 2400" and after that the device did not work. As I found
this message later, I do not have the shell output. Also, I was unable
to reproduce.

divide error: 0000
CPU: 0
EIP: 0010:[<c018325a>]
EFLAGS: 00010002
eax: 00000960 ebx: c01b1048 ecx: 00000960 edx: 00000000
esi: c365ba20 edi: 00000000 ebp: 00000000 esp: c13f9e98
ds: 0018 es: 0018 ss: 0018
Process bash (pid: 628, process nr: 45, stackpage=c13f9000)
Stack: 00000003 c13a5000 00002580 20000000 c0182d59 00000000 00000013 00000cb

c0182f04 c365ba20 c31f96c0 c13a5000 c3bc2860 00000000 c31f96c0 0000000

02fd2860 00000000 00000000 00000000 00000286 c0184a82 c365ba20 0000000

Call Trace: [<c0182d59>] [<c0182f04>] [<c0184a82>] [<c0176e55>] [<c0122bbb>]

[<c018ef1c>] [<c0122f37>] [<c0121d9d>] [<c0121ee0>] [<c0107968>]
Code: f7 ff c7 44 24 1c 81 00 00 00 3d 5f 09 00 00 7f 08 c7 44 24

>>EIP: c018325a <change_speed+186/30c>
Trace: c0182d59 <startup+1e9/3b8>
Trace: c0182f04 <startup+394/3b8>
Trace: c0184a82 <rs_open+10a/194>
Trace: c0176e55 <tty_open+109/250>
Trace: c0122bbb <get_fops+33/6c>
Trace: c018ef1c <tvecs+29bc/7560>
Trace: c0122f37 <chrdev_open+3f/4c>
Trace: c0121d9d <do_open+ad/12c>
Trace: c0121ee0 <sys_open+38/68>
Trace: c0107968 <system_call+34/38>
Code: c018325a <change_speed+186/30c>
Code: c018325a <change_speed+186/30c> f7 ff idivl %edi,%eax
Code: c018325c <change_speed+188/30c> c7 44 24 1c 81 movl $0x81,0x1c(%esp,1)
Code: c0183261 <change_speed+18d/30c> 00 00 00
Code: c0183264 <change_speed+190/30c> 3d 5f 09 00 00 cmpl $0x95f,%eax
Code: c0183269 <change_speed+195/30c> 7f 08 jg c0183273 <change_speed+19f/30c>

-- 
Regards, Anders
(address is valid)

Fahnestock's Rule: If at first you don't succeed, destroy all evidence that you tried.

- 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/