This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Thu May 2 21:24:19 2024 >From spaans Thu Sep 18 17:01:19 2014 Original-Recipient: rfc822;jasper@telfort.nl Received: from pop3.telfort.nl [213.75.3.52] by squeeze.vs19.net with POP3 (fetchmail-6.3.21) for (single-drop); Thu, 18 Sep 2014 17:01:19 +0200 (CEST) Received: from cpxmta-msg08.kpnxchange.com (10.94.114.29) by cpxmbs-msg01.support.local (8.6.060.31) id 54065A7100B69DAF for jasper@telfort.nl; Thu, 18 Sep 2014 16:57:18 +0200 Received: from cpsmtpb-ews05.kpnxchange.com (213.75.39.8) by cpxmta-msg08.kpnxchange.com (8.6.060.14) id 54066FBC01E4C113 for jasper@telfort.nl; Thu, 18 Sep 2014 16:57:18 +0200 Received: from cpsps-ews22.kpnxchange.com ([10.94.84.188]) by cpsmtpb-ews05.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Thu, 18 Sep 2014 16:57:18 +0200 Received: from vger.kernel.org ([209.132.180.67]) by cpsps-ews22.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Thu, 18 Sep 2014 16:57:17 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756411AbaIRO5H convert rfc822-to-quoted-printable (ORCPT ); Thu, 18 Sep 2014 10:57:07 -0400 Received: from mail-we0-f178.google.com ([74.125.82.178]:47286 "EHLO mail-we0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755826AbaIRO5F convert rfc822-to-8bit (ORCPT ); Thu, 18 Sep 2014 10:57:0 Received: by mail-we0-f178.google.com with SMTP id q58so1070703wes.37 for ; Thu, 18 Sep 2014 07:57:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Al0SiwvTzIMZYUuywRD2Mk1gtxqMDnaavyKEtTKYnms=; X-Gm-Message-State: ALoCoQmQwvnsp+t1Vb42YWPLXEilXE5rXY19hjRTCo9FD3+sv3ACVqRPICAAJzRBOtbxIQa600UL Mime-Version: 1.0 X-Received: by 10.180.86.73 with SMTP id n9mr45571815wiz.30.1411052222276; Thu, 18 Sep 2014 07:57:02 -0700 (PDT) Received: by 10.194.189.107 with HTTP; Thu, 18 Sep 2014 07:57:02 -0700 (PDT) Date: Thu, 18 Sep 2014 16:57:02 +0200 Message-Id: Subject: Div-by-zero in the 8250 serial driver (3.17-rc5) From: =?UTF-8?B?Um9iZXJ0IMWad2nEmWNraQ==?= To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-Id: X-Mailing-List: linux-kernel@vger.kernel.org X-OriginalArrivalTime: 18 Sep 2014 14:57:17.0634 (UTC) FILETIME=[D714C220:01CFD350] X-RcptDomain: telfort.nl Hi, # setserial /dev/ttyS0 spd_hi baud_base 38400 Entering kdb (current=3D0xffff8805ee033200, pid 1798) on processor 9 Oo= ps: (null) due to oops @ 0xffffffff8149c01e =01CPU: 9 PID: 1798 Comm: setserial Tainted: G W I 3.17.0-031700rc5-generic-201409151105 task: ffff8805ee033200 ti: ffff8800e39e0000 task.ti: ffff8800e39e0000 RIP: 0010:[] [] uart_get_divisor+0= x1e/0x40 RSP: 0018:ffff8800e39e3c30 EFLAGS: 00010206 RAX: 0000000000096000 RBX: ffffffff81fab060 RCX: 0000000000000006 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff81fab060 RBP: ffff8800e39e3c78 R08: 000000000000000a R09: 00000000000003d2 R10: 0000000000000000 R11: 00000000000003d1 R12: 0000000000000013 R13: ffff8805f0748d2c R14: 0000000000000000 R15: 0000000000000010 =46S: 00007f0fa653d740(0000) GS:ffff880613920000(0000) knlGS:000000000= 0000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0fa6003330 CR3: 00000000365f8000 CR4: 00000000000007e0 Stack: ffffffff814a2978 ffffffff81fab060 0000000000000010 ffff8800e39e3ca8 ffff8805eca08000 ffff8805f0748c00 ffff8800e39e3dc0 ffffffff81fab060 0000000000000010 ffff8800e39e3c88 ffffffff814a2d55 ffff8800e39e3ca8 Call Trace: [] ? serial8250_do_set_termios+0xd8/0x490 [] serial8250_set_termios+0x25/0x30 [] uart_change_speed+0x52/0xb0 [] uart_set_info+0x20c/0x5f0 [] ? do_uart_get_info+0xfa/0x1a0 [] uart_ioctl+0x14f/0x220 [] tty_ioctl+0x298/0x8f0 [] do_vfs_ioctl+0x75/0x2c0 [] SyS_ioctl+0x91/0xb0 [] system_call_fastpath+0x1a/0x1f Code: c0 00 00 00 c3 0f 1f 84 00 00 00 00 00 66 66 66 66 90 55 81 fe 00 96 00 00 48 89 e5 74 17 c1 e6 04 31 d2 89 f0 d1 e8 03 47 58 5d f6 c3 0f 1f 80 00 00 00 00 8b 87 b8 00 00 00 25 30 10 00 00 =46rom some earlier kernel I have vmlinux for (Ubuntu's 3.13.0-35-gener= ic) (gdb) bt full #0 uart_get_divisor (port=3D0xffffffff81fc4680 , baud=3D) at /build/buildd/linux-3.13.0/drivers/tty/serial/serial_core.c:423 __d =3D 0 quot =3D #1 0xffffffff8146b2da in serial8250_get_divisor (baud=3D, port=3D) at /build/buildd/linux-3.13.0/drivers/tty/serial/8250/8250_core.c:2= 263 No locals. #2 serial8250_do_set_termios (port=3D0xffffffff81fc4680 , termios=3D0x0 , old=3D) at /build/buildd/linux-3.13.0/drivers/tty/serial/8250/8250_core.c:2315 cval =3D 19 '\023' fcr =3D baud =3D 0 quot =3D fifo_bug =3D #3 0xffffffff8146b665 in serial8250_set_termios (port=3D, termios=3D, old=3D) at /build/buildd/linux-3.13.0/drivers/tty/serial/8250/8250_core.c:2= 467 No locals. #4 0xffffffff814663f0 in uart_change_speed (tty=3D, state=3D, old_termios=3D) at /build/buildd/linux-3.13.0/drivers/tty/serial/serial_core.c:460 uport =3D termios =3D #5 0xffffffff81468c8b in uart_set_info (tty=3D, port=3D0xffff8805ef9f8000, state=3D0xffff8805ef9f8000, new_info=3D0xffff8805f1d9ddb8) at /build/buildd/linux-3.13.0/drivers/tty/serial/serial_core.c:889 uport =3D 0xffffffff81fc4680 change_irq =3D closing_wait =3D 7500 old_custom_divisor =3D new_flags =3D #6 0xffffffff8146a6ef in uart_set_info_user (newinfo=3D= , state=3D, tty=3D) at /build/buildd/linux-3.13.0/drivers/tty/serial/serial_core.c:915 new_serial =3D {type =3D 4, line =3D 0, port =3D 1016, irq =3D = 4, flags =3D 268435536, xmit_fifo_size =3D 16, custom_divisor =3D 0, baud_base =3D 38400, close_delay =3D 50= , io_type =3D 0 '\000', reserved_char =3D "", hub6 =3D 0, closing_wait =3D 3000, closing_wait2 =3D 0, iomem_base =3D 0x= 0 , iomem_reg_shift =3D 0, port_high =3D 0, iomap_base =3D 0} #7 uart_ioctl (tty=3D0xffffffff81fc4680 , cmd=3D0, a= rg=3D0) at /build/buildd/linux-3.13.0/drivers/tty/serial/serial_core.c:1162 state =3D 0xffff8805ef9f8000 ret =3D #8 0xffffffff8144a6dd in tty_ioctl (file=3D0xffff8800357c5c00, cmd=3D21535, arg=3D140737325927280) at /build/buildd/linux-3.13.0/drivers/tty/tty_io.c:2850 ld =3D #9 0xffffffff811d0360 in vfs_ioctl (arg=3D, cmd=3D, filp=3D) at /build/buildd/linux-3.13.0/fs/ioctl.c:43 No locals. #10 do_vfs_ioctl (filp=3D0xffff8800357c5c00, fd=3D, cmd=3D, arg=3D) at /build/buildd/linux-3.13.0/fs/ioctl.c:598 argp =3D 0x7ffff6518b70 #11 0xffffffff811d05c1 in SYSC_ioctl (arg=3D, cmd=3D, fd=3D) at /build/buildd/linux-3.13.0/fs/ioctl.c:613 error =3D #12 SyS_ioctl (fd=3D3, cmd=3D21535, arg=3D140737325927280) at /build/buildd/linux-3.13.0/fs/ioctl.c:604 --=20 Robert =C5=9Awi=C4=99cki -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"= in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/