Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Mar 2001 14:31:52 +0100 (CET)
From:      Jimmy Olgeni <olgeni@uli.it>
To:        <freebsd-stable@freebsd.org>
Subject:   kernel panic on 4-stable (filesystem related)
Message-ID:  <Pine.BSF.4.33.0103201422060.1304-100000@backoffice.localdomain.net>

next in thread | raw e-mail | index | archive | help
Hi all,

I was sorting a large file with "sort" and ran out of space on /
(filled up /tmp).

Doing so, I got a kernel panic:

GNU gdb 4.18
Copyright 1998 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-unknown-freebsd"...
(no debugging symbols found)...
IdlePTD 5271552
initial pcb at 430220
panicstr: ffs_truncate3
panic messages:
---
panic: ffs_truncate3

syncing disks... 9 1
done
Uptime: 16m17s

dumping to dev #ad/0x20001, offset 262272
dump ata0: resetting devices .. done
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
---
#0  0xc01a2d9a in dumpsys ()
(kgdb) where
#0  0xc01a2d9a in dumpsys ()
#1  0xc01a2bbb in boot ()
#2  0xc01a2f51 in panic ()
#3  0xc02c9c76 in ffs_truncate ()
#4  0xc02d42a9 in ufs_inactive ()
#5  0xc02d9b11 in ufs_vnoperate ()
#6  0xc01cf651 in vrele ()
#7  0xc01d5d97 in vn_close ()
#8  0xc01d6634 in vn_closefile ()
#9  0xc0198e65 in fdrop ()
#10 0xc0198dab in closef ()
#11 0xc0198b24 in fdfree ()
#12 0xc019b2e9 in exit1 ()
#13 0xc019b160 in exit1 ()
#14 0xc0351b39 in syscall2 ()
#15 0xc0343355 in Xint0x80_syscall ()
#16 0x80490a9 in ?? ()
#17 0x804b403 in ?? ()
#18 0x804c3e3 in ?? ()
#19 0x8048cb5 in ?? ()
(kgdb)

Before the panic, I got a message from "sort" complaining about the full
filesystem, so it didn't die immediately.

My local mounts are:

/dev/ad0s1a on / (ufs, local)
/dev/ad0s1f on /usr (ufs, NFS exported, local, noatime, with quotas, soft-updates)
/dev/ad0s1e on /var (ufs, local, soft-updates)

I have some nfs mounts too, but I guess that they are not related to this
problem.

This happened on a very recent cvsupped -stable:

FreeBSD backoffice.localdomain.net 4.3-BETA FreeBSD 4.3-BETA #5: Tue Mar 20 09:37:54 CET 2001     olgeni@backoffice.localdomain.net:/usr/obj/usr/src/sys/BSDBOX  i386

Any clue? If necessary, I can set up a spare box to run some tests.

-- 
jimmy


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0103201422060.1304-100000>