Results 1 to 5 of 5

Thread: Strange problem with PCI Ethernet NIC

  1. #1
    Junior Member registered user
    Join Date
    Apr 2005
    Location
    Hessen, DE
    Posts
    24

    Strange problem with PCI Ethernet NIC

    Hi
    I've got a strange problem with a PCI Ethernet Card (10/100 MBit), it just works fine if I boot Knoppix using a 2.4 Kernel (no matter which version), but if I try a 2.6 kernel (which is the only one available on the newest Knoppix CD), the system hangs while booting (no kernel panic, it just locks up, not responding to any keypress any more).

    Here is the output of lspci, using Knoppix 3.7 with Kernel 2.4:
    Code:
    ------------------------------------------------------------------------------------------------------------
    0000:00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1)
    0000:00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 0 (rev c1)
    0000:00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
    0000:00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
    0000:00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
    0000:00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
    0000:00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
    0000:00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
    0000:00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
    0000:00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
    0000:00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
    0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
    0000:00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
    0000:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
    0000:00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
    0000:01:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
    0000:01:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
    0000:01:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
    0000:01:0a.0 SCSI storage controller: Advanced Micro Devices [AMD] 53c974 [PCscsi] (rev 10)
    0000:01:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    0000:02:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01)
    ------------------------------------------------------------------------------------------------------------
    I think the line
    0000:01:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
    is the only one relevant here, because this is the card that causes my pain, but works flawlessly under kernel 2.4.

    One thing to note: I've got two PCs equipped with this card, both show exactly the same problems, and yes, I've made an image of my Knoppix CD, ran md5sum over the image, and compared the md5 with the one on the mirror (they match, so my CD is not to blame).

    Please help me, I'm out of my latin

    P.S.: The last line of text that is displayed during boot if booting with kernel 2.6 is:
    "Network device eth0 detected, DHCP broadcasting for IP."

    P.S.: The output of lspci -v for this card is:
    Code:
    ------------------------------------------------------------------------------------------------------------
    0000:01:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 (rev 41)
            Flags: bus master, medium devsel, latency 96, IRQ 19
            I/O ports at 9000 [size=128]
            Memory at d8000000 (32-bit, non-prefetchable) [size=1K]
            Expansion ROM at <unassigned> [disabled] [size=256K]
    ------------------------------------------------------------------------------------------------------------
    (Whatever all of this stuff means, I just dont have a clue about much of this information.)

  2. #2
    Banned
    Join Date
    Feb 2005
    Location
    Sydney Australia
    Posts
    264
    do a long
    lspci -v
    and check through all the assigned IRQ numbers.
    see if the bios is doubling up on an IRQ, though IRQ 19 seems to say otherwise....

    also, note the
    0000:01:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    did you need two cards ? or not notice the other one ?

  3. #3
    Junior Member registered user
    Join Date
    Apr 2005
    Location
    Hessen, DE
    Posts
    24
    Hi
    First of all, thanks for your post.
    I did quite a bit of research and I think I've found a work-around. It seems as if the wrong driver is being loaded, which crashes the system, but it works (for me) if I boot like that:
    • - boot Knoppix with "knoppix nodhcp"
      - create a shell script with the following content:
      Code:
      pump --kill
      ifconfig eth0 down
      rmmod de4x5
      modprobe tulip
      pump
      - run the shell script

    I don't know yet if this has any side effects, but it is certainly better than nothing.

  4. #4
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    I think what is happening here is that the startup script /etc/init.d/knoppix-hd-autoconfig shuts down the ethernet card then is unable to restart it. I had this happen with knoppix 3.4 using the 2.6 kernel (see this post http://www.knoppix.net/forum/viewtopic.php?t=14325 ). The workaround is to edit knoppix-hd-autoconfig so it doesn't fiddle with eth0.

  5. #5
    Junior Member registered user
    Join Date
    Apr 2005
    Location
    Hessen, DE
    Posts
    24
    I don't think so because (as I understand it) the script /etc/init.d/knoppix-hd-autoconfig is only active when you install knoppix onto your HDD. So I think the cause for the problems is another one: On startup knoppix loads the wrong driver for the network card, one that is incompatible with the NIC. A solution would be if the knoppix-developers would modify the hardware-detect-mechanism to use the tulip driver instead of the de4x5 for the NICs that have this chip.
    But I'm no Linux expert, so I could be wrong.

Similar Threads

  1. Strange problem with network card (wired ethernet)
    By rolfhub in forum Hardware & Booting
    Replies: 6
    Last Post: 06-02-2006, 10:21 PM
  2. Very strange problem with DNS
    By knoppa in forum Networking
    Replies: 4
    Last Post: 05-04-2006, 08:54 AM
  3. strange wireless problem in 3.4
    By alaing in forum Networking
    Replies: 0
    Last Post: 07-27-2004, 12:29 PM
  4. Strange Problem
    By BadgerKNX in forum General Support
    Replies: 2
    Last Post: 03-10-2004, 06:11 AM
  5. Strange PPP problem
    By bacinlinux in forum Networking
    Replies: 4
    Last Post: 01-07-2004, 04:22 AM

Posting Permissions

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


Juniper SRX650 VPN Firewall Security Hub SRX650-BASE-SRE6-645AP w/SRX-GP-IM picture

Juniper SRX650 VPN Firewall Security Hub SRX650-BASE-SRE6-645AP w/SRX-GP-IM

$99.99



JUNIPER MPC5E-40G10G MPC5E CARD 6x40GE & 24x10GE, COUIBD1BAF picture

JUNIPER MPC5E-40G10G MPC5E CARD 6x40GE & 24x10GE, COUIBD1BAF

$3999.99



JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER picture

JUNIPER EX3400-48P 48x 1GB PoE+ RJ-45 4x 10GB SFP+ 2x 40GB QSFP+, DUAL AC POWER

$210.00



Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch picture

Juniper Networks EX3300 EX3300-48P 48-Port Gigabit PoE+ Switch

$40.18



Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch picture

Juniper Networks EX4300-48T 48 Port Gigabit 4 QSFP 40G 2xPSU AFO Network Switch

$89.00



Juniper EX2300-24P Poe+ Rack Mountable Ethernet Switch picture

Juniper EX2300-24P Poe+ Rack Mountable Ethernet Switch

$130.00



Juniper Networks EX2300-C 12-Port 2XSFP Uplinks PoE+ Switch P/N: EX2300-C-12P picture

Juniper Networks EX2300-C 12-Port 2XSFP Uplinks PoE+ Switch P/N: EX2300-C-12P

$299.99



Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord picture

Juniper Networks EX3300-24P | 24 Port Gigabit Network Switch w/ Power cord

$53.99



Juniper QFX5100-48T-AFO   48 100M/1G/10G Base-T 6 QSFP AFO picture

Juniper QFX5100-48T-AFO 48 100M/1G/10G Base-T 6 QSFP AFO

$485.00



 New Factory Sealed Juniper EX2300-48P Networks 48-Port Managed Ethernet Sealed picture

New Factory Sealed Juniper EX2300-48P Networks 48-Port Managed Ethernet Sealed

$499.00