António Trindade
2012-Jan-27 00:53 UTC
kernel: panic: softdep_sync_buf: Unknown type jnewblk
> From: Ant?nio Trindade <antonio.trindade@gmail.com> > Date: 27 de Janeiro de 2012 00:40:06 WET > To: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org, freebsd-bugs@freebsd.org > Subject: kernel: panic: softdep_sync_buf: Unknown type jnewblk > > Cheers. > > I recently updated my system to FreeBSD-9.0 and activated softupdate journaling for a number of file systems (name /home, /var, /usr). > > Since then I have been experiencing kernel panics: > kernel: panic: softdep_sync_buf: Unknown type jnewblk > > Yesterday, Jan 26th, I got 6 (six) automatic reboots due to these kernel panics. > > I have now disabled softupdates journaling in the hope that the panics disappear. > > I am sorry for not providing more information about the panic, but I'll gladly try to gather more info if instructed how to. > > Cumprimentos/Best regards/Mit freundlichen Gr??en, > Ant?nio Trindade > Antonio <dot> Trindade <at> gmail.com > > S?tios pessoais: > Galeria Fotogr?fica: http://trindade.myphotos.cc/fotos/ > Blog de fotografia: http://trindade.myphotos.cc/fotografia/ > Blog de not?cias: http://trindade.myphotos.cc/noticiasavulsas/ > Blog pessoal: http://trindade.myphotos.cc/pensamentosnoar/ >I forgot some additional info: To deactivate softupdates journaling, I rebooted into single-user mode and ran full fsck to every file system I had activated journaling for. To my surprise, fsck reported errors (namely wrong block counts and bitmap errors, nothing serious). Cumprimentos/Best regards/Mit freundlichen Gr??en, Ant?nio Trindade Antonio <dot> Trindade <at> gmail.com S?tios pessoais: Galeria Fotogr?fica: http://trindade.myphotos.cc/fotos/ Blog de fotografia: http://trindade.myphotos.cc/fotografia/ Blog de not?cias: http://trindade.myphotos.cc/noticiasavulsas/ Blog pessoal: http://trindade.myphotos.cc/pensamentosnoar/
António Trindade
2012-Jan-27 01:09 UTC
kernel: panic: softdep_sync_buf: Unknown type jnewblk
Cheers. I recently updated my system to FreeBSD-9.0 and activated softupdate journaling for a number of file systems (name /home, /var, /usr). Since then I have been experiencing kernel panics: kernel: panic: softdep_sync_buf: Unknown type jnewblk Yesterday, Jan 26th, I got 6 (six) automatic reboots due to these kernel panics. I have now disabled softupdates journaling in the hope that the panics disappear. I am sorry for not providing more information about the panic, but I'll gladly try to gather more info if instructed how to. Cumprimentos/Best regards/Mit freundlichen Gr??en, Ant?nio Trindade Antonio <dot> Trindade <at> gmail.com S?tios pessoais: Galeria Fotogr?fica: http://trindade.myphotos.cc/fotos/ Blog de fotografia: http://trindade.myphotos.cc/fotografia/ Blog de not?cias: http://trindade.myphotos.cc/noticiasavulsas/ Blog pessoal: http://trindade.myphotos.cc/pensamentosnoar/
On 01/26/2012 16:40, Ant?nio Trindade wrote:> Cheers. > > I recently updated my system to FreeBSD-9.0 and activated softupdate journaling for a number of file systems (name /home, /var, /usr). > > Since then I have been experiencing kernel panics: > kernel: panic: softdep_sync_buf: Unknown type jnewblk > > Yesterday, Jan 26th, I got 6 (six) automatic reboots due to these kernel panics. > > I have now disabled softupdates journaling in the hope that the panics disappear. > > I am sorry for not providing more information about the panic, but I'll gladly try to gather more info if instructed how to.Make sure that dumpdev is defined in rc.conf. Usually you want to use your swap device. You should also boot into single user mode and do 'fsck -y' to make sure that the file systems are actually clean. There have been problems reported where SU+J doesn't recover fully after a crash, which leads to the kinds of instability you're reporting. hth, Doug -- It's always a long day; 86400 doesn't fit into a short. Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/
António Trindade
2012-Jan-29 14:32 UTC
kernel: panic: softdep_sync_buf: Unknown type jnewblk
Hi. I'm pretty sure this will be considered almost as spam, but I reactivated SU+J a day and half ago and it still did not panic. However, I also activated dumpdev, so I'll be prepared to provide additional information in case of a panic. Cumprimentos/Best regards/Mit freundlichen Gr??en, Ant?nio Trindade Antonio <dot> Trindade <at> gmail.com S?tios pessoais: Galeria Fotogr?fica: http://trindade.myphotos.cc/fotos/ Blog de fotografia: http://trindade.myphotos.cc/fotografia/ Blog de not?cias: http://trindade.myphotos.cc/noticiasavulsas/ Blog pessoal: http://trindade.myphotos.cc/pensamentosnoar/ On 2012/01/29, at 08:09, Kirk McKusick wrote:>> Date: Fri, 27 Jan 2012 09:39:34 +0100 >> From: Yamagi Burmeister <lists@yamagi.org> >> To: freebsd@jdc.parodius.com >> Cc: antonio.trindade@gmail.com, freebsd-fs@freebsd.org, dougb@freebsd.org, >> freebsd-stable@freebsd.org >> Subject: Re: kernel: panic: softdep_sync_buf: Unknown type jnewblk >> >> Hi :) >> >> On Thu, 26 Jan 2012 17:54:30 -0800 >> Jeremy Chadwick <freebsd@jdc.parodius.com> wrote: >> >>> I'll also point out, though the OP isn't using snapshots, that it's >>> confirmed use of snapshots on SU+J can result in a full filesystem hang. >>> Confirmation is from Kirk McKusick (author of SU and designer of SU+J): >>> >>> http://lists.freebsd.org/pipermail/freebsd-fs/2012-January/013429.html >>> >>> Something really needs to be done about this combination of problems. >>> >>> Since SU+J is the default choice for all UFS filesystems on 9.0-RELEASE, >>> the only solution I can think of is to send a massive announcement to >>> relevant mailing lists, AND put something on the freebsd.org home page >>> about these issues. >> >> The problem was analyzed but no immediate solution found. Therefor >> snapshots on filesystems with SU+J (but not SU alone) were disabled >> by Kirk McKusick in SVN r230250. The MFC to 9-STABLE has still to >> be done. Maybe this fix is a candidate for an errata notice / patch, >> distributed by freebsd-update? > > With revision 230725 I have MFC'ed to 9 the above change to disable > snapshots when running SU+J. Hopefully Jeff and I will manage to get > a fix for snapshots so as to be able to run them reliably with SU+J. > The above change is not relevant to 8 or earlier systems, so this MFC > will not be applied to them. > > Kirk McKusick
António Trindade
2012-Feb-03 13:09 UTC
kernel: panic: softdep_sync_buf: Unknown type jnewblk
Hi! After a few days, I finally got a kernel panic like the one I reported earlier. I attach the file info.0. I'm not attaching the vmcore.0 and core.txt.0 files, because they are over 100MB in size. If needed, they can be downloaded from http://trindade.myphotos.cc/crash/vmcore.0.gz and http://trindade.myphotos.cc/crash/core.txt.0. I remind you that I am not using snapshots, at least conscientiously. Hope this helps diagnosing the problem. Meanwhile I deactivated SU+J again and reverted back to plain old SU. Best regards. ------ BEGIN info.0 ------ Dump header from device /dev/ad0s1b Architecture: i386 Architecture Version: 2 Dump Length: 193622016B (184 MB) Blocksize: 512 Dumptime: Thu Feb 2 22:57:19 2012 Hostname: gatekeeper.darklair.homeunix.net Magic: FreeBSD Kernel Dump Version String: FreeBSD 9.0-RELEASE #0: Sun Jan 15 01:22:14 WET 2012 root@gatekeeper.darklair.homeunix.net:/usr/obj/usr/src/sys/GATEKEEPER Panic String: softdep_sync_buf: Unknown type jnewblk Dump Parity: 3424763946 Bounds: 0 Dump Status: good ------ END info.0 ------ Ant?nio Trindade Antonio <dot> Trindade <at> gmail.com S?tios pessoais: Galeria Fotogr?fica: http://trindade.myphotos.cc/fotos/ Blog de fotografia: http://trindade.myphotos.cc/fotografia/ Blog de not?cias: http://trindade.myphotos.cc/noticiasavulsas/ Blog pessoal: http://trindade.myphotos.cc/pensamentosnoar/ On 2012/01/27, at 01:03, Ant?nio Trindade wrote:> I'm sorry for so many mails... > > Please cc me about this, because I'm not on any of the FreeBSD mailing lists... > > Thanks in advance. > > Cumprimentos/Best regards/Mit freundlichen Gr??en, > Ant?nio Trindade > Antonio <dot> Trindade <at> gmail.com > > S?tios pessoais: > Galeria Fotogr?fica: http://trindade.myphotos.cc/fotos/ > Blog de fotografia: http://trindade.myphotos.cc/fotografia/ > Blog de not?cias: http://trindade.myphotos.cc/noticiasavulsas/ > Blog pessoal: http://trindade.myphotos.cc/pensamentosnoar/ > > On 2012/01/27, at 00:44, Ant?nio Trindade wrote: > >> >>> From: Ant?nio Trindade <antonio.trindade@gmail.com> >>> Date: 27 de Janeiro de 2012 00:40:06 WET >>> To: freebsd-stable@freebsd.org, freebsd-fs@freebsd.org, freebsd-bugs@freebsd.org >>> Subject: kernel: panic: softdep_sync_buf: Unknown type jnewblk >>> >>> Cheers. >>> >>> I recently updated my system to FreeBSD-9.0 and activated softupdate journaling for a number of file systems (name /home, /var, /usr). >>> >>> Since then I have been experiencing kernel panics: >>> kernel: panic: softdep_sync_buf: Unknown type jnewblk >>> >>> Yesterday, Jan 26th, I got 6 (six) automatic reboots due to these kernel panics. >>> >>> I have now disabled softupdates journaling in the hope that the panics disappear. >>> >>> I am sorry for not providing more information about the panic, but I'll gladly try to gather more info if instructed how to. >>> >>> Cumprimentos/Best regards/Mit freundlichen Gr??en, >>> Ant?nio Trindade >>> Antonio <dot> Trindade <at> gmail.com >>> >>> S?tios pessoais: >>> Galeria Fotogr?fica: http://trindade.myphotos.cc/fotos/ >>> Blog de fotografia: http://trindade.myphotos.cc/fotografia/ >>> Blog de not?cias: http://trindade.myphotos.cc/noticiasavulsas/ >>> Blog pessoal: http://trindade.myphotos.cc/pensamentosnoar/ >>> >> >> I forgot some additional info: >> To deactivate softupdates journaling, I rebooted into single-user mode and ran full fsck to every file system I had activated journaling for. >> To my surprise, fsck reported errors (namely wrong block counts and bitmap errors, nothing serious). >> >> Cumprimentos/Best regards/Mit freundlichen Gr??en, >> Ant?nio Trindade >> Antonio <dot> Trindade <at> gmail.com >> >> S?tios pessoais: >> Galeria Fotogr?fica: http://trindade.myphotos.cc/fotos/ >> Blog de fotografia: http://trindade.myphotos.cc/fotografia/ >> Blog de not?cias: http://trindade.myphotos.cc/noticiasavulsas/ >> Blog pessoal: http://trindade.myphotos.cc/pensamentosnoar/ >> >