Quote:
Originally posted by Xyem
Interesting thought and definately a possibility for the source of the problem. But the language used makes it sound like it currently doing network, not that it has finished it (initialising instead of initialised).
How would you go about unplugging the sound card from a laptop? I thought they would be soldered onto the board...
|
i 'v got it worked.
yes, once u read the /etc/rc.sysinit
u will find that the initialising script put down the string only after it has successfully initialized a hardware.
# Initialize hardware
if [ -f /proc/sys/kernel/modprobe ]; then
if ! strstr "$cmdline" nomodules && [ -f /proc/modules ] ; then
sysctl -w kernel.modprobe="/sbin/modprobe" >/dev/null 2>&1
sysctl -w kernel.hotplug="/sbin/hotplug" >/dev/null 2>&1
else
# We used to set this to NULL, but that causes 'failed to exec' messages" sysctl -w kernel.modprobe="/bin/true" >/dev/null 2>&1
sysctl -w kernel.hotplug="/bin/true" >/dev/null 2>&1
fi
fi
echo -n $"Initializing hardware... " # ##############################################
ide=""
scsi=""
network=""
audio=""
other=""
eval `kmodule | while read devtype mod ; do
case "$devtype" in
"IDE") ide="$ide $mod"
echo "ide=\"$ide"\";;
"SCSI") scsi="$scsi $mod"
echo "scsi=\"$scsi"\";;
"NETWORK") network="$network $mod"
echo "network=\"$network"\";;
"AUDIO") audio="$audio $mod"
*) other="$other $mod"
echo "other=\"$other"\";;
esac
done`
load_module () {
LC_ALL=C fgrep -xq "$1" /etc/hotplug/blacklist 2>/dev/null || modprobe $1 >/dev/null 2>&1
}
# IDE
for module in $ide ; do
load_module $module
done
# SCSI
for module in `/sbin/modprobe -c | awk '/^alias[[:space:]]+scsi_hostadapter[0-9]*[[:space:]]/ { print $3 }'` $scsi; do
load_module $module
done
load_module floppy
echo -n $" storage" ######################################################
# Network
pushd /etc/sysconfig/network-scripts >/dev/null 2>&1
interfaces=`ls ifcfg* | LC_ALL=C egrep -v '(ifcfg-lo|:|rpmsave|rpmorig|rpmnew)'
| \
LC_ALL=C egrep -v '(~|\.bak)$' | \
LC_ALL=C egrep 'ifcfg-[A-Za-z0-9\._-]+$' | \
sed 's/^ifcfg-//g' |
sed 's/[0-9]/ &/' | LC_ALL=C sort -k 1,1 -k 2n | sed 's/ //'`
for i in $interfaces ; do
eval $(LC_ALL=C fgrep "DEVICE=" ifcfg-$i)
load_module $DEVICE
done
popd >/dev/null 2>&1
for module in $network ; do
load_module $module
done
echo -n $" network" ###########################################################
# Sound
for module in `/sbin/modprobe -c | awk '/^alias[[:space:]]+snd-card-[[:digit:]]+[[:space:]]/ { print $3 }'` $audio; do
load_module $module
done
echo -n $" audio" ##############################################################
# Everything else (duck and cover)
for module in $other ; do
load_module $module
done
echo -n $" done"##############################################################
success
echo
echo "raidautorun /dev/md0" | nash --quiet
# Start the graphical boot, if necessary; /usr may not be mounted yet, so we