Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 1996 17:59:56 +0200 (MET DST)
From:      regnauld@freenix.fr
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/1271: Panic using PLIP/ftp
Message-ID:  <199605281559.RAA00554@tetard.hsc.fr>
Resent-Message-ID: <199605281610.JAA10087@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1271
>Category:       kern
>Synopsis:       Kernel panic using PLIP in 27/05 current
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 28 09:10:01 PDT 1996
>Last-Modified:
>Originator:     Philippe Regnauld
>Organization:
Freenix User Group
>Release:        FreeBSD 2.2-CURRENT i386
>Environment:
	Panicking machine: DX4-120, 24Mb RAM, Ncr810 SCSI, NE2000 ethernet
	Remote machine:    Pentium 100 laptop	
	

>Description:
	
	During intensive lp0 (plip) use (i.e.: ftp), kernel panic on the DX4:

	Kernel debug follows:

IdlePTD 1d2000
current pcb at 1c297c
panic: page fault
#0  boot (howto=256) at ../../i386/i386/machdep.c:940
940                                     dumppcb.pcb_ptd = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../i386/i386/machdep.c:940
#1  0xf0112176 in panic (fmt=0xf0180c9c "page fault")
    at ../../kern/subr_prf.c:127
#2  0xf01817f6 in trap_fatal (frame=0xefbffe00) at ../../i386/i386/trap.c:740
#3  0xf01812e8 in trap_pfault (frame=0xefbffe00, usermode=0)
    at ../../i386/i386/trap.c:651
#4  0xf0180fcb in trap (frame={tf_es = 135135248, tf_ds = 16,
      tf_edi = -257728513, tf_esi = -257728384, tf_ebp = -272630172,
      tf_isp = -272630232, tf_ebx = -257726720, tf_edx = -257726806,
      tf_ecx = 1073741398, tf_eax = -129, tf_trapno = 12, tf_err = -266928126,
      tf_eip = -266862699, tf_cs = -2147483640, tf_eflags = 67206,
      tf_esp = -254868128, tf_ss = -257726848}) at ../../i386/i386/trap.c:319
#5  0xf0179011 in calltrap ()
#6  0xf0122707 in sbappend (sb=0xf0cf0560, m=0xf0a36400)
    at ../../kern/uipc_socket2.c:437
#7  0xf0144134 in tcp_usrreq (so=0xf0cf0500, req=9, m=0xf0a36400, nam=0x0,
    control=0x0) at ../../netinet/tcp_usrreq.c:287
#8  0xf01210b6 in sosend (so=0xf0cf0500, addr=0x0, uio=0xefbfff28,
    top=0xf0a36400, control=0x0, flags=0) at ../../kern/uipc_socket.c:475
#9  0xf0114b35 in soo_write (fp=0xf0cf5880, uio=0xefbfff28, cred=0xf0cf6880)
    at ../../kern/sys_socket.c:82
#10 0xf0113a8f in write (p=0xf0ced500, uap=0xefbfff94, retval=0xefbfff84)
    at ../../kern/sys_generic.c:263
#11 0xf0181aa1 in syscall (frame={tf_es = 134873127, tf_ds = -272695257,
      tf_edi = 134975488, tf_esi = 2316982, tf_ebp = -272641836,
      tf_isp = -272629788, tf_ebx = 134929076, tf_edx = 6, tf_ecx = 1,
      tf_eax = 4, tf_trapno = 22, tf_err = 7, tf_eip = 134819121, tf_cs = 31,
      tf_eflags = 518, tf_esp = -272641904, tf_ss = 39})
    at ../../i386/i386/trap.c:890
#12 0xf0179065 in Xsyscall ()
#13 0x2e9a in ?? ()
#14 0x82d5 in ?? ()
#15 0x1f6d in ?? ()
#16 0x1096 in ?? ()
(kgdb) frame 6
#6  0xf0122707 in sbappend (sb=0xf0cf0560, m=0xf0a36400)
    at ../../kern/uipc_socket2.c:437
437             sbcompress(sb, m, n);
(kgdb) t
432                                     sbappendrecord(sb, m); /* XXXXXX!!!! */
433                                     return;
434                             }
435                     } while (n->m_next && (n = n->m_next));
436             }
437             sbcompress(sb, m, n);
438     }
439
440     #ifdef SOCKBUF_DEBUG
441     void
(kgdb) print sb
$1 = (struct sockbuf *) 0x0
(kgdb) print m
$2 = (struct mbuf *) 0x0
(kgdb) print n
$3 = (struct mbuf *) 0x0

	

>How-To-Repeat:
	
	Just Do It.  Run an ftp from the remote machine, and depending
	on the activity on the host DX4, the kernel will panic more or
	less quickly.
	

>Fix:
	
	

>Audit-Trail:
>Unformatted:



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