Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 34307

Summary: checkroot is before hdparm resulting in slow fscks
Product: Gentoo Linux Reporter: Arthur Britto <ahbritto>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Arthur Britto 2003-11-24 17:35:04 UTC
Some hard drives do not automatically start with DMA on.  hdparm allows the user
to have DMA turned on at boot.  Unfortunately, checkroot has a depend of "*"
this  causes it to fsck the root file system before hdparm runs.

hdparm should run before checkroot or some of hdparms functionality should be
incorporated into checkroot.
--
Some might argue that it is safer to run with DMA off especially when doing and
fsck.   However, (1) the drive may perform reliably with DMA, (2) operation with
out DMA can be 10x slower, and (3) Gentoo is a bout giving user choices.


Reproducible: Always
Steps to Reproduce:
1. rc-update add hdparm boot
2. reboot


Actual Results:  
hdparm runs after checkroot.

Expected Results:  
hdparm run before checkroot.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-26 11:55:57 UTC
Do:

 # echo "hdparm checkroot hostname modules checkfs localmount" > /etc/runlevels/boot/.critical