LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-22-2006, 12:04 PM   #1
sonisumit84
LQ Newbie
 
Registered: Dec 2005
Location: IIPS, Indore, INDIA
Distribution: Slackware 10.0 kernel 2.4.26
Posts: 10

Rep: Reputation: 0
ethernet card module not known


Hello all,

i have Realtek RtL-8139d PCI Fast Ethernet Adapter.

#lspci is showing the following entry for it:
Ethernet controller; Unknown device 1904:2031(rev 01)

i tried removing and then again plugging in but not finding any module for it.

#ifconfig
too is not telling anything about the module.
So how should i proceed ???

regards
 
Old 03-22-2006, 01:26 PM   #2
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 770

Rep: Reputation: 66
It always helps to mention what OS you have, eg Slackware 10.2, and which kernel you are currently using...

try modprobe 8139too as root, and let us know the response...

tobyl
 
Old 03-25-2006, 03:56 AM   #3
sonisumit84
LQ Newbie
 
Registered: Dec 2005
Location: IIPS, Indore, INDIA
Distribution: Slackware 10.0 kernel 2.4.26
Posts: 10

Original Poster
Rep: Reputation: 0
hi all...

i ve slackware 10.0 ...

n #modprobe 8139too gives me this output...

1. init_module : No such device
2. Hint : insmode errors can be caused by incorrect module
parameters, including invalid IO or IRQ parameters.
you may find more information in syslog or output frm dmesg.
3. insmode/lib/modules/2.4.26/kernal/drivers/net 8139too.0.92
failed.
4. insmode 8139too failed.


tell me wat to do.???

regards....
 
Old 03-25-2006, 06:16 PM   #4
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 770

Rep: Reputation: 66
have you got a standard slackware kernel, or did you build your own? The module I mentioned is included by default in the slack 10.0 bare.i kernel.

see if the module 8139too.o exists

this 'may' help:

find /lib/modules/2.4.26/ -name 8139*

if the module does exist, check your typing!
if not, do more research, but I think you will need to recompile with 8139too as a module.


from kernel docs:

config 8139TOO
tristate "RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support"
depends on NET_PCI && PCI
select CRC32
select MII
---help---
This is a driver for the Fast Ethernet PCI network cards based on
the RTL 8129/8130/8139 chips. If you have one of those, say Y and
read the Ethernet-HOWTO <http://www.tldp.org/docs.html#howto>.

To compile this driver as a module, choose M here: the module
will be called 8139too. This is recommended.


HTH tobyl
 
Old 03-26-2006, 08:49 AM   #5
sonisumit84
LQ Newbie
 
Registered: Dec 2005
Location: IIPS, Indore, INDIA
Distribution: Slackware 10.0 kernel 2.4.26
Posts: 10

Original Poster
Rep: Reputation: 0
hi,

i tried adding the module in /etc/modules.conf.
i added the following line
Quote:
alias eth0 8139too
and accordingly made changes in /etc/rc.d/rc.inet1.conf for the entry of "eth0".
then i restarted the network services.

Quote:
root@soni:~# /etc/rc.d/rc.inet1 stop
root@soni:~# /etc/rc.d/rc.inet1 start
Note: /etc/modules.conf is more recent than /lib/modules/2.4.26/modules.dep
/lib/modules/2.4.26/kernel/drivers/net/8139too.o.gz: init_module: No such device
/lib/modules/2.4.26/kernel/drivers/net/8139too.o.gz: 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.26/kernel/drivers/net/8139too.o.gz: insmod /lib/modules/2.4.26/kernel/drivers/net/8139too.o.gz failed
/lib/modules/2.4.26/kernel/drivers/net/8139too.o.gz: insmod eth0 failed
root@soni:~#

contents of config file:

Quote:
# CONFIG_NE3210 is not set
# CONFIG_ES3210 is not set
CONFIG_8139CP=m
CONFIG_8139TOO=m
# CONFIG_8139TOO_PIO is not set
CONFIG_8139TOO_TUNE_TWISTER=y
CONFIG_8139TOO_8129=y
# CONFIG_8139_OLD_RX_RESET is not set
CONFIG_SIS900=m
its already there as module.......so what should i do now ???

regards
 
Old 03-26-2006, 09:01 AM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,220
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
#lspci is showing the following entry for it:
Ethernet controller; Unknown device 1904:2031(rev 01)
It seems that there is something wrong with your nic. Try to disable PnP from your computer BIOS to see if it gets recognized by lspci. Also take a look at the output of:
Code:
dmesg
to see if there is something wrong about the device and/or irqs.
Only if you get your nic recognized by your kernel (i.e. reported correctly by lspci) you can insert the module (8139too) into the kernel to configure it.
 
Old 03-26-2006, 09:05 AM   #7
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
It seems that there is something wrong with your nic.
If the problem is with the NIC then how its working properly on windows ???

regards
 
Old 03-26-2006, 09:13 AM   #8
p0f
Member
 
Registered: Feb 2006
Distribution: slackware-current
Posts: 36

Rep: Reputation: 15
Hi

This is just a wild guess, but perhaps you're using different modules than what the kernel was built against?

And as the last poster stated, it could be something to do with you're bios, it sometimes happens when you have pnp enabled on the bios, even though windows will recognise it, it may not work under linux.

Regards
 
Old 03-26-2006, 09:30 AM   #9
sonisumit84
LQ Newbie
 
Registered: Dec 2005
Location: IIPS, Indore, INDIA
Distribution: Slackware 10.0 kernel 2.4.26
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by p0f
Hi

This is just a wild guess, but perhaps you're using different modules than what the kernel was built against?

And as the last poster stated, it could be something to do with you're bios, it sometimes happens when you have pnp enabled on the bios, even though windows will recognise it, it may not work under linux.

Regards
pnp is already disabled (no) there in BIOS.

what to do now ???

regards
 
Old 03-26-2006, 09:55 AM   #10
p0f
Member
 
Registered: Feb 2006
Distribution: slackware-current
Posts: 36

Rep: Reputation: 15
Hi

Try modprobe 8139cp see if that works

It would be an idea to post your dmeg so we can see what its being detected at boot up.


Regards
 
Old 03-26-2006, 10:01 AM   #11
sonisumit84
LQ Newbie
 
Registered: Dec 2005
Location: IIPS, Indore, INDIA
Distribution: Slackware 10.0 kernel 2.4.26
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by p0f
Hi

Try modprobe 8139cp see if that works

It would be an idea to post your dmeg so we can see what its being detected at boot up.


Regards
i already tried for 8139cp.......it too generated the same errors.
now let me check for dmesg.
 
Old 03-26-2006, 10:34 AM   #12
p0f
Member
 
Registered: Feb 2006
Distribution: slackware-current
Posts: 36

Rep: Reputation: 15
Oh another thing I just thought of, I used to sometimes have similar problems with old hardware, it could be worth trying to put the NIC into another slot on your motherboard.




Regards
 
Old 03-26-2006, 10:39 AM   #13
sonisumit84
LQ Newbie
 
Registered: Dec 2005
Location: IIPS, Indore, INDIA
Distribution: Slackware 10.0 kernel 2.4.26
Posts: 10

Original Poster
Rep: Reputation: 0
hi,

the dmesg | more gives me this out put.......

Now i'll try to change the lan card slot......

:
Linux version 2.4.26 (root@tree) (gcc version 3.3.4) #6 Mon Jun 14 19:07:27 PDT
2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000dff0000 (usable)
BIOS-e820: 000000000dff0000 - 000000000dff3000 (ACPI NVS)
BIOS-e820: 000000000dff3000 - 000000000e000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
223MB LOWMEM available.
On node 0 totalpages: 57328
zone(0): 4096 pages.
zone(1): 53232 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=309
Initializing CPU#0
Detected 1599.983 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 3191.60 BogoMIPS
Memory: 223588k/229312k available (1844k kernel code, 5336k reserved, 618k data,
120k 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: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 256K
CPU: After generic, caps: 3febf9ff 00000000 00000000 00000000
CPU: Common caps: 3febf9ff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 1.60GHz stepping 02
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 0xfb170, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/3177] at 00:11.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
vesafb: framebuffer at 0xd8000000, mapped to 0xce80d000, size 1536k
vesafb: mode is 1024x768x8, linelength=1024, pages=40
vesafb: protected mode interface info at c000:6e5d
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_I
RQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10f
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci00:11.1
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdcio, hddMA
hda: SAMSUNG SP0802N, ATA DISK drive
blk: queue c03b3360, I/O limit 4095Mb (mask 0xffffffff)
hdd: SAMSUNG CD-ROM SC-152C, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 156368016 sectors (80060 MB) w/2048KiB Cache, CHS=9733/255/63, UDMA(33)
hdd: attached ide-cdrom driver.
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 >
SCSI subsystem driver Revision: 1.00
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
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 1826.400 MB/sec
32regs : 1156.400 MB/sec
pIII_sse : 2072.000 MB/sec
pII_mmx : 1838.400 MB/sec
p5_mmx : 1820.400 MB/sec
raid5: using function: pIII_sse (2072.000 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.8(17/11/2003)
Initializing Cryptographic API
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.
FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device ide0(3,9)) ...
for (ide0(3,9))
ide0(3,9):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 570268k swap-space (priority -1)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 176M
agpgart: Detected Via Apollo P4M266 chipset
agpgart: AGP aperture is 128M @ 0xd0000000
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Intel ISA PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
ds: no socket drivers loaded!
8139too Fast Ethernet driver 0.9.26
via82xx: Assuming DXS channels with 48k fixed sample rate.
Please try dxs_support=1 or dxs_support=4 option
and report if it works on your machine.
PCI: Found IRQ 11 for device 00:11.5
PCI: Sharing IRQ 11 with 00:10.2
PCI: Setting latency timer of device 00:11.5 to 64
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 3 for device 00:10.3
IRQ routing conflict for 00:10.3, have irq 5, want irq 3
ehci_hcd 00:10.3: VIA Technologies, Inc. USB 2.0
ehci_hcd 00:10.3: irq 5, pci mem ceb95000
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 6 ports detected
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 5 for device 00:10.0
uhci.c: USB UHCI at I/O 0xd400, IRQ 5
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:10.1
PCI: Sharing IRQ 11 with 00:09.0
uhci.c: USB UHCI at I/O 0xd800, IRQ 11
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:10.2
PCI: Sharing IRQ 11 with 00:11.5
uhci.c: USB UHCI at I/O 0xdc00, IRQ 11
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2
 
Old 03-26-2006, 11:24 AM   #14
p0f
Member
 
Registered: Feb 2006
Distribution: slackware-current
Posts: 36

Rep: Reputation: 15
Quote:
8139too Fast Ethernet driver 0.9.26
Well its being picked up according to your dmeg, but its weird that modpobing 8139too is giving you errors, I really cant think of any solution unless someone else here has come across this particular problem.

It could be like the previous poster said, a conflict with another device.

You could try a number of things, change the NIC into another slot, try switching pnp on in the bios and probably a last resort is upgrade the kernel and modules to 2.4.32.

Sorry I couldnt help you any further.
 
Old 03-26-2006, 02:43 PM   #15
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 770

Rep: Reputation: 66
I did a bit of searching but all I could come up with is others having the same problems as yourself

see

http://forums.fedoraforum.org/forum/...t=87760&page=2

it does not look as if this revision of the 8139 is supported in linux (at least when the thread above took place)

sorry to bring bad news. In the thread it indicates that the OP got it working with ndiswrapper (normally used for wireless cards)

You might want to hold on for a more knowledgeable poster, try ndiswrapper, or maybe splash out on another card (you can get them pretty cheap these days)

tobyl
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Binding a ethernet module to a NIC RickRalph Linux - Networking 1 03-31-2005 05:00 AM
Ethernet module Pipedream Linux - Newbie 2 02-06-2005 06:57 PM
Arch 0.7 via-velocity ethernet module? shoddy Arch 3 08-31-2004 02:37 PM
Ethernet card on laptop: I installed my D-Link ethernet card into Redhat 9, not detec brighamr Linux - Hardware 0 05-18-2004 01:33 AM
ethernet module errors snocked Slackware 3 05-22-2003 07:00 PM

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

All times are GMT -5. The time now is 11:19 PM.

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