Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jan 2001 12:56:51 +0000
From:      Ian Dowse <iedowse@maths.tcd.ie>
To:        Matthew West <mwest@uct.ac.za>
Cc:        stable@freebsd.org, iedowse@maths.tcd.ie
Subject:   Re: page faults on FreeBSD 4.2-STABLE 
Message-ID:   <200101081256.aa88963@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Mon, 08 Jan 2001 14:05:21 %2B0200." <20010108140521.A23828@apotheosis.org.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010108140521.A23828@apotheosis.org.za>, Matthew West writes:

>#6  0xc01f2cbb in zalloci (z=0xc3822980) at ../../vm/vm_zone.h:87
>#7  0xc0154733 in pipe (p=0xe5361be0, uap=0xe53dff80) at ../../vm/vm_zone.h:11
>7
>#8  0xc021a4d9 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
>      tf_edi = -1077937480, tf_esi = 137187616, tf_ebp = -1077938004, 
>      tf_isp = -448921644, tf_ebx = 138129408, tf_edx = 136032223, 
>      tf_ecx = 137487536, tf_eax = 42, tf_trapno = 22, tf_err = 2, 
>      tf_eip = 675698356, tf_cs = 31, tf_eflags = 647, tf_esp = -1077938064, 
>      tf_ss = 47}) at ../../i386/i386/trap.c:1150
>#9  0xc020899b in Xint0x80_syscall ()

I've seen a similar trace on a machine here, but I haven't had a chance
to analyse it properly yet. The source is from Dec 18:
 
	FreeBSD 4.2-STABLE #0: Mon Dec 18 19:35:28 GMT 2000

Just looking at it now, pipe_zone->zitems is NULL but zfreecnt != 0,
so there is a clearly a bug somewhere...

Ian

#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:469
#1  0xc015fc63 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:309
#2  0xc016002d in panic (fmt=0xc02b256f "page fault")
    at /usr/src/sys/kern/kern_shutdown.c:556
#3  0xc0271328 in trap_fatal (frame=0xe1fd9eb4, eva=0)
    at /usr/src/sys/i386/i386/trap.c:951
#4  0xc0270f99 in trap_pfault (frame=0xe1fd9eb4, usermode=0, eva=0)
    at /usr/src/sys/i386/i386/trap.c:844
#5  0xc0270aef in trap (frame={tf_fs = 24, tf_es = -533725168, tf_ds = 16, 
      tf_edi = 0, tf_esi = 0, tf_ebp = -503472384, tf_isp = -503472416, 
      tf_ebx = -1027344512, tf_edx = 0, tf_ecx = 50331649, tf_eax = 287, 
      tf_trapno = 12, tf_err = 0, tf_eip = -1071425373, tf_cs = 8, 
      tf_eflags = 66054, tf_esp = 0, tf_ss = -504081952})
    at /usr/src/sys/i386/i386/trap.c:443
#6  0xc02358a3 in zalloci (z=0xc2c3f780) at /usr/src/sys/vm/vm_zone.h:87
#7  0xc016ec0f in pipe (p=0xe1f451e0, uap=0xe1fd9f80)
    at /usr/src/sys/vm/vm_zone.h:117
#8  0xc0271659 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
      tf_edi = 0, tf_esi = 134549600, tf_ebp = -1077936952, 
      tf_isp = -503472172, tf_ebx = 134578240, tf_edx = 5, 
      tf_ecx = -1077938316, tf_eax = 42, tf_trapno = 12, tf_err = 2, 
      tf_eip = 671667916, tf_cs = 31, tf_eflags = 647, tf_esp = -1077938404, 
      tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1150
#9  0xc025c9bb in Xint0x80_syscall ()
cannot read proc at 0
(kgdb) p *pipe_zone
$4 = {zlock = {lock_data = 50331649}, zitems = 0x0, zfreecnt = 287, 
  zfreemin = 25, znalloc = 115851, zkva = 412, zpagecount = 0, zpagemax = 128, 
  zmax = 0, ztotal = 306, zsize = 160, zalloc = 4, zflags = 0, zallocflag = 2, 
  zobj = 0x0, zname = 0xc02943a0 "PIPE", znext = 0xc2bd7380}




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi? <200101081256.aa88963>