Bug 101948 - [ipfilter] [panic] Kernel Panic Trap No 12 Page Fault - caused by IpFilter?
Summary: [ipfilter] [panic] Kernel Panic Trap No 12 Page Fault - caused by IpFilter?
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2006-08-12 22:00 UTC by chee
Modified: 2022-10-17 12:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chee 2006-08-12 22:00:29 UTC
Installed Freebsd 6.1 on first machine.  Got Page Fault Kernel Panic error Trap number 12.   No time to take down the entire message as it rebooted after 15 secs.  
Thought it was due to hardware.  Installed Freebsd 6.1 on another machine.  Got same error.  
current process         = 13 (swi4: clock sio)

I think the machine started this Kernel Panic only after I added another NIC card and ran Ipfilter and in particular Ipnat.    
The message I got is probably identical to this: http://www.freebsd.org/cgi/query-pr.cgi?pr=91597

I applied the fix there on /usr/src/sys/contrib/ipfilter/netinet/ip_state.c )
I also applied the from http://www.freebsd.org/cgi/query-pr.cgi?pr=100098 on /usr/src/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c

But the problem still remains.

I have the vmcore.# files (the system crashed many times) but no kernel.debug to use kgdb on them.

Than you.

no005# more info.0
Dump header from device /dev/ad4s1b
  Architecture: i386
  Architecture Version: 2
  Dump Length: 501805056B (478 MB)
  Blocksize: 512
  Dumptime: Sat Aug 12 11:37:44 2006
  Hostname: no005.function.com
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 6.1-RELEASE #0: Sun May  7 04:42:56 UTC 2006
    root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP
  Panic String: page fault
  Dump Parity: 2757962794
  Bounds: 0
  Dump Status: good
no005# ls -al
total 472370
drwxr-x---   2 root  wheel        512 Aug 13 03:56 .
drwxr-xr-x  22 root  wheel        512 Aug 13 03:56 ..
-rw-r--r--   1 root  wheel          2 Aug 13 03:56 bounds
-rw-------   1 root  wheel        443 Aug 12 11:39 info.0
-rw-------   1 root  wheel        443 Aug 12 11:54 info.1
-rw-------   1 root  wheel        443 Aug 12 12:07 info.2
-rw-------   1 root  wheel        443 Aug 12 12:25 info.3
-rw-------   1 root  wheel        443 Aug 13 03:56 info.4
-rw-r--r--   1 root  wheel          5 May  7 04:00 minfree
-rw-------   1 root  wheel  501805056 Aug 12 11:40 vmcore.0
-rw-------   1 root  wheel  501805056 Aug 12 11:54 vmcore.1
-rw-------   1 root  wheel  501805056 Aug 12 12:07 vmcore.2
-rw-------   1 root  wheel  501805056 Aug 12 12:25 vmcore.3
-rw-------   1 root  wheel  501805056 Aug 13 03:56 vmcore.4
no005#

Fix: 

No fix
How-To-Repeat: Install Freebsd 6.1
Install 2 NICs
Run Ipfilter
Run Ipnat
Comment 1 Cy Schubert freebsd_committer freebsd_triage 2013-07-03 06:19:41 UTC
Responsible Changed
From-To: freebsd-net->cy

Mine.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:31 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:17:11 UTC
Keyword: 

    crash

– in lieu of summary line prefix: 

    [panic]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>