Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Dec 2013 21:12:58 +0000
From:      Florent Peterschmitt <florent@peterschmitt.fr>
To:        Artem Belevich <art@freebsd.org>, Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>, freebsd-stable stable <freebsd-stable@freebsd.org>
Subject:   Re: 10.0-BETA4 (upgraded from 9.2-RELEASE) zpool upgrade -> boot failure
Message-ID:  <52AA26DA.30809@peterschmitt.fr>
In-Reply-To: <CAFqOu6g1ih3Z70Z4gip0BowmSAJ6dE4X8WgR0au1Rx5udmtZXw@mail.gmail.com>
References:  <52A6EB67.3000103@peterschmitt.fr> <52A99917.2050200@FreeBSD.org> <52A9AA45.2000907@peterschmitt.fr> <52A9ABEF.8080509@FreeBSD.org> <CAFqOu6g1ih3Z70Z4gip0BowmSAJ6dE4X8WgR0au1Rx5udmtZXw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--1GNg9HGTH594fBa6B0N9X6eT3MKBfTrDH
Content-Type: multipart/mixed;
 boundary="------------010503040006050903090902"

This is a multi-part message in MIME format.
--------------010503040006050903090902
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Le 12/12/2013 18:13, Artem Belevich a =E9crit :
> On Thu, Dec 12, 2013 at 4:28 AM, Andriy Gapon <avg@freebsd.org> wrote:
>>> Yes, sorry. You can find here the script I use to install:
>>>
>>> https://github.com/Leryan/freebsd-zfs-install/blob/master/zfs.sh
>>>
>=20
> From zfs.sh:
>> # Zero ZFS sectors
>> dd if=3D/dev/zero of=3D/dev/${ada}p3 count=3D560 bs=3D512
>=20
> That destroys only half of ZFS uberblocks. The other half is placed at
> the top of the vdev slices in the pool.
> There were few reports recently that such 'orphan' ZFS uberblocks were
> messing up boot on recent FreeBSD versions.
>=20
> Considering lack of details on how exactly your boot fails, this may
> or may not be the issue in your case.
>=20
> do  "zdb -l /dev/ada0" (and all other slices on ada0) and check
> whether it reports anything unexpected.
>=20
> --Artem

rescue-bsd# zdb -l /dev/ada0
--------------------------------------------
LABEL 0
--------------------------------------------
failed to unpack label 0
--------------------------------------------
LABEL 1
--------------------------------------------
failed to unpack label 1
--------------------------------------------
LABEL 2
--------------------------------------------
failed to unpack label 2
--------------------------------------------
LABEL 3
--------------------------------------------
failed to unpack label 3


Well=85 this sounds bad, right?

I joined the dmesg of the last successful boot.

Also here is the zfs list:

NAME                  USED  AVAIL  REFER  MOUNTPOINT
tank                  246G   203G    31K  none
tank/root             246G   203G   697M  /mnt
tank/root/tmp         830K   203G   830K  /mnt/tmp
tank/root/usr         244G   203G   278M  /mnt/usr
tank/root/usr/local   244G   203G   244G  /mnt/usr/local
tank/root/var        1.39G   203G  1.39G  /mnt/var

There is no snapshots but I used snapshots some times.

rescue-bsd# zpool status
  pool: tank
 state: ONLINE
  scan: none requested
config:

        NAME            STATE     READ WRITE CKSUM
        tank            ONLINE       0     0     0
          gpt/zfs-root  ONLINE       0     0     0

errors: No known data errors


And zpool get all joined.

Currently the system is booted in rescue with a 9.2-RELEASE amd64.
Cannot do best.


--=20
Florent Peterschmitt           | Please:
florent@peterschmitt.fr        |  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92           |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)

--------------010503040006050903090902
Content-Type: text/plain; charset=UTF-8;
 name="dmesg-beta3.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="dmesg-beta3.txt"

Copyright (c) 1992-2013 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.0-BETA3 #0 r257580: Sun Nov  3 19:43:01 UTC 2013
    root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
module_register: module pci/em already exists!
Module pci/em failed to register: 17
module_register: module pci/lem already exists!
Module pci/lem failed to register: 17
CPU: Intel(R) Atom(TM) CPU N2800   @ 1.86GHz (1866.71-MHz K8-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x30661  Family =3D 0x6  Model =3D 0x=
36  Stepping =3D 1
  Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,=
PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=3D0x40e39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDC=
M,MOVBE>
  AMD Features=3D0x20100800<SYSCALL,NX,LM>
  AMD Features2=3D0x1<LAHF>
  TSC: P-state invariant, performance statistics
real memory  =3D 2147483648 (2048 MB)
avail memory =3D 2030194688 (1936 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <INTEL  DN2800MT>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP/HT): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP/HT): APIC ID:  3
ioapic0: Changing APIC ID to 8
ioapic0 <Version 2.0> irqs 0-23 on motherboard
lapic0: Forcing LINT1 to edge trigger
random: <Software, Yarrow> initialized
kbd1 at kbdmux0
acpi0: <INTEL DN2800MT> on motherboard
acpi0: Power Button (fixed)
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
acpi0: reservation of 0, 4000 (3) failed
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x30d0-0x30d7 mem 0x80500000-0x805=
fffff irq 16 at device 2.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection 7.3.8> port 0x2000-0x201f mem =
0x80400000-0x8041ffff,0x80000000-0x803fffff,0x80420000-0x80423fff irq 16 =
at device 0.0 on pci1
em0: Using MSIX interrupts with 3 vectors
em0: Ethernet address: 00:22:4d:aa:77:45
uhci0: <Intel 82801G (ICH7) USB controller USB-A> port 0x30a0-0x30bf irq =
23 at device 29.0 on pci0
uhci0: LegSup =3D 0x2f00
usbus0 on uhci0
uhci1: <Intel 82801G (ICH7) USB controller USB-B> port 0x3080-0x309f irq =
19 at device 29.1 on pci0
uhci1: LegSup =3D 0x2f00
usbus1 on uhci1
uhci2: <Intel 82801G (ICH7) USB controller USB-C> port 0x3060-0x307f irq =
18 at device 29.2 on pci0
uhci2: LegSup =3D 0x2f00
usbus2 on uhci2
uhci3: <Intel 82801G (ICH7) USB controller USB-D> port 0x3040-0x305f irq =
16 at device 29.3 on pci0
uhci3: LegSup =3D 0x2f00
usbus3 on uhci3
ehci0: <Intel 82801GB/R (ICH7) USB 2.0 controller> mem 0x80600400-0x80600=
7ff irq 23 at device 29.7 on pci0
usbus4: EHCI version 1.0
usbus4 on ehci0
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
ahci0: <Intel ICH7 AHCI SATA controller> port 0x30c8-0x30cf,0x30dc-0x30df=
,0x30c0-0x30c7,0x30d8-0x30db,0x3020-0x302f mem 0x80600000-0x806003ff irq =
19 at device 31.2 on pci0
ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
ppc0: <Parallel port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
orm0: <ISA Option ROMs> at iomem 0xcf800-0xd07ff,0xd0800-0xd17ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0=

atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
est2: <Enhanced SpeedStep Frequency Control> on cpu2
p4tcc2: <CPU Frequency Thermal Control> on cpu2
est3: <Enhanced SpeedStep Frequency Control> on cpu3
p4tcc3: <CPU Frequency Thermal Control> on cpu3
fuse-freebsd: version 0.4.4, FUSE ABI 7.8
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is pr=
esent;
            to enable, add "vfs.zfs.prefetch_disable=3D0" to /boot/loader=
=2Econf.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
random: unblocking device.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
ugen2.1: <Intel> at usbus2
uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen1.1: <Intel> at usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen0.1: <Intel> at usbus0
uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen4.1: <Intel> at usbus4
uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
ugen3.1: <Intel> at usbus3
uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <TOSHIBA DT01ACA050 MS1OA750> ATA-8 SATA 3.x device
ada0: Serial Number 23EJTDVPS
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
Netvsc initializing... lapic2: Forcing LINT1 to edge trigger
SMP: AP CPU #2 Launched!
lapic1: Forcing LINT1 to edge trigger
SMP: AP CPU #1 Launched!
lapic3: Forcing LINT1 to edge trigger
SMP: AP CPU #3 Launched!
Timecounter "TSC" frequency 1866712127 Hz quality 1000
Root mount waiting for: usbus4 usbus3 usbus2 usbus1 usbus0
uhub1: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
Root mount waiting for: usbus4
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub3: 8 ports with 8 removable, self powered
ugen4.2: <vendor 0x058f> at usbus4
uhub5: <vendor 0x058f product 0x6254, class 9/0, rev 2.00/1.00, addr 2> o=
n usbus4
Root mount waiting for: usbus4
uhub5: 4 ports with 4 removable, self powered
Trying to mount root from zfs:tank/root []...

--------------010503040006050903090902
Content-Type: text/plain; charset=UTF-8;
 name="zpool-get-all.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="zpool-get-all.txt"

rescue-bsd# zpool get all
NAME  PROPERTY                                      VALUE                =
                         SOURCE
tank  size                                          456G                 =
                         -
tank  capacity                                      53%                  =
                         -
tank  altroot                                       /mnt                 =
                         local
tank  health                                        ONLINE               =
                         -
tank  guid                                          14109252772653171024 =
                         default
tank  version                                       -                    =
                         default
tank  bootfs                                        tank/root            =
                         local
tank  delegation                                    on                   =
                         default
tank  autoreplace                                   off                  =
                         default
tank  cachefile                                     /tmp/zpool.cache     =
                         local
tank  failmode                                      wait                 =
                         default
tank  listsnapshots                                 off                  =
                         default
tank  autoexpand                                    off                  =
                         default
tank  dedupditto                                    0                    =
                         default
tank  dedupratio                                    1.00x                =
                         -
tank  free                                          210G                 =
                         -
tank  allocated                                     246G                 =
                         -
tank  readonly                                      off                  =
                         -
tank  comment                                       -                    =
                         default
tank  expandsize                                    0                    =
                         -
tank  freeing                                       0                    =
                         default
tank  feature@async_destroy                         enabled              =
                         local
tank  feature@empty_bpobj                           enabled              =
                         local
tank  feature@lz4_compress                          enabled              =
                         local
tank  unsupported@com.joyent:multi_vdev_crash_dump  inactive             =
                         local

--------------010503040006050903090902--

--1GNg9HGTH594fBa6B0N9X6eT3MKBfTrDH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSqibfAAoJEFr01BkajbiBwnsP/1G5NGWTTh2V5el3XDNbP/oq
CSCcyL/grqRavbmaglRHy3/rY3jAsROOHrfg+eBRWadvS8UKuFpcfkYURnSbOjWs
TN6F1d+aO6WqG+WPC4nA42p/WKHrGRlUjFGh41PiD1QtjqydxwF4dZa0BJK96B8f
tb8Txd0BsXVrfLm4BEd1KdhLODRk8NpPUuOuRMjO6NHk4tZYNZBFUWeWX2xjv+bb
ZcfIYtQXeOlEtBFjnjXY9IdEMV1Gmu97bqKmOmd8oQOLbAOfxfjif4jQ+3y+kQtc
PnDNXl+94bjM9XqPG2kTSGYNcYr2V43uZBpp9VMPmDNEE9cet5TCHEqPkKoeaZT4
zwPBVXEqsBcyJa+nl9hdjanergzRRZkDi0r0Tq+jV2a0fnr8NmJxOfTrZ4FGbqxq
Vbqm55z0u2VNveTiF64zFLKJ+5F7hoitPLjEjlLU3Al1FcqRgXPOPAlzkG8Zdyjd
vbxPgAqt1L9aiO6dd7FXHGKWBzNJJJ/E9mQbGmcWFzbEOuhKHt/LV9duAGX4netg
mVqloZ/j8roDO35JCBwSw4O4i70WaIT8U0/e8IuzUMMp6dchSxwR5vF7Hh4c4IhS
wfeoZXeS5xR6Sz3CpKhez+/7YQsJRZfwWnntvPkGcR+JaaR10TYeP/uElrGKJaFG
g+3o22P00+cnliQ/uQUG
=s2dV
-----END PGP SIGNATURE-----

--1GNg9HGTH594fBa6B0N9X6eT3MKBfTrDH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52AA26DA.30809>