Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.