Re: IDE Bus rescan
The Idea of a modul is interesting, but wouldn't that mean, that if I remove the module I'll remove the whole IDE. I've hear that removing the /root could cause problems. My disk is on a separate line anyway, so is there a way to have a modul, that removes just the one line, leaving the other untouched? I've been throug ide.c and found a method called ide_revalidate_disk, check_media_change and check_disk_change, but as Linux is pretty new for me I can't make anything good from it. Is it the right track? Could someone point me in a direction, to learn more about IDE at startup and initialization on the software side (HW is not the problem)? How does IDE function on startup on the sw side? Where do I start? --- Alles Kaufen und Verkaufen! eBay.at - der eigene Marktplatz für Österreich. http://www.austronaut.at/ebay.php -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: IDE Bus rescan
On Mon, Sep 13, 2004 at 11:32:53AM +0200, pir aa wrote: The Idea of a modul is interesting, but wouldn't that mean, that if I remove the module I'll remove the whole IDE. I've hear that removing the /root could cause problems. I think you could copy /bin, /sbin, /lib and /etc onto a ramdisk, chroot to that, rmmod/insmod the ide module then chroot back? -- Pigeon Be kind to pigeons Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x21C61F7F signature.asc Description: Digital signature
Re: Re: IDE Bus rescan
Yes, but that is not my primary concern. I'll figure the HW out. What I want to know, is if there is a command for rescan or reinitialize the IDE bus. --- Alles Kaufen und Verkaufen! eBay.at - der eigene Marktplatz für Österreich. http://www.austronaut.at/ebay.php -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
IDE Bus rescan
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? Thx Pir --- Alles Kaufen und Verkaufen! eBay.at - der eigene Marktplatz für Österreich. http://www.austronaut.at/ebay.php -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: IDE Bus rescan
At 15:25 09/09/2004, you 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? Thx Pir You're trying to hot-swap IDE drives? From what I read and remember of the docs it's technically possible, but has a nasty tendency to blow your IDE controller. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: IDE Bus rescan
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. Frank Thx Pir -- Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. - Brian W. Kernighan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: IDE Bus rescan
On Thursday 09 September 2004 08:25, 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? Thx Pir Hotswap might do what you need: $ apt-cache show hotswap Package: hotswap Priority: optional Section: admin Installed-Size: 12 Maintainer: Alberto Gonzalez Iniesta [EMAIL PROTECTED] Architecture: all Version: 0.4.0-6 Depends: hotswap-text, hotswap-gui Filename: pool/main/h/hotswap/hotswap_0.4.0-6_all.deb Size: 4252 MD5sum: 66cbb12510734bacda7ed606c68e37b8 Description: (de)register hotswappable IDE hardware Hotswap is a utility to register and deregister hotswappable IDE hardware. It is written to be used on Laptops with some sort of hardware bay to remove the module from the machine without rebooting it. eg. Dell Laptops. . Note that this utility is not required to insert or remove batteries or floppy disk drives; only for IDE devices. . This is a meta-package that Depends on both the command line tool and the graphical front-ends to allow seamless upgrades. I've got a Dell laptop, and hotswap works OK. I can't seem to get non-privileged users permission to run it, but root runs it OK. Sometimes, I have a problem, but it generally works. Justin Guerin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: IDE Bus rescan
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 [EMAIL PROTECTED] [EMAIL PROTECTED] Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
IDE bus rescan?
Hi, Does anyone know some way to force a rescan to the IDE bus? I have a defective IDE drive that almost never is detected by the BIOS, but some few times it is. I needed to force a rescan so that I didn't have to be rebooting all the time! :/ Thanks, --- Paladin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: IDE bus rescan?
On Thu, Sep 04, 2003 at 04:03:30PM +0100, Paladin wrote: Does anyone know some way to force a rescan to the IDE bus? I have a defective IDE drive that almost never is detected by the BIOS, but some few times it is. I needed to force a rescan so that I didn't have to be rebooting all the time! :/ You don't really need to rescan the IDE bus. Linux doesn't use the BIOS for disk access, it just needs it for booting (the same applies to most modern PC operating systems). If you tell Linux to mount a device it will just try to mount the device, and if there's nothing there or the hardware doesn't work it will give you an error. By the way, SCSI is different. You actually do need to rescan a SCSI bus to pick up new devices. -- Michael Heironimus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]