public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: Re: net (& module, I guess) problems after dist-upgrade
Date: Sat, 12 Jun 2004 20:57:58 -0700	[thread overview]
Message-ID: <5.1.0.14.1.20040612204315.02004830@celine> (raw)
In-Reply-To: <Pine.LNX.4.58.0406121719540.1071@debian-emach>

At 05:36 PM 6/12/2004 -0500, James Miller wrote:
>Well, I took your advice and dist-upgraded Ray.  Now I know why I was not
>very anxious to do it :).  A problem occured with kernel modules during
>the dist-upgrade.  From memory, it was something like the new modules
>couldn't be configured until after the system was rebooted: somehow the
>fact that the running kernel was using modules was going to interfere.
>The message made it sound like this generation was going to be done
>automatically on next boot (and it was pretty stern about warning me to
>reboot).  I took that advice: however, also in the wake of the
>dist-upgrade there was a lilo problem.  I've got sort of a complex boot
>menu, and decided I'd need to get in there and hand-edit it.  I did.
>But, as fate would have it, I made a minor goof-up and couldn't fully boot
>when I sent the system down (the initrd.img symlink wasn't pointing to the
>right initrd.img).  But I did manage to reboot with the old kernel after
>the new one rebooting failed and to straighten out that mistake.  It was
>at that point that I spotted the fearful message "eth0 ERROR while getting
>interface flags: no such device."  And, sure enough, there was no net
>connection.  And there was no process automatically running to straighten
>out whatever module problem had occured in the dist-upgrade.  Tried
>booting a yet older kernel, but with the same eth0 error.  Thinking maybe
>the card had gone south, I booted Knoppix (can someone send that guy a
>purple heart or something?).  eth0 came up fine under Knoppix.  I ran
>lsmod there to see what modules my NIC is using.  Booted back to the
>dist-upgraded Debian, modprobed those modules and ran ifup -a - and here I
>am on the 'net again.  But this is obviously not the real solution to the
>problem.  This has all been a long-winded preface to the question: what
>the heck I gotta do to get my NIC modules back to loading on boot? Am I
>gonna run into other module problems as well?  What's the way to start
>this process that gets the module loading routine working as it should be?
>I think there was a reference to modules.dep or maybe modules.conf in that
>message I saw during dist-upgrade.  But there was definitely nothing there
>telling me how I could manually start the process that couldn't finish
>during dist-upgrade.  Any pointers, please?
>
>Thanks, James
>
>PS Most of the above refers to having booted using the new kernel (2.6.6,
>though some of those boots were with the old 2.6.5 kernel and one was even
>with the 2.4.22 kernel).  None of those were able to use eth0 and gave the
>same error message during the boot process.

OK. This general description is pretty hard to follow. I imagine you were 
pretty upset when you wrote it. If you want help with the general problem 
you experienced, you'll need to repost a more exact description.

But the immediate problem is getting the NIC module(s) to load during 
boot/init . To accomplish that, add the name(s) of the module(s) to 
/etc/modules . One of the init scripts (I forget which one) will modprobe 
every module in /etc/modules, in the order in which they appear there.

You list each module you want loaded by name, without the.o (or whatever 
2.6.x uses) suffix.

The problem you are encountering **may** be an outdated or incomplete 
listing of module dependencies. If you modprobe'd each invidivually and in 
the right order, you simply bypassed this problem in your hand install. The 
way to get this cleaned up is to run "depmod -a", which will rebuild the 
appropriate modules.dep file. The init script I referred to above -- I 
checked and it is /etc/init.d/modutils -- is supposed to do this for you 
during init.



-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2004-06-13  3:57 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-11 21:01 Debian Sid startup problems James Miller
2004-06-11 23:15 ` Ray Olszewski
2004-06-12  1:05   ` James Miller
2004-06-12  1:55     ` Ray Olszewski
2004-06-12  2:21       ` James Miller
2004-06-12  3:12         ` James Miller
2004-06-12  4:36           ` James Miller
2004-06-12  5:08             ` Ray Olszewski
2004-06-12 16:20               ` James Miller
2004-06-12 18:04                 ` chuck gelm
2004-06-12 18:10                   ` James Miller
2004-06-12 18:47                     ` James Miller
2004-06-12 18:32                 ` Ray Olszewski
2004-06-12 19:04                   ` James Miller
2004-06-12 19:27                     ` Ray Olszewski
2004-06-12 19:50                       ` James Miller
2004-06-12 22:36                         ` net (& module, I guess) problems after dist-upgrade James Miller
2004-06-13  3:57                           ` Ray Olszewski [this message]
2004-06-14 15:01                             ` James Miller
2004-06-14 16:35                               ` Ray Olszewski
2004-06-14 17:33                                 ` James Miller
2004-06-14 18:06                                   ` James Miller
2004-06-14 18:50                                     ` Ray Olszewski
2004-06-14 19:13                                       ` James Miller
2004-06-14 22:44                                         ` James Miller
2004-06-14 19:25                                       ` pa3gcu
2004-06-13  4:43                           ` joy
2004-06-12  1:36   ` Debian Sid startup problems James Miller
2004-06-12  2:07     ` Ray Olszewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20040612204315.02004830@celine \
    --to=ray@comarre.com \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox