Find the answer to your Linux question:
Results 1 to 7 of 7
OK I have a 3c2000 network card that loads beautifully with insmod 3c2000 but I can't get it to load even though I added the name to /etc/modules.conf options 3c2000 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21

    can't run 3com netcard on startup (only manually)


    OK

    I have a 3c2000 network card that loads beautifully with insmod 3c2000 but I can't get it to load even though I added the name to /etc/modules.conf


    options 3c2000
    alias eth0 3c2000


    I feel really dumb. I got the driver from 3com and ran
    make load and then
    make install

    What am I missing ?
    Red hat 7.3 kernel 2.4.18-3

    During bootup it says explicitly that "bringing up eth0"
    Somehow it does not load.

    Thanks for any help.!

  2. #2
    Linux Newbie
    Join Date
    Dec 2004
    Location
    Barrie, Ontario
    Posts
    219
    I don't recall needing the 'options 3c2000' in modules.conf...

    Is there an actual error message when it's trying to startup eth0?

    'dmesg | more' might be useful for you to figure that out...
    Blog - KB5UMQ - Linux User #272983
    3 Rules:
    1) "It doesn't work..." is simply not useful information.
    2) Don't cross post!
    3) If you are asking for help, start by telling us your distro/os and version.

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21

    that's what is strange

    There is NO error message at all and that is what is strange. I checked the log and no revelations there. According to the log everything is fine.

    yet I still have to use ifconfig eth0 up to get it to work at the command line.



    Linux version 2.4.18-3 (bhcompile@porky.devel.redhat.com) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:32:41 EDT 2002
    BIOS-provided physical RAM map:
    BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
    BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
    BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
    BIOS-e820: 0000000000100000 - 0000000020000000 (usable)
    BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
    On node 0 totalpages: 131072
    zone(0): 4096 pages.
    zone(1): 126976 pages.
    zone(2): 0 pages.
    Kernel command line: ro root=/dev/hda1 ide=nodma
    ide_setup: ide=nodmaIDE: Prevented DMA
    Local APIC disabled by BIOS -- reenabling.
    Found and enabled local APIC!
    Initializing CPU#0
    Detected 1595.493 MHz processor.
    Console: colour VGA+ 80x25
    Calibrating delay loop... 3185.04 BogoMIPS
    Memory: 513960k/524288k available (1125k kernel code, 9940k reserved, 802k data, 296k 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: 8192 (order: 4, 65536 bytes)
    Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
    Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
    CPU: Before vendor init, caps: 0383fbff c1c3fbff 00000000, vendor = 2
    CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
    CPU: L2 Cache: 64K (64 bytes/line)
    CPU: After vendor init, caps: 0383fbff c1c3fbff 00000000 00000000
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    CPU: After generic, caps: 0383fbff c1c3fbff 00000000 00000000
    CPU: Common caps: 0383fbff c1c3fbff 00000000 00000000
    CPU: AMD Duron(tm) processor stepping 01
    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 0xfb3e0, last bus=1
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    Unknown bridge resource 0: assuming transparent
    Unknown bridge resource 1: assuming transparent
    Unknown bridge resource 2: assuming transparent
    PCI: Using IRQ router VIA [1106/3177] at 00:11.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 0x07 (Driver version 1.16)
    Starting kswapd
    VFS: Diskquotas version dquot_6.5.0 initialized
    pty: 2048 Unix98 ptys configured
    Serial driver version 5.05c (2001-07-0 with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    Real Time Clock Driver v1.10e
    block: 992 slots per queue, batch=248
    Uniform Multi-Platform E-IDE driver Revision: 6.31
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    VP_IDE: IDE controller on PCI bus 00 dev 89
    PCI: No IRQ known for interrupt pin A of device 00:11.1. Please try using pci=biosirq.
    VP_IDE: chipset revision 6
    VP_IDE: not 100% native mode: will probe irqs later
    VP_IDE: Unknown VIA SouthBridge, contact Vojtech Pavlik <vojtech@suse.cz>
    hda: WDC WD800JB-00FSA0, ATA DISK drive
    hdc: CRD-8320B, ATAPI CD/DVD-ROM drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide0: probed IRQ 14 failed, using default.
    ide1 at 0x170-0x177,0x376 on irq 15
    ide1: probed IRQ 15 failed, using default.
    hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=155061/255/63
    ide-floppy driver 0.99.newide
    Partition check:
    hda: hda1 hda2 hda3
    Floppy drive(s): fd0 is 1.44M
    FDC 0 is a post-1991 82077
    RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
    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 4096 buckets, 32Kbytes
    TCP: Hash tables configured (established 131072 bind 65536)
    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: 122k 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: 296k freed
    Adding Swap: 1534196k swap-space (priority -1)
    usb.c: registered new driver usbdevfs
    usb.c: registered new driver hub
    usb-uhci.c: $Revision: 1.275 $ time 07:48:41 Apr 18 2002
    usb-uhci.c: High bandwidth mode enabled
    PCI: Found IRQ 11 for device 00:10.0
    PCI: Sharing IRQ 11 with 00:08.0
    usb-uhci.c: USB UHCI at I/O 0xd400, 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
    PCI: Found IRQ 10 for device 00:10.1
    PCI: Sharing IRQ 10 with 00:09.0
    usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 10
    usb-uhci.c: Detected 2 ports
    usb.c: new USB bus registered, assigned bus number 2
    hub.c: USB hub found
    hub.c: 2 ports detected
    PCI: Found IRQ 5 for device 00:10.2
    PCI: Sharing IRQ 5 with 00:11.5
    usb-uhci.c: USB UHCI at I/O 0xdc00, IRQ 5
    usb-uhci.c: Detected 2 ports
    usb.c: new USB bus registered, assigned bus number 3
    hub.c: USB hub found
    hub.c: 2 ports detected
    usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
    ehci-hcd.c: $Revision: 1.1 $ USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-hcd.c: block sizes: qh 96 qtd 96 itd 160 sitd 64
    PCI: Found IRQ 3 for device 00:10.3
    hcd.c: ehci-hcd @ 00:10.3, PCI device 1106:3104 (VIA Technologies, Inc.)
    hcd.c: irq 3, pci mem e092c000
    usb.c: new USB bus registered, assigned bus number 4
    ehci-dbg.c: ehci_start hcs_params 0x3206 dbg=0 cc=3 pcc=2 ordered !ppc ports=6
    ehci-dbg.c: ehci_start extended capabilities at pci 104
    ehci-dbg.c: ehci_start hcc_params 0x6872 caching 7 uframes 256/512/1024
    ehci-hcd.c: reset 80002 cmd (park)=0 ithresh=8 period=1024 Reset HALT
    ehci-hcd.c: init 10000 cmd (park)=0 ithresh=1 period=1024 HALT
    ehci-hcd.c: USB 2.0 support enabled, EHCI rev 1. 0
    hcd.c: 00:10.3 root hub device address 1
    hub.c: USB hub found
    hub.c: 6 ports detected
    EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,1), internal journal
    kjournald starting. Commit interval 5 seconds
    EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,3), internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    ide-floppy driver 0.99.newide
    hdc: ATAPI 32X CD-ROM drive, 128kB Cache
    Uniform CD-ROM driver Revision: 3.12
    parport0: PC-style at 0x378 (0x77 [PCSPP,TRISTATE]
    parport0: irq 7 detected
    3C2000: 3Com Gigabit NIC Driver Version A11
    Copyright (C) 2003 3Com Corporation.
    Copyright (C) 2003 Marvell.
    eth0: 3Com Gigabit NIC (3C2000)
    PrefPort:A RlmtMode:Check Link State
    eth0: network connection up using port A
    speed: 100
    autonegotiation: yes
    duplex mode: full
    flowctrl: symmetric
    scatter-gather: enabled

  4. #4
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Is the module in
    Code:
    /lib/modules/<KERNEL_VERSION_HERE>/kernel/drivers/net/
    ?

    It's probably named something like 3c2000.o
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  5. #5
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21

    good catch!

    Seems to be working now. Thanks!

    Question though on understanding if you have the time.


    The /dev holds the device drivers yet we have what appears to be a repeat of that in the /lib/.... directory also hold drivers via modules to launch with the kernel (instead of having to recompile the kernel all the time). What exactly does the /dev directory actually do?


    Thanks again for making this work!

  6. #6
    Linux Newbie
    Join Date
    Sep 2003
    Location
    St.Charles, Missouri, USA
    Posts
    201
    /dev is not drivers but access points to your hardware. i.e /dev/hda being your first harddrive. you can write to it, mount it (mount /dev/hda /) and a slew of other things
    Powered by Gentoo
    never ever ever use the hardened option in make.conf!

  7. #7
    Just Joined!
    Join Date
    Mar 2005
    Posts
    21

    thanks

    Thanks and clears up my misunderstanding!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •