Date: Tue, 12 Mar 2002 10:36:09 -0500 From: "Clark C . Evans" <cce@clarkevans.com> To: Terry Lambert <tlambert2@mindspring.com> Cc: Mike Makonnen <mike_makonnen@yahoo.com>, freebsd-hackers@freebsd.org Subject: Re: panic: pmap_enter Message-ID: <20020312103609.A41341@doublegemini.com> In-Reply-To: <3C8DBC98.508D76A9@mindspring.com>; from tlambert2@mindspring.com on Tue, Mar 12, 2002 at 12:30:16AM -0800 References: <20020311210332.A38510@doublegemini.com> <1015919910.4901.5.camel@blackbox.pacbell.net> <3C8DBC98.508D76A9@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Mar 12, 2002 at 12:30:16AM -0800, Terry Lambert wrote: | Mike Makonnen wrote: | > It seems to me that you are showing only the last part of the trace, | > which shows where a second panic occurred. While that may also be an | > issue the real reason for the panic occurred earlier. Please post the | > complete trace. (after a core-dump of Python due to "bus error"). I can't seem to get the core-dump off the box or I'd try to post it. dev=MFS2, bno =132, bsize=16384, size=16384, fs=/tmp panic: ffs_blkfree: bad size Debugger("panic") db> trace panic fss_blkfree fss_indirtrunc fss_truncate ufs_setattr ufs_vnoperate coredump sigexit postsig syscall2 Xint0x80_syscall I hope this is better. Basically, I'm running a python program that reads in fdisk information, and writes it out. Attached is the python code... it works a few times, but then eventually crashes. However, the general crashing problem doesn't seem to be dependent on Python. Best, Clark --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="disk.py" import os, tempfile class disk: def __init__(self,idx,typ='ad'): self.idx = idx; self.typ = typ (sin,sout,serr) = os.popen3("fdisk -s /dev/%s%d " % (typ,idx)) if not(serr.readline()): self.valid = 1 (x,cyl,y,hd,z,sec,q) = sout.readline().split() self.siz = int(cyl)*int(hd)*int(sec) sout.readline() self.blank = not(sout.readline()) else: self.valid = 0 def __repr__(self): if self.valid: return repr((self.typ,self.idx,self.blank,self.siz)) return '' def partition(self): fn = tempfile.mktemp() f = open(fn,'w') f.write("p 1 165 0 %s\n" % self.siz) f.write("p 2 0 0 0\np 3 0 0 0\np 4 0 0 0\n") f.close() os.system("fdisk -f %s /dev/%s%d" % (fn,self.typ,self.idx)) os.remove(fn) print disk(0) print disk(1) print disk(2) print disk(3) print disk(4) print disk(5) print disk(6) print disk(7) print disk(8) disk(2).partition() --Q68bSM7Ycu6FN28Q-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020312103609.A41341>