Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2003 02:40:03 -0800 (PST)
From:      Attila Nagy <bra@fsn.hu>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/46861: RELENG_5_0 crashes when used as an FTP server. 
Message-ID:  <200301171040.h0HAe3ts097497@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/46861; it has been noted by GNATS.

From: Attila Nagy <bra@fsn.hu>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: kern/46861: RELENG_5_0 crashes when used as an FTP server. 
Date: Fri, 17 Jan 2003 11:37:20 +0100 (CET)

 Since then I've recompiled the whole system to be up to date, tried out
 what happens when I disable ACPI, upgraded the firmware of all components
 (motherboard, SCSI card, etc) and I am still getting those crashes.
 
 The only difference is the OS is now called 5.0-RELEASE. :)
 
 Here is the gdb typescript from two crashes. It seems that they are in
 conjunction with the system load (either the Ethernet load, or the number
 of processes, jobs), because I got 6 days of uptime with very small load
 and when I decided to give some work to the machine it crashed, ran about
 1 hour and crashed again...
 
 Script started on Fri Jan 17 11:11:52 2003
 You have mail.
 kandojozsef-bkp# gdb -k kernel.debug.20030108 vmcore.2
 GNU gdb 5.2.1 (FreeBSD)
 Copyright 2002 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for details.
 This GDB was configured as "i386-undermydesk-freebsd"...
 panic: allocbuf: buffer not busy
 panic messages:
 ---
 Fatal trap 12: page fault while in kernel mode
 fault virtual address	= 0x11
 fault code		= supervisor read, page not present
 instruction pointer	= 0x8:0xc020bfa0
 stack pointer	        = 0x10:0xd9488b7c
 frame pointer	        = 0x10:0xd9488b98
 code segment		= base 0x0, limit 0xfffff, type 0x1b
 			= DPL 0, pres 1, def32 1, gran 1
 processor eflags	= interrupt enabled, resume, IOPL = 0
 current process		= 5369 (ftpd)
 trap number		= 12
 panic: page fault
 
 syncing disks, buffers remaining... panic: allocbuf: buffer not busy
 Uptime: 1h54m32s
 amr0: flushing cache...done
 Dumping 511 MB
  16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496
 ---
 #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:232
 232		dumping++;
 (kgdb) where
 #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:232
 #1  0xc01ce159 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:364
 #2  0xc01ce3a3 in panic () at /usr/src/sys/kern/kern_shutdown.c:517
 #3  0xc0216286 in allocbuf (bp=0xce6f5918, size=16384)
     at /usr/src/sys/kern/vfs_bio.c:2677
 #4  0xc0215efb in getblk (vp=0xc41b911c, blkno=2635969632, size=16384,
     slpflag=0, slptimeo=0) at /usr/src/sys/kern/vfs_bio.c:2526
 #5  0xc02132da in breadn (vp=0xc41b911c, blkno=0, size=0, rablkno=0x0,
     rabsize=0x0, cnt=0, cred=0x0, bpp=0x0) at /usr/src/sys/kern/vfs_bio.c:690
 #6  0xc021328c in bread (vp=0x0, blkno=0, size=0, cred=0x0, bpp=0x0)
     at /usr/src/sys/kern/vfs_bio.c:672
 #7  0xc025efe3 in ffs_update (vp=0xc4236d50, waitfor=0)
     at /usr/src/sys/ufs/ffs/ffs_inode.c:102
 #8  0xc0273aff in ffs_fsync (ap=0xd9488984)
     at /usr/src/sys/ufs/ffs/ffs_vnops.c:315
 #9  0xc0272ac7 in ffs_sync (mp=0xc414a000, waitfor=2, cred=0xc150ae80,
     td=0xc031a820) at vnode_if.h:612
 #10 0xc022887b in sync (td=0xc031a820, uap=0x0)
     at /usr/src/sys/kern/vfs_syscalls.c:138
 #11 0xc01cdd3c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:273
 #12 0xc01ce3a3 in panic () at /usr/src/sys/kern/kern_shutdown.c:517
 #13 0xc02cb852 in trap_fatal (frame=0xd9488b3c, eva=0)
     at /usr/src/sys/i386/i386/trap.c:844
 #14 0xc02cb532 in trap_pfault (frame=0xd9488b3c, usermode=0, eva=17)
     at /usr/src/sys/i386/i386/trap.c:758
 #15 0xc02cb020 in trap (frame=
       {tf_fs = -1917648872, tf_es = -1051656176, tf_ds = -1071972336, tf_edi = -987853948, tf_esi = -1051455488, tf_ebp = -649557096, tf_isp = -649557144, tf_ebx = 1, tf_edx = -1051455488, tf_ecx = -987853948, tf_eax = 39168, tf_trapno = 12, tf_err = 0, tf_eip = -1071595616, tf_cs = 8, tf_eflags = 66050, tf_esp = 0, tf_ss = 256}) at /usr/src/sys/i386/i386/trap.c:445
 #16 0xc02bb828 in calltrap () at {standard input}:98
 #17 0xc020bb7d in sbappend (sb=0x0, m=0x0)
     at /usr/src/sys/kern/uipc_socket2.c:495
 #18 0xc0253021 in tcp_usr_send (so=0xc51e8b00, flags=0, m=0xc1541000, nam=0x0,
     control=0xc1541000, td=0xc4d4f9a0) at /usr/src/sys/netinet/tcp_usrreq.c:688
 #19 0xc021048f in do_sendfile (td=0xc4d4f9a0, uap=0xd9488d10, compat=0)
     at /usr/src/sys/kern/uipc_syscalls.c:2000
 #20 0xc020f9e0 in sendfile (td=0x0, uap=0x0)
     at /usr/src/sys/kern/uipc_syscalls.c:1690
 #21 0xc02cbb7a in syscall (frame=
       {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 672793784, tf_esi = 0, tf_ebp = -1077940792, tf_isp = -649556620, tf_ebx = 584103936, tf_edx = 7, tf_ecx = 134582745, tf_eax = 393, tf_trapno = 0, tf_err = 2, tf_eip = 672246755, tf_cs = 31, tf_eflags = 518, tf_esp = -1077940884, tf_ss = 47})
     at /usr/src/sys/i386/i386/trap.c:1033
 #22 0xc02bb87d in Xint0x80_syscall () at {standard input}:140
 ---Can't read userspace from dump, or kernel process---
 
 (kgdb) quit
 kandojozsef-bkp# gdb -k kernel.debug.20030108 vmcore.3
 GNU gdb 5.2.1 (FreeBSD)
 Copyright 2002 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you are
 welcome to change it and/or distribute copies of it under certain conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for details.
 This GDB was configured as "i386-undermydesk-freebsd"...
 panic: bwrite: buffer is not busy???
 panic messages:
 ---
 Fatal trap 12: page fault while in kernel mode
 fault virtual address	= 0x20202020
 fault code		= supervisor write, page not present
 instruction pointer	= 0x8:0xc020772d
 stack pointer	        = 0x10:0xd698bba0
 frame pointer	        = 0x10:0xd698bbc4
 code segment		= base 0x0, limit 0xfffff, type 0x1b
 			= DPL 0, pres 1, def32 1, gran 1
 processor eflags	= interrupt enabled, resume, IOPL = 0
 current process		= 13 (swi6: tty:sio clock)
 trap number		= 12
 panic: page fault
 
 syncing disks, buffers remaining... panic: bwrite: buffer is not busy???
 Uptime: 6d2h24m33s
 amr0: flushing cache...done
 Dumping 511 MB
  16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496
 ---
 #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:232
 232		dumping++;
 (kgdb) where
 #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:232
 #1  0xc01ce159 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:364
 #2  0xc01ce3a3 in panic () at /usr/src/sys/kern/kern_shutdown.c:517
 #3  0xc0213622 in bwrite (bp=0xce642de8) at /usr/src/sys/kern/vfs_bio.c:796
 #4  0xc0214d05 in vfs_bio_awrite (bp=0xce642de8)
     at /usr/src/sys/kern/vfs_bio.c:1643
 #5  0xc0197bd1 in spec_fsync (ap=0xd698b998)
     at /usr/src/sys/fs/specfs/spec_vnops.c:462
 #6  0xc0196f38 in spec_vnoperate (ap=0x0)
     at /usr/src/sys/fs/specfs/spec_vnops.c:126
 #7  0xc0272ce7 in ffs_sync (mp=0xc4055a00, waitfor=2, cred=0xc150ae80,
     td=0xc031a820) at vnode_if.h:612
 #8  0xc022887b in sync (td=0xc031a820, uap=0x0)
     at /usr/src/sys/kern/vfs_syscalls.c:138
 #9  0xc01cdd3c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:273
 #10 0xc01ce3a3 in panic () at /usr/src/sys/kern/kern_shutdown.c:517
 #11 0xc02cb852 in trap_fatal (frame=0xd698bb60, eva=0)
     at /usr/src/sys/i386/i386/trap.c:844
 #12 0xc02cb532 in trap_pfault (frame=0xd698bb60, usermode=0, eva=538976288)
     at /usr/src/sys/i386/i386/trap.c:758
 #13 0xc02cb020 in trap (frame=
       {tf_fs = -1051656168, tf_es = -1051656176, tf_ds = 16, tf_edi = 0, tf_esi = -1051455488, tf_ebp = -694633532, tf_isp = -694633588, tf_ebx = -1050354432, tf_edx = 1, tf_ecx = 4, tf_eax = 538976288, tf_trapno = 12, tf_err = 2, tf_eip = -1071614163, tf_cs = 8, tf_eflags = 66050, tf_esp = 1, tf_ss = 1})
     at /usr/src/sys/i386/i386/trap.c:445
 #14 0xc02bb828 in calltrap () at {standard input}:98
 #15 0xc024dc27 in tcp_output (tp=0xc164dd00)
     at /usr/src/sys/netinet/tcp_output.c:631
 #16 0xc0251fb4 in tcp_timer_rexmt (xtp=0xc65f65b8)
     at /usr/src/sys/netinet/tcp_timer.c:547
 #17 0xc01dd0e5 in softclock (dummy=0x0) at /usr/src/sys/kern/kern_timeout.c:195
 #18 0xc01b9ca1 in ithread_loop (arg=0xc1516e80)
     at /usr/src/sys/kern/kern_intr.c:535
 #19 0xc01b8ba3 in fork_exit (callout=0xc01b9ad0 <ithread_loop>, arg=0x0,
     frame=0x0) at /usr/src/sys/kern/kern_fork.c:872
 (kgdb) quit
 kandojozsef-bkp# exit
 
 Script done on Fri Jan 17 11:13:39 2003
 
 Thanks,
 ----------[ Free Software ISOs - http://www.fsn.hu/?f=download ]----------
 Attila Nagy					e-mail: Attila.Nagy@fsn.hu
 Free Software Network (FSN.HU)		  phone @work: +361 210 1415 (194)
 						cell.: +3630 306 6758

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




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