Project

General

Profile

Actions

Submit #2373

closed

Tunable for suppl. delay before vfs_mountroot()

Added by fgudin over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
05/21/2012
Due date:
% Done:

0%

Estimated time:

Description

My Acer Aspire One (mod. D257) HDD takes quite a while to answer its first actual data requests after boot. When vfs_mountroot() comes in, the default 2 seconds delay after sync_devs() isn't enough (starts working ok with 3 seconds here) and this results in the slice table and parts not being probed yet (so i'm thrown at the 'mountroot>' prompt where issuing '?' several times finally displays my slices, etc.)
The attached patch adds a tunable ('vfs.root.wakedelay' - better ideas welcome) to tweak it if ever needed via loader.conf.
Thanks to swildner@ for his friendly guidance!


Files

wakedelay.diff (1.57 KB) wakedelay.diff fgudin, 05/21/2012 03:33 PM
wakedelay.better.diff (2.05 KB) wakedelay.better.diff fgudin, 08/26/2012 01:02 PM

Related issues 1 (0 open1 closed)

Related to Submit #2400: TUNABLE_INT locationClosed08/14/2012

Actions
Actions

Also available in: Atom PDF