LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-17-2004, 07:32 PM   #1
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
rtl8139 module wont load


I got another nic card today because I was going to turn my Linux box into a router. I installed the nic, but after rebooting the drivers werent there. After a little research, I found I had to recompile the kernel enabling rtl8139, so I did so. After several subsequent recompiles, enabling it as both compiled directly into the kernel and as a module, the module wont load. If this helps, here is the output from (respectively):
ifconfig -a
lspci
lsmod
dmesg
Code:
root@slackdell:/home/scuzzy# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:0D:56:2A:52:F4
          inet addr:***.***.***.***  Bcast:***.***.***.***  Mask:255.255.254.0
          inet6 addr: fe80::20d:56ff:fe2a:52f4/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:289 errors:0 dropped:0 overruns:0 frame:0
          TX packets:325 errors:0 dropped:0 overruns:0 carrier:4
          collisions:0 txqueuelen:1000
          RX bytes:218332 (213.2 Kb)  TX bytes:45893 (44.8 Kb)
          Interrupt:3

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:92 (92.0 b)  TX bytes:92 (92.0 b)

sit0      Link encap:UNSPEC  HWaddr 00-00-00-00-31-00-00-00-00-00-00-00-00-00-00-00
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

root@slackdell:/home/scuzzy# lspci
00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
00:1d.0 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #3 (rev 01)
00:1d.7 USB Controller: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corp. 82801DB (ICH4) LPC Bridge (rev 01)
00:1f.1 IDE interface: Intel Corp. 82801DB (ICH4) Ultra ATA 100 Storage Controller (rev 01)
00:1f.3 SMBus: Intel Corp. 82801DB/DBM (ICH4) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB (ICH4) AC'97 Audio Controller (rev 01)
01:05.0 Modem: Intel Corp.: Unknown device 1080 (rev 04)
01:09.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
root@slackdell:/home/scuzzy# lsmod
Module                  Size  Used by
ipv6                  219008  -
ipt_state               1256  -
ipt_REJECT              5480  -
ipt_limit               1608  -
ipt_LOG                 5896  -
ip_conntrack_irc       70288  -
ip_conntrack_ftp       71152  -
ip_conntrack           38356  -
iptable_filter          1928  -
ip_tables              13952  -
intel_agp              18888  -
ehci_hcd               25132  -
usbcore                98212  -
8250_pci               16104  -
8250                   16928  -
serial_core            17704  -
b44                    17676  -
evdev                   7072  -
ide_scsi               13356  -
scsi_mod               62180  -
agpgart                27080  -
root@slackdell:/home/scuzzy# dmesg
Linux version 2.6.9 (root@slackdell) (gcc version 3.3.4) #1 Wed Nov 17 20:05:25 EST 2004
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000007774000 (usable)
 BIOS-e820: 0000000007774000 - 0000000007776000 (ACPI NVS)
 BIOS-e820: 0000000007776000 - 0000000007797000 (ACPI data)
 BIOS-e820: 0000000007797000 - 0000000007800000 (reserved)
 BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee10000 (reserved)
 BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
119MB LOWMEM available.
On node 0 totalpages: 30580
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 26484 pages, LIFO batch:6
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 DELL                                  ) @ 0x000feb80
ACPI: RSDT (v001 DELL    2400    0x00000007 ASL  0x00000061) @ 0x000fd22a
ACPI: FADT (v001 DELL    2400    0x00000007 ASL  0x00000061) @ 0x000fd25e
ACPI: SSDT (v001   DELL    st_ex 0x00001000 MSFT 0x0100000d) @ 0xfffce4f5
ACPI: MADT (v001 DELL    2400    0x00000007 ASL  0x00000061) @ 0x000fd2d2
ACPI: BOOT (v001 DELL    2400    0x00000007 ASL  0x00000061) @ 0x000fd33e
ACPI: DSDT (v001   DELL    dt_ex 0x00001000 MSFT 0x0100000d) @ 0x00000000
Built 1 zonelists
Kernel command line: BOOT_IMAGE=Linux-2.6 ro root=302
Initializing CPU#0
PID hash table entries: 512 (order: 9, 8192 bytes)
Detected 2657.908 MHz processor.
Using tsc for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 117240k/122320k available (2177k kernel code, 4540k reserved, 931k data, 148k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 5242.88 BogoMIPS (lpj=2621440)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU: After vendor identify, caps:  bfebfbff 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: After all inits, caps:        bfebfbff 00000000 00000000 00000080
CPU: Intel(R) Pentium(R) 4 CPU 2.66GHz stepping 09
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: IRQ9 SCI: Level Trigger.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfbbbf, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040816
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: device 0000:01:04.0 has unknown header type 10, ignoring.
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs *3 4 5 6 7 9 10 11 12 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10 11 12 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 *5 6 7 9 10 11 12 15)
PCI: Using ACPI for IRQ routing
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:02.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 9
ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 9 (level, low) -> IRQ 9
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 5
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 9 (level, low) -> IRQ 9
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 3
ACPI: PCI interrupt 0000:00:1f.3[B] -> GSI 3 (level, low) -> IRQ 3
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 3 (level, low) -> IRQ 3
ACPI: PCI interrupt 0000:01:05.0[A] -> GSI 3 (level, low) -> IRQ 3
ACPI: PCI interrupt 0000:01:09.0[A] -> GSI 3 (level, low) -> IRQ 3
Simple Boot Flag value 0x87 read from CMOS RAM was invalid
Simple Boot Flag at 0x7a set to 0x1
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
vesafb: framebuffer at 0xf0000000, mapped to 0xc8080000, size 832k
vesafb: mode is 1024x768x8, linelength=1024, pages=0
vesafb: protected mode interface info at 00ff:44f0
vesafb: scrolling: redraw
vesafb: Pseudocolor: size=8:8:8:8, shift=0:0:0:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Real Time Clock Driver v1.12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Using anticipatory io scheduler
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.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 9 (level, low) -> IRQ 9
ICH4: chipset revision 1
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: WDC WD400BB-75DEA0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: Lite-On LTN486S 48x Max, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
hda: max request size: 128KiB
hda: Host Protected Area detected.
        current capacity is 78125000 sectors (40000 MB)
        native  capacity is 78165360 sectors (40020 MB)
hda: 78125000 sectors (40000 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes not supported
 hda: hda1 hda2 hda3
hdc: ATAPI 48X CD-ROM drive, 120kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1
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: automatically using best checksumming function: pIII_sse
   pIII_sse  :  3420.000 MB/sec
raid5: using function: pIII_sse (3420.000 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S3 S4 S5)
ACPI wakeup devices:
VBTN PCI0 USB0 USB1 USB2 PCI1 PCI2  KBD
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 148k freed
Adding 265064k swap on /dev/hda3.  Priority:-1 extents:1
EXT3 FS on hda2, internal journal
Linux agpgart interface v0.100 (c) Dave Jones
SCSI subsystem initialized
b44.c:v0.94 (May 4, 2004)
ACPI: PCI interrupt 0000:01:09.0[A] -> GSI 3 (level, low) -> IRQ 3
eth0: Broadcom 4400 10/100BaseT Ethernet 00:0d:56:2a:52:f4
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ACPI: PCI interrupt 0000:01:05.0[A] -> GSI 3 (level, low) -> IRQ 3
ttyS5 at I/O 0xde08 (irq = 3) is a 16450
ttyS6 at I/O 0xde10 (irq = 3) is a 8250
ttyS7 at I/O 0xde18 (irq = 3) is a 16450
ttyS1 at I/O 0xde20 (irq = 3) is a 8250
ttyS2 at I/O 0xde28 (irq = 3) is a 8250
hw_random: RNG not detected
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 5 (level, low) -> IRQ 5
ehci_hcd 0000:00:1d.7: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 5, pci mem c803e800
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
agpgart: Detected an Intel 845G Chipset.
agpgart: Maximum main memory to use for agp memory: 86M
agpgart: Detected 892K stolen memory.
agpgart: AGP aperture is 128M @ 0xf0000000
hw_random: RNG not detected
hw_random: RNG not detected
hw_random: RNG not detected
hw_random: RNG not detected
hw_random: RNG not detected
hw_random: RNG not detected
b44: eth0: Link is down.
hw_random: RNG not detected
hw_random: RNG not detected
hw_random: RNG not detected
hw_random: RNG not detected
hw_random: RNG not detected
hw_random: RNG not detected
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (955 buckets, 7640 max) - 300 bytes per conntrack
DROPPED IN=eth0 OUT= MAC=00:0d:56:2a:52:f4:00:d0:88:00:cb:d5:08:00 SRC=70.245.146.174 DST=68.235.47.87 LEN=809 TOS=0x00 PREC=0x00 TTL=110 ID=58037 PROTO=UDP SPT=12883 DPT=1026 LEN=789
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
mtrr: 0xf0000000,0x8000000 overlaps existing 0xf0000000,0x80000
eth0: no IPv6 routers present
ABORTED IN=eth0 OUT= MAC=00:0d:56:2a:52:f4:00:d0:88:00:cb:d5:08:00 SRC=205.188.176.69 DST=68.235.47.87 LEN=40 TOS=0x00 PREC=0x00 TTL=106 ID=13201 DF PROTO=TCP SPT=5190 DPT=1029 SEQ=3996540361 ACK=1149498365 WINDOW=16384 RES=0x00 ACK RST URGP=0
ABORTED IN=eth0 OUT= MAC=00:0d:56:2a:52:f4:00:d0:88:00:cb:d5:08:00 SRC=205.188.176.69 DST=68.235.47.87 LEN=40 TOS=0x00 PREC=0x00 TTL=106 ID=13208 DF PROTO=TCP SPT=5190 DPT=1029 SEQ=3996540361 ACK=1149498365 WINDOW=16384 RES=0x00 ACK RST URGP=0
ABORTED IN=eth0 OUT= MAC=00:0d:56:2a:52:f4:00:d0:88:00:cb:d5:08:00 SRC=64.233.171.99 DST=68.235.47.87 LEN=40 TOS=0x00 PREC=0x00 TTL=240 ID=52965 PROTO=TCP SPT=80 DPT=1040 SEQ=3374463218 ACK=1233255020 WINDOW=8201 RES=0x00 RST URGP=0
root@slackdell:/home/scuzzy#
Where the *** are is my correct IP, just censored. and the bold text after ifconfig might be more helpful than the rest.
 
Old 11-17-2004, 08:11 PM   #2
Steel_J
Member
 
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Linux Mint 21.3 Cinnamon
Posts: 359
Blog Entries: 1

Rep: Reputation: 31
Can you make sure the NIC works ok in another PC first?

You have to rule out malfunction first. The RTL8139 is a VERY common network card chipset and it should work out of the box as a module or compiled in.
 
Old 11-17-2004, 08:16 PM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
Yes, it works in another PC - the card is fine.
 
Old 11-18-2004, 05:44 AM   #4
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
A little more added info - neither of these work either:
Code:
modprobe rtl8139too
insmod rtl8139too
they produce non-module errors.
Also, there are a few bugs listed in kernel.org (here, but none of them apply to me.
 
Old 11-18-2004, 10:05 PM   #5
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Original Poster
Rep: Reputation: 47
resolution: bad PCI slot
changed that - no problems with it
now for configuring forwarding... wish me luck
 
Old 11-18-2004, 11:45 PM   #6
Steel_J
Member
 
Registered: Oct 2004
Location: Montreal, Canada
Distribution: Linux Mint 21.3 Cinnamon
Posts: 359
Blog Entries: 1

Rep: Reputation: 31
That was my next suggestion, swap PCI slot.

It works with many PCI peripherals conflicts.

You worked out your own answer. Sometimes posting makes us think outloud and gets us around to fix it.

I do wish you luck then.
 
  


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
Gigafast WF741-UHI wireless thumb drive driver module wont load on MDK 10.1. RHLinuxGUY Mandriva 0 11-08-2004 10:43 PM
nvidia driver 5328 redhat 9 module wont load restlekak Linux - Hardware 1 01-24-2004 02:21 PM
USB module wont load!! gazzer82 Linux - Hardware 1 01-07-2004 03:07 PM
Network Card Module wont load. Druaga Linux - Hardware 4 06-05-2003 09:21 AM
module wont load cinders Linux - Newbie 10 10-13-2002 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:48 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