Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 1995 13:19:32 -0800
From:      Faried Nawaz <fn@pain.csrv.uidaho.edu>
To:        current@freebsd.org
Subject:   the crashes.
Message-ID:  <199512192119.NAA00272@pain.csrv.uidaho.edu>

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

i've had _5_ crashes today.  what fun.  i'm running a kernel built from
yesterday's (dec 18th) sources.

i can put the kernel.debug and vmcore/kernel files up for ftp.

is there _anything_ at all that i can do to help fix this problem?
it's at the stage where i'm ready to give up and go to 2.1.


i'm

machine		"i386"
cpu		"I486_CPU"
ident		pain
maxusers	12

options		GPL_MATH_EMULATE	#Math coprocessor emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		KTRACE			#kernel tracing
options		IPACCT			#ip accounting
options		IPFIREWALL
options		IPFIREWALL_VERBOSE	#talkative firewall
options		"PCVT_FREEBSD=210"	#pcvt for os=-current
options		FAT_CURSOR		#fat cursor.
options		PCVT_PRETTYSCRNS	#pretty screensaver
options		PCVT_META_ESC		#alt = meta
options		PCVT_INHIBIT_NUMLOCK	#i hate numlock
options		JREMOD

config		kernel	root on wd0 

controller	isa0
controller	wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0  at wdc0 drive 0
disk		wd1  at wdc0 drive 1
# uncomment one of the following.
#device		sc0  at isa? port "IO_KBD" tty irq 1 vector scintr
device		vt0  at isa? port "IO_KBD" tty irq 1 vector pcrint
device		npx0 at isa? port "IO_NPX" irq 13 vector npxintr
device		sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1 at isa? port "IO_COM2" tty irq 3 vector siointr
device		lpt0 at isa? port? tty irq 7 vector lptintr
device		ed1  at isa? port 0x300 net irq 15 iomem 0xd8000 vector edintr
device		pca0 at isa? port "IO_TIMER1" tty

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	pty		16
pseudo-device	bpfilter	2
pseudo-device	tun		1
pseudo-device	speaker
pseudo-device	vn		2

and


FreeBSD 2.2-CURRENT #1: Tue Dec 19 12:05:25 PST 1995
    fn@pain.csrv.uidaho.edu:/disk1/src/sys/compile/pain
CPU: i486DX (486-class CPU)
real memory  = 16777216 (16384K bytes)
avail memory = 15192064 (14836K bytes)
Probing for devices on the ISA bus:
vt0 at 0x60-0x6f irq 1 on motherboard
vt0: tvga 8900c, 80/132 col, color, 8 scr, mf2-kbd, [R3.20-b24]
ed1 at 0x300-0x31f irq 15 on isa
ed1: address 00:40:33:2d:78:48, type NE2000 (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450
lpt0 at 0x3bc-0x3c3 irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
pca0 on motherboard
pca0: PC speaker audio driver
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <ST3550A>
wd0: 431MB (883624 sectors), 1018 cyls, 14 heads, 62 S/T, 512 B/S
wdc0: unit 1 (wd1): <ST3660A>
wd1: 520MB (1065456 sectors), 1057 cyls, 16 heads, 63 S/T, 512 B/S
npx0 on motherboard
npx0: 387 emulator
WARNING: / was not properly dismounted.
in_rtqtimo: adjusted rtq_reallyold to 2400


here's some output of two of the crashes:


Script started on Tue Dec 19 13:08:00 1995
; gdb -q -k
(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.15
(kgdb) core-file /var/crash/vmcore.15
IdlePTD 1a2000
current pcb at 1937fc
panic: m_copydata
#0  boot (howto=260) at ../../i386/i386/machdep.c:913
913					dumppcb.pcb_ptd = rcr3();
(kgdb) where
#0  boot (howto=260) at ../../i386/i386/machdep.c:913
#1  0xf010fbc3 in panic (fmt=0xf015f3ec "page fault")
    at ../../kern/subr_prf.c:124
#2  0xf015ff0a in trap_fatal (frame=0xf0187cb0) at ../../i386/i386/trap.c:753
#3  0xf015fa7c in trap_pfault (frame=0xf0187cb0, usermode=0)
    at ../../i386/i386/trap.c:675
#4  0xf015f71b in trap (frame={tf_es = 16, tf_ds = -261357552, 
      tf_edi = -1073610752, tf_esi = 17, tf_ebp = -266830596, 
      tf_isp = -267340107, tf_ebx = 0, tf_edx = 983440, tf_ecx = 0, 
      tf_eax = 17, tf_trapno = 12, tf_err = -266797056, tf_eip = -267340107, 
      tf_cs = -261357560, tf_eflags = 66118, tf_esp = -247749636, 
      tf_ss = -261302144}) at ../../i386/i386/trap.c:316
#5  0xf0158b3d in calltrap ()
#6  0xf010b6b5 in tsleep (ident=0xf13ba3fc, priority=17, 
    wmesg=0xf011f13f "getblk", timo=0) at ../../kern/kern_synch.c:298
#7  0xf011f1cd in getblk (vp=0xf06cd880, blkno=983440, size=8192, slpflag=0, 
    slptimeo=0) at ../../kern/vfs_bio.c:901
#8  0xf011e0f5 in bread (vp=0xf06cd880, blkno=983440, size=8192, 
    cred=0xffffffff, bpp=0xf0187d98) at ../../kern/vfs_bio.c:187
#9  0xf0141145 in ffs_update (ap=0xf0187dc4) at ../../ufs/ffs/ffs_inode.c:135
#10 0xf0144674 in ffs_fsync (ap=0xf0187e08) at ./vnode_if.h:1031
#11 0xf01432c4 in ffs_sync (mp=0xf06d4800, waitfor=2, cred=0xf0501b80, 
    p=0xf019fb94) at ./vnode_if.h:407
---Type <return> to continue, or q <return> to quit---
#12 0xf012498a in sync (p=0xf019fb94, uap=0x0, retval=0x0)
    at ../../kern/vfs_syscalls.c:347
#13 0xf015b175 in boot (howto=256) at ../../i386/i386/machdep.c:862
#14 0xf010fbc3 in panic (fmt=0xf0118724 "m_copydata")
    at ../../kern/subr_prf.c:124
#15 0xf0118751 in m_copydata (m=0x0, off=-1, len=1, cp=0xf0858a68 "")
    at ../../kern/uipc_mbuf.c:371
#16 0xf013b9b5 in tcp_output (tp=0xf06cb000) at ../../netinet/tcp_output.c:476
#17 0xf013ac4a in tcp_input (m=0xf085ad00, iphlen=20)
    at ../../netinet/tcp_input.c:1629
#18 0xf0135b69 in ipintr () at ../../netinet/ip_input.c:464
#19 0xf0159ffd in swi_net_next ()
#20 0xf015f0d8 in cpu_switch ()
(kgdb) up
#1  0xf010fbc3 in panic (fmt=0xf015f3ec "page fault")
    at ../../kern/subr_prf.c:124
124		boot(bootopt);
(kgdb) up
#2  0xf015ff0a in trap_fatal (frame=0xf0187cb0) at ../../i386/i386/trap.c:753
753			panic(trap_msg[type]);
(kgdb) up
#3  0xf015fa7c in trap_pfault (frame=0xf0187cb0, usermode=0)
    at ../../i386/i386/trap.c:675
675			trap_fatal(frame);
(kgdb) up
#4  0xf015f71b in trap (frame={tf_es = 16, tf_ds = -261357552, 
      tf_edi = -1073610752, tf_esi = 17, tf_ebp = -266830596, 
      tf_isp = -267340107, tf_ebx = 0, tf_edx = 983440, tf_ecx = 0, 
      tf_eax = 17, tf_trapno = 12, tf_err = -266797056, tf_eip = -267340107, 
      tf_cs = -261357560, tf_eflags = 66118, tf_esp = -247749636, 
      tf_ss = -261302144}) at ../../i386/i386/trap.c:316
316				(void) trap_pfault(&frame, FALSE);
(kgdb) up
#5  0xf0158b3d in calltrap ()
(kgdb) up
#6  0xf010b6b5 in tsleep (ident=0xf13ba3fc, priority=17, 
    wmesg=0xf011f13f "getblk", timo=0) at ../../kern/kern_synch.c:298
298		int sig, catch = priority & PCATCH;
(kgdb) up
#7  0xf011f1cd in getblk (vp=0xf06cd880, blkno=983440, size=8192, slpflag=0, 
    slptimeo=0) at ../../kern/vfs_bio.c:901
901				if (!tsleep(bp,
(kgdb) up
#8  0xf011e0f5 in bread (vp=0xf06cd880, blkno=983440, size=8192, 
    cred=0xffffffff, bpp=0xf0187d98) at ../../kern/vfs_bio.c:187
187		bp = getblk(vp, blkno, size, 0, 0);
(kgdb) up
#9  0xf0141145 in ffs_update (ap=0xf0187dc4) at ../../ufs/ffs/ffs_inode.c:135
135		error = bread(ip->i_devvp, fsbtodb(fs, ino_to_fsba(fs, ip->i_number)),
(kgdb) up
#10 0xf0144674 in ffs_fsync (ap=0xf0187e08) at ./vnode_if.h:1031
Source file is more recent than executable.
1031		return (VCALL(vp, VOFFSET(vop_update), &a));
(kgdb) up
#11 0xf01432c4 in ffs_sync (mp=0xf06d4800, waitfor=2, cred=0xf0501b80, 
    p=0xf019fb94) at ./vnode_if.h:407
Source file is more recent than executable.
407		return (VCALL(vp, VOFFSET(vop_fsync), &a));
(kgdb) up
#12 0xf012498a in sync (p=0xf019fb94, uap=0x0, retval=0x0)
    at ../../kern/vfs_syscalls.c:347
347				VFS_SYNC(mp, MNT_NOWAIT, p != NULL ? p->p_ucred : NOCRED, p);
(kgdb) up
#13 0xf015b175 in boot (howto=256) at ../../i386/i386/machdep.c:862
862			sync(&proc0, NULL, NULL);
(kgdb) up
#14 0xf010fbc3 in panic (fmt=0xf0118724 "m_copydata")
    at ../../kern/subr_prf.c:124
124		boot(bootopt);
(kgdb) up
#15 0xf0118751 in m_copydata (m=0x0, off=-1, len=1, cp=0xf0858a68 "")
    at ../../kern/uipc_mbuf.c:371
371			panic("m_copydata");
(kgdb) up
#16 0xf013b9b5 in tcp_output (tp=0xf06cb000) at ../../netinet/tcp_output.c:476
476				m_copydata(so->so_snd.sb_mb, off, (int) len,
(kgdb) up
#17 0xf013ac4a in tcp_input (m=0xf085ad00, iphlen=20)
    at ../../netinet/tcp_input.c:1629
1629		(void) tcp_output(tp);
(kgdb) up
#18 0xf0135b69 in ipintr () at ../../netinet/ip_input.c:464
464		(*inetsw[ip_protox[ip->ip_p]].pr_input)(m, hlen);
(kgdb) up
#19 0xf0159ffd in swi_net_next ()
(kgdb) quit
;  gdb -q -k
(kgdb) symbol-file kernel.debug
Reading symbols from kernel.debug...done.
(kgdb) exec-file /var/crash/kernel.19
(kgdb) core-file /var/crash/vmcore.19
IdlePTD 1a2000
current pcb at 1937fc
panic: m_copydata
#0  boot (howto=256) at ../../i386/i386/machdep.c:913
913					dumppcb.pcb_ptd = rcr3();
(kgdb) where
#0  boot (howto=256) at ../../i386/i386/machdep.c:913
#1  0xf010fbc3 in panic (fmt=0xf0118724 "m_copydata")
    at ../../kern/subr_prf.c:124
#2  0xf0118751 in m_copydata (m=0x0, off=-1, len=1, cp=0xf0790868 "")
    at ../../kern/uipc_mbuf.c:371
#3  0xf013b9b5 in tcp_output (tp=0xf07c3f00) at ../../netinet/tcp_output.c:476
#4  0xf013ac4a in tcp_input (m=0xf079d600, iphlen=20)
    at ../../netinet/tcp_input.c:1629
#5  0xf0135b69 in ipintr () at ../../netinet/ip_input.c:464
#6  0xf0159ffd in swi_net_next ()
#7  0xf015f0d8 in cpu_switch ()
(kgdb) up
#1  0xf010fbc3 in panic (fmt=0xf0118724 "m_copydata")
    at ../../kern/subr_prf.c:124
124		boot(bootopt);
(kgdb) up
#2  0xf0118751 in m_copydata (m=0x0, off=-1, len=1, cp=0xf0790868 "")
    at ../../kern/uipc_mbuf.c:371
371			panic("m_copydata");
(kgdb) up
#3  0xf013b9b5 in tcp_output (tp=0xf07c3f00) at ../../netinet/tcp_output.c:476
476				m_copydata(so->so_snd.sb_mb, off, (int) len,
(kgdb) up
#4  0xf013ac4a in tcp_input (m=0xf079d600, iphlen=20)
    at ../../netinet/tcp_input.c:1629
1629		(void) tcp_output(tp);
(kgdb) print tp
$1 = (struct tcpcb *) 0xf07c3f00
(kgdb) up
#5  0xf0135b69 in ipintr () at ../../netinet/ip_input.c:464
464		(*inetsw[ip_protox[ip->ip_p]].pr_input)(m, hlen);
(kgdb) up
#6  0xf0159ffd in swi_net_next ()
(kgdb) quit
; exit

Script done on Tue Dec 19 13:11:04 1995



faried, going out to a late lunch.



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