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/0586566ccf4f
branches:  trunk
changeset: 1009159:0586566ccf4f
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 5ddf547f51b7 -r 0586566ccf4f 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