LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   10.2 not detecting network card (https://www.linuxquestions.org/questions/slackware-14/10-2-not-detecting-network-card-368004/)

jnsg 09-28-2005 10:47 PM

10.2 not detecting network card
 
Hi, I've just installed 10.2 after having messed (a little bit) with 10.1 until now. When I installed 10.1, it let me set up my network fine and I was able to get online. However, after installing 10.2 this wasn't the case. The installation including the network setup went exactly the same, but I couldn't get online with a browser. I ran netconfig and this time it asked if I wanted it to probe for my network card. It had never done this before in 10.1 or 10.2 install but I said yes. Then it told me it couldn't detect anything. So now I'm without a network connection, what changed?

zhizaki 09-28-2005 10:49 PM

What type of network card do you have? Have you recompiled the kernel since or before your upgrade?

MMYoung 09-28-2005 10:59 PM

Look at /etc/hotplug/firmware.agent and see if it is executable. If it is, try this:

chmod -x /etc/hotplug/firmware.agent

Reboot and see what happens.

HTH,
MMYoung

jnsg 09-28-2005 11:21 PM

-My network card is integrated, I have an Intel 855GME chipset, so it's whatever came with that.
-I have never compiled a kernel in my life. The 10.2 install was completely from scratch, I selected the default kernel just like when I installed 10.1.
-/etc/hotplug/firmware.agent was indeed executable, and I un-executabled it. Then I rebooted. Nothing. So I ran netconfig again. Still nothing.

Thanks for the quick replies though.

MMYoung 09-28-2005 11:24 PM

Quote:

Originally posted by jnsg
-My network card is integrated, I have an Intel 855GME chipset, so it's whatever came with that.
My bad, I thought you had a wireless setup. It's late and I need sleep, sorry.

MMYoung

mcd 09-28-2005 11:30 PM

post up your dmesg, lspci, lsmod, and i suppose ifconfig and the contents of /etc/rc.d/rc.inet1.conf. that will give us a place to start. =)

jnsg 09-29-2005 12:10 AM

OK here we go, some nice long outputs:
dmesg:
Code:

Linux version 2.4.31 (root@tree) (gcc version 3.3.5) #6 Sun Jun 5 19:04:47 PDT 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000ce000 - 00000000000d0000 (reserved)
 BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001eee0000 (usable)
 BIOS-e820: 000000001eee0000 - 000000001eeec000 (ACPI data)
 BIOS-e820: 000000001eeec000 - 000000001ef00000 (ACPI NVS)
 BIOS-e820: 000000001ef00000 - 0000000020000000 (reserved)
 BIOS-e820: 00000000fec10000 - 00000000fec20000 (reserved)
 BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved)
 BIOS-e820: 00000000fffffc00 - 0000000100000000 (reserved)
494MB LOWMEM available.
On node 0 totalpages: 126688
zone(0): 4096 pages.
zone(1): 122592 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Slackware-Linux ro root=302
Initializing CPU#0
Detected 1598.666 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 3191.60 BogoMIPS
Memory: 498056k/506752k available (1832k kernel code, 8308k reserved, 607k data, 120k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU:    After generic, caps: afe9f9bf 00000000 00000000 00000000
CPU:            Common caps: afe9f9bf 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) M processor 1.60GHz 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 0xfd792, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BAM/CAM PCI Bridge
PCI: Using IRQ router PIIX/ICH [8086/24cc] at 00:1f.0
PCI: Found IRQ 6 for device 00:1f.1
PCI: Sharing IRQ 6 with 00:1d.2
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 0xe8000000, mapped to 0xdf80d000, size 3072k
vesafb: mode is 1024x768x16, linelength=2048, pages=9
vesafb: protected mode interface info at a5f3:1f5f
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
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_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
PCI: Found IRQ 10 for device 00:1f.6
PCI: Sharing IRQ 10 with 00:1f.3
PCI: Sharing IRQ 10 with 00:1f.5
PCI: Sharing IRQ 10 with 02:04.0
Real Time Clock Driver v1.10f
floppy0: no floppy controllers found
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
ICH4: IDE controller at PCI slot 00:1f.1
PCI: Enabling device 00:1f.1 (0005 -> 0007)
PCI: Found IRQ 6 for device 00:1f.1
PCI: Sharing IRQ 6 with 00:1d.2
ICH4: chipset revision 3
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1810-0x1817, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1818-0x181f, BIOS settings: hdc:DMA, hdd:pio
hda: TOSHIBA MK8025GAS, ATA DISK drive
blk: queue c03af460, I/O limit 4095Mb (mask 0xffffffff)
hdc: MATSHITAUJ-831D, 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: 156301488 sectors (80026 MB), CHS=9729/255/63, UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI 24X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 hda: hda1 hda2 hda3
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    :  2956.000 MB/sec
  32regs    :  1887.600 MB/sec
  pIII_sse  :  4090.000 MB/sec
  pII_mmx  :  4296.400 MB/sec
  p5_mmx    :  4287.600 MB/sec
raid5: using function: pIII_sse (4090.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 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
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,2)) ...
for (ide0(3,2))
ide0(3,2):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 120k freed
Adding Swap: 996020k swap-space (priority -1)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 423M
agpgart: Detected an Intel(R) 855GME Chipset.
agpgart: Detected 16252K stolen memory.
agpgart: AGP aperture is 128M @ 0xe8000000
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
PCI: Found IRQ 10 for device 00:1f.5
PCI: Sharing IRQ 10 with 00:1f.3
PCI: Sharing IRQ 10 with 00:1f.6
PCI: Sharing IRQ 10 with 02:04.0
PCI: Setting latency timer of device 00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 44830 usecs
intel8x0: clocking to 48000
mtrr: no more MTRRs available
mtrr: no more MTRRs available

lspci:
Code:

00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
02:02.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
02:04.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
02:06.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
02:06.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
02:06.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller

lsmod:
Code:

Module                  Size  Used by    Not tainted
snd-pcm-oss            36736  0  (unused)
snd-mixer-oss          12376  0  [snd-pcm-oss]
snd-intel8x0          18304  0
snd-ac97-codec        58556  0  [snd-intel8x0]
snd-pcm                54344  0  [snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer              13764  0  [snd-pcm]
snd                    32772  0  [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer]
soundcore              3396  4  [snd]
snd-page-alloc          4712  0  [snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd]
ide-scsi                9392  0
agpgart                45508  0  (unused)

ifconfig:
Code:

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  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)

And, apparently /etc/rc.d/rc.inet1.conf doesn't exist.

mcd 09-29-2005 12:39 AM

well, this looks like your ethernet card:

Quote:

02:02.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
and this is your problem:

Quote:

And, apparently /etc/rc.d/rc.inet1.conf doesn't exist.
are you sure it's not there? what do you have in /etc/rc.d? if it's really not there, then i suppose you need to reinstall...hmm. www.slackware.com lists tcpip-0.17-i486-35 (i think). do you have slackpkg installed? if you do just type

su -
(password)
slackpkg remove tcpip
slackpkg install tcpip

it'll prompt you in both cases, just say yes. otherwise, you can do this with pkgtool. enter pkgtool, choose to "remove", find tcpip, select it with spacebar, and then hit enter. then put in your slackware install disc (i'm guessing disc 1, but it may be disc 2) and look in the packages directory. change into the directory containing the tcpip-blah.tgz file, and type

installpkg tcpip

let us know how it goes!

MS3FGX 09-29-2005 02:14 AM

The problem is very simply that your system is not loading the module for your Ethernet card, and as such, the kernel doesn't detect it.

You need to load the module "b44". So doing:

modprobe b44

Would load the driver for your card, and then you could run through the netconfig and have a working setup.

You would probably want to not have to do that each time, so you could add that modprobe command to rc.modules, or even rc.local.

jnsg 09-29-2005 07:09 PM

OK, I've reinstalled. Problem solved.

dartakaum 09-30-2005 01:53 PM

i got the same problem.

I tried modprobe b44 and it says:

init_module: nosuch device.

I don't have slackpkg installed but i'l try that later.

Any ideia?

MS3FGX 09-30-2005 08:03 PM

The b44 module only works with that specific NIC, if you have a different NIC, it isn't going to work.

mcd 09-30-2005 08:38 PM

Quote:

i got the same problem.
could you describe it for us please?

dartakaum 09-30-2005 08:41 PM

slack 10.2 installed everything.

with ifconfig only apears lo. (refering to wireless i guess)

I want to install ethe0, i do netconfig and do those steps and nothing.

I got rc.inet1 all ok,with all data in the place and nothing too.

:\

mcd 09-30-2005 08:54 PM

ok, well lo is your loopback interface. don't worry about that, it's always there. can you please post the output of these two commands:

lspci
lsmod

and if you know what brand/model your ethernet card is, that would help.


All times are GMT -5. The time now is 04:05 PM.