LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   network card problem (https://www.linuxquestions.org/questions/linux-newbie-8/network-card-problem-148379/)

amrogers3 02-20-2004 08:54 AM

network card problem
 
I am getting the following error:

eth0 has an alias to module e100 in modules.conf, instead of currently loaded module orinoco_cs

I am using Redhat 9.0 any suggestions on how to handle this?


:confused:

:newbie:

Rounan 02-20-2004 10:53 AM

Is your network useable?
What network card do you have?

What that line's telling you is that your modules.conf is trying to use the e100 driver to run your card, but something somewhere has already loaded the orinoco_cs driver to do the job.

You need to figure out which one is right, and remove the reference to the other one.

--Rounan

amrogers3 02-20-2004 11:28 AM

ok, so it has loaded a different driver?

but when I installed Redhat, it auto detected my network card (intel PRO/100) so I don't understand why this has happened.

Ok, so now my question is how do I remove the reference to the other one?

amrogers3 02-20-2004 12:53 PM

any help on how to fix this problem would be appreciated. thank you.

Rounan 02-20-2004 01:25 PM

Post your modules.conf, and the outputs of lsmod and dmesg.

amrogers3 02-23-2004 11:32 AM

it tool me a while to figure out how to write to a floppy but here is the output of dmesg followed by the output of lsmod and modules.conf. Any suggestions on how I could can change the conf file to recognize the network card would be greatly appreciated. thanks.

dmesg:
[root@localhost root]# dmesg
Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000c0000 - 00000000000cc000 (reserved)
BIOS-e820: 0000000000100000 - 000000000ffec000 (usable)
BIOS-e820: 000000000ffec000 - 000000000fff0000 (reserved
BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
On node 0 totalpages: 65516
zone(0): 4096 pages.
zone(1): 61420 pages.
zone(2): 0 pages.
Kernel command line: ro root=LABEL=/
Initializing CPU#0
Detected 848.158 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1690.82 BogoMIPS
Memory: 252924k/262064k available (1347k kernel code, 6708k reserved, 999k data, 132k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU: Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfc06e, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
PCI: Discovered primary peer bus 08 [IRQ]
PCI: Using IRQ router PIIX [8086/244c] at 00:1f.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2M: IDE controller at PCI slot 00:1f.1
ICH2M: chipset revision 2
ICH2M: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xbfa0-0xbfa7, BIOS settings: hda:DMA, hdb:DMA
hda: IBM-DJSA-220, ATA DISK drive
hdb: TEAC CD-ROM CD-224E, ATAPI CD/DVD-ROM drive
blk: queue c03c9f40, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: host protected area => 1
hda: 39070080 sectors (20004 MB) w/1874KiB Cache, CHS=2432/255/63, UDMA(66)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 147k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 132k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 17:59:01 Mar 13 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:1f.2
PCI: Sharing IRQ 11 with 02:06.0
PCI: Sharing IRQ 11 with 02:0f.0
PCI: Sharing IRQ 11 with 02:0f.1
PCI: Sharing IRQ 11 with 02:0f.2
PCI: Setting latency timer of device 00:1f.2 to 64
usb-uhci.c: USB UHCI at I/O 0xdce0, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,2), internal journal
Adding Swap: 522104k swap-space (priority -1)
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ohci1394: $Rev: 693 $ Ben Collins <bcollins@debian.org>
PCI: Found IRQ 11 for device 02:0f.2
PCI: Sharing IRQ 11 with 00:1f.2
PCI: Sharing IRQ 11 with 02:06.0
PCI: Sharing IRQ 11 with 02:0f.0
PCI: Sharing IRQ 11 with 02:0f.1
ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[11] MMIO=[f8ffd800-f8ffdfff] Max Packet=[2048]
ieee1394: SelfID completion called outside of bus reset!
ieee1394: Host added: Node[00:1023] GUID[464fc0003dbc4801] [Linux OHCI-1394]
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
ip_tables: (C) 2000-2002 Netfilter core team
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 02:06.0
PCI: Sharing IRQ 11 with 00:1f.2
PCI: Sharing IRQ 11 with 02:0f.0
PCI: Sharing IRQ 11 with 02:0f.1
PCI: Sharing IRQ 11 with 02:0f.2
PCI: Found IRQ 11 for device 02:0f.0
PCI: Sharing IRQ 11 with 00:1f.2
PCI: Sharing IRQ 11 with 02:06.0
PCI: Sharing IRQ 11 with 02:0f.1
PCI: Sharing IRQ 11 with 02:0f.2
PCI: Found IRQ 11 for device 02:0f.1
PCI: Sharing IRQ 11 with 00:1f.2
PCI: Sharing IRQ 11 with 02:06.0
PCI: Sharing IRQ 11 with 02:0f.0
PCI: Sharing IRQ 11 with 02:0f.2
Yenta IRQ list 0000, PCI irq11
Socket status: 30000011
Yenta IRQ list 0698, PCI irq11
Socket status: 30000006
Yenta IRQ list 0698, PCI irq11
Socket status: 30000020
cs: cb_alloc(bus 11): vendor 0x8086, device 0x1229
PCI: Enabling device 0b:00.0 (0000 -> 0003)
Intel(R) PRO/100 Network Driver - version 2.1.29-k2
Copyright (c) 2002 Intel Corporation

PCI: Setting latency timer of device 0b:00.0 to 64
e100: selftest OK.
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
hermes.c: 5 Apr 2002 David Gibson <hermes@gibson.dropbear.id.au>
orinoco.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
orinoco_cs.c 0.11b (David Gibson <hermes@gibson.dropbear.id.au> and others)
divert: allocating divert_blk for eth0
eth0: Station identity 001f:0001:0006:000e
eth0: Looks like a Lucent/Agere firmware version 6.14
eth0: Ad-hoc demo mode supported
eth0: IEEE standard IBSS ad-hoc mode supported
eth0: WEP supported, 104-bit key
eth0: MAC address 00:02:2D:14:4F:25
eth0: Station name "HERMES I"
eth0: ready
eth0: index 0x01: Vcc 3.3, irq 11, io 0x0100-0x013f
divert: allocating divert_blk for eth1
e100: eth1: Intel(R) PRO/100 CardBus II
Hardware receive checksums enabled
cpu cycle saver enabled

parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: agpgart: Detected an Intel i815, but could not find the secondary device. Assuming a non-integrated video card.
agpgart: Detected Intel i815 chipset
agpgart: AGP aperture is 64M @ 0xe4000000
[drm] AGP 0.99 on Intel i815 @ 0xe4000000 64MB
[drm] Initialized r128 2.2.0 20010917 on minor 0
PCI: Found IRQ 11 for device 01:00.0
ide-floppy driver 0.99.newide
hdb: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
cdrom: This disc doesn't have any tracks I recognize!
divert: freeing divert_blk for eth1
cs: cb_free(bus 11)
cdrom: This disc doesn't have any tracks I recognize!
cdrom: This disc doesn't have any tracks I recognize!
SCSI subsystem driver Revision: 1.00
udf: registering filesystem
UDF-fs DEBUG lowlevel.c:57:udf_get_last_session: XA disk: yes, vol_desc_start=50099
UDF-fs DEBUG super.c:1421:udf_read_super: Multi-session=50099
UDF-fs DEBUG super.c:410:udf_vrs: Starting at sector 50115 (2048 byte sectors)
UDF-fs DEBUG super.c:437:udf_vrs: ISO9660 Primary Volume Descriptor found
UDF-fs DEBUG super.c:440:udf_vrs: ISO9660 Supplementary Volume Descriptor
found
UDF-fs DEBUG super.c:446:udf_vrs: ISO9660 Volume Descriptor Set Terminator found
UDF-fs: No VRS found
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root


here is the output for lsmod:
[root@localhost root]# lsmod
Module Size Used by Not tainted
nls_cp437 5116 1 (autoclean)
vfat 13004 1 (autoclean)
fat 38808 0 (autoclean) [vfat]
nls_iso8859-1 3516 2 (autoclean)
udf 98400 0 (autoclean)
sg 36524 0 (autoclean) (unused)
scsi_mod 107160 1 (autoclean) [sg]
ide-cd 35708 1 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
r128 88312 1
agpgart 47776 3
parport_pc 19076 1 (autoclean)
lp 8996 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
autofs 13268 0 (autoclean) (unused)
orinoco_cs 5864 1
orinoco 36024 0 [orinoco_cs]
hermes 8196 0 [orinoco_cs orinoco]
e100 60644 0 (unused)
ds 8680 3 [orinoco_cs]
yenta_socket 13472 3
pcmcia_core 57216 0 [orinoco_cs ds yenta_socket]
ipt_REJECT 3928 6 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 15096 2 [ipt_REJECT iptable_filter]
ohci1394 20168 0 (unused)
ieee1394 48780 0 [ohci1394]
keybdev 2944 0 (unused)
mousedev 5492 1
hid 22148 0 (unused)
input 5856 0 [keybdev mousedev hid]
usb-uhci 26348 0 (unused)
usbcore 78784 1 [hid usb-uhci]
ext3 70784 2
jbd 51892 2 [ext3]

Here is the output of the modules.conf
alias eth0 e100
alias sound-slot-0 maestro3
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller usb-uhci
alias ieee1394-controller ohci1394

Rounan 02-25-2004 11:31 AM

Quote:

network config error ( post #1)

getting the following error and do not know what to do, please help.

eth0 has an alias to module e100 in modules.conf, instead of currently loaded module orinoco_cs!

Here is the Exception that it generated:

Component: redhat-config-network
Version: 1.2.0
Summary: TB /usr/src/build/228093-i386/install/usr/lib/python2.2/sre.py:137:search:TypeError: expected string or buffer
Traceback (most recent call last):
File "/usr/sbin/internet-druid", line 149, in ?
interface = NewInterfaceDialog()
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/NewInterfaceDialog.py", line 87, in __init__
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/TokenRingInterface.py", line 41, in __init__
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDeviceList.py", line 210, in getDeviceList
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDeviceList.py", line 117, in load
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/plugins/NCDevWireless.py", line 34, in load
File "/usr/src/build/226257-noarch/install/usr/share/redhat-config-network/netconfpkg/NCWireless.py", line 52, in load
File "/usr/src/build/228093-i386/install/usr/lib/python2.2/sre.py", line 137, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or buffer

Local variables in innermost frame:
pattern: ^s:
flags: 0
string: None

Please provide a little more background and system info...

Orinoco_cs is a PCMCIA wireless network card driver.
e100 is an intel onboard ethernet driver.

Does your system have both?
Are you using a stock kernel, or have you recompiled?

This is a very confused system - it looks to be intializing the e100 driver, and then the orinoco_cs driver happily over top of it.

Also, please don't start new threads on the same issue. be patient. ;)

--Rounan

amrogers3 02-25-2004 12:18 PM

yes the system has both wireless and PCMCIA. I am using the stock kernel and I have not tried to recompile. I am new to Linux and don't know how to do that. I will try anything though and I am trying to learn Linux as much as I can.

Sorry for the double threads, didn't seem to be finding much help on the last thread.

If I knew how to keep it from trying to initialize the wireless, I would be in good shape.

Rounan 02-25-2004 12:51 PM

aha.
System knows what it's doing. modules.conf is confused. ;)
Edit modules.conf:

Change:
Quote:

alias eth0 e100
to read:
alias eth1 e100

and add:
alias eth0 orinoco_cs

Let me know how that goes.

amrogers3 02-25-2004 01:55 PM

well I tried but it's a no go. :(

I don't get the error: eth0 has an alias to module e100 in modules.conf, instead of currently loaded module orinoco_cs!

but I am still getting the exception as listed above.

any other suggestions? I am stumped!

Rounan 02-25-2004 02:05 PM

I have NO idea what that exception means. :(

the only way I know of that will certainly remove the wireless config is to recompile the kernel without supoprt for that module.
But there's gotta be a way to get these things playing nice.

I just don't know what it is. :(

Sorry.

amrogers3 02-25-2004 02:22 PM

thanks Rounan.

Does anyone else any helpful suggestions?

amrogers3 02-25-2004 02:25 PM

I can try and recompile the kernel. How would I go about doing that?

Rounan 02-25-2004 02:50 PM

http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO.html
www.kernel.org
www.kerneltrap.org


All times are GMT -5. The time now is 12:15 AM.