Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2017 22:21:08 +0300
From:      Toomas Soome <tsoome@me.com>
To:        Boris Samorodov <bsam@passap.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [SOLVED] [memstick install] auto-zfs error
Message-ID:  <5F653933-EA3A-4DAD-93F3-A3C8A7016A30@me.com>
In-Reply-To: <cf07997a-18e7-2d47-3658-c76ef1a15680@passap.ru>
References:  <3f6e5da8-f818-eef2-5384-912d6879cd8e@passap.ru> <c4ef7a9b-ccce-f060-f8d3-cb3fe6a9d5a7@passap.ru> <eee307df-a0f8-0fa9-9a01-2621f02def55@freebsd.org> <cf07997a-18e7-2d47-3658-c76ef1a15680@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

> On 10. juuli 2017, at 21:24, Boris Samorodov <bsam@passap.ru> wrote:
>=20
> 10.07.2017 21:05, Allan Jude =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>> On 2017-07-09 14:40, Boris Samorodov wrote:
>>> 08.07.2017 18:56, Boris Samorodov =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>>>> Hi All,
>>>>=20
>>>> I tied to install a new FreeBSD-amd-12 system from official USB
>>>> installation memstick.img. Auto-UFS (GPT) installs fine and the =
system
>>>> boots fine. However, ZFS-Auto install succeeds, but is not loaded.
>>>> At the very beginning it gives something like "gpt sector XXXX =
error,
>>>> gpt sector 1 error, can't find zroot..."
>>>>=20
>>>> Is it a known error / should I give more (precise) errors?
>>>>=20
>>>> I tried two recent images with the same result:
>>>> =
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/12.0/FreeBSD-12.0-C=
URRENT-amd64-20170703-r320599-memstick.img
>>>> =
ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/12.0/FreeBSD-12.0-C=
URRENT-amd64-20170626-r320360-memstick.img
>>>=20
>>> It turned out GPT and zfs are not usable at this machine.
>>> MBR / ZFS works fine.
>>>=20
>>> I'll stick with that.
>>=20
>> What type of machine is it?
>=20
> It's a PC circa 2009 with MB ASUS P5QL/EPU:
> ---
> CPU: Intel(R) Core(TM)2 Duo CPU     E7400  @ 2.80GHz (2799.52-MHz
> K8-class CPU)
>  Origin=3D"GenuineIntel"  Id=3D0x1067a  Family=3D0x6  Model=3D0x17  =
Stepping=3D10
>=20
>=20
> =
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>
>=20
>=20
>=20
> =
Features2=3D0xc08e3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,P=
DCM,SSE4.1,XSAVE,OSXSAVE>
>=20
>  AMD Features=3D0x20100800<SYSCALL,NX,LM>
>  AMD Features2=3D0x1<LAHF>
>  VT-x: HLT,PAUSE
>  TSC: P-state invariant, performance statistics
> real memory  =3D 4294967296 (4096 MB)
> avail memory =3D 3324891136 (3170 MB)
> Event timer "LAPIC" quality 100
> ACPI APIC Table: <A_M_I_ OEMAPIC >
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> FreeBSD/SMP: 1 package(s) x 2 core(s)
> ---
>=20
> --=20
> WBR, bsam

Of course it really can not be that the BIOS has something against =
combination of GPT+ZFS, but this combination may trigger some sort of =
bug/misbehavior. I have seen some pretty weird issues and have work in =
process to have a bit more fool proof approach, but I haven't had time =
yet to finalize it properly.

Namely, what I have found is that in some systems the INT13 ah=3D08 can =
result with unexpected results - error from command reported or disk =
count not reported etc - something not really expected. It also may have =
to do about what other devices are there. And also if the system has =
plain BIOS or BIOS emulated on UEFI.

rgds,
toomas





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5F653933-EA3A-4DAD-93F3-A3C8A7016A30>