From owner-freebsd-scsi Thu Sep 28 10:37:22 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (Postfix) with ESMTP id 846CE37B423 for ; Thu, 28 Sep 2000 10:37:16 -0700 (PDT) Received: from v-ger.we.lc.ehu.es (v-ger [158.227.6.179]) by polaris.we.lc.ehu.es (8.9.1/8.9.1) with ESMTP id TAA10516 for ; Thu, 28 Sep 2000 19:37:07 +0200 (MET DST) Received: from we.lc.ehu.es (localhost [127.0.0.1]) by v-ger.we.lc.ehu.es (8.11.0/8.11.0) with ESMTP id e8SHZ2S00689 for ; Thu, 28 Sep 2000 19:35:02 +0200 (CEST) (envelope-from jose@we.lc.ehu.es) Message-ID: <39D38146.671CFFF0@we.lc.ehu.es> Date: Thu, 28 Sep 2000 19:35:02 +0200 From: "Jose M. Alcaide" Organization: Universidad del Pais Vasco - Dpto. de Electricidad y Electronica X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: es-ES, es, en-US, en MIME-Version: 1.0 To: scsi@FreeBSD.org Subject: panic when removing device with "camcontrol rescan" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I am running a pretty recent -current (Sept. 21) on a machine equipped with an Adaptec 7880 controller. There are a HD, a MO unit (both internal) and a DLT drive connected to the SCSI bus. I can trigger a panic if I power the DLT off and then type "camcontrol rescan 0", in order to remove the CAM device. The SCSI subsystem hangs, so I cannot generate a crash dump. I compiled a kernel with DDB, and I got the following trace output (function parameters left out - I am copying by hand): destroy_dev() at destroy_dev+0x7 sacleanup() at sacleanup+0x2d camperiphfree() at camperiphfree+0x42 cam_periph_invalidate() cam_periph_async() saaync() xpt_async_bcast() xpt_async() probedone() camisr() swi_cambio() intr_soft() fork_trampoline() If there is a way for getting more post-mortem information, I could try it... Any ideas? Cheers, -- JMA ****** Jose M. Alcaide // jose@we.lc.ehu.es // jmas@FreeBSD.org ****** ** "Beware of Programmers who carry screwdrivers" -- Leonard Brandwein ** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message