Re: panic: softdep_deallocate_dependencies: dangling deps

2017-09-28 Thread John Baldwin
On Wednesday, September 27, 2017 03:13:21 PM Steve Kargl wrote:
> Just got this panic on 
> 
> FreeBSD troutmask.apl.washington.edu 12.0-CURRENT FreeBSD 12.0-CURRENT
> #0 r321800: Mon Jul 31 13:48:43 PDT 2017
> kargl@:/data/obj/usr/src/sys/SPEW  amd64
> 
> core.txt.0 contains
> 
> panic: softdep_deallocate_dependencies: dangling deps
> cpuid = 7
> time = 1506549566
> KDB: stack backtrace:
> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfe023a281710
> vpanic() at vpanic+0x19c/frame 0xfe023a281790
> panic() at panic+0x43/frame 0xfe023a2817f0
> softdep_deallocate_dependencies() at 
> softdep_deallocate_dependencies+0x76/frame 0xfe023a281810
> brelse() at brelse+0x149/frame 0xfe023a281870
> bufwrite() at bufwrite+0x65/frame 0xfe023a2818b0
> softdep_process_journal() at softdep_process_journal+0x7a8/frame 
> 0xfe023a281950
> softdep_process_worklist() at softdep_process_worklist+0x80/frame 
> 0xfe023a2819b0
> softdep_flush() at softdep_flush+0xff/frame 0xfe023a2819f0
> fork_exit() at fork_exit+0x75/frame 0xfe023a281a30
> fork_trampoline() at fork_trampoline+0xe/frame 0xfe023a281a30
> --- trap 0, rip = 0, rsp = 0, rbp = 0 ---
> 
> __curthread () at ./machine/pcpu.h:232
> 232   __asm("movq %%gs:%1,%0" : "=r" (td)
> (kgdb) #0  __curthread () at ./machine/pcpu.h:232
> #1  doadump (textdump=1) at /usr/src/sys/kern/kern_shutdown.c:318
> #2  0x805879eb in kern_reboot (howto=260)
> at /usr/src/sys/kern/kern_shutdown.c:386
> #3  0x80587e66 in vpanic (fmt=, ap=0xfe023a2817d0)
> at /usr/src/sys/kern/kern_shutdown.c:779
> #4  0x80587c83 in panic (fmt=)
> at /usr/src/sys/kern/kern_shutdown.c:710
> #5  0x80787f56 in softdep_deallocate_dependencies (
> bp=0xfe01f008d8b8) at /usr/src/sys/ufs/ffs/ffs_softdep.c:14304
> #6  0x8061dd69 in buf_deallocate (bp=0xfe01f008d8b8)
> at /usr/src/sys/sys/buf.h:429
> #7  brelse (bp=0xfe01f008d8b8) at /usr/src/sys/kern/vfs_bio.c:2348
> #8  0x8061b9e5 in bufwrite (bp=0xfe01f008d8b8)
> at /usr/src/sys/kern/vfs_bio.c:1914
> #9  0x8079bec8 in softdep_process_journal (mp=, 
> needwk=0x0, flags=)
> at /usr/src/sys/ufs/ffs/ffs_softdep.c:3559
> #10 0x80785dc0 in softdep_process_worklist (mp=0xf80007eef000, 
> full=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:1592
> #11 0x807894ff in softdep_flush (addr=0xf80007eef000)
> at /usr/src/sys/ufs/ffs/ffs_softdep.c:1397
> #12 0x80555075 in fork_exit (
> callout=0x80789400 , arg=0xf80007eef000, 
> frame=0xfe023a281a40) at /usr/src/sys/kern/kern_fork.c:1038
> #13 
> (kgdb) 
> 
> Hmmm,
> 
> %  kgdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.0
> GNU gdb (GDB) 8.0 [GDB v8.0 for FreeBSD]
> Copyright (C) 2017 Free Software Foundation, Inc.
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from /usr/lib/debug/boot/kernel/kernel.debug...done.
> ABI doesn't support a vmcore target
> 
> OK, so debugging is broken :-/

Run the debugger on the binary, not the debug symbols:

kgdb /boot/kernel/kernel vmcore.0

-- 
John Baldwin
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: panic: softdep_deallocate_dependencies: dangling deps

2017-09-28 Thread Gary Jennejohn
On Wed, 27 Sep 2017 15:19:59 -0700
Steve Kargl  wrote:

> On Wed, Sep 27, 2017 at 03:13:21PM -0700, Steve Kargl wrote:
> > 
> > Hmmm,
> > 
> > %  kgdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.0
> > Reading symbols from /usr/lib/debug/boot/kernel/kernel.debug...done.
> > ABI doesn't support a vmcore target
> > 
> > OK, so debugging is broken :-/
> >   
> 
> It seems the devel/gdb80 port installs a kgdb symlink
> to kgdb80.  So, I'm not getting the correct kgdb due to 
> my path.  Ugh.
> 

Yeah.  I think the idea is to delete the old base-system kgdb when
you install the port.

-- 
Gary Jennejohn
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: panic: softdep_deallocate_dependencies: dangling deps

2017-09-27 Thread Steve Kargl
On Wed, Sep 27, 2017 at 03:13:21PM -0700, Steve Kargl wrote:
> 
> Hmmm,
> 
> %  kgdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.0
> Reading symbols from /usr/lib/debug/boot/kernel/kernel.debug...done.
> ABI doesn't support a vmcore target
> 
> OK, so debugging is broken :-/
> 

It seems the devel/gdb80 port installs a kgdb symlink
to kgdb80.  So, I'm not getting the correct kgdb due to 
my path.  Ugh.

-- 
Steve
20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
20161221 https://www.youtube.com/watch?v=IbCHE-hONow
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


panic: softdep_deallocate_dependencies: dangling deps

2017-09-27 Thread Steve Kargl
Just got this panic on 

FreeBSD troutmask.apl.washington.edu 12.0-CURRENT FreeBSD 12.0-CURRENT
#0 r321800: Mon Jul 31 13:48:43 PDT 2017
kargl@:/data/obj/usr/src/sys/SPEW  amd64

core.txt.0 contains

panic: softdep_deallocate_dependencies: dangling deps
cpuid = 7
time = 1506549566
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfe023a281710
vpanic() at vpanic+0x19c/frame 0xfe023a281790
panic() at panic+0x43/frame 0xfe023a2817f0
softdep_deallocate_dependencies() at softdep_deallocate_dependencies+0x76/frame 
0xfe023a281810
brelse() at brelse+0x149/frame 0xfe023a281870
bufwrite() at bufwrite+0x65/frame 0xfe023a2818b0
softdep_process_journal() at softdep_process_journal+0x7a8/frame 
0xfe023a281950
softdep_process_worklist() at softdep_process_worklist+0x80/frame 
0xfe023a2819b0
softdep_flush() at softdep_flush+0xff/frame 0xfe023a2819f0
fork_exit() at fork_exit+0x75/frame 0xfe023a281a30
fork_trampoline() at fork_trampoline+0xe/frame 0xfe023a281a30
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---

__curthread () at ./machine/pcpu.h:232
232 __asm("movq %%gs:%1,%0" : "=r" (td)
(kgdb) #0  __curthread () at ./machine/pcpu.h:232
#1  doadump (textdump=1) at /usr/src/sys/kern/kern_shutdown.c:318
#2  0x805879eb in kern_reboot (howto=260)
at /usr/src/sys/kern/kern_shutdown.c:386
#3  0x80587e66 in vpanic (fmt=, ap=0xfe023a2817d0)
at /usr/src/sys/kern/kern_shutdown.c:779
#4  0x80587c83 in panic (fmt=)
at /usr/src/sys/kern/kern_shutdown.c:710
#5  0x80787f56 in softdep_deallocate_dependencies (
bp=0xfe01f008d8b8) at /usr/src/sys/ufs/ffs/ffs_softdep.c:14304
#6  0x8061dd69 in buf_deallocate (bp=0xfe01f008d8b8)
at /usr/src/sys/sys/buf.h:429
#7  brelse (bp=0xfe01f008d8b8) at /usr/src/sys/kern/vfs_bio.c:2348
#8  0x8061b9e5 in bufwrite (bp=0xfe01f008d8b8)
at /usr/src/sys/kern/vfs_bio.c:1914
#9  0x8079bec8 in softdep_process_journal (mp=, 
needwk=0x0, flags=)
at /usr/src/sys/ufs/ffs/ffs_softdep.c:3559
#10 0x80785dc0 in softdep_process_worklist (mp=0xf80007eef000, 
full=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:1592
#11 0x807894ff in softdep_flush (addr=0xf80007eef000)
at /usr/src/sys/ufs/ffs/ffs_softdep.c:1397
#12 0x80555075 in fork_exit (
callout=0x80789400 , arg=0xf80007eef000, 
frame=0xfe023a281a40) at /usr/src/sys/kern/kern_fork.c:1038
#13 
(kgdb) 

Hmmm,

%  kgdb /usr/lib/debug/boot/kernel/kernel.debug vmcore.0
GNU gdb (GDB) 8.0 [GDB v8.0 for FreeBSD]
Copyright (C) 2017 Free Software Foundation, Inc.
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/lib/debug/boot/kernel/kernel.debug...done.
ABI doesn't support a vmcore target

OK, so debugging is broken :-/

-- 
Steve
20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
20161221 https://www.youtube.com/watch?v=IbCHE-hONow
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


panic: softdep_deallocate_dependencies: dangling deps

2003-11-27 Thread Christian Brueffer
Hi,

got the following panic on an smp system tonight.  Dump available for
further debugging.

FreeBSD haakonia.hitnet.rwth-aachen.de 5.1-CURRENT FreeBSD 5.1-CURRENT #22: Thu Nov 20 
20:05:47 CET 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LORIEN  i386


GNU gdb 5.3 (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-portbld-freebsd5.1...
panic: softdep_deallocate_dependencies: dangling deps
panic messages:
---
panic: softdep_deallocate_dependencies: dangling deps
cpuid = 1; 
boot() called on cpu#1

syncing disks, buffers remaining... 3841 3841 3840 3839 3839 3838 3837
3837 3837 3837 3837 3837 3837 3837 3837 3837 3837 3837 3837 3837 3837
3837 3837 3837 3837 3837 
giving up on 3183 buffers
Uptime: 6d8h13m1s
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:240
240 dumping++;
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc0534260 in boot (howto=256) at
/usr/src/sys/kern/kern_shutdown.c:372
#2  0xc053465d in panic (fmt=0xc070c19a
softdep_deallocate_dependencies: dangling deps)
at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc064ae85 in softdep_deallocate_dependencies (bp=0x0) at
/usr/src/sys/ufs/ffs/ffs_softdep.c:5919
#4  0xc057e3fb in brelse (bp=0xcec64fd8) at /usr/src/sys/sys/buf.h:427
#5  0xc058e8fa in flushbuflist (blist=0xcec64fd8, flags=0,
vp=0xc6388e38, slpflag=0, slptimeo=0, errorp=0x0)
at /usr/src/sys/kern/vfs_subr.c:1269
#6  0xc058e508 in vinvalbuf (vp=0xc6388e38, flags=0, cred=0x0, td=0x0,
slpflag=0, slptimeo=0)
at /usr/src/sys/kern/vfs_subr.c:1155
#7  0xc05913fd in vclean (vp=0xc6388e38, flags=8, td=0xc472aa00) at
/usr/src/sys/kern/vfs_subr.c:2560
#8  0xc0591a41 in vgonel (vp=0xc6388e38, td=0x0) at
/usr/src/sys/kern/vfs_subr.c:2756
#9  0xc058d558 in vlrureclaim (mp=0xc4c46800) at
/usr/src/sys/kern/vfs_subr.c:725
#10 0xc058d78f in vnlru_proc () at /usr/src/sys/kern/vfs_subr.c:776
#11 0xc051da44 in fork_exit (callout=0xc058d5e0 vnlru_proc, arg=0x0,
frame=0x0)
at /usr/src/sys/kern/kern_fork.c:793


- Christian

-- 
Christian Brueffer  [EMAIL PROTECTED]   [EMAIL PROTECTED]
GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D


pgp0.pgp
Description: PGP signature


Re: panic: softdep_deallocate_dependencies: dangling deps

2003-10-22 Thread YONETANI Tomokazu
Hello.

On 2003/10/13 02:09:54, Oliver Fischer wrote:
 My notebook was a little bit panic this night. After rebooting I found 
  this message in my system log:
 
  panic: softdep_deallocate_dependencies: dangling deps

I've been seeing this panic on NetFinity 6000R since end of September.
-CURRENT is installed on a RAID partition, and the partition is controlled
by ips driver, so it's possible that the root of my problem is completely
different from yours, but anyway...

To reproduce it, enable dump device and create many files in a directory:

# mkdir foo; i=0; while :; do echo -n $i  foo/$i; i=$(($i + 1)); done

and go to bed and you'll get a kernel dump in the crash dump directory
in the next morning. At first I thought that the hard disk is damanged,
but the following dd command doesn't panic the machine, just fills up
the partition many times.
# while :; do dd if=/dev/zero of=BIG bs=1048576; done

With -CURRENT built from source as of D2003.10.21.00.00.00, I'm still
able to reproduce this panic, together with new one:
panic: handle_written_inodeblock: live inodedep

Backtraces are available on request.
-- 
YONETANI Tomokazu / Ergo-Brains Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: softdep_deallocate_dependencies: dangling deps

2003-10-14 Thread Oliver Fischer
Jeff Roberson wrote:
When are your sources from?
My last cvs up is two days ago.

Regards,

Oliver Fischer

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


panic: softdep_deallocate_dependencies: dangling deps

2003-10-12 Thread Oliver Fischer
My notebook was a little bit panic this night. After rebooting I found 
 this message in my system log:

 panic: softdep_deallocate_dependencies: dangling deps

?

Regards,

Oliver Fischer

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: softdep_deallocate_dependencies: dangling deps

2003-10-12 Thread Jeff Roberson
On Mon, 13 Oct 2003, Oliver Fischer wrote:

 My notebook was a little bit panic this night. After rebooting I found
   this message in my system log:

   panic: softdep_deallocate_dependencies: dangling deps

 ?

When are your sources from?


 Regards,

 Oliver Fischer

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: softdep_deallocate_dependencies: dangling deps

2003-08-31 Thread Christian Brueffer

--LwbuP8dfxhLLLUfV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 31, 2003 at 05:28:10AM -0400, Jeff Roberson wrote:
 On Sun, 31 Aug 2003, Christian Brueffer wrote:
=20
  Hi,
 
  got a panic on my server tonight.  Coredump available for further debug=
gung.
 
  FreeBSD haakonia.hitnet.rwth-aachen.de 5.1-CURRENT FreeBSD 5.1-CURRENT =
#6: Thu Aug 28 00:16:19 CEST 2003
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LORIEN  i386
=20
 When are your srouces from?  Specifically, what version of vfs_bio.c do
 you have?
=20

It should be rev 1.397 of vfs_bio.c, I updated the sources just before the
kernel build.

- Christian

--=20
Christian Brueffer  [EMAIL PROTECTED]   [EMAIL PROTECTED]
GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D

--LwbuP8dfxhLLLUfV
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/UcNjbHYXjKDtmC0RArWpAJ9RpBKghyAS/yUhxsuUnVguWMi8jwCgtFXy
K1t1z2RdHzq+ZHoy4ujFkGw=
=o1AU
-END PGP SIGNATURE-

--LwbuP8dfxhLLLUfV--



panic: softdep_deallocate_dependencies: dangling deps

2003-08-31 Thread Christian Brueffer

--D9sZ58tf58331Q5M
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

got a panic on my server tonight.  Coredump available for further debuggung.

FreeBSD haakonia.hitnet.rwth-aachen.de 5.1-CURRENT FreeBSD 5.1-CURRENT #6: =
Thu Aug 28 00:16:19 CEST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LORIEN  i386


GNU gdb 5.3 (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 condition=
s.
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-portbld-freebsd5.1...
panic: softdep_deallocate_dependencies: dangling deps
panic messages:
---
panic: softdep_deallocate_dependencies: dangling deps
cpuid =3D 1; lapic.id =3D 0100
boot() called on cpu#1

syncing disks, buffers remaining... panic: bremfree: removing a buffer not =
on a queue
cpuid =3D 1; lapic.id =3D 0100
boot() called on cpu#1
Uptime: 2d5h32m34s
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 4
 80 496
 ---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240 dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc0212e20 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:3=
72
#2  0xc0213226 in panic (fmt=3D0xc03b2848 bremfree: removing a buffer not =
on a queue)
at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc025a051 in bremfreel (bp=3D0xce6b6228) at /usr/src/sys/kern/vfs_bio.=
c:644
#4  0xc0259f25 in bremfree (bp=3D0x0) at /usr/src/sys/kern/vfs_bio.c:626
#5  0xc025c658 in vfs_bio_awrite (bp=3D0x0) at /usr/src/sys/kern/vfs_bio.c:=
1699
#6  0xc030a54c in ffs_fsync (ap=3D0xd8361a70) at /usr/src/sys/ufs/ffs/ffs_v=
nops.c:268
#7  0xc0309693 in ffs_sync (mp=3D0xc454d600, waitfor=3D2, cred=3D0xc150de80=
, td=3D0xc040d7a0) at vnode_if.h:627
#8  0xc027040b in sync (td=3D0xc040d7a0, uap=3D0x0) at /usr/src/sys/kern/vf=
s_syscalls.c:142
#9  0xc021296f in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:2=
81
#10 0xc0213226 in panic (fmt=3D0xc03bf702 softdep_deallocate_dependencies:=
 dangling deps)
at /usr/src/sys/kern/kern_shutdown.c:550
#11 0xc0306c35 in softdep_deallocate_dependencies (bp=3D0x0) at /usr/src/sy=
s/ufs/ffs/ffs_softdep.c:5874
#12 0xc025b30a in brelse (bp=3D0xce6b6228) at /usr/src/sys/sys/buf.h:427
#13 0xc026b93a in flushbuflist (blist=3D0xce6b6228, flags=3D0, vp=3D0xc60fb=
490, slpflag=3D0, slptimeo=3D0, errorp=3D0x0)
at /usr/src/sys/kern/vfs_subr.c:1277
#14 0xc026b548 in vinvalbuf (vp=3D0xc60fb490, flags=3D0, cred=3D0x0, td=3D0=
x0, slpflag=3D0, slptimeo=3D0)
at /usr/src/sys/kern/vfs_subr.c:1160
#15 0xc026e3cc in vclean (vp=3D0xc60fb490, flags=3D8, td=3D0xc4008000) at /=
usr/src/sys/kern/vfs_subr.c:2577
#16 0xc026e959 in vgonel (vp=3D0xc60fb490, td=3D0x0) at /usr/src/sys/kern/v=
fs_subr.c:2761
#17 0xc026a679 in vlrureclaim (mp=3D0xc454d600) at /usr/src/sys/kern/vfs_su=
br.c:723
#18 0xc026a8bf in vnlru_proc () at /usr/src/sys/kern/vfs_subr.c:776
#19 0xc01ea01f in fork_exit (callout=3D0xc026a710 vnlru_proc, arg=3D0x0, =
frame=3D0x0)
at /usr/src/sys/kern/kern_fork.c:796
(kgdb)


Anyone interested?

- Christian

--=20
Christian Brueffer  [EMAIL PROTECTED]   [EMAIL PROTECTED]
GPG Key: http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D

--D9sZ58tf58331Q5M
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/UaZJbHYXjKDtmC0RAlPDAJ9CGikHqB81AEzTPwjPU61jWDbWsgCdHWfX
LE15qmeXdMWLQmEUwKXnKYI=
=M4OU
-END PGP SIGNATURE-

--D9sZ58tf58331Q5M--



Re: panic: softdep_deallocate_dependencies: dangling deps

2003-08-31 Thread Jeff Roberson

On Sun, 31 Aug 2003, Christian Brueffer wrote:

 On Sun, Aug 31, 2003 at 05:28:10AM -0400, Jeff Roberson wrote:
  On Sun, 31 Aug 2003, Christian Brueffer wrote:
 
   Hi,
  
   got a panic on my server tonight.  Coredump available for further debuggung.
  
   FreeBSD haakonia.hitnet.rwth-aachen.de 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Thu 
   Aug 28 00:16:19 CEST 2003
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LORIEN  i386
 
  When are your srouces from?  Specifically, what version of vfs_bio.c do
  you have?
 

 It should be rev 1.397 of vfs_bio.c, I updated the sources just before the
 kernel build.

 - Christian


Oh, fortunately for me, it's not my fault then.  I'll try to grab the
attention of someone who can help.

Cheers,
Jeff

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: panic: softdep_deallocate_dependencies: dangling deps

2003-08-31 Thread Jeff Roberson
On Sun, 31 Aug 2003, Christian Brueffer wrote:

 Hi,

 got a panic on my server tonight.  Coredump available for further debuggung.

 FreeBSD haakonia.hitnet.rwth-aachen.de 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Thu Aug 
 28 00:16:19 CEST 2003
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LORIEN  i386

When are your srouces from?  Specifically, what version of vfs_bio.c do
you have?

Thanks,
Jeff



 GNU gdb 5.3 (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-portbld-freebsd5.1...
 panic: softdep_deallocate_dependencies: dangling deps
 panic messages:
 ---
 panic: softdep_deallocate_dependencies: dangling deps
 cpuid = 1; lapic.id = 0100
 boot() called on cpu#1

 syncing disks, buffers remaining... panic: bremfree: removing a buffer not on a queue
 cpuid = 1; lapic.id = 0100
 boot() called on cpu#1
 Uptime: 2d5h32m34s
 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 4
  80 496
  ---
 #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
 240 dumping++;
 (kgdb) bt
 #0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
 #1  0xc0212e20 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:372
 #2  0xc0213226 in panic (fmt=0xc03b2848 bremfree: removing a buffer not on a queue)
 at /usr/src/sys/kern/kern_shutdown.c:550
 #3  0xc025a051 in bremfreel (bp=0xce6b6228) at /usr/src/sys/kern/vfs_bio.c:644
 #4  0xc0259f25 in bremfree (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:626
 #5  0xc025c658 in vfs_bio_awrite (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:1699
 #6  0xc030a54c in ffs_fsync (ap=0xd8361a70) at /usr/src/sys/ufs/ffs/ffs_vnops.c:268
 #7  0xc0309693 in ffs_sync (mp=0xc454d600, waitfor=2, cred=0xc150de80, 
 td=0xc040d7a0) at vnode_if.h:627
 #8  0xc027040b in sync (td=0xc040d7a0, uap=0x0) at 
 /usr/src/sys/kern/vfs_syscalls.c:142
 #9  0xc021296f in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:281
 #10 0xc0213226 in panic (fmt=0xc03bf702 softdep_deallocate_dependencies: dangling 
 deps)
 at /usr/src/sys/kern/kern_shutdown.c:550
 #11 0xc0306c35 in softdep_deallocate_dependencies (bp=0x0) at 
 /usr/src/sys/ufs/ffs/ffs_softdep.c:5874
 #12 0xc025b30a in brelse (bp=0xce6b6228) at /usr/src/sys/sys/buf.h:427
 #13 0xc026b93a in flushbuflist (blist=0xce6b6228, flags=0, vp=0xc60fb490, slpflag=0, 
 slptimeo=0, errorp=0x0)
 at /usr/src/sys/kern/vfs_subr.c:1277
 #14 0xc026b548 in vinvalbuf (vp=0xc60fb490, flags=0, cred=0x0, td=0x0, slpflag=0, 
 slptimeo=0)
 at /usr/src/sys/kern/vfs_subr.c:1160
 #15 0xc026e3cc in vclean (vp=0xc60fb490, flags=8, td=0xc4008000) at 
 /usr/src/sys/kern/vfs_subr.c:2577
 #16 0xc026e959 in vgonel (vp=0xc60fb490, td=0x0) at /usr/src/sys/kern/vfs_subr.c:2761
 #17 0xc026a679 in vlrureclaim (mp=0xc454d600) at /usr/src/sys/kern/vfs_subr.c:723
 #18 0xc026a8bf in vnlru_proc () at /usr/src/sys/kern/vfs_subr.c:776
 #19 0xc01ea01f in fork_exit (callout=0xc026a710 vnlru_proc, arg=0x0, frame=0x0)
 at /usr/src/sys/kern/kern_fork.c:796
 (kgdb)


 Anyone interested?

 - Christian

 --
 Christian Brueffer[EMAIL PROTECTED]   [EMAIL PROTECTED]
 GPG Key:   http://people.freebsd.org/~brueffer/brueffer.key.asc
 GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]