Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 1997 17:21:10 +0300 (MSK)
From:      "Igor Timkin" <ivt@gamma.ru>
To:        tlambert@primenet.com (Terry Lambert)
Cc:        ivt@gamma.ru, tlambert@primenet.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: panic: blkfree: freeling free block/frag
Message-ID:  <199712181421.RAA00967@crocus.gamma.ru>
In-Reply-To: <199712161919.MAA20145@usr01.primenet.com> from Terry Lambert at "Dec 16, 97 07:19:15 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert writes:
> > #2  0xe0188c57 in ffs_blkfree (ip=0xe3e50500, bno=10, size=4096)
> >     at ../../ufs/ffs/ffs_alloc.c:1230
> > #3  0xe018b09a in ffs_indirtrunc (ip=0xe3e50500, lbn=-12, dbn=394248, 
> >     lastbn=-1, level=0, countp=0xdfbffd9c) at ../../ufs/ffs/ffs_inode.c:500
(kgdb) print *bp
$22 = {b_hash = {le_next = 0xe911197c, le_prev = 0xe01d8cd4}, b_vnbufs = {
    le_next = 0x0, le_prev = 0xe3b12830}, b_freelist = {tqe_next = 0xe927ce4c, 
    tqe_prev = 0xe01d93d8}, b_act = {tqe_next = 0xe9140970, 
    tqe_prev = 0xe3059f94}, b_proc = 0x0, b_flags = 1049104, b_qindex = 0, 
  b_usecount = 4 '\004', b_error = 0, b_bufsize = 4096, b_bcount = 4096, 
  b_resid = 0, b_dev = 5378, b_un = {
    b_addr = 0xea134000 "Path: Gamma.RU!srcc!newsfeed.sovam.com!sovam!news.maxwell.syr.edu!news-peer.sprintlink.net!news.sprintlink.net!Sprint!news-peer.gip.net!news.gsl.net!gip.net!spring.edu.tw!news.nctu.edu.tw!news.ntnu.ed"...}, 
  b_kvabase = 0xea134000 "Path: Gamma.RU!srcc!newsfeed.sovam.com!sovam!news.maxwell.syr.edu!news-peer.sprintlink.net!news.sprintlink.net!Sprint!news-peer.gip.net!news.gsl.net!gip.net!spring.edu.tw!news.nctu.edu.tw!news.ntnu.ed"..., 
  b_kvasize = 4096, b_saveaddr = 0x0, b_lblkno = -12, b_blkno = 394248, 
  b_iodone = 0, b_iodone_chain = 0x0, b_vp = 0xe3b12800, b_dirtyoff = 0, 
  b_dirtyend = 0, b_rcred = 0x0, b_wcred = 0x0, b_validoff = 0, 
  b_validend = 0, b_pblkno = 3187606, b_savekva = 0x0, b_driver1 = 0x0, 
  b_driver2 = 0x0, b_spc = 0x0, b_cluster = {cluster_head = {
      tqh_first = 0xe9154844, tqh_last = 0xe92698a0}, cluster_entry = {
      tqe_next = 0xe9154844, tqe_prev = 0xe92698a0}}, b_pages = {0xe07c98dc, 
    0x0 <repeats 15 times>}, b_npages = 958773}

It's look like a bad indirect disk blocks data.
(kgdb) printf "%s",bp->b_un.b_addr
Path: Gamma.RU!srcc!newsfeed.sovam.com!sovam!news.maxwell.syr.edu!news-peer.sprintlink.net!news.sprintlink.net!Sprint!news-peer.gip.net!news.gsl.net!gip.net!spring.edu.tw!news.nctu.edu.tw!news.ntnu.edu.tw!elfBBS!bbs
From: hazn.bbs@bbs.ntnu.edu.tw (可憐的人黑白人生)
Newsgroups: tw.bbs.soc.taipei
Subject: 請問有沒有人知道瑪莉亞凱莉演唱會?
Date: 12 Dec 1997 10:02:07 GMT
Organization: 師大計中(精靈之城)
Message-ID: <3M6Q8W$jCT@bbs.ntnu.edu.tw>
X-Filename: TaipeiLife/M.881920928.A
Lines: 7
Xref: Gamma.RU tw.bbs.soc.taipei:34040

           不知道有沒有人知道她這位天后什麼時候要來台灣開演唱會?
           如果要買演唱會的票,不知要去那裡買?想必一定沒有人知道
           ,只抱著一片小小的希望。希望有她歌迷的人,能提供一下
           消息,謝謝...........

--
※ 來源: 師大精靈之城 <bbs.ntnu.edu.tw> ◆ From: 140.122.197.17

If I understand right, this buffer is 0 level inderect dick blocks
(b_blkno = 394248).


> > #4  0xe018aac8 in ffs_truncate (ap=0xdfbffe74) at ../../ufs/ffs/ffs_inode.c:317
> > #5  0xe018e6a5 in ufs_inactive (ap=0xdfbffea0) at vnode_if.h:1003
(kgdb) print *ip
$23 = {i_next = 0xe4461600, i_prev = 0xe3099690, i_vnode = 0xe3b12800, 
  i_devvp = 0xe3867380, i_flag = 8, i_dev = 5378, i_number = 12450, inode_u = {
    fs = 0xe3d8f800, lfs = 0xe3d8f800, e2fs = 0xe3d8f800}, i_dquot = {0x0, 
    0x0}, i_modrev = 0x3495787e51e6cc01, i_lockf = 0x0, i_lockholder = 0, 
  i_lockwaiter = 0, i_count = 0, i_endoff = 0, i_diroff = 0, i_offset = 0, 
  i_ino = 0, i_reclen = 0, i_lockcount = 0, i_spare = {0, 0, 0, 0, 0, 0, 0, 0, 
    0, 0}, i_din = {di_mode = 33188, di_nlink = 0, di_u = {oldids = {0, 0}, 
      inumber = 0}, di_size = 71262, di_atime = {tv_sec = 881773802, 
      tv_nsec = 0}, di_mtime = {tv_sec = 882210955, tv_nsec = 0}, di_ctime = {
      tv_sec = 882210955, tv_nsec = 0}, di_db = {224656, 224664, 224672, 
      224680, 224688, 224696, 224704, 224712, 224720, 224728, 224736, 224744}, 
    di_ib = {394248, 0, 0}, di_flags = 0, di_blocks = 152, 
             ^^^^^^
    di_gen = 1403844452, di_uid = 8, di_gid = 8, di_spare = {0, 0}}}

> Start at unlink, and look at the arguments all the way down to see
> if they are reasonable.

and
tail -1000 /usr/local/news/crash/vmcore.1 | strings
[...]
<3>pid 585 (fastrm), uid 8 on /var/spool/news: bad block
bad block 537543585, ino 12450
<3>pid 585 (fastrm), uid 8 on /var/spool/news: bad block
bad block -1581822542, ino 12450
<3>pid 585 (fastrm), uid 8 on /var/spool/news: bad block
bad block -71795529, ino 12450
<3>pid 585 (fastrm), uid 8 on /var/spool/news: bad block
dev = 0x1502, block = 10, fs = /var/spool/news
panic: blkfree: freeing free block
syncing disks... 291 290 261 212 149 66 12 3 3 3 3 3 3 3 3 3 3 3 3 3 giving up

I run fastrm via `idprio 10'. May be this error - synchronyzation error ?
innd is run as normal proccess.



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