View | Details | Raw Unified
Collapse All | Expand All

(-) ChangeLog (+43 lines)
 Lines 2-7    Link Here 
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
# $Header: $
  04 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts:
  Change &>/dev/null to >/dev/null 2>&1 because busybox ash sucks
  04 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts,
  generic/linuxrc:
  Switch to double quotes where we're interpolating variables, because I suck
  03 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> sparc64/modules_load:
  Add qla2xxx to sparc64's MODULES_SCSI
  03 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> gen_cmdline.sh,
  gen_determineargs.sh, gen_moddeps.sh:
  Add --all-initrd-modules option to copy all kernel modules into
  initrd/ramfs. This is useful for netboot images
  03 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/initrd.scripts,
  generic/linuxrc:
  Add setup_hotplug() function that runs before the modules are loaded to
  setup mdev as the hotplug event handler. Add $KV to /lib/modules anywhere it
  occurs to allow for an initramfs with multiple sets of modules
  03 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> gen_configkernel.sh,
  genkernel.conf:
  Clean up OLDCONFIG logic and default to OLDCONFIG=yes. This is for bug 207895
  02 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> generic/linuxrc:
  Moving the code to start resume operations so it doesn't run when booting
  from CD. We also don't execute the code if there's no real_resume set on the
  command line, since it will fail, anyway, without it.
  02 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> alpha/modules_load,
  ia64/modules_load, ppc/modules_load, ppc64/modules_load, um/modules_load,
  x86/modules_load, x86_64/modules_load, xen0/modules_load,
  xenU/modules_load:
  add megaraid module to MODULES_SCSI for bug 206039
  02 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> generic/modprobe:
  specify the kernel version when looking for a module for bug 208593
  02 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
  generic/initrd.defaults, generic/initrd.scripts:
  Removed runUdev, since we no longer use it.
  11 Jan 2008; Chris Gianelloni <wolf31o2@gentoo.org> gen_initramfs.sh,
  11 Jan 2008; Chris Gianelloni <wolf31o2@gentoo.org> gen_initramfs.sh,
  gen_initrd.sh, genkernel:
  gen_initrd.sh, genkernel:
  Fixing a problem where we were copying the busybox binary cache into the
  Fixing a problem where we were copying the busybox binary cache into the
(-) generic/initrd.scripts (-37 / +24 lines)
 Lines 50-56    Link Here 
		then
		then
			[ -n "${DEBUG}" ] && echo -ne "${BOLD}   ::${NORMAL} Checking for ${x}..."
			[ -n "${DEBUG}" ] && echo -ne "${BOLD}   ::${NORMAL} Checking for ${x}..."
			# find -name does not work since the return status is always zero
			# find -name does not work since the return status is always zero
			if find /lib/modules | grep /"${x}${KSUFF}" >/dev/null 2>&1
			if find /lib/modules/${KV} | grep /"${x}${KSUFF}" >/dev/null 2>&1
			then
			then
				echo -ne "${BOLD}   ::${NORMAL} Scanning for ${x}..."
				echo -ne "${BOLD}   ::${NORMAL} Scanning for ${x}..."
				modprobe ${x} -n
				modprobe ${x} -n
 Lines 99-105    Link Here 
#				else
#				else
#					mount -r -t auto ${x} ${mntdir} &>/dev/null
#					mount -r -t auto ${x} ${mntdir} &>/dev/null
#				fi
#				fi
				mount -r -t ${CDROOT_TYPE} ${x} ${mntdir} &>/dev/null
				mount -r -t ${CDROOT_TYPE} ${x} ${mntdir} >/dev/null 2>&1
				if [ "$?" = '0' ]
				if [ "$?" = '0' ]
				then
				then
					# Check for the media
					# Check for the media
 Lines 269-276    Link Here 
				else
				else
					bad_msg "NFS Mounting failed. Is the path correct ?"
					bad_msg "NFS Mounting failed. Is the path correct ?"
				fi
				fi
				# FIXME: Need to start portmap and the other rpc daemons in order to
				# FIXME: Need to start portmap and the other rpc daemons in
				# FIXME: remount rw.
				# order to remount rw.
			fi
			fi
		fi
		fi
 Lines 297-334    Link Here 
	/bin/ash
	/bin/ash
}
}
runUdev() {
	mount -t tmpfs -o size=100k udev /dev
	mkdir /dev/pts
	mkdir /dev/shm
	echo  > /proc/sys/kernel/hotplug 
	/sbin/udevd --daemon
	mkdir -p /dev/.udev/queue
	/sbin/udevtrigger
	good_msg 'Letting udev process events'
	loop=0
	while test -d /dev/.udev/queue; do
		sleep 1;
		test "$loop" -gt 30 && break
		loop=$(($loop + 1))
	done
	good_msg "Udev finished proccsing after $loop iterations"
	killall udevd > /dev/null 2>&1
	ln -snf /proc/self/fd /dev/fd
	ln -snf /proc/self/fd/0 /dev/stdin
	ln -snf /proc/self/fd/1 /dev/stdout
	ln -snf /proc/self/fd/2 /dev/stderr
	ln -snf /proc/kcore /dev/core
}
runmdev() {
runmdev() {
	# busybox udev replacement
	# busybox udev replacement
	mdev -s
	mdev -s
	# catch udev hotplug events
	echo /sbin/mdev > /proc/sys/kernel/hotplug
}
}
test_success() {
test_success() {
 Lines 379-385    Link Here 
}
}
whereis(){
whereis(){
	# $1 = variable whose value is the path (examples: "REAL_ROOT", "LUKS_KEYDEV")
	# $1 = variable whose value is the path (examples: "REAL_ROOT",
	#      "LUKS_KEYDEV")
	# $2 = label
	# $2 = label
	# $3 = optional explanations for failure
	# $3 = optional explanations for failure
 Lines 416-421    Link Here 
	mount -o bind ${NEW_ROOT}/dev /dev
	mount -o bind ${NEW_ROOT}/dev /dev
}
}
setup_hotplug() {
	# Check udev is available...
	if [ "${KV_2_6_OR_GREATER}" -a "${USE_UDEV_NORMAL}" != '0' ]
	then
		USE_UDEV_NORMAL=1
	else
		USE_UDEV_NORMAL=0
	fi
	if [ "${USE_UDEV_NORMAL}" = '1' ]
	then
		# catch udev hotplug events
		echo /sbin/mdev > /proc/sys/kernel/hotplug
	fi
}
start_dev_mgr() {
start_dev_mgr() {
	# Check udev is available...
	# Check udev is available...
	if [ "${KV_2_6_OR_GREATER}" -a "${USE_UDEV_NORMAL}" != '0' ]
	if [ "${KV_2_6_OR_GREATER}" -a "${USE_UDEV_NORMAL}" != '0' ]
 Lines 431-437    Link Here 
		[ "${DO_slowusb}" ] && sleep 10
		[ "${DO_slowusb}" ] && sleep 10
		kill_devfsd
		kill_devfsd
		good_msg 'Activating mdev'
		good_msg 'Activating mdev'
#		runUdev
		runmdev
		runmdev
		[ "${DO_slowusb}" ] && sleep 20
		[ "${DO_slowusb}" ] && sleep 20
		cd /
		cd /
 Lines 486-494    Link Here 
}
}
load_modules() {
load_modules() {
	# Load modules listed in MY_HWOPTS if /lib/modules exists
	# Load modules listed in MY_HWOPTS if /lib/modules exists for the running kernel
	
	
	if [ -d '/lib/modules' ]
	if [ -d "/lib/modules/${KV}" ]
	then
	then
		good_msg 'Loading modules'
		good_msg 'Loading modules'
		# Load appropriate kernel modules
		# Load appropriate kernel modules
(-) generic/initrd.defaults (-1 / +1 lines)
 Lines 52-58    Link Here 
KMAJOR=`echo $KV | cut -f1 -d.`
KMAJOR=`echo $KV | cut -f1 -d.`
KMINOR=`echo $KV | cut -f2 -d.`
KMINOR=`echo $KV | cut -f2 -d.`
KVER="${KMAJOR}.${KMINOR}"
KVER="${KMAJOR}.${KMINOR}"
MISCOPTS='idebug detect'
MISCOPTS='debug detect'
if [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -ge '6' ]
if [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -ge '6' ]
then
then
(-) generic/linuxrc (-10 / +12 lines)
 Lines 220-227    Link Here 
detect_sbp2_devices
detect_sbp2_devices
cmdline_hwopts
cmdline_hwopts
# Load modules listed in MY_HWOPTS if /lib/modules exists
# Setup hotplugging for firmware loading
if [ -d '/lib/modules' ]
setup_hotplug
# Load modules listed in MY_HWOPTS if /lib/modules exists for the running kernel
if [ -d "/lib/modules/${KV}" ]
then
then
	good_msg 'Loading modules'
	good_msg 'Loading modules'
	# Load appropriate kernel modules
	# Load appropriate kernel modules
 Lines 262-267    Link Here 
if [ "${CDROOT}" != 1 ]
if [ "${CDROOT}" != 1 ]
then
then
	startLUKS
	startLUKS
	if [ "${NORESUME}" != '1' ] && [ -n "${REAL_RESUME}" ]
	then
		swsusp_resume
#		suspend_resume
#		suspend2_resume
		tuxonice_resume
	fi
fi
fi
# Set up unionfs
# Set up unionfs
 Lines 278-291    Link Here 
# Run debug shell if requested
# Run debug shell if requested
rundebugshell
rundebugshell
if [ "${NORESUME}" != '1' ]
then
	swsusp_resume
#	suspend_resume
#	suspend2_resume
	tuxonice_resume
fi
if [ "${CDROOT}" = '1' ]
if [ "${CDROOT}" = '1' ]
then
then
	if [ ! "${USE_UNIONFS_NORMAL}" = '1' ]
	if [ ! "${USE_UNIONFS_NORMAL}" = '1' ]
(-) generic/modprobe (-1 / +1 lines)
 Lines 63-69    Link Here 
real_mod_path() {
real_mod_path() {
	# Find -name is no good since the return status is always zero
	# Find -name is no good since the return status is always zero
	find /lib/modules | grep /"${1}${KSUFF}"
	find "/lib/modules/${KV}" | grep /"${1}${KSUFF}"
}
}
modprobe2() {
modprobe2() {
(-) um/modules_load (-1 / +1 lines)
 Lines 26-32    Link Here 
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
megaraid megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
# Hardware (Network)
# Hardware (Network)
MODULES_NET="e1000 tg3"
MODULES_NET="e1000 tg3"
(-) sparc64/modules_load (-1 / +1 lines)
 Lines 1-4    Link Here 
MODULES_SCSI=""
MODULES_SCSI="qla2xxx"
MODULES_FIREWIRE=""
MODULES_FIREWIRE=""
MODULES_ATARAID=""
MODULES_ATARAID=""
MODULES_PCMCIA=""
MODULES_PCMCIA=""
(-) ppc/modules_load (-1 / +1 lines)
 Lines 26-32    Link Here 
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
megaraid megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
# Hardware (Network)
# Hardware (Network)
MODULES_NET="e1000 tg3"
MODULES_NET="e1000 tg3"
(-) alpha/modules_load (-1 / +1 lines)
 Lines 26-32    Link Here 
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
megaraid megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
# Hardware (Network)
# Hardware (Network)
MODULES_NET="e1000 tg3"
MODULES_NET="e1000 tg3"
(-) ia64/modules_load (-1 / +1 lines)
 Lines 26-32    Link Here 
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
megaraid megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
# Hardware (Network)
# Hardware (Network)
MODULES_NET="e1000 tg3"
MODULES_NET="e1000 tg3"
(-) gen_configkernel.sh (-7 / +2 lines)
 Lines 44-57    Link Here 
		print_info 1 '        Previous config backed up to .config.bak'
		print_info 1 '        Previous config backed up to .config.bak'
		cp "${KERNEL_CONFIG}" "${KERNEL_DIR}/.config" || gen_die 'Could not copy configuration file!'
		cp "${KERNEL_CONFIG}" "${KERNEL_DIR}/.config" || gen_die 'Could not copy configuration file!'
	fi
	fi
	if isTrue "${CLEAN}" || isTrue "${OLDCONFIG}"
	if isTrue "${OLDCONFIG}"
	then
	then
		if ! isTrue "${CLEAN}"
		print_info 1 '        >> Running oldconfig...'
		then
			print_info 1 'config: >> Running oldconfig...'
		else
			print_info 1 '        >> Running oldconfig...'
		fi
		yes '' 2>/dev/null | compile_generic oldconfig kernel 2>/dev/null
		yes '' 2>/dev/null | compile_generic oldconfig kernel 2>/dev/null
	fi
	fi
	if isTrue "${CLEAN}"
	if isTrue "${CLEAN}"
(-) gen_cmdline.sh (+5 lines)
 Lines 40-45    Link Here 
  echo "	--symlink		Manage symlinks in /boot for installed images"
  echo "	--symlink		Manage symlinks in /boot for installed images"
  echo "	--no-symlink		Do not manage symlinks"
  echo "	--no-symlink		Do not manage symlinks"
  echo "	--no-initrdmodules	Don't copy any modules to the initrd"
  echo "	--no-initrdmodules	Don't copy any modules to the initrd"
  echo "	--all-initrd-modules	Copy all kernel modules to the initrd"
  echo "	--callback=<...>	Run the specified arguments after the"
  echo "	--callback=<...>	Run the specified arguments after the"
  echo "				kernel and modules have been compiled"
  echo "				kernel and modules have been compiled"
  echo "	--static		Build a static (monolithic kernel)."
  echo "	--static		Build a static (monolithic kernel)."
 Lines 368-373    Link Here 
			CMD_NOINITRDMODULES=1
			CMD_NOINITRDMODULES=1
			print_info 2 "CMD_NOINITRDMODULES: ${CMD_NOINITRDMODULES}"
			print_info 2 "CMD_NOINITRDMODULES: ${CMD_NOINITRDMODULES}"
			;;
			;;
		--all-initrd-modules)
			CMD_ALLINITRDMODULES=1
			print_info 2 "CMD_ALLINITRDMODULES: ${CMD_ALLINITRDMODULES}"
			;;
		--callback=*)
		--callback=*)
			CMD_CALLBACK=`parse_opt "$*"`
			CMD_CALLBACK=`parse_opt "$*"`
			print_info 2 "CMD_CALLBACK: ${CMD_CALLBACK}/$*"
			print_info 2 "CMD_CALLBACK: ${CMD_CALLBACK}/$*"
(-) xenU/modules_load (-1 / +1 lines)
 Lines 26-32    Link Here 
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
megaraid megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
# Hardware (Network)
# Hardware (Network)
MODULES_NET="e1000 tg3"
MODULES_NET="e1000 tg3"
(-) x86/modules_load (-1 / +1 lines)
 Lines 26-32    Link Here 
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
megaraid megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
# Hardware (Network)
# Hardware (Network)
MODULES_NET="e1000 tg3"
MODULES_NET="e1000 tg3"
(-) gen_determineargs.sh (+1 lines)
 Lines 99-104    Link Here 
	set_config_with_override 2 MODULESPACKAGE       CMD_MODULESPACKAGE
	set_config_with_override 2 MODULESPACKAGE       CMD_MODULESPACKAGE
	set_config_with_override 2 KERNCACHE            CMD_KERNCACHE
	set_config_with_override 2 KERNCACHE            CMD_KERNCACHE
	set_config_with_override 1 NOINITRDMODULES      CMD_NOINITRDMODULES
	set_config_with_override 1 NOINITRDMODULES      CMD_NOINITRDMODULES
	set_config_with_override 1 ALLINITRDMODULES     CMD_ALLINITRDMODULES
	set_config_with_override 2 INITRAMFS_OVERLAY    CMD_INITRAMFS_OVERLAY
	set_config_with_override 2 INITRAMFS_OVERLAY    CMD_INITRAMFS_OVERLAY
	set_config_with_override 1 MOUNTBOOT            CMD_MOUNTBOOT
	set_config_with_override 1 MOUNTBOOT            CMD_MOUNTBOOT
	set_config_with_override 1 BUILD_STATIC         CMD_STATIC
	set_config_with_override 1 BUILD_STATIC         CMD_STATIC
(-) ppc64/modules_load (-1 / +1 lines)
 Lines 26-32    Link Here 
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
megaraid megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
# Hardware (Network)
# Hardware (Network)
MODULES_NET="e1000 tg3"
MODULES_NET="e1000 tg3"
(-) gen_moddeps.sh (-10 / +20 lines)
 Lines 1-6    Link Here 
#!/bin/bash
#!/bin/bash
modules_dep_list()
modules_kext()
{
{
	if [ "${PAT}" -gt "4" ]
	if [ "${PAT}" -gt "4" ]
	then
	then
 Lines 8-13    Link Here 
	else
	else
		KEXT=".o"
		KEXT=".o"
	fi
	fi
	echo ${KEXT}
}
modules_dep_list()
{
	KEXT=$(modules_kext)
	if [ -f ${INSTALL_MOD_PATH}/lib/modules/${KV}/modules.dep ]
	if [ -f ${INSTALL_MOD_PATH}/lib/modules/${KV}/modules.dep ]
	then
	then
		cat ${INSTALL_MOD_PATH}/lib/modules/${KV}/modules.dep | grep ${1}${KEXT}\: | cut -d\:  -f2
		cat ${INSTALL_MOD_PATH}/lib/modules/${KV}/modules.dep | grep ${1}${KEXT}\: | cut -d\:  -f2
 Lines 54-69    Link Here 
gen_dep_list()
gen_dep_list()
{
{
	local group_modules	
	if [ "${ALLINITRDMODULES}" = "1" ]; then
	rm -f ${TEMP}/moddeps > /dev/null
		strip_mod_paths $(find "${INSTALL_MOD_PATH}/lib/modules/${KV}" -name "*$(modules_kext)") | sort
	else
		local group_modules	
		rm -f ${TEMP}/moddeps > /dev/null
	
	
	for group_modules in ${!MODULES_*}; do
		for group_modules in ${!MODULES_*}; do
		gen_deps ${!group_modules}
			gen_deps ${!group_modules}
	done
		done
	# Only list each module once
		# Only list each module once
	if [ -f ${TEMP}/moddeps ]
		if [ -f ${TEMP}/moddeps ]
	then
		then
	    cat ${TEMP}/moddeps | sort | uniq
		    cat ${TEMP}/moddeps | sort | uniq
		fi
	fi
	fi
}
}
(-) genkernel.conf (-3 / +1 lines)
 Lines 8-16    Link Here 
# =========Common Command Line Option Defaults=========
# =========Common Command Line Option Defaults=========
# Run 'make oldconfig' before compiling this kernel?
# Run 'make oldconfig' before compiling this kernel?
# If set to "yes", also suppresses the fetch of the kernel .config file from
OLDCONFIG="yes"
# /etc/kernels, thus preserving the .config file in /usr/src/linux.
# OLDCONFIG="no"
# Run 'make menuconfig' before compiling this kernel?
# Run 'make menuconfig' before compiling this kernel?
MENUCONFIG="no"
MENUCONFIG="no"
(-) x86_64/modules_load (-1 / +1 lines)
 Lines 26-32    Link Here 
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
megaraid megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
# Hardware (Network)
# Hardware (Network)
MODULES_NET="e1000 tg3"
MODULES_NET="e1000 tg3"
(-) xen0/modules_load (-1 / +1 lines)
 Lines 26-32    Link Here 
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
seagate t128 u14-34f ultrastor wd7000 NCR53c406a sym53c8xx dmx3191d imm \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
in2000 ips qla1280 sim710 sym53c416 dc395x atp870u mptbase mptscsih \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
mptspi mptfc mptsas 3w-xxxx 3w-9xxx cpqarray cciss DAC960 sx8 aacraid \
megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
megaraid megaraid_mbox megaraid_mm megaraid_sas lpfc scsi_transport_fc scsi_wait_scan"
# Hardware (Network)
# Hardware (Network)
MODULES_NET="e1000 tg3"
MODULES_NET="e1000 tg3"