Frank Gevaerts wrote:
On Thu, Sep 09, 2004 at 04:25:07PM +0200, pir aa wrote:Is there a way to rescan the IDE Bus under Linux. (Not looking at the need of HW). The only thing I want to know, is if I can rescan the Bus after power on. I heard about hdparm -U and hdparm -R, but does it really make a rescan and realizes the new HD?The only way that I know of is to compile ide support as a module, and then remove and reload the ide module. Of course, this only works if ide is not being used at the moment, which means no mounted filesystems on ide disks. This probably makes the feature useless for most people.
I have a vipower disk caddy that supports hotswap. However, it's not an ATA standard (it is for SATA), and I tried lots of tricks including modules, disabling one of the IDE controllers at boot and consuilting on lkm and not getting past hanging the system when I tried.
It _may_ work when using an additonal controller (different chipset); I didn't try that as it wasn't useful to me.
Note that hotplug is likely to interfere with the notion of trying a controller with a different chipset.
More recently I had probs with the latest Sarge 2.4 and 2.6 kernel not detecting my IDE controllers (I was booting off SCSI). Once I discovered what needed to be loaded, I could not take the IDE controllers out without a reboot, so I'm guessing it's still difficult.
-- Cheers John -- spambait 1aaaaaaa@computerdatasafe.com.au Z1aaaaaaa@computerdatasafe.com.au Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/