Date: Mon, 11 Jan 2021 15:13:53 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 252575] panic: camq_remove: Attempt to remove out-of-bounds index -2 from queue Message-ID: <bug-252575-227-Kx1geEXwjr@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-252575-227@https.bugs.freebsd.org/bugzilla/> References: <bug-252575-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252575 --- Comment #1 from Peter Eriksson <pen@lysator.liu.se> --- Hmm "panic: camq_remove: Attempt to remove out-of-bounds index -2 from queue" -2 might be "CAM_ACTIVE_INDEX" which is set into send_ccb->ccb_h.pinfo.inde= x in cam_ccbq_send_ccb() (sys/cam/cam_queue.h) which is called from xpt_run_devq= () around line 3492 in cam/cam_xpt.c in the xpt_run_devq() loop that calls camq_remove and panics... cam_ccbq_remove_ccb(&device->ccbq, work_ccb);=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 cam_ccbq_send_ccb(&device->ccbq, work_ccb); --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252575-227-Kx1geEXwjr>