PROBLEM: iptables don't work with 2.4.25

From: Ralf Springwald (springwald_at_gmx.net)
Date: 02/24/04

  • Next message: Geert Uytterhoeven: "[PATCH 416] M68k Macintosh driver config"
    Date:	Tue, 24 Feb 2004 13:46:28 +0100 (MET)
    To: linux-kernel@vger.kernel.org
    
    
    

    [1.] One line summary of the problem:
         iptables don't work with 2.4.25
    [2.] Full description of the problem/report:

         If you start the command iptables with
         iptables -L
         the Kernel will answer tho following rows:

    /lib/modules/2.4.25/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol
    nf_unregister_sockopt
    /lib/modules/2.4.25/kernel/net/ipv4/netfilter/ip_tables.o: unresolved symbol
    nf_register_sockopt
    /lib/modules/2.4.25/kernel/net/ipv4/netfilter/ip_tables.o: insmod
    /lib/modules/2.4.25/kernel/net/ipv4/netfilter/ip_tables.o failed
    /lib/modules/2.4.25/kernel/net/ipv4/netfilter/ip_tables.o: insmod ip_tables
    failed
    iptables v1.2.6a: can't initialize iptables table `filter': iptables who?
    (do you need to insmod?)
    Perhaps iptables or your kernel needs to be upgraded.

         The same output generate modpobe ip_tables

    [3.] Keywords (i.e., modules, networking, kernel):
         modules, kernel
    [4.] Kernel version (from /proc/version):
    Linux version 2.4.25 (******) (gcc version 2.95.4 20011002 (Debian
    prerelease)) #4 SMP Tue Feb 24 09:37:18 CET 2004
    [5.] Output of Oops.. message (if applicable) with symbolic information
         resolved (see Documentation/oops-tracing.txt)
    [6.] A small shell script or example program which triggers the
         problem (if possible)
    [7.] Environment
    [7.1.] Software (add the output of the ver_linux script here)

    If some fields are empty or look unusual you may have an old version.
    Compare to the current minimal requirements in Documentation/Changes.

    Linux ***** 2.4.25 #4 SMP Tue Feb 24 09:37:18 CET 2004 i686 unknown

    Gnu C 2.95.4
    Gnu make 3.79.1
    util-linux 2.11n
    mount 2.11n
    modutils 2.4.15
    e2fsprogs 1.27
    PPP 2.4.1
    Linux C Library 2.2.5
    Dynamic linker (ldd) 2.2.5
    Procps 2.0.7
    Net-tools 1.60
    Console-tools 0.2.3
    Sh-utils 2.0.11
    Modules Loaded parport_pc lp parport usb-uhci usb-storage usbcore
    sound i810_audio soundcore ac97_codec eepro100 keybdev input

    [7.2.] Processor information (from /proc/cpuinfo):

    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 8
    model name : Pentium III (Coppermine)
    stepping : 10
    cpu MHz : 996.784
    cache size : 256 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 2
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
    cmov pat pse36 mmx fxsr sse
    bogomips : 1985.74

    [7.3.] Module information (from /proc/modules):

    parport_pc 24936 1 (autoclean)
    lp 5984 1 (autoclean)
    parport 24000 1 (autoclean) [parport_pc lp]
    usb-uhci 22148 0 (unused)
    usb-storage 105856 0 (unused)
    usbcore 58784 0 [usb-uhci usb-storage]
    sound 54540 0 (unused)
    i810_audio 23856 2
    soundcore 3844 4 [sound i810_audio]
    ac97_codec 11872 0 [i810_audio]
    eepro100 18476 1
    keybdev 1792 0 (unused)
    input 3488 0 [keybdev]

    [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem)

    0000-001f : dma1
    0020-003f : pic1
    0040-005f : timer
    0060-006f : keyboard
    0070-007f : rtc0080-008f : dma page reg
    00a0-00bf : pic2
    00c0-00df : dma2
    00f0-00ff : fpu
    0170-0177 : ide1
    01f0-01f7 : ide0
    02f8-02ff : serial(set)
    0376-0376 : ide1
    0378-037a : parport0
    03c0-03df : vesafb
    03f6-03f6 : ide0
    03f8-03ff : serial(set)
    0cf8-0cff : PCI conf1
    78c0-78ff : Intel Corp. 82557/8/9 [Ethernet Pro 100]
      78c0-78ff : eepro100
    f000-f0ff : Intel Corp. 82801BA/BAM AC'97 Audio
      f000-f0ff : Intel ICH2
    f400-f43f : Intel Corp. 82801BA/BAM AC'97 Audio
      f400-f43f : Intel ICH2
    fb00-fb1f : Intel Corp. 82801BA/BAM USB (Hub #1)
      fb00-fb1f : usb-uhci
    fb80-fb9f : Intel Corp. 82801BA/BAM USB (Hub #2)
      fb80-fb9f : usb-uhci
    fe00-fe0f : Intel Corp. 82801BA/BAM SMBus
    fff0-ffff : Intel Corp. 82801BA IDE U100
      fff0-fff7 : ide0
      fff8-ffff : ide1
    00000000-0009fbff : System RAM
    0009fc00-0009ffff : reserved
    000a0000-000bffff : Video RAM area
    000c0000-000c7fff : Video ROM
    000f0000-000fffff : System ROM
    00100000-1fee06bf : System RAM
      00100000-002df265 : Kernel code
      002df266-003ad37f : Kernel data
    1fee06c0-1fee66bf : ACPI Tables
    1fee66c0-1feee6ff : ACPI Non-volatile Storage
    1feee700-1fffffff : reserved
    f8000000-f9ffffff : Intel Corp. 82815 815 Chipset Host Bridge and Memory
    Controller Hub
    fa000000-fdefffff : PCI Bus #02
      fa000000-fbffffff : Matrox Graphics, Inc. MGA G400 AGP
        fa000000-fa17ffff : vesafb
    fdfdf000-fdfdffff : Intel Corp. 82557/8/9 [Ethernet Pro 100]
      fdfdf000-fdfdffff : eepro100
    fdfe0000-fdffffff : Intel Corp. 82557/8/9 [Ethernet Pro 100]
    fe000000-febfffff : PCI Bus #02
      fe000000-fe7fffff : Matrox Graphics, Inc. MGA G400 AGP febfc000-febfffff
    : Matrox Graphics, Inc. MGA G400 AGP
    fec00000-fec00fff : reserved
    fee00000-fee00fff : reserved
    fff80000-ffffffff : reserved
    [7.5.] PCI information ('lspci -vvv' as root)

    00:00.0 Host bridge: Intel Corp. 82815 815 Chipset Host Bridge and Memory
    Controller Hub (rev 02)
            Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B-
            Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    <TAbort- <MAbort+ >SERR- <PERR-
            Latency: 0
            Region 0: Memory at f8000000 (32-bit, prefetchable) [size=32M]
            Capabilities: [88] #09 [f104]
            Capabilities: [a0] AGP version 2.0
                    Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
                    Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

    00:01.0 PCI bridge: Intel Corp.: Unknown device 1131 (rev 02) (prog-if 00
    [Normal decode])
            Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR+ FastB2B-
            Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
    <TAbort- <MAbort- >SERR- <PERR-
            Latency: 64
            Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
            I/O behind bridge: 0000f000-00000fff
            Memory behind bridge: fe000000-febfffff
            Prefetchable memory behind bridge: fa000000-fdefffff
            BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-

    00:1e.0 PCI bridge: Intel Corp. 82820 820 (Camino 2) Chipset PCI (rev 02)
    (prog-if 00 [Normal decode])
            Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR+ FastB2B-
            Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
    <TAbort- <MAbort- >SERR- <PERR-
            Latency: 0
            Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
            I/O behind bridge: 00007000-00007fff
            Memory behind bridge: fdf00000-fdffffff
            Prefetchable memory behind bridge: eff00000-e00fffff
            BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-

    00:1f.0 ISA bridge: Intel Corp. 82820 820 (Camino 2) Chipset ISA Bridge
    (ICH2) (rev 02)
            Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B-
            Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
    <TAbort- <MAbort- >SERR- <PERR-
            Latency: 0

    00:1f.1 IDE interface: Intel Corp. 82820 820 (Camino 2) Chipset IDE U100
    (rev 02) (prog-if 80 [Master])
            Subsystem: IBM: Unknown device 01c6
            Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B-
            Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
    <TAbort- <MAbort- >SERR- <PERR-
            Latency: 0
            Region 4: I/O ports at fff0 [size=16]

    00:1f.2 USB Controller: Intel Corp. 82820 820 (Camino 2) Chipset USB (Hub A)
    (rev 02) (prog-if 00 [UHCI])
            Subsystem: IBM: Unknown device 01c6
            Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B-
            Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
    <TAbort- <MAbort- >SERR- <PERR-
            Latency: 0
            Interrupt: pin D routed to IRQ 19
            Region 4: I/O ports at fb00 [size=32]

    00:1f.3 SMBus: Intel Corp. 82820 820 (Camino 2) Chipset SMBus (rev 02)
            Subsystem: IBM: Unknown device 01c6
            Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B-
            Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
    <TAbort- <MAbort- >SERR- <PERR-
            Interrupt: pin B routed to IRQ 17
            Region 4: I/O ports at fe00 [size=16]

    00:1f.4 USB Controller: Intel Corp. 82820 820 (Camino 2) Chipset USB (Hub B)
    (rev 02) (prog-if 00 [UHCI])
            Subsystem: IBM: Unknown device 01c6
            Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B-
            Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
    <TAbort- <MAbort- >SERR- <PERR-
            Latency: 0
            Interrupt: pin C routed to IRQ 23
            Region 4: I/O ports at fb80 [size=32]

    00:1f.5 Multimedia audio controller: Intel Corp. 82820 820 (Camino 2)
    Chipset AC'97 Audio Controller (rev 02)
            Subsystem: IBM: Unknown device 01c6
            Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B-
            Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
    <TAbort- <MAbort- >SERR- <PERR-
            Latency: 0
            Interrupt: pin B routed to IRQ 17
            Region 0: I/O ports at f000 [size=256]
            Region 1: I/O ports at f400 [size=64]

    01:0e.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 0c)
            Subsystem: Intel Corp.: Unknown device 0040
            Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR+ FastB2B-
            Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
    <TAbort- <MAbort- >SERR- <PERR-
            Latency: 64 (2000ns min, 14000ns max), cache line size 08
            Interrupt: pin A routed to IRQ 22
            Region 0: Memory at fdfdf000 (32-bit, non-prefetchable) [size=4K]
            Region 1: I/O ports at 78c0 [size=64]
            Region 2: Memory at fdfe0000 (32-bit, non-prefetchable) [size=128K]
            Capabilities: [dc] Power Management version 2
                    Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
    PME(D0+,D1+,D2+,D3hot+,D3cold+)
                    Status: D0 PME-Enable- DSel=0 DScale=2 PME-

    02:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev
    85) (prog-if 00 [VGA])
            Subsystem: Matrox Graphics, Inc. Millennium G450 Dual Head
            Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
    Stepping- SERR- FastB2B-
            Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
    <TAbort- <MAbort- >SERR- <PERR-
            Latency: 128 (4000ns min, 8000ns max), cache line size 08
            Interrupt: pin A routed to IRQ 16
            Region 0: Memory at fa000000 (32-bit, prefetchable) [size=32M]
            Region 1: Memory at febfc000 (32-bit, non-prefetchable) [size=16K]
            Region 2: Memory at fe000000 (32-bit, non-prefetchable) [size=8M]
            Expansion ROM at <unassigned> [disabled] [size=128K]
            Capabilities: [dc] Power Management version 2
                    Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
    PME(D0-,D1-,D2-,D3hot-,D3cold-)
                    Status: D0 PME-Enable- DSel=0 DScale=0 PME-
            Capabilities: [f0] AGP version 2.0
                    Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2
                    Command: RQ=31 SBA+ AGP+ 64bit- FW- Rate=x1

    [7.6.] SCSI information (from /proc/scsi/scsi)
    nc
    [7.7.] Other information that might be relevant to the problem
           (please look in /proc and include all information that you
           think to be relevant):

    The kernel was build with make oldconfig and the following make commands as
    usuall
    The second way was the method from debian with make-kpkg
    Both way did't report any error since building the kernel.

     My .config you will find in the appendix:

    -- 
    GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
    jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++
    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



  • Next message: Geert Uytterhoeven: "[PATCH 416] M68k Macintosh driver config"

    Relevant Pages

    • Re: Help with Linux Basics
      ... Then each time the system is booted, iptables loads from ... To run the pure basics of iptables you need to configure the following ... options into the kernel while doing make config or one of its related ... And of course you need to add the proper drivers for your interfaces to work ...
      (alt.os.linux.redhat)
    • Re: Installing IPTables: not very clear howto
      ... >>librairies have to be built according to which kernel modules you'll have. ... >>You should remove any prior iptables version that could be prior in your ... interface you want to config) then make (no need for seperate make dep ... are probably better off simply installing it via the package management ...
      (comp.security.firewalls)
    • Re: Linux firewall on P166
      ... Which is it, ipchains or iptables? ... gives you a much stronger firewall. ... It's difficult to do much with 4MB RAM, ... > of a specially-tailored kernel. ...
      (comp.os.linux.networking)
    • Re: Linux firewall on P166
      ... Which is it, ipchains or iptables? ... gives you a much stronger firewall. ... It's difficult to do much with 4MB RAM, ... > of a specially-tailored kernel. ...
      (comp.security.firewalls)