Kernel Panic 2.4.18 - 2.4.19-rc3 when using iptables

Kernel Panic 2.4.18 - 2.4.19-rc3 when using iptables

Post by David Shirle » Tue, 23 Jul 2002 13:30:11



Hi All,

I have posted this Q to both the linux-kernel and netfilter mailing
lists.

This box is a Dual Athlon 2000+ running 2.4.18 as well as 2.4.19-rc3,
the box is stable up until I run my iptables init script. Which looks
something like this:

#!/bin/bash

iptables -F
iptables -A INPUT -s 127.0.0.0/8 -j ACCEPT

iptables -A INPUT -p icmp -j ACCEPT
iptables -A INPUT -s 134.7.1.0/24 -m record_rpc -j ACCEPT
iptables -A INPUT -s 134.7.2.0/24 -m record_rpc -j ACCEPT
iptables -A INPUT -s 134.7.3.0/24 -m record_rpc -j ACCEPT
iptables -A INPUT -s 134.7.7.0/24 -m record_rpc -j ACCEPT
iptables -A INPUT -s 134.7.5.0/24 -m record_rpc -j ACCEPT

iptables -A INPUT -p tcp -s 134.7.1.1/32 --dport 513:514 -j ACCEPT
iptables -A INPUT -p tcp -s 134.7.1.60/32 --dport 5555 -j ACCEPT

iptables -A INPUT -p tcp --syn -j REJECT

iptables -A INPUT -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A INPUT -j LOG
iptables -P INPUT DROP

As you can see i'm using the RPC connection tracking module
that comes with the patch-o-matic stuff.

About 1-2 minutes after I run this script the box hangs, and prints out
a bunch of register and stack info which I couldn't be bothered to
type in :P

It does say "Code: Bad EIP value" though.

Does anyone know what this could be?

Cheers
Dave

/-----------------------------------
David Shirley
System's Administrator
Computer Science - Curtin University
(08) 9266 2986
-----------------------------------/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Kernel Panic 2.4.18 - 2.4.19-rc3 when using iptables

Post by Harald Welt » Tue, 23 Jul 2002 20:50:15



> As you can see i'm using the RPC connection tracking module
> that comes with the patch-o-matic stuff.

have  you actually ever read the help message for the RPC conntrack module?


Status: This works now :-)
Status: Ported to 2.4.0-test9-pre2 by Rusty.  May be broken.
Status: Fixed by Marc for 2.4.0.
Status: Ported to newnat by Harald.  May still be broken.

Quote:> About 1-2 minutes after I run this script the box hangs, and prints out
> a bunch of register and stack info which I couldn't be bothered to
> type in :P

This is definitely bitrotten code, so don't be surprised if it breaks.

Quote:> Cheers
> Dave

--
Live long and prosper

============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)

  application_pgp-signature_part
< 1K Download

 
 
 

1. Compilation problem: SiS 630 dri driver (2.4.18 and 2.4.19-rc3)

The Red Hat 7.3 (from install) kernel can use this Sis 630 AGP card as I saw at
the first boot after instalation...

But after that I can not manage the kernel compilation, 2.2.14 and 2.4.19-rc3
fais like this:

...
gcc -D__KERNEL__ -I/scsi/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i686   -DKBUILD_BASENAME=strstr  -c -o
strstr.o strstr.c
rm -f lib.a
ar  rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o
strstr.o
make[2]: Leaving directory `/scsi/src/linux/arch/i386/lib'
make[1]: Leaving directory `/scsi/src/linux/arch/i386/lib'
ld -m elf_i386 -T /scsi/src/linux/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o
\
        --start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o
ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o
drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.o
drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o
drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o \
        net/network.o \
/scsi/src/linux/arch/i386/lib/lib.a /scsi/src/linux/lib/lib.a
/scsi/src/linux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/char/drm/drm.o: In function `sis_fb_alloc':
drivers/char/drm/drm.o(.text+0x6893): undefined reference to `sis_malloc'
drivers/char/drm/drm.o(.text+0x68d6): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_fb_free':
drivers/char/drm/drm.o(.text+0x69c8): undefined reference to `sis_free'
drivers/char/drm/drm.o: In function `sis_final_context':
drivers/char/drm/drm.o(.text+0x6e4e): undefined reference to `sis_free'
make: *** [vmlinux] Error 1

For sure I and doing something wrong here... any tip about it ?

2. man pages for kernel functions

3. ECS DeskNote A929 (i-Buddie XP) (Kernel 2.4.18 & 2.4.19rc3)

4. Can't mount Windows drives

5. kernel 2.4.18 + 2.4.19-pre10 patch

6. Xtops.DE Offers AGENDA VR3 - The First Dedicated Linux PDA

7. Announce: kdb v2.3 i386 updates for kernels 2.4.18 and 2.4.19

8. ptys and "r" commands

9. Linux Kernel 2.4.18 and 2.4.19 problems

10. OOPS with kernels 2.4.18 2.4.19 2.4.20

11. FW: Problems with 2.4.19 Kernel and Promise FastTrak100 RAID Controller (2.4.18 works)

12. Interrupt issue with 2.4.19 vs 2.4.18.

13. PCI Resources: 2.4.19 fails 82801CAM IDE, but 2.4.18 goes anyway?