Jump to content

loading ... il.o.gz will taint the kernel: no license


Steve Scrimpshire
 Share

Recommended Posts

Problem solved. I reinstalled 9.1 and now I can't downgrade my gcc to 2.96 without breaking too many things (My previous install must've had some quirks that allowed me to do it), so I just kept 8.1 for compiling stuff. To stop the annoying kernel panic, I disabled ifplugd, which is not as easy as you think, since it is not run as a service, but it started by coding in /etc/hotplug/net.agent and /etc/rc.d/init.d/network. So, I hacked those two scripts to disable it. In /etc/hotplug/net.agent, I did this:

#     if [ "$AUTOMATIC_IFCFG" != no -a "${INTERFACE:0:3}" == "eth" -a ! -r $CFG ]; #then

#  if [ -r $PCMCIA ] && grep -q "$INTERFACE$" $PCMCIA; #then

#      ONBOOT=no

#  else

#      ONBOOT=yes

#  fi

#  debug_mesg creating config file for $INTERFACE

#  cat > $CFG <<EOF

#DEVICE=$INTERFACE

#BOOTPROTO=dhcp

#ONBOOT=$ONBOOT

#EOF

#            fi



#     if [ -r $CFG ]; then

 # Mandrake Linux and similar

#  if [ "${INTERFACE:0:3}" == "eth" -a -x /sbin/ifplugd ] && ! grep -q '^MII_NOT_SUPPORTED' $CFG; #then

#      IFPLUGD_ARGS="${IFPLUGD_ARGS=-w -b}"

#      debug_mesg invoke ifplugd $INTERFACE

#      exec /sbin/ifplugd $IFPLUGD_ARGS -i $INTERFACE >/dev/null

#  fi

 

I just commented out all the stuff pertaining to ifplugd. /etc/rc.d/init.d/network was slightly more difficult:

 

I changed this:

  if  [ "${DEVICE:0:3}" != "eth" -o ${DEVICE/:/} != ${DEVICE} -o ! -x /sbin/ifplugd ] || grep -q '^MII_NOT_SUPPORTED' ifcfg-$i; then

     action "Bringing up interface %s: " $i ./ifup $DEVICE boot

 else

     IFPLUGD_ARGS="${IFPLUGD_ARGS=-w -b}"

     action "Bringing up interface %s: " $i /sbin/ifplugd $IFPLUGD_ARGS -i $DEVICE

 fi

to

if  [ "${DEVICE:0:3}" != "eth" -o ${DEVICE/:/} != ${DEVICE} -o ! -x /sbin/ifplugd ] || grep -q '^MII_NOT_SUPPORTED' ifcfg-$i; then

     action "Bringing up interface %s: " $i ./ifup $DEVICE boot

 else

     IFPLUGD_ARGS="${IFPLUGD_ARGS=-w -b}"

     action "Bringing up interface %s: " $i ./ifup $DEVICE boot

 fi

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...