Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34307 - checkroot is before hdparm resulting in slow fscks
Summary: checkroot is before hdparm resulting in slow fscks
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-24 17:35 UTC by Arthur Britto
Modified: 2003-11-26 11:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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