From owner-freebsd-users-jp@freebsd.org Tue Jan 5 05:52:38 2016 Return-Path: Delivered-To: freebsd-users-jp@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40C6BA627D4 for ; Tue, 5 Jan 2016 05:52:38 +0000 (UTC) (envelope-from paseri@fmp.to) Received: from www3342.sakura.ne.jp (www3342.sakura.ne.jp [49.212.235.52]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B6A311D61 for ; Tue, 5 Jan 2016 05:52:37 +0000 (UTC) (envelope-from paseri@fmp.to) Received: from fsav301.sakura.ne.jp (fsav301.sakura.ne.jp [153.120.85.132]) by www3342.sakura.ne.jp (8.14.5/8.14.5) with ESMTP id u054v4tj022464 for ; Tue, 5 Jan 2016 13:57:04 +0900 (JST) (envelope-from paseri@fmp.to) Received: from www3342.sakura.ne.jp (49.212.235.52) by fsav301.sakura.ne.jp (F-Secure/fsigk_smtp/522/fsav301.sakura.ne.jp); Tue, 05 Jan 2016 13:57:04 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/522/fsav301.sakura.ne.jp) Received: from [IPv6:2001:470:824b:a011:2928:7c31:c7f6:4505] ([IPv6:2001:470:824b:a011:2928:7c31:c7f6:4505]) (authenticated bits=0) by www3342.sakura.ne.jp (8.14.5/8.14.5) with ESMTP id u054v0bv022454 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Jan 2016 13:57:03 +0900 (JST) (envelope-from paseri@fmp.to) To: freebsd-users-jp@freebsd.org From: Paseri X-Enigmail-Draft-Status: N1110 Message-ID: <568B4D1D.20307@fmp.to> Date: Tue, 5 Jan 2016 13:57:01 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: [FreeBSD-users-jp 95631] =?utf-8?b?emZzIOOBruODnuOCpuODs+ODiOOBp+OCs+OCouODgOODs+ODlw==?= =?utf-8?b?5ZCQ44GE44Gm44Oe44Km44Oz44OI44Gn44GN44Gq44GE?= X-BeenThere: freebsd-users-jp@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion relevant to FreeBSD communities in Japan List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2016 05:52:38 -0000 たけふ@大阪豊中です zfs の実験をしていて、障害発生時の対応を調べているのですが、 何処から手を付けていいやらで、zfs お使いの皆さんから、 ノウハウをお聞きしたく思います。 症状: VMware Player の環境下で、10.2-RELEASE-p7(i386) 上で、 ホスト OS の再起動によって、umount せずに電源 OFF となった後の boot で、 zfs のマウント時に、コアダンプ吐いてリブートを繰り返す。 やった事: シングルユーザーモードにて、以下のコマンドを実行すると、 すぐさまコアダンプ吐く。 zfs list zpool list やりたい事: 取り敢えず zfs のマウントがしたい。 まあ、データが救出できれば良いんですが... 「ここ確認した方が良いよ」とか「これこれやってみて」等、 アドバイスくださいm(__)m 以下に、設定ファイル等を記しておきます。 /boot/loader.conf vfs.zfs.recover=1 vm.kmem_size="512M" vm.kmem_size_max="512M" vfs.zfs.prefetch_disable=1 kern.vty=vt zfs_load=yes /etc/rc.conf keymap="jp" dumpdev="AUTO" keyrate="fast" background_fsck="NO" #zfs_enable=yes 注:zfs_enable は元々コメントしていませんでしたが、とりあえずブートさせるためにコメントにしてます。 コアダンプしたときのコンソール表示した文字 Fatal double fault: eip = 0xc181f5cb esp = 0xf70adffc ebp = 0xf70ae010 cpuid = 0; apic id = 00 panic: double fault cpuid = 0 KDB: stack backtrace: #0 0xc0b720f2 at kdb_backtrace+0x52 #1 0xc0b332cb at vpanic+0x11b #2 0xc0b331ab at panic+0x1b #3 0xc10554cb at dblfault_handler+0xab Uptime: 1m3s Physical memory: 2023 MB Dumping 125 MB: 110 94 78 62 46 30 14 Dump complete dmesg -a Copyright (c) 1992-2015 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.2-RELEASE-p7 #0: Mon Nov 2 13:38:49 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 VT: running with driver "vga". CPU: Intel(R) Xeon(R) CPU E31225 @ 3.10GHz (3100.00-MHz 686-class CPU) Origin="GenuineIntel" Id=0x206a7 Family=0x6 Model=0x2a Stepping=7 Features=0xfa3fbff Features2=0x9eba2223 AMD Features=0x28100000 AMD Features2=0x1 VT-x: HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant Hypervisor: Origin = "VMwareVMware" real memory = 2147483648 (2048 MB) avail memory = 2081132544 (1984 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 2 package(s) x 1 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-23 on motherboard random: initialized module_register_init: MOD_LOAD (vesa, 0xc0fbe290, 0) error 19 kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 cpu0: on acpi0 cpu1: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1060-0x106f at device 7.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 pci0: at device 7.3 (no driver attached) vgapci0: port 0x1070-0x107f mem 0xe8000000-0xefffffff,0xfe000000-0xfe7fffff irq 16 at device 15.0 on pci0 vgapci0: Boot video device mpt0: port 0x1400-0x14ff mem 0xfeba0000-0xfebbffff,0xfebc0000-0xfebdffff irq 17 at device 16.0 on pci0 mpt0: MPI Version=1.2.0.0 pcib2: at device 17.0 on pci0 pci2: on pcib2 uhci0: port 0x2080-0x209f irq 18 at device 0.0 on pci2 usbus0 on uhci0 em0: port 0x2000-0x203f mem 0xfd5c0000-0xfd5dffff,0xfdff0000-0xfdffffff irq 19 at device 1.0 on pci2 em0: Ethernet address: **:**:**:**:**:** pcm0: port 0x2040-0x207f irq 16 at device 2.0 on pci2 pcm0: pcm0: ehci0: mem 0xfd5ef000-0xfd5effff irq 17 at device 3.0 on pci2 usbus1: EHCI version 1.0 usbus1 on ehci0 ahci0: mem 0xfd5ee000-0xfd5eefff irq 19 at device 5.0 on pci2 ahci0: AHCI v1.30 with 30 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich2: at channel 2 on ahci0 ahcich3: at channel 3 on ahci0 ahcich4: at channel 4 on ahci0 ahcich5: at channel 5 on ahci0 ahcich6: at channel 6 on ahci0 ahcich7: at channel 7 on ahci0 ahcich8: at channel 8 on ahci0 ahcich9: at channel 9 on ahci0 ahcich10: at channel 10 on ahci0 ahcich11: at channel 11 on ahci0 ahcich12: at channel 12 on ahci0 ahcich13: at channel 13 on ahci0 ahcich14: at channel 14 on ahci0 ahcich15: at channel 15 on ahci0 ahcich16: at channel 16 on ahci0 ahcich17: at channel 17 on ahci0 ahcich18: at channel 18 on ahci0 ahcich19: at channel 19 on ahci0 ahcich20: at channel 20 on ahci0 ahcich21: at channel 21 on ahci0 ahcich22: at channel 22 on ahci0 ahcich23: at channel 23 on ahci0 ahcich24: at channel 24 on ahci0 ahcich25: at channel 25 on ahci0 ahcich26: at channel 26 on ahci0 ahcich27: at channel 27 on ahci0 ahcich28: at channel 28 on ahci0 ahcich29: at channel 29 on ahci0 pcib3: at device 21.0 on pci0 pci3: on pcib3 pcib4: at device 21.1 on pci0 pci4: on pcib4 pcib5: at device 21.2 on pci0 pci5: on pcib5 pcib6: at device 21.3 on pci0 pci6: on pcib6 pcib7: at device 21.4 on pci0 pci7: on pcib7 pcib8: at device 21.5 on pci0 pci8: on pcib8 pcib9: at device 21.6 on pci0 pci9: on pcib9 pcib10: at device 21.7 on pci0 pci10: on pcib10 pcib11: at device 22.0 on pci0 pci11: on pcib11 pcib12: at device 22.1 on pci0 pci12: on pcib12 pcib13: at device 22.2 on pci0 pci13: on pcib13 pcib14: at device 22.3 on pci0 pci14: on pcib14 pcib15: at device 22.4 on pci0 pci15: on pcib15 pcib16: at device 22.5 on pci0 pci16: on pcib16 pcib17: at device 22.6 on pci0 pci17: on pcib17 pcib18: at device 22.7 on pci0 pci18: on pcib18 pcib19: at device 23.0 on pci0 pci19: on pcib19 pcib20: at device 23.1 on pci0 pci20: on pcib20 pcib21: at device 23.2 on pci0 pci21: on pcib21 pcib22: at device 23.3 on pci0 pci22: on pcib22 pcib23: at device 23.4 on pci0 pci23: on pcib23 pcib24: at device 23.5 on pci0 pci24: on pcib24 pcib25: at device 23.6 on pci0 pci25: on pcib25 pcib26: at device 23.7 on pci0 pci26: on pcib26 pcib27: at device 24.0 on pci0 pci27: on pcib27 pcib28: at device 24.1 on pci0 pci28: on pcib28 pcib29: at device 24.2 on pci0 pci29: on pcib29 pcib30: at device 24.3 on pci0 pci30: on pcib30 pcib31: at device 24.4 on pci0 pci31: on pcib31 pcib32: at device 24.5 on pci0 pci32: on pcib32 pcib33: at device 24.6 on pci0 pci33: on pcib33 pcib34: at device 24.7 on pci0 pci34: on pcib34 acpi_acad0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xdc000-0xdffff,0xe0000-0xe7fff pnpid ORM0000 on isa0 ppc0: parallel port not found. smist0: on cpu0 device_attach: smist0 attach returned 6 smist1: on cpu1 device_attach: smist1 attach returned 6 random: unblocking device. usbus0: 12Mbps Full Speed USB v1.0 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec ugen0.1: <0x15ad> at usbus0 uhub0: <0x15ad UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 usbus1: 480Mbps High Speed USB v2.0 ugen1.1: <0x15ad> at usbus1 uhub1: <0x15ad EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 uhub0: 2 ports with 2 removable, self powered ada0 at ata0 bus 0 scbus0 target 0 lun 0 ada0: ATA-4 device ada0: Serial Number 00000000000000000001 ada0: 33.300MB/s transfers (UDMA2, PIO 32768bytes) ada0: 81920MB (167772160 512 byte sectors: 15H 63S/T 16383C) ada0: Previously was known as ad0 cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number 10000000000000000001 cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present cd0: quirks=0x40 SMP: AP CPU #1 Launched! fdc0: ready for output in input fdc0: ready for output in input fdc0: ready for output in input fdc0: ready for output in input fdc0: ready for output in input fdc0: ready for output in input fdc0: ready for output in input fdc0: ready for output in input Root mount waiting for: usbus1 usbus0 ugen0.2: at usbus0 Root mount waiting for: usbus1 usbus0 ugen0.3: at usbus0 uhub2: on usbus0 uhub1: 6 ports with 6 removable, self powered uhub2: 7 ports with 7 removable, self powered Root mount waiting for: usbus0 Trying to mount root from ufs:/dev/ada0p2 [rw]... WARNING: / was not properly dismounted WARNING: /: mount pending error: blocks 32 files 1