Subject: Re: ALTQ crash on netbsd-4
To: None <current-users@netbsd.org>
From: Pavel Cahyna <pavel@NetBSD.org>
List: current-users
Date: 05/16/2007 21:19:21
On Wed, May 16, 2007 at 05:15:18PM +0100, Charlie Allom wrote:
> On Wed, May 16, 2007 at 04:42:20PM +0200, Pavel Cahyna wrote:
> > On Tue, May 15, 2007 at 04:59:45PM +0100, Charlie Allom wrote:
> > > Hi,
> > > 
> > > I can make netbsd-4 crash with an ALTQ line like this:
> > > 
> > >     filter wm3 consind_cityreach 146.101.246.0 netmask 0xffffffe0 0 0 0 0
> > > 
> > > which as the manual states is:
> > >     filter  if_name class_name filter_values
> > > 
> > > and filter_values:
> > >     dst_addr [netmask mask] dport src_addr [netmask mask] sport proto
> > > 
> > > so it looks legal to me. but panics away!
> > 
> > What is the panic message?
> 
> fatal page fault in supervisor mode
> trap type 6 code 0 eip c021965c cs 8 eflags 10282 cr2 4 ilevel 7
> panic: trap
> Begin traceback...
> 0x6:
> End traceback...
> syncing disks...

You have said that you have a netbsd.gdb. Assuming that it matches the kernel
which paniced, please load it in gdb and see what source line will the
command "info line *0xc021965c" report.

Pavel