LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-18-2005, 04:34 AM   #1
muusle
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 10

Rep: Reputation: 0
Question modprobe issue


Hello good people,

Straight down to the point;

Are (...was) running a Slackware (kernel 2.4.29) installation as a webserver.
The server worked just fine, until today when I - in addition to the existing NIC (PCI, 3c905C) - tried to install another NIC (ISA, 3c509B) in order to use the server as a firewall/router.

Fairly simple I thought ..yea right….

First the LILO fails to boot, showing a never ending stream of 99 99 99 99 99 99 99 99..

Booted up from Slackware installation cd 1, starter my server manually using “bare.i root=/dev/hda1 noinitrd ro”, system booted up fine except of some errors in the boot-up-lines where modprobe complains:
Can't open dependencies file /lib/modules/2.4.29/modules.dep (No such file or directory)

Still, removing the new card will result in a successful boot, as it was the only obvious fail source added recently..
Nope, lilo again start with its 99 99 99 99 streamline.

Anybody have an idea what's wrong?? Suggestion??


. muusle
 
Old 09-18-2005, 04:44 AM   #2
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
when you booted up with the slackware cd were you able to mount and examine the HDD?
 
Old 09-18-2005, 04:50 AM   #3
muusle
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 10

Original Poster
Rep: Reputation: 0
Yup, everything worked fine, accept the network.

Btw:
ifconfig shows only the local interface.
/sbin/lspci shows the presence of the Ethernet controller

. muusle
 
Old 09-18-2005, 04:55 AM   #4
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
what kindof drive do you have? is it a sata drive? do you need to load a module to get it to run? what did you do to try to load the new card? did you change any config files? what does dmesg look like when you boot up with the disk?

Last edited by mAineAc; 09-18-2005 at 04:57 AM.
 
Old 09-18-2005, 05:04 AM   #5
muusle
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 10

Original Poster
Rep: Reputation: 0
- its a IDE drive
- nope, no modules needed

Essentially; the system failed to boot on the first run with the new nic. I haven’t change anything on the “soft side” of the system.
 
Old 09-18-2005, 05:06 AM   #6
mAineAc
Member
 
Registered: Nov 2000
Location: Hermon, ME
Distribution: slackware
Posts: 201

Rep: Reputation: 30
I would reseat cards and make sure cables are reset. looks like it is probably hardware related.
 
Old 09-18-2005, 06:21 AM   #7
muusle
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 10

Original Poster
Rep: Reputation: 0
So it seems.

Although, after resetting, whit or whit out NIC, the same happens, the L 99 99 99 99 stramline on normal boot and network fails when I boot the system from boot cd.


Some debug from the boot-up :

Code:
(…)
Updating module dependencies for Linux 2.4.29
depmod: Can't open /lib/modules/2.4.29/modules.dep for writing
modprobe: Can't open dependencies file /lib/modules/2.4.29/modules.dep (No such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.29/modules.dep (No such file or directory)
(…)
Configuring eth0:
ifconfig eth0 192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0
modprobe: modprobe: Can't open dependencies file /lib/modules/2.4.29/modules.dep (No such file or directory)
SIOCSIFADDR: No such device
modprobe: modprobe: Can't open dependencies file /lib/modules/2.4.29/modules.dep (No such file or directory)
eth0: unkown interface: No such device
SIOCSIFBRDADDR: No such device
modprobe: modprobe: Can't open dependencies file /lib/modules/2.4.29/modules.dep (No such file or directory)
SIOCSIFNETMASK: No such device
SIOCADDRT: Network is unreachable
(…)
 
Old 09-18-2005, 09:40 AM   #8
Erik_FL
Member
 
Registered: Sep 2005
Location: Boynton Beach, FL
Distribution: Slackware
Posts: 821

Rep: Reputation: 258Reputation: 258Reputation: 258
The "99 99 99 99 ... " is a symptom I've seen when the boot block for the linux system has not been updated to reflect changes in the location of the kernel file. If you recompiled the kernel, moved the kernel boot file, or updated something with the boot loader, make sure you did that correctly. If you're using LILO, make sure the lilo.conf file is correct, and has the correct information for the "boot = " and "image =" statements.

Some other things to watch out for when installing new hardware are changes the BIOS might make, causing interrupt or I/O port conflicts with existing devices. Make sure your BIOS hasn't changed the addressing mode of the disk from LBA to Track/Sector mode or incorrectly identified the size of the disk.

Since you said removing the NIC doesn't solve the problem, it is possible something has written over the boot block.
What I suggest, is verify that "/etc/lilo.conf" is correct, and then use the "lilo" command to rewrite the boot block.
If you happen to be doing anything unusual, like booting from Windows using the "BOOTSECT.LNX" file, make sure that file is up to date, and matches the boot block for the Linux partition.
 
Old 09-18-2005, 05:18 PM   #9
muusle
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 10

Original Poster
Rep: Reputation: 0
Hey,

Thanks for the suggestions, got some good clues!

The following steps got the system up and running:

- Boot up with "bare.i root=/dev/hda1 noinitrd ro" with slack cd 1
- pico /etc/lilo.conf
- change this:
Code:
boot = /dev/hda1
...to this:
Code:
boot = /dev/hda
- Then after saving (CTRL + O to save CTRL + X to exit pico)
- Then type lilo -v
- Reboot
- System boots up!

Link to solution (www.slackwarehelp.org)

. muusle
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Modprobe issue on boot (Slackware Zipslack) Mathijs Linux - Newbie 3 02-19-2005 12:10 PM
My system freezes after I issue the "modprobe ndiswrapper" command. markjc Linux - Wireless Networking 1 08-24-2004 09:47 AM
Making modprobe pcspkr stick with modprobe.preload? gm4jjj Fedora 3 06-16-2004 03:27 AM
modprobe: modprobe can't locate module ppp0 in redhat 7.1 while shutting down. cyberdude3k Linux - Networking 1 09-08-2003 12:01 PM
Problems installing Red Hat 7.2 ( Enigma ) - Modprobe issue? David Doyle Linux - Software 4 10-25-2001 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration