Running hdparm after hotplug

Thom May thom at ubuntu.com
Wed Feb 23 03:26:05 CST 2005


* Jeff Bailey (jbailey at ubuntu.com) wrote :
> With the hack I did to hotplug to allow it to detect IDE devices, CD
> drives are loaded without DMA enabled.
> 
> I don't know what the best solution is, though.  We currently have:
> 
> 07 - hdparm
> 
> 10 - checkroot - Remounts root as rw
> 
> 20 - module-init-tools - Processes /etc/modules
> 
> 25 - mdadm-raid
> 26 - lvm
> 27 - evms
> 35 - mountall
> 
> Potentially problematic if relying on hotplug to provide these drives
> 
> 40 - hotplug
> 
> So I see two problems.  One being that hdparm is started too soon, and
> the other being that hotplug is started too late.  I was thinking that
> perhaps hotplug could be moved to 21ish, and hdparm to 24ish but I don't
> quite know how these numbers are all chosen.
hdparm in hoary should deploy a hotplug script so that when block devices
are hotplugged they get hdparmed; that hotplug script exists but obviously
is not working correctly, so I'll have to dig further.
-Thom



More information about the ubuntu-devel mailing list