Click to See Complete Forum and Search --> : Various minor problems to iron out (during boot)


netsparc
08-22-2003, 05:46 PM
I have all kinds of messages that pop up when they shouldn't when I boot. I'm trying to tackle them one at a time, since I'm probably not experienced enough to do it in under an hour with out help. I decided it wouldn't help to post my dmesg output. If there are any other files (I noticed dmesg isn't exactly like the boot output) I can post them too.

dmesg output is attached


I get an error like this about 20 times:


/lib/modules/2.4.20-gentoo-r6/kernel/drivers/net/e100/e100.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/net/e100/e100.o: insmod /lib/modules/2.4.20-gentoo-r6/kernel/drivers/net/e100/e100.o failed
/lib/modules/2.4.20-gentoo-r6/kernel/drivers/net/e100/e100.o: insmod e100 failed

When it shuts down it says gdm failed to halt or something like that too.



Hey you! Thanks for reading my thread ;).

Hayl
08-22-2003, 06:01 PM
do you have a network card that uses that module?

bosox79
08-22-2003, 06:22 PM
Originally posted by Hayl
do you have a network card that uses that module?

yes do you? it looks like you are trying to load a module for a card that you don't have installed or that Linux does not recognize:)

rid3r
08-22-2003, 07:11 PM
you should try as root:
/sbin/modinfo e100
It will tell you that it's a "Intel(R) PRO/100 Network Driver" (an Intel PCI Ethernet adapter).
Take a look here http://www.scyld.com/network/eepro100.html (found it in your dmesg) for more info on the driver.
In case that kernel identified your ethernet card wrong, than you should add "alias e100 off" to the /etc/modules.conf and "alias the_right_module on".

added:
/sbin/lspci -v ; cat /proc/pci will list all your PCI devices
Sometimes changing a card to a different slot does wonders (in case of IRQ conflicts).

netsparc
08-22-2003, 10:48 PM
I should have an intel e100 chipset in my m300.

I forgot to include that I have a compaq armada m300 laptop (http://www.uni-bonn.de/~dburose/linin1.htm)

netsparc
08-22-2003, 10:56 PM
Here's what /sbin/lspci -v;cat /proc/pci shows me about my ethernet card:

00:09.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 09)
Subsystem: Intel Corp. EtherExpress PRO/100+ MiniPCI
Flags: bus master, medium devsel, latency 66, IRQ 11
Memory at 41180000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 2800 [size=64]
Memory at 41000000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at <unassigned> [disabled] [size=1M]
Capabilities: [dc] Power Management version 2

<--snip-->

Bus 0, device 9, function 0:
Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 9).
IRQ 11.
Master Capable. Latency=66. Min Gnt=8.Max Lat=56.
Non-prefetchable 32 bit memory at 0x41180000 [0x41180fff].
I/O at 0x2800 [0x283f].
Non-prefetchable 32 bit memory at 0x41000000 [0x4101ffff].



I'm also wondering why it says keyboard timed out in my dmesg. I think it delays x from loading quickly.

netsparc
08-22-2003, 11:25 PM
lsmod shows eepro100 as the current loaded module and I checked its modinfo so I'm going to see if


this change will work:

root # cat /etc/modules.autoload.d/kernel-2.4
# /etc/modules.autoload.d/kernel-2.4: kernel modules to load when system boots.# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/modules.autoload.d/kernel-2.4,v 1.1 2003/03/09 09:06:23 azarah Exp $
#
# Note that this file is for 2.4 kernels. If you need different modules
# for a 2.5 kernel, you can create /etc/modules.autoload.d/kernel-2.5
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line. Comments begin with # and
# are ignored. Read man modules.autoload for additional details.

# For example:
# 3c59x
# ACPI Modules:
#processor
#fan
#battery
#ac
#thermal
#button
# APM:
apm
# Ethernet Modules:
alias e100 off
alias eepro100 on

Edit: It said something about alias failed to load etc and when I booted there was

eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
Keyboard timed out[1]

and
root# lsmod
...
e100 50452 1
...

netsparc
08-23-2003, 12:20 AM
Ok, I'm making progress here.

I fixed the e100 errors by adding e100 to '/etc/hotplug/blacklist'
I fixed the Alsa driver is not loaded error by using 'emerge alsa-drivers' to reinstall them after my last kernel config

Heres what remains to be fixed:

*Grub boot menu is a small box instead of being screen sized
*dmesg | grep timed
Keyboard timed out[1]
Keyboard timed out[1]
Keyboard timed out[1]
Keyboard timed out[1]
*When I shut down, gdm says it had an error while halting
*when choosing reboot from gnome's logout menu before being logged out, it just logs me out
*fsck says something about not being able to run at boot (fixed)
*dmesg | grep kmod
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2


as you can see, I have quit a few minor adjustments to be made and probably more.