Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2011 08:55:37 -0400
From:      Boris Kochergin <spawk@acm.poly.edu>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        freebsd-current <freebsd-current@FreeBSD.org>
Subject:   Re: Thinkpad CD-ROM hotplug with ATA_CAM
Message-ID:  <4E734749.2010106@acm.poly.edu>
In-Reply-To: <4E70D30E.6080002@FreeBSD.org>
References:  <4E70C404.3010104@acm.poly.edu> <4E70D30E.6080002@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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" 
on 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 seconds, then the system locks up.

"camcontrol reset 1" has the same behavior as "camcontrol rescan all" in 
that the system locks up instantly.

-Boris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E734749.2010106>