Home · About · Download · Documentation · Getting Help · Google+

Ticket #37 (closed enhancement: fixed)

Opened 6 years ago

Last modified 6 years ago

Would that be possible to add a list of preload kernel modules for initramfs

Reported by: yqin Owned by: gmk
Priority: minor Milestone: Feature Update 3.2
Component: provision Version:
Keywords: Cc:

Description

This is particular useful if we deal with some special hardware like raid or network devices which can not be detected by /sbin/detect.

Current logic in init script looks like below:

for module in /sbin/detect | sort | uniq; do

modprobe $module 2>/dev/null

done

I'm thinking to change it to:

for module in $PRELOAD_MODULES; do

modprobe $module 2>/dev/null

done
for module in /sbin/detect | sort | uniq; do

modprobe $module 2>/dev/null

done

It is just where to put that list of $PRELOAD_MODULES. bootstrap.conf looks like a good place to me.

Change History

comment:1 Changed 6 years ago by gmk

  • Status changed from new to closed
  • Resolution set to fixed

This feature has been added and is part of the 3.2 tree. The kernel argument wwkmods= will preload modules before detect starts its magic.

Note: See TracTickets for help on using tickets.