From owner-freebsd-current@FreeBSD.ORG Fri Sep 16 16:03:38 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F986106566B for ; Fri, 16 Sep 2011 16:03:38 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id D3BB18FC15 for ; Fri, 16 Sep 2011 16:03:37 +0000 (UTC) Received: by iadk27 with SMTP id k27so3993014iad.13 for ; Fri, 16 Sep 2011 09:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=TjhBKHAMhMwwjE0ehDhnv3mPPXyJGUN+V5BFQHiXgek=; b=cOsU/2qc2vp9UVWxsqDwtiHXuKLfwXDFa06qiPVztzFRvKTSHI+hYyJ1VVhBXYxQEY BseUvXpLEmv0It8FMEmmeOXPkbHqD4IGB+TIAER8djYQlYBSA5cvs9I7JsAHYAdwZ942 0JRelQcFwL4JCjPR8KLP22bkFLrOI4TstsQnA= MIME-Version: 1.0 Received: by 10.231.46.66 with SMTP id i2mr4145631ibf.0.1316189017303; Fri, 16 Sep 2011 09:03:37 -0700 (PDT) Received: by 10.231.36.69 with HTTP; Fri, 16 Sep 2011 09:03:37 -0700 (PDT) In-Reply-To: <4E734F60.4070005@FreeBSD.org> References: <4E70C404.3010104@acm.poly.edu> <4E70D30E.6080002@FreeBSD.org> <4E734749.2010106@acm.poly.edu> <4E734F60.4070005@FreeBSD.org> Date: Fri, 16 Sep 2011 09:03:37 -0700 Message-ID: From: Kevin Oberman To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Boris Kochergin , freebsd-current Subject: Re: Thinkpad CD-ROM hotplug with ATA_CAM X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Sep 2011 16:03:38 -0000 On Fri, Sep 16, 2011 at 6:30 AM, Andriy Gapon wrote: > on 16/09/2011 15:55 Boris Kochergin said the following: >> On 09/14/11 12:15, Andriy Gapon wrote: >>> on 14/09/2011 18:11 Boris Kochergin said the following: >>>> camcontrol rescan all >>> I think that this command may screw up communication between kernel and= HDD from >>> which the OS runs. >> >> It works under normal circumstances--I can run "camcontrol rescan all" o= n a system >> with ATA_CAM and the root filesystem isn't disturbed. >> >>> Perhaps using a specific bus number would work better. >>> >> >> Somewhat, but results are still undesirable. "camcontrol rescan 1" (the = CD-ROM is >> listed as being on scbus1) executes, stays in the cbwait state for 30 se= conds, >> then the system locks up. >> >> "camcontrol reset 1" has the same behavior as "camcontrol rescan all" in= that the >> system locks up instantly. > > Weird. =A0Can you provoke a panic when that happens? > Maybe you can contact mav@ directly and he'd be interested in debugging t= his case. I fear that BIOS may have some issue. I have a T43 and found that, if I booted with the DVD installed, atacontrol (this was prior to ATA-CAM) would allow me to detach, but if I then inserted a hard drive and tried to attach it, the system would lock up. If I booted with a hard drive in the bay, I could detach, change drives, and attach with no problems. I don't recall if I could replace the hard drive with a DVD, though and I don't have physical access to that system ATM. Still, this sounds rather similar to what I saw and it was unique to the T43. I have had several other ThinkPads, all of which allow me to swap out the DVD for a different drive including the T520 I am using to enter this reply. --=20 R. Kevin Oberman, Network Engineer - Retired E-mail: kob6558@gmail.com