RE: Questions about SATA hotplug in linux 2.6

2007-12-20 Thread Shane Huang
Hi Tejun: -Original Message- From: Tejun Heo [mailto:[EMAIL PROTECTED] But when I set OnChip SATA type into AHCI mode(SATA device ID 4391), the hotplug can work, and the device name will be changed from scd0 to scd1 during the hotplug. The log messages are attached at the end

RE: Questions about SATA hotplug in linux 2.6

2007-12-20 Thread Shane Huang
Hi Tejun: That's strange. I guess we're forgetting something when forcing the controller into AHCI mode. Yes, it's strange. This issue also exists on RedHat RHEL5.1 and RHEL4.6 What happens if you manually issue re-scan by doing echo - - - /sys/class/scsi_host/hostN/scan where

Re: Questions about SATA hotplug in linux 2.6

2007-12-20 Thread Tejun Heo
Hello, Shane. Shane Huang wrote: That's strange. I guess we're forgetting something when forcing the controller into AHCI mode. Yes, it's strange. This issue also exists on RedHat RHEL5.1 and RHEL4.6 What happens if you manually issue re-scan by doing echo - - -

Re: Questions about SATA hotplug in linux 2.6

2007-12-19 Thread Tejun Heo
Hello, Shane Huang wrote: Do you guys think it's normal? It not, how to make SATA hotplug work on different SATA port? Should it be supported by BIOS or hardware? If you connect it to a different port, the original device will die and new device will appear. That's the expected behavior.

Re: Questions about SATA hotplug in linux 2.6

2007-12-18 Thread Tejun Heo
Shane Huang wrote: Hi Jeff and Tejun: I want to continue this discussion with some questions: From: Tejun Heo wrote: Jeff Garzik wrote: Shane Huang wrote: 1. If users unplug one SATA HDD(no-root partition) or SATA ODD when the system is running, then plug it back to the same SATA

RE: Questions about SATA hotplug in linux 2.6

2007-12-18 Thread Shane Huang
Hi Tejun: Do you guys think it's normal? It not, how to make SATA hotplug work on different SATA port? Should it be supported by BIOS or hardware? If you connect it to a different port, the original device will die and new device will appear. That's the expected behavior. In the log, I

RE: Questions about SATA hotplug in linux 2.6

2007-12-17 Thread Shane Huang
Hi Jeff and Tejun: I want to continue this discussion with some questions: From: Tejun Heo wrote: Jeff Garzik wrote: Shane Huang wrote: 1. If users unplug one SATA HDD(no-root partition) or SATA ODD when the system is running, then plug it back to the same SATA port, Should the

Questions about SATA hotplug in linux 2.6

2007-10-25 Thread Shane Huang
Greetings: I have some questions about SATA HDD/ODD hotplug support in linux. 1. If users unplug one SATA HDD(no-root partition) or SATA ODD when the system is running, then plug it back to the same SATA port, Should the system and SATA HDD/ODD still work well? 2. How about users plug the SATA

Re: Questions about SATA hotplug in linux 2.6

2007-10-25 Thread Jeff Garzik
Shane Huang wrote: 1. If users unplug one SATA HDD(no-root partition) or SATA ODD when the system is running, then plug it back to the same SATA port, Should the system and SATA HDD/ODD still work well? Yes. 2. How about users plug the SATA HDD/ODD in a different SATA port? Should it still

Re: Questions about SATA hotplug in linux 2.6

2007-10-25 Thread Tejun Heo
Jeff Garzik wrote: Shane Huang wrote: 1. If users unplug one SATA HDD(no-root partition) or SATA ODD when the system is running, then plug it back to the same SATA port, Should the system and SATA HDD/ODD still work well? Yes. To add a bit, libata hotplug has grace time of at least 15secs.