Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 1998 22:07:52 +0100 (CET)
From:      Ronald Kuehn <kuehn@rz.tu-clausthal.de>
To:        freebsd-current@FreeBSD.ORG
Subject:   Re: panic: ffs_blkfree: bad size
Message-ID:  <199812042107.WAA03898@merlin.rz.tu-clausthal.de>

next in thread | raw e-mail | index | archive | help
In freebsd-current Luoqi Chen wrote:

> > dev=0x20404, bno = 13, bsize = 8192, size = 8192, fs = /var
> > panic: ffs_blkfree: bad size
> > 
> bno is a fs block number and for /var it almost surely can't be 13. This
> still points to a missing VOP_BMAP() somewhere.

> While I'm writing this message, I took another look at Kirk's patch. It seems
> to me that he forgot to call VOP_BMAP() for the last buf in the reallocation
> list. Try this patch, and see if you still get the panic,

[patch deleted]

Well, I'll try that on my scratch box.

> A dump from a non-debugging kernel is as good as a debugging one. Could you
> post a stack backtrace?

Here it is:
(I'll try to reproduce that with a debugging kernel)

IdlePTD 2355200
initial pcb at 20b4a0
panicstr: ffs_blkfree: bad size
panic messages:
---
panic: ffs_blkfree: bad size

syncing disks... 25 23 15 6 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 giving up

dumping to dev 20401, offset 147456
dump 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  0xf0131abf in boot ()
(kgdb) where
#0  0xf0131abf in boot ()
#1  0xf0131de3 in panic ()
#2  0xf01894c6 in ffs_blkfree ()
#3  0xf0187b8c in ffs_reallocblks ()
#4  0xf0151c2b in cluster_write ()
#5  0xf01947b7 in ffs_write ()
#6  0xf015b62b in vn_write ()
#7  0xf013a902 in write ()
#8  0xf01b77df in syscall ()
#9  0xf01ad97c in Xint0x80_syscall ()
#10 0x280baa07 in ?? ()
#11 0x280c9c12 in ?? ()
#12 0x280c9a5e in ?? ()
#13 0x280c9e89 in ?? ()
#14 0x280c4d18 in ?? ()
#15 0x280c4c0f in ?? ()
#16 0x8084b13 in ?? ()
#17 0x8085672 in ?? ()
#18 0x8085994 in ?? ()
#19 0x805cec0 in ?? ()
#20 0x805bee3 in ?? ()
#21 0x8059b14 in ?? ()
#22 0x80597fc in ?? ()
#23 0x28157208 in ?? ()
#24 0x2815701a in ?? ()
#25 0xefbfd3b0 in ?? ()
#26 0x2808e500 in ?? ()
Cannot access memory at address 0x4c060.


Ronald
-- 
* The Theorem Theorem: If If, Then Then.

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



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