From owner-freebsd-bugs@freebsd.org Thu Jun 8 08:53:58 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8CFE7BF9EA4 for ; Thu, 8 Jun 2017 08:53:58 +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 mx1.freebsd.org (Postfix) with ESMTPS id 7C15A7A01A for ; Thu, 8 Jun 2017 08:53:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v588rwlA000465 for ; Thu, 8 Jun 2017 08:53:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 219857] panic in scsi_cd code Date: Thu, 08 Jun 2017 08:53:58 +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 Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jun 2017 08:53:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219857 Bug ID: 219857 Summary: panic in scsi_cd code Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: avg@FreeBSD.org The following panic happened right after cdrecord quit with an error while writing to a CD-RW disk. (cd0:ahcich10:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00=20 (cd0:ahcich10:0:0:0): CAM status: SCSI Status Error (cd0:ahcich10:0:0:0): SCSI status: Check Condition (cd0:ahcich10:0:0:0): SCSI sense: ILLEGAL REQUEST asc:21,0 (Logical block address out of range) (cd0:ahcich10:0:0:0): Error 22, Unretryable error (cd0:ahcich10:0:0:0): cddone: got error 0x16 back panic: sleepq_add: td 0xfffff800060bf000 to sleep on wchan 0xfffff801b3f1a0= 48 with sleeping prohibited cpuid =3D 4 time =3D 1496908339 KDB: stack backtrace: db_trace_self_wrapper() at 0xffffffff80439f4b =3D db_trace_self_wrapper+0x2b/frame 0xfffffe01ef5da770 kdb_backtrace() at 0xffffffff8068b369 =3D kdb_backtrace+0x39/frame 0xfffffe01ef5da820 vpanic() at 0xffffffff806521f2 =3D vpanic+0x162/frame 0xfffffe01ef5da860 panic() at 0xffffffff80651f23 =3D panic+0x43/frame 0xfffffe01ef5da8c0 sleepq_add() at 0xffffffff806979ff =3D sleepq_add+0x30f/frame 0xfffffe01ef5= da910 _sleep() at 0xffffffff8065c0de =3D _sleep+0x2ae/frame 0xfffffe01ef5da9b0 cam_periph_ccbwait() at 0xffffffff802aac9d =3D cam_periph_ccbwait+0x5d/frame 0xfffffe01ef5da9e0 cam_periph_runccb() at 0xffffffff802aaac8 =3D cam_periph_runccb+0xb8/frame 0xfffffe01ef5daa40 cdrunccb() at 0xffffffff802cab8c =3D cdrunccb+0x3c/frame 0xfffffe01ef5daa60 cdprevent() at 0xffffffff802ca48b =3D cdprevent+0x7b/frame 0xfffffe01ef5daa= a0 cdcheckmedia() at 0xffffffff802ca132 =3D cdcheckmedia+0x22/frame 0xfffffe01ef5daaf0 cdstrategy() at 0xffffffff802c8356 =3D cdstrategy+0x56/frame 0xfffffe01ef5d= ab20 g_disk_start() at 0xffffffff805c38f0 =3D g_disk_start+0x180/frame 0xfffffe01ef5dab70 g_io_schedule_down() at 0xffffffff805c760b =3D g_io_schedule_down+0x1eb/fra= me 0xfffffe01ef5dab90 g_down_procbody() at 0xffffffff805c7fed =3D g_down_procbody+0x6d/frame 0xfffffe01ef5daba0 fork_exit() at 0xffffffff80618680 =3D fork_exit+0xd0/frame 0xfffffe01ef5dab= f0 fork_trampoline() at 0xffffffff8084304e =3D fork_trampoline+0xe/frame 0xfffffe01ef5dabf0 --=20 You are receiving this mail because: You are the assignee for the bug.=