Re: Thinkpad CD-ROM hotplug with ATA_CAM

2011-09-16 Thread Boris Kochergin
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

Re: Thinkpad CD-ROM hotplug with ATA_CAM

2011-09-16 Thread Andriy Gapon
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

Re: Thinkpad CD-ROM hotplug with ATA_CAM

2011-09-16 Thread Kevin Oberman
On Fri, Sep 16, 2011 at 6:30 AM, Andriy Gapon a...@freebsd.org 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

Re: Thinkpad CD-ROM hotplug with ATA_CAM

2011-09-16 Thread Benjamin Kaduk
On Fri, 16 Sep 2011, Kevin Oberman wrote: 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

Thinkpad CD-ROM hotplug with ATA_CAM

2011-09-14 Thread Boris Kochergin
Ahoy. I have some Thinkpad T40-T43s running -CURRENT (as recent as yesterday's sources) with ATA_CAM enabled. If I remove the CD-ROM and proceed to run camcontrol rescan all, the system hangs with the cursor still at the end of the the line. Is there a correct way of doing this, or does it

Re: Thinkpad CD-ROM hotplug with ATA_CAM

2011-09-14 Thread Andriy Gapon
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. Perhaps using a specific bus number would work better. -- Andriy Gapon