Source-Changes-HG archive

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

[src/trunk]: src/distrib/common We solves the zpool SIGBUS issue by building ...



details:   https://anonhg.NetBSD.org/src/rev/8b478f7c36f6
branches:  trunk
changeset: 971124:8b478f7c36f6
user:      roy <roy%NetBSD.org@localhost>
date:      Tue Apr 14 12:14:59 2020 +0000

description:
We solves the zpool SIGBUS issue by building a threaded libhack.

diffstat:

 distrib/common/zfsroot.rc |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (23 lines):

diff -r 897b043f5be1 -r 8b478f7c36f6 distrib/common/zfsroot.rc
--- a/distrib/common/zfsroot.rc Tue Apr 14 11:45:42 2020 +0000
+++ b/distrib/common/zfsroot.rc Tue Apr 14 12:14:59 2020 +0000
@@ -1,6 +1,6 @@
 #/bin/sh
 #
-#      $NetBSD: zfsroot.rc,v 1.4 2020/02/25 20:05:10 roy Exp $
+#      $NetBSD: zfsroot.rc,v 1.5 2020/04/14 12:14:59 roy Exp $
 
 # Assumption - boot.cfg loads this ramdisk.
 # Assumption - The needed kernel modules: solaris and zfs; are either on this
@@ -19,11 +19,6 @@
 export PATH=/sbin:/bin:/usr/sbin:/usr/bin
 umask 022
 
-# FIXME XXX Sometimes zpool import gets SIGBUS
-# Ensure that we are in a writable directory to try and capture a coredump
-# Not that we actually get a coredump ....
-cd /tmp
-
 echo "Importing $rpool"
 /sbin/zpool import -f -N "$rpool"
 



Home | Main Index | Thread Index | Old Index