From owner-freebsd-bugs@freebsd.org Mon Feb 4 12:51:52 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 054EE14CF797 for ; Mon, 4 Feb 2019 12:51:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 879E085971 for ; Mon, 4 Feb 2019 12:51:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 4361014CF796; Mon, 4 Feb 2019 12:51:51 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E8DC14CF795 for ; Mon, 4 Feb 2019 12:51:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC0F78596C for ; Mon, 4 Feb 2019 12:51:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CE7A21EF6 for ; Mon, 4 Feb 2019 12:51:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x14Cpni6011140 for ; Mon, 4 Feb 2019 12:51:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x14CpnTC011112 for bugs@FreeBSD.org; Mon, 4 Feb 2019 12:51:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 235489] llan driver causes fatal kernel trap: 0x300 (data storage interrupt) when system is low on memory Date: Mon, 04 Feb 2019 12:51:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: luporl@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2019 12:51:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235489 Bug ID: 235489 Summary: llan driver causes fatal kernel trap: 0x300 (data storage interrupt) when system is low on memory Product: Base System Version: CURRENT Hardware: powerpc OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: luporl@FreeBSD.org When running several builders in parallel, on QEMU, with 8GB of memory, a f= atal kernel trap caused by llan driver is sometimes observed, when the system st= arts to run out of swap space. fatal kernel trap: exception =3D 0x300 (data storage interrupt) virtual address =3D 0x18 dsisr =3D 0x42000000 srr0 =3D 0xc000000000ac9104 (0xac9104) srr1 =3D 0x8000000000009032 current msr =3D 0x8000000000009032 lr =3D 0xc000000000ac90ec (0xac90ec) curthread =3D 0xc000000006deb000 pid =3D 12, comm =3D irq16781321: llan0 panic: data storage interrupt trap cpuid =3D 2 time =3D 1549288422 KDB: stack backtrace: 0xe0000000005a5ed0: at .kdb_backtrace+0x5c 0xe0000000005a6000: at .vpanic+0x1b4 0xe0000000005a60c0: at .panic+0x38 0xe0000000005a6150: at .trap_fatal+0x25c 0xe0000000005a61e0: at .trap+0xeec 0xe0000000005a6380: at .powerpc_interrupt+0x290 0xe0000000005a6420: kernel DSI write trap @ 0x18 by .llan_intr+0xf4: srr1=3D0x8000000000009032 r1=3D0xe0000000005a66d0 cr=3D0x22000042 xer=3D0 ctr=3D0 r2=3D0xc000000001569528 sr=3D0x42000000 0xe0000000005a66d0: at .llan_intr+0xd8 0xe0000000005a6770: at .ithread_loop+0x25c 0xe0000000005a6850: at .fork_exit+0xd0 0xe0000000005a68f0: at .fork_trampoline+0x10 0xe0000000005a6920: at -0x4 KDB: enter: panic [ thread pid 12 tid 100153 ] Stopped at .kdb_enter+0x60: ld r2, r1, 0x28 db> It seems like there is some point in the driver that does not check properl= y if UMA allocation failed. --=20 You are receiving this mail because: You are the assignee for the bug.=