Re: Seeing the dreaded ZFS: i/o error - all block copies unavailable on 9.0-CURRENT

2010-02-20 Thread Chris
bump...

On Thu, Feb 18, 2010 at 10:38 PM, Chris behrnetwo...@gmail.com wrote:
 I'm seeing some difference in the bootloader output between using the
 F12 workaround or not:

 F12 workaround mode:

 FreeBSD/i386 boot
 Default: zroot:/boot/zfsloader
 boot: status
 config:

             NAME     STATE
             zroot    ONLINE
        gpt/disk0   ONLINE


 No F12 key pressed:

 FreeBSD/i386 boot
 Default: zroot:/boot/kernel/kernel
 config:

              NAME     STATE
               zroot    ONLINE
          gpt/disk0   ONLINE


 What's up with the differences between the Default boot setting?


 Sorry for the spam but I'm seeing something else very interesting
 If I boot to Good Mode (F12) and break to the boot: prompt, the
 system boots if I type /boot/zfsloader. However, if I type
 /boot/kernel/kernel (as was seen in the Default setting when I didn't
 hit F12),  I get a crash that looks like the following:
 -
 FreeBSD/i386 boot
 Default: zroot:/boot/zfsloader
 boot: /boot/kernel/kernel
 int=0006    err=  efl=00010882  eip=0020
 eax=0018b070  ebx=ed7706bd ecx=c72e2ca8 edx=
 esi=0040   edi=000929d0  ebp=0009279c esp=9401
 cs=0008  ds=0010   es=0010  fs=0010  gs=0010  ss=0010
 cs:eip=ff ff ff ff ff ff ff ff 7f-00 00 00 00 00 00 00 00
           00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
 ss:esp=36 80 0d 07 90 00 00 01-e9 c4 fc ff ff aa ac 84
             c0 0f 84 86 00 00 00 a8-80 74 f2 88 c5 b0 3d aa
 BTX halted
 -

 McCoy: He's dead, Jim.
 Kirk: Bones, do something!

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: ATA_CAM-ed mvsata(4) on OpenRD-client

2010-02-20 Thread Norikatsu Shigemura
Hi Warner-san.

On Fri, 19 Feb 2010 14:43:19 -0700 (MST)
M. Warner Losh i...@bsdimp.com wrote:
 : Even more unexpected. I've searched all sources for xpt_sim_opened()
 : call and found only one place - in atapi-cam.c, which shouldn't be used
 : in your case. You are using different sources, or there is a garbage in
 : stack?
 IIRC, I got better stack traces when I used the kernel.tramp kernel...

How do I use kernel.tramp?
I did 'tftpboot 0x90 kernel.tramp.bin' on uboot, but it's
freeze after 'go 0x90'.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: ZFS DEADLKRES

2010-02-20 Thread Attilio Rao
2010/2/18 Marcin Cieslak sa...@saper.info:
 My r203753 amd64 laptop falls into the deadlock situation
 every night while running periodic daily script. I am pretty
 certain this is related to ZFS.

 I have enabled DEADLKRES in the kernel. I even have
 a separate dump partition (not used for swap).

May you reproduce the bug with WITNESS?
If you can, you should enable DEADLKRES too and once it panics let
extract a textdump(4) with the following commands:
bt, ps, show alllocks, show pcpu, allthreads

and report here.
We can then comment if further investigation is due.

Thanks,
Attilio


-- 
Peace can only be achieved by understanding - A. Einstein
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: HAST (Highly Available Storage) now in HEAD.

2010-02-20 Thread Renato Botelho
On Fri, Feb 19, 2010 at 5:07 PM, Pawel Jakub Dawidek p...@freebsd.org wrote:
 Hi.

 Yesterday I committed HAST to the HEAD branch.

 HAST allows to transparently store data on two physically separated
 machines connected over the TCP/IP network. HAST works in
 Primary-Secondary (Master-Backup, Master-Slave) configuration, which
 means that only one of the cluster nodes can be active at any given
 time. Only Primary node is able to handle I/O requests to HAST-managed
 devices. Currently HAST is limited to two cluster nodes in total.

 HAST operates on block level - it provides disk-like devices in
 /dev/hast/ directory for use by file systems and/or applications.
 Working on block level makes it transparent for file systems and
 applications. There in no difference between using HAST-provided device
 and raw disk, partition, etc. All of them are just regular GEOM
 providers in FreeBSD.

 For more information please consult hastd(8), hastctl(8) and
 hast.conf(5) manual pages, as well as:

        http://wiki.FreeBSD.org/HAST

 On the wiki page above you should find instructions how to initialize
 hast and integrate it with ucarp.

 Let me know (using freebsd...@freebsd.org mailing list) if you have and
 questions or comments.

 And last, but not least, I'd like to thank sponsorswho made this
 projects possible:

        The FreeBSD Foundation, http://www.freebsdfoundation.org
        OMCnet Internet Service GmbH, http://www.omc.net
        TransIP BV, http://www.transip.nl

It's great news, thank you for your hard work!!!


-- 
Renato Botelho
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on mips/mips

2010-02-20 Thread FreeBSD Tinderbox
TB --- 2010-02-21 03:38:18 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2010-02-21 03:38:18 - starting HEAD tinderbox run for mips/mips
TB --- 2010-02-21 03:38:18 - cleaning the object tree
TB --- 2010-02-21 03:38:26 - cvsupping the source tree
TB --- 2010-02-21 03:38:26 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/mips/mips/supfile
TB --- 2010-02-21 03:38:53 - building world
TB --- 2010-02-21 03:38:53 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-02-21 03:38:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-02-21 03:38:53 - TARGET=mips
TB --- 2010-02-21 03:38:53 - TARGET_ARCH=mips
TB --- 2010-02-21 03:38:53 - TZ=UTC
TB --- 2010-02-21 03:38:53 - __MAKE_CONF=/dev/null
TB --- 2010-02-21 03:38:53 - cd /src
TB --- 2010-02-21 03:38:53 - /usr/bin/make -B buildworld
 World build started on Sun Feb 21 03:38:54 UTC 2010
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
[...]
Hunk #2 succeeded at 51.
done
yacc -d -o jv-exp.c 
/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/jv-exp.y
yacc -d -o m2-exp.c 
/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/m2-exp.y
yacc -d -o objc-exp.c 
/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/objc-exp.y
yacc: 5 shift/reduce conflicts
yacc -d -o p-exp.c 
/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/p-exp.y
make: don't know how to make mipsfbsd-nat.c. Stop
*** Error code 2

Stop in /src/gnu/usr.bin/gdb.
*** Error code 1

Stop in /src/gnu/usr.bin.
*** Error code 1

Stop in /src/gnu.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
*** Error code 1

Stop in /src.
TB --- 2010-02-21 04:05:42 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2010-02-21 04:05:42 - ERROR: failed to build world
TB --- 2010-02-21 04:05:42 - 1108.92 user 295.22 system 1643.80 real


http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[head tinderbox] failure on sparc64/sparc64

2010-02-20 Thread FreeBSD Tinderbox
TB --- 2010-02-21 04:05:42 - tinderbox 2.6 running on freebsd-current.sentex.ca
TB --- 2010-02-21 04:05:42 - starting HEAD tinderbox run for sparc64/sparc64
TB --- 2010-02-21 04:05:42 - cleaning the object tree
TB --- 2010-02-21 04:06:00 - cvsupping the source tree
TB --- 2010-02-21 04:06:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/sparc64/sparc64/supfile
TB --- 2010-02-21 04:06:26 - building world
TB --- 2010-02-21 04:06:26 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-02-21 04:06:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-02-21 04:06:26 - TARGET=sparc64
TB --- 2010-02-21 04:06:26 - TARGET_ARCH=sparc64
TB --- 2010-02-21 04:06:26 - TZ=UTC
TB --- 2010-02-21 04:06:26 - __MAKE_CONF=/dev/null
TB --- 2010-02-21 04:06:26 - cd /src
TB --- 2010-02-21 04:06:26 - /usr/bin/make -B buildworld
 World build started on Sun Feb 21 04:06:27 UTC 2010
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
 stage 4.3: make dependencies
 stage 4.4: building everything
 World build completed on Sun Feb 21 05:04:08 UTC 2010
TB --- 2010-02-21 05:04:08 - generating LINT kernel config
TB --- 2010-02-21 05:04:08 - cd /src/sys/sparc64/conf
TB --- 2010-02-21 05:04:08 - /usr/bin/make -B LINT
TB --- 2010-02-21 05:04:08 - building LINT kernel
TB --- 2010-02-21 05:04:08 - MAKEOBJDIRPREFIX=/obj
TB --- 2010-02-21 05:04:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2010-02-21 05:04:08 - TARGET=sparc64
TB --- 2010-02-21 05:04:08 - TARGET_ARCH=sparc64
TB --- 2010-02-21 05:04:08 - TZ=UTC
TB --- 2010-02-21 05:04:08 - __MAKE_CONF=/dev/null
TB --- 2010-02-21 05:04:08 - cd /src
TB --- 2010-02-21 05:04:08 - /usr/bin/make -B buildkernel KERNCONF=LINT
 Kernel build for LINT started on Sun Feb 21 05:04:08 UTC 2010
 stage 1: configuring the kernel
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3.1: making dependencies
 stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror  
/src/sys/sparc64/sparc64/in_cksum.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror  
/src/sys/sparc64/sparc64/intr_machdep.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror  
/src/sys/sparc64/sparc64/iommu.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror  
/src/sys/sparc64/sparc64/jbusppm.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -fstack-protector -Werror  
/src/sys/sparc64/sparc64/machdep.c
/src/sys/sparc64/sparc64/machdep.c: In function 'sparc64_init':

Re: [head tinderbox] failure on mips/mips

2010-02-20 Thread M. Warner Losh
Maybe a forgotten svn add for mipsfbsd-nat.c?

Warner

In message: 201002210405.o1l45ggx008...@freebsd-current.sentex.ca
FreeBSD Tinderbox tinder...@freebsd.org writes:
: TB --- 2010-02-21 03:38:18 - tinderbox 2.6 running on 
freebsd-current.sentex.ca
: TB --- 2010-02-21 03:38:18 - starting HEAD tinderbox run for mips/mips
: TB --- 2010-02-21 03:38:18 - cleaning the object tree
: TB --- 2010-02-21 03:38:26 - cvsupping the source tree
: TB --- 2010-02-21 03:38:26 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/HEAD/mips/mips/supfile
: TB --- 2010-02-21 03:38:53 - building world
: TB --- 2010-02-21 03:38:53 - MAKEOBJDIRPREFIX=/obj
: TB --- 2010-02-21 03:38:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
: TB --- 2010-02-21 03:38:53 - TARGET=mips
: TB --- 2010-02-21 03:38:53 - TARGET_ARCH=mips
: TB --- 2010-02-21 03:38:53 - TZ=UTC
: TB --- 2010-02-21 03:38:53 - __MAKE_CONF=/dev/null
: TB --- 2010-02-21 03:38:53 - cd /src
: TB --- 2010-02-21 03:38:53 - /usr/bin/make -B buildworld
:  World build started on Sun Feb 21 03:38:54 UTC 2010
:  Rebuilding the temporary build tree
:  stage 1.1: legacy release compatibility shims
:  stage 1.2: bootstrap tools
:  stage 2.1: cleaning up the object tree
:  stage 2.2: rebuilding the object tree
:  stage 2.3: build tools
:  stage 3: cross tools
:  stage 4.1: building includes
:  stage 4.2: building libraries
:  stage 4.3: make dependencies
: [...]
: Hunk #2 succeeded at 51.
: done
: yacc -d -o jv-exp.c 
/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/jv-exp.y
: yacc -d -o m2-exp.c 
/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/m2-exp.y
: yacc -d -o objc-exp.c 
/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/objc-exp.y
: yacc: 5 shift/reduce conflicts
: yacc -d -o p-exp.c 
/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/p-exp.y
: make: don't know how to make mipsfbsd-nat.c. Stop
: *** Error code 2
: 
: Stop in /src/gnu/usr.bin/gdb.
: *** Error code 1
: 
: Stop in /src/gnu/usr.bin.
: *** Error code 1
: 
: Stop in /src/gnu.
: *** Error code 1
: 
: Stop in /src.
: *** Error code 1
: 
: Stop in /src.
: *** Error code 1
: 
: Stop in /src.
: TB --- 2010-02-21 04:05:42 - WARNING: /usr/bin/make returned exit code  1 
: TB --- 2010-02-21 04:05:42 - ERROR: failed to build world
: TB --- 2010-02-21 04:05:42 - 1108.92 user 295.22 system 1643.80 real
: 
: 
: http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full
: ___
: freebsd-m...@freebsd.org mailing list
: http://lists.freebsd.org/mailman/listinfo/freebsd-mips
: To unsubscribe, send any mail to freebsd-mips-unsubscr...@freebsd.org
: 
: 
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org