DragonFly kernel List (threaded) for 2008-03
DragonFly BSD
DragonFly kernel List (threaded) for 2008-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

panic: assertion: hammer_btree_cmp(cursor->left_bound, &cursor->node->ondisk->elms[0].leaf.base) <= 0 in btree_split_leaf


From: YONETANI Tomokazu <qhwt+dfly@xxxxxxxxxx>
Date: Sun, 2 Mar 2008 19:45:54 +0900

Hi.
While trying to find a procedure to reliably reproduce the panic
I reported last time, I caught a different panic (uploaded at
 ~y0netan1/crash/9/ on my leaf account).  I wrote the following shell
script (make sure to edit variables DISKS and MOUNTPT before using this
script or it may trash your system):
  #!/bin/sh -ex
  DISKS="/dev/ad0s1f"
  MOUNTPT=/mnt/HAMMER

  cd /
  newfs_hammer -L TEST $DISKS
  for i in `seq 1 100`; do
	  mount_hammer $DISKS $MOUNTPT
	  /bin/rm -rf $MOUNTPT/??
	  (set +x; for x in `seq 1 10000`; do echo -n > $MOUNTPT/$x; done)
	  umount $MOUNTPT
  done

And the panic is triggered by rm command.
I'll try to see if it's possible to reproduce the last one without
unmounting then mounting the HAMMER fs.

Cheers.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]