Date: Thu, 19 Jul 2012 23:36:21 +0200 From: Olivier Smedts <olivier@gid0.org> To: greg@bonett.org Cc: freebsd-stable@freebsd.org Subject: Re: kernel panic caused by zfs/sa.c Message-ID: <CABzXLYMMJGh3GtgrGNd7LRWNuSLuUE_aKRNj7gKj9sgEkFOYdg@mail.gmail.com> In-Reply-To: <1342733091.12482.12.camel@home.bonett.org> References: <1342733091.12482.12.camel@home.bonett.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2012/7/19 Greg Bonett <greg@bonett.org>: > Hello, > > I'm experiencing a kernel panic that appears to be caused by zfs. > > No errors are making it into /var/log/messages, but here is the error > message that appears on my screen after panic (transcribed): > > panic solaris assert BSWAP_32(sa_hdr_phys->sa_magic) == SA_MAGIC, > file: /src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/sa.c, line 1262 > > I can reproduce this by running "cd /usr/ports/www/webkit-ghtk2; make > clean" If that's some sort of filesystem corruption, and you use portsnap, do you still have a panic after "portsnap extract www/webkit-gtk2 && cd /usr/ports/www/webkit-gtk2 && make clean" ? > I looked at line 1262 in sa.c and it's part of a bit of code that checks > if byte swapping is necessary. The code starting at line 1260: > > > if (IS_SA_BONUSTYPE(bonustype) && sa_hdr_phys->sa_magic != SA_MAGIC && > sa_hdr_phys->sa_magic != 0) { > VERIFY(BSWAP_32(sa_hdr_phys->sa_magic) == SA_MAGIC); > sa_byteswap(hdl, buftype); > } > > As far as I can tell, my source is up to date and this code is the same > as what is in 9-STABLE. > > I'm not sure what's causing the panic, does anyone have a suggestion? > > Thanks for the help. > > --Greg > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABzXLYMMJGh3GtgrGNd7LRWNuSLuUE_aKRNj7gKj9sgEkFOYdg>