Re: [FIXED] Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-26 Thread Dennis Clarke

On 4/26/22 16:17, Thomas Laus wrote:

On 4/11/22 11:17, Dennis Clarke wrote:


Did the usual git pull origin main and buildworld/buildkernel but 
after installkernel the machine will not boot.


The rev seems to be main-n254654-d4e8207317c.

I can boot single user mode and get a command prompt but nothing past
that. Is there something borked in ZFS in CURRENT ?


Group:

Everything is running back to normal for me today after my weekly build 
of MAIN.  My combination of EFI, GELI and ZFS are working for me after:


FreeBSD 14.0-CURRENT #1 main-n255058-fa8a6585c75: Tue Apr 26 12:13:10 
EDT 2022


It looks like another update to something else fixed the "no pools 
available to import" issue




Same here :

FreeBSD phobos 14.0-CURRENT FreeBSD 14.0-CURRENT #7 
main-n255054-67fc95025cc: Tue Apr 26 06:58:45 UTC 2022 
root@phobos:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 1400057 
1400057


Somethng "magic" has changed and whatever that was it fixed the EFI boot 
issue.




--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional



[FIXED] Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-26 Thread Thomas Laus

On 4/11/22 11:17, Dennis Clarke wrote:


Did the usual git pull origin main and buildworld/buildkernel but after 
installkernel the machine will not boot.


The rev seems to be main-n254654-d4e8207317c.

I can boot single user mode and get a command prompt but nothing past
that. Is there something borked in ZFS in CURRENT ?


Group:

Everything is running back to normal for me today after my weekly build 
of MAIN.  My combination of EFI, GELI and ZFS are working for me after:


FreeBSD 14.0-CURRENT #1 main-n255058-fa8a6585c75: Tue Apr 26 12:13:10 
EDT 2022


It looks like another update to something else fixed the "no pools 
available to import" issue


Tom

--
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF



Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-19 Thread Thomas Laus

On 4/18/22 21:43, Graham Perrin wrote:

On 12/04/2022 23:35, Dennis Clarke wrote:

… at least two examples in the wild. …


Not the same symptom, but 
 caught my eye:



RC3 Guided ZFS on root with encryption unmountable


Beyond that, I have nothing useful to add (sorry). I do not get the "no 
pools available to import" symptom with any of the boot environments 
listed below (Git hash within the name of each BE).


Thanks for the link.  I agree that there is something unexpected 
happening recently with booting a ZFS filesystem using EFI.  I noticed 
that my system still flashes a "no pools available to import" message 
when using a MBR boot record at the same point that EFI boot just hangs 
but the booting process will complete soon afterward.  Putting EFI boot 
back on that ada0p1 partition hangs at the same point again.  I am 
fortunate that both systems can use either EFI or MBR boot records.


Tom


--
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF



Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-18 Thread Graham Perrin

On 12/04/2022 23:35, Dennis Clarke wrote:

… at least two examples in the wild. …


Not the same symptom, but 
 caught my eye:




RC3 Guided ZFS on root with encryption unmountable



Beyond that, I have nothing useful to add (sorry). I do not get the "no 
pools available to import" symptom with any of the boot environments 
listed below (Git hash within the name of each BE).


% bectl list -c creation
BE    Active Mountpoint Space Created
n250511-5f73b3338ee-d -  -  4.94G 2021-11-13 15:43
n252381-75d20a5e386-b -  -  6.81G 2022-01-12 23:23
n252450-5efa7281a79-a -  -  6.49G 2022-01-14 19:27
n252483-c8f8299a230-b -  -  4.84G 2022-01-17 14:24
n252505-cc68614da82-a -  -  4.90G 2022-01-18 14:26
n252531-0ce7909cd0b-h -  -  5.71G 2022-02-06 12:24
n252997-b6724f7004c-c -  -  6.17G 2022-02-11 23:07
n253116-39a36707bd3-e -  -  5.66G 2022-02-20 07:03
n253343-9835900cb95-c -  -  1.54G 2022-02-27 14:58
n253776-d5ad1713cc3-b -  -  7.94G 2022-03-18 09:31
n253861-92e6b4712b5-e -  -  7.41G 2022-04-02 16:02
n254268-50e244964e9-d -  -  2.92G 2022-04-09 18:50
n254693-d7696096209-b -  -  388M  2022-04-17 03:38
n254693-d7696096209-c NR /  188G  2022-04-17 23:55
%


Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-18 Thread Thomas Laus

On 4/13/22 07:17, Thomas Laus wrote:


I had an idea that maybe a GELI encrypted disk may have an issue.  Both 
my laptop and desktop have encrypted disks.  The gpart partitions have a 
.efi appended to the name that 'gpart list' shows.  Not everyone uses 
GELI and that may be our difference and the reason for not finding any 
pools to import.


Well, it looks like EFI may be the root cause of my problem.  I built 
and loaded:


14.0-CURRENT FreeBSD 14.0-CURRENT #0 main-n254879-47bcbde91de: Mon Apr 
18 08:18:48 EDT 2022


Today for both my laptop and desktop.  I gave up last week with the 'git 
revert' exercise and just waited a week since my last build.  The 
problem with not finding any zfs pools still existed.  Both computers 
can boot from either EFI or MBR, so I copied the gptzfsboot file to the 
EFI partition and everything came up OK on both computers.  That 
eliminates any issue with ZFS and GELI encrypted disks in my case.


Tom

--
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF



Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-14 Thread Dennis Clarke

On 4/13/22 07:17, Thomas Laus wrote:

On 4/12/22 18:35, Dennis Clarke wrote:

I will focus on the problem case I have and try to get better
information. Somehow.

I had an idea that maybe a GELI encrypted disk may have an issue.  Both 
my laptop and desktop have encrypted disks.  The gpart partitions have a 
.efi appended to the name that 'gpart list' shows.  Not everyone uses 
GELI and that may be our difference and the reason for not finding any 
pools to import.





I don't even have a wild guess on that topic. Sorry.



--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional



Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-13 Thread Tomoaki AOKI
On Tue, 12 Apr 2022 14:29:20 +0200 (CEST)
Ronald Klop  wrote:

>  
> Van: Thomas Laus 
> Datum: dinsdag, 12 april 2022 13:17
> Aan: freebsd-current@freebsd.org
> Onderwerp: Re: main-n254654-d4e8207317c results in "no pools available to 
> import"
> > 
> > On 4/11/22 14:18, Ronald Klop wrote:
> > > On 4/11/22 17:17, Dennis Clarke wrote:
> > >>
> > >> Did the usual git pull origin main and buildworld/buildkernel but >> 
> > >> after installkernel the machine will not boot.
> > >>
> > >> The rev seems to be main-n254654-d4e8207317c.
> > >>
> > >> I can boot single user mode and get a command prompt but nothing past
> > >> that. Is there something borked in ZFS in CURRENT ?
> > >>
> > > Up until now you are the only one with this error on the mailinglist > 
> > > today. So I doubt something is borked.
> > > You could consider to share more details about your setup to help people 
> > > > to think along with you.
> > >
> > I can confirm this issue.  My last update was 'main-n253996-1b3af110bc' 
> > from March 31, 2022 that worked fine.  My update yesterday received the 
> > same error and refused to boot past looking for kernel modules.  I did 
> > receive the "no pools available to import" message a couple of lines 
> > earlier.  My hardware is a Dell Inspiron laptop with a SSD and ZFS 
> > filesystem.  I have a little time today and plan on git reverting back to 
> > March 31 to further isolate the problem.
> > 
> > Tom
> > 
> > -- 
> > Public Keys:
> > PGP KeyID = 0x5F22FDC1
> > GnuPG KeyID = 0x620836CF
> >  
> > 
> > 
> > 
> 
> 
> Hi,
> 
> Are you guys both using NVME or EFI? Just wondering if the common problem is 
> in ZFS or some other component.
> 
> Ronald.
>  

My booting-fine installation is still at git
c79331a42c308139828c1117f49224bb83617a53 and is using both NVMe and
UEFI, but via nda, not nvd.
Non-Geli-encrypted bootfs.
Note that my BOOTx64.efi is not a copy of loader.efi, but boot1.efi
applied latest patch uploaded on Bug 207940 [1].

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207940

Basically, I upgrade pool only when I switch to latest stable branch
that is just created, meaning that the zfs codes and boot codes are
basically 100% match on main and latest stable. This way, both pools
of main environment and of stable (now stable/13) environment have
100% equal features.


-- 
Tomoaki AOKI



Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-13 Thread Thomas Laus

On 4/12/22 18:35, Dennis Clarke wrote:

I will focus on the problem case I have and try to get better
information. Somehow.

I had an idea that maybe a GELI encrypted disk may have an issue.  Both 
my laptop and desktop have encrypted disks.  The gpart partitions have a 
.efi appended to the name that 'gpart list' shows.  Not everyone uses 
GELI and that may be our difference and the reason for not finding any 
pools to import.


Tom



--
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF



Re: main-n254654-d4e8207317c results in "no pools available to import" [zfs/ACPI/NVMe updates in the identified range]

2022-04-12 Thread Mark Millard
On 2022-Apr-12, at 18:31, Mark Millard  wrote:

> Most recent good of good->failed update step reported:
> (extracted from dev-commits-src-main but shown in increasing-time order)
> 
> Monday, 28 March 2022
>   • git: 1b3af110bcd5 - main - uudecode: add missing test files to 
> Makefile Piotr Pawel Stefaniak 
> 
> From there, zfs updates are:
> 
> Tuesday, 29 March 2022
>   • git: da5137abdf46 - main - zfs: merge openzfs/zfs_at_bc3f12bfa 
> (master) into main Martin Matuska 
>   • git: 8d0b6a7d4969 - main - zfs: update zfs_config.h and zfs_gitrev.h 
> Martin Matuska 
> . . .
>   • git: 40c911e8da50 - main - zfs: use zero_region instead of allocating 
> a dedicated page Mateusz Guzik 
> 
> Friday, 8 April 2022
>   • git: 0c348b97eb05 - main - zfs: Disable -Wunused-but-set-variable for 
> a few files in zstd. John Baldwin 
>   • Re: git: 0c348b97eb05 - main - zfs: Disable -Wunused-but-set-variable 
> for a few files in zstd. John Baldwin 

[Adjusted the to match time order above.]

> Note: bsdinstall was not in use/involved as far as I can tell from the 
> reporting.
>  So I've omitted the reference.
> 
> Oldest identified failure observation for a good->failed step:
> 
> Sunday, 10 April 2022
>   • git: d4e8207317ca - main - vmm_instruction_emul.c: fix bhyve build 
> Robert Wing 
> 
> 
> As for da5137abdf46 :
> 
>zfs: merge openzfs/zfs_at_bc3f12bfa (master) into main
> 
>Notable upstream pull request merges:
>  #12083 libzfs: FreeBSD doesn't resize partitions for you
>  #13106 add physical device size to SIZE column in 'zpool list -v'
>  #13158 Allow zfs send to exclude datasets
>  #13190 module: zfs: zio_inject: zio_match_handler: don't << -1
>  #13219 FreeBSD: add missing replay check to an assert in zfs_xvattr_set
>  #13220 module: freebsd: avoid a taking a destroyed lock in zfs_zevent 
> bits
>  #13221 Fix ACL checks for NFS kernel server

For ACPI and NVMe there was:

Friday, 1 April 2022
• git: ab71bbb75a92 - main - acpica: Import ACPICA 20220331 Jung-uk Kim 
• git: a70b5660f379 - main - nvme: MPS is a power of two, not a size / 
8k Warner Losh 
• git: 6af6a52ee47b - main - nvme: Save cap_lo and cap_hi Warner Losh 
• git: 161fcf79941b - main - nvme: Publish the drive's capabilities 
Warner Losh 

Saturday, 9 April 2022
• git: 214df80a9cb3 - main - nvme: new define for size of host memory 
buffer sizes Warner Losh 

(I have ignored comment typo fixes and RE: messages this time.)

===
Mark Millard
marklmi at yahoo.com


===
Mark Millard
marklmi at yahoo.com




Re: main-n254654-d4e8207317c results in "no pools available to import" [zfs updates in the identified range]

2022-04-12 Thread Mark Millard
Most recent good of good->failed update step reported:
(extracted from dev-commits-src-main but shown in increasing-time order)

Monday, 28 March 2022
• git: 1b3af110bcd5 - main - uudecode: add missing test files to 
Makefile Piotr Pawel Stefaniak 

From there, zfs updates are:

Tuesday, 29 March 2022
• git: da5137abdf46 - main - zfs: merge openzfs/zfs_at_bc3f12bfa 
(master) into main Martin Matuska 
• git: 8d0b6a7d4969 - main - zfs: update zfs_config.h and zfs_gitrev.h 
Martin Matuska 
. . .
• git: 40c911e8da50 - main - zfs: use zero_region instead of allocating 
a dedicated page Mateusz Guzik 

Friday, 8 April 2022
• Re: git: 0c348b97eb05 - main - zfs: Disable -Wunused-but-set-variable 
for a few files in zstd. John Baldwin 
• git: 0c348b97eb05 - main - zfs: Disable -Wunused-but-set-variable for 
a few files in zstd. John Baldwin 

Note: bsdinstall was not in use/involved as far as I can tell from the 
reporting.
  So I've omitted the reference.

Oldest identified failure observation for a good->failed step:

Sunday, 10 April 2022
• git: d4e8207317ca - main - vmm_instruction_emul.c: fix bhyve build 
Robert Wing 


As for da5137abdf46 :

zfs: merge openzfs/zfs_at_bc3f12bfa (master) into main

Notable upstream pull request merges:
  #12083 libzfs: FreeBSD doesn't resize partitions for you
  #13106 add physical device size to SIZE column in 'zpool list -v'
  #13158 Allow zfs send to exclude datasets
  #13190 module: zfs: zio_inject: zio_match_handler: don't << -1
  #13219 FreeBSD: add missing replay check to an assert in zfs_xvattr_set
  #13220 module: freebsd: avoid a taking a destroyed lock in zfs_zevent bits
  #13221 Fix ACL checks for NFS kernel server

===
Mark Millard
marklmi at yahoo.com




Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-12 Thread Dennis Clarke

On 4/12/22 18:15, Mark Millard wrote:

From: Thomas Laus 
Date: Tue, 12 Apr 2022 15:48:32 + :


On 4/12/22 08:29, Ronald Klop wrote:

Are you guys both using NVME or EFI? Just wondering if the common
problem is in ZFS or some other component.



I will try to gather more information on the machine that actually
demonstrates the problem in question.


I just repeated this issue on the desktop computer that is used for my
weekly builds that get distributed to the other PC's in the house. 


Excellent isolation test. I tried the same sort of process on a separate
machine to no avail. I was not using NVME storage. I was using a brand
new Samsung SSD and you can see that listed in the output :

https://lists.freebsd.org/archives/freebsd-current/2022-April/001759.html


* * * *  the above should be considered a red herring * * * *

That machine simply worked as expected. Slight surprise but then again
no one else was seeing this issue.  Until Thomas Laus also caught it :

https://lists.freebsd.org/archives/freebsd-current/2022-April/001761.html

So we have at least two examples in the wild.

I will focus on the problem case I have and try to get better
information. Somehow.


--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional



Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-12 Thread Mark Millard
From: Thomas Laus  
Date: Tue, 12 Apr 2022 15:48:32 + :

> On 4/12/22 08:29, Ronald Klop wrote:
> > Are you guys both using NVME or EFI? Just wondering if the common 
> > problem is in ZFS or some other component.
> >
> I just repeated this issue on the desktop computer that is used for my 
> weekly builds that get distributed to the other PC's in the house.  In 
> order to not contaminate the build with local changes, I blew away my 
> /usr/obj and /usr/src.  I cloned the repository and built world with a 
> GENERIC kernel.  The problem is on my desktop as well with a fresh clone 
> as of a few hours ago.  This desktop uses 2 SSD drives in a zpool 
> mirror.  It also uses EFI.  The EFI partition was copied from 
> /boot/loader.efi to the /EFI/BOOT/BOOTX64.efi file on ada0p1 and ada1p1 
> like I do each time before rebuilding my system.  I made sure that the 
> zpool was upgraded before cloning as well.

UEFI/ACPI ? UEFI/Device-Tree?

Dennis Clarke's:

https://lists.freebsd.org/archives/freebsd-current/2022-April/001759.html

explicitly showed ACPI for one of his contexts:

Autoloading module: acpi_wmi
AuACPI: Processor \_PR_.CPU2 (ACPI ID 3) ignored
ACPI: Processor \_PR_.CPU3 (ACPI ID 4) ignored
ACPI: Processor \_PR_.CPU4 (ACPI ID 5) ignored
ACPI: Processor \_PR_.CPU5 (ACPI ID 6) ignored
ACPI: Processor \_PR_.CPU6 (ACPI ID 7) ignored
ACPI: Processor \_PR_.CPU7 (ACPI ID 8) ignored
acpi_wmi0:  on acpi0
acpi_wmi0: cannot find EC device
acpi_wmi0: Embedded MOF found
ACPI: \AMW0.WQMO: 1 arguments were passed to a non-method ACPI object 
(Buffer) (20220331/nsarguments-361)
acpi_wmi1:  on acpi0
acpi_wmi1: cannot find EC device

I can not tell about the other context.

His:

https://lists.freebsd.org/archives/freebsd-current/2022-April/001764.html

reports:

My problem machine is definately NVME based storage.

I can not tell about the other context.


===
Mark Millard
marklmi at yahoo.com




Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-12 Thread Thomas Laus

On 4/12/22 08:29, Ronald Klop wrote:
Are you guys both using NVME or EFI? Just wondering if the common 
problem is in ZFS or some other component.


I just repeated this issue on the desktop computer that is used for my 
weekly builds that get distributed to the other PC's in the house.  In 
order to not contaminate the build with local changes, I blew away my 
/usr/obj and /usr/src.  I cloned the repository and built world with a 
GENERIC kernel.  The problem is on my desktop as well with a fresh clone 
as of a few hours ago.  This desktop uses 2 SSD drives in a zpool 
mirror.  It also uses EFI.  The EFI partition was copied from 
/boot/loader.efi to the /EFI/BOOT/BOOTX64.efi file on ada0p1 and ada1p1 
like I do each time before rebuilding my system.  I made sure that the 
zpool was upgraded before cloning as well.


Tom

--
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF



Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-12 Thread Dennis Clarke

On 4/12/22 08:29, Ronald Klop wrote:


Van: Thomas Laus 
Datum: dinsdag, 12 april 2022 13:17
Aan: freebsd-current@freebsd.org
Onderwerp: Re: main-n254654-d4e8207317c results in "no pools available 
to import"


On 4/11/22 14:18, Ronald Klop wrote:
> On 4/11/22 17:17, Dennis Clarke wrote:
>>
>> Did the usual git pull origin main and buildworld/buildkernel but 
>> after installkernel the machine will not boot.

>>
>> The rev seems to be main-n254654-d4e8207317c.
>>
>> I can boot single user mode and get a command prompt but nothing past
>> that. Is there something borked in ZFS in CURRENT ?
>>
> Up until now you are the only one with this error on the mailinglist 
> today. So I doubt something is borked.
> You could consider to share more details about your setup to help 
people > to think along with you.

>
I can confirm this issue.  My last update was 
'main-n253996-1b3af110bc' from March 31, 2022 that worked fine.  My 
update yesterday received the same error and refused to boot past 
looking for kernel modules.  I did receive the "no pools available to 
import" message a couple of lines earlier.  My hardware is a Dell 
Inspiron laptop with a SSD and ZFS filesystem.  I have a little time 
today and plan on git reverting back to March 31 to further isolate 
the problem.


Tom

--
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF







Hi,

Are you guys both using NVME or EFI? Just wondering if the common 
problem is in ZFS or some other component.




My problem machine is definately NVME based storage.

As for EFI, I don't know. Is the thing pure UEFI?  Yes it is.


--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional



Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-12 Thread Ronald Klop


Van: Thomas Laus 
Datum: dinsdag, 12 april 2022 13:17
Aan: freebsd-current@freebsd.org
Onderwerp: Re: main-n254654-d4e8207317c results in "no pools available to 
import"


On 4/11/22 14:18, Ronald Klop wrote:
> On 4/11/22 17:17, Dennis Clarke wrote:
>>
>> Did the usual git pull origin main and buildworld/buildkernel but >> after 
installkernel the machine will not boot.
>>
>> The rev seems to be main-n254654-d4e8207317c.
>>
>> I can boot single user mode and get a command prompt but nothing past
>> that. Is there something borked in ZFS in CURRENT ?
>>
> Up until now you are the only one with this error on the mailinglist > today. 
So I doubt something is borked.
> You could consider to share more details about your setup to help people > to 
think along with you.
>
I can confirm this issue.  My last update was 'main-n253996-1b3af110bc' from March 31, 
2022 that worked fine.  My update yesterday received the same error and refused to boot 
past looking for kernel modules.  I did receive the "no pools available to 
import" message a couple of lines earlier.  My hardware is a Dell Inspiron laptop 
with a SSD and ZFS filesystem.  I have a little time today and plan on git reverting back 
to March 31 to further isolate the problem.

Tom

--
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF
 







Hi,

Are you guys both using NVME or EFI? Just wondering if the common problem is in 
ZFS or some other component.

Ronald.


Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-12 Thread Alexander Leidinger

Quoting Thomas Laus  (from Tue, 12 Apr 2022 11:17:09 +):


On 4/11/22 14:18, Ronald Klop wrote:

On 4/11/22 17:17, Dennis Clarke wrote:


Did the usual git pull origin main and buildworld/buildkernel but  
after installkernel the machine will not boot.


The rev seems to be main-n254654-d4e8207317c.

I can boot single user mode and get a command prompt but nothing past
that. Is there something borked in ZFS in CURRENT ?

Up until now you are the only one with this error on the  
mailinglist today. So I doubt something is borked.
You could consider to share more details about your setup to help  
people to think along with you.


I can confirm this issue.  My last update was  
'main-n253996-1b3af110bc' from March 31, 2022 that worked fine.  My  
update yesterday received the same error and refused to boot past  
looking for kernel modules.  I did receive the "no pools available  
to import" message a couple of lines earlier.  My hardware is a Dell  
Inspiron laptop with a SSD and ZFS filesystem.  I have a little time  
today and plan on git reverting back to March 31 to further isolate  
the problem.


Some data point from a system with current as of 2022-04-06 15:23 (not  
sure if related or a red hering): pool imports fine, but iocage spits  
out a lot of "setting up zpool for iocage usage" during an "iocage  
list". And it doesn't auto-start the iocage jails. As I only updated  
the OS and not the ports (besides: no change to iocage in ports), it  
may be the case that some kind of detection logic in zfs code is now  
misbehaving in some cases...


Bye,
Alexander.

--
http://www.Leidinger.net alexan...@leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.orgnetch...@freebsd.org  : PGP 0x8F31830F9F2772BF


pgphOwnY6qoc_.pgp
Description: Digitale PGP-Signatur


Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-12 Thread Thomas Laus

On 4/11/22 14:18, Ronald Klop wrote:

On 4/11/22 17:17, Dennis Clarke wrote:


Did the usual git pull origin main and buildworld/buildkernel but 
after installkernel the machine will not boot.


The rev seems to be main-n254654-d4e8207317c.

I can boot single user mode and get a command prompt but nothing past
that. Is there something borked in ZFS in CURRENT ?

Up until now you are the only one with this error on the mailinglist 
today. So I doubt something is borked.
You could consider to share more details about your setup to help people 
to think along with you.


I can confirm this issue.  My last update was 'main-n253996-1b3af110bc' 
from March 31, 2022 that worked fine.  My update yesterday received the 
same error and refused to boot past looking for kernel modules.  I did 
receive the "no pools available to import" message a couple of lines 
earlier.  My hardware is a Dell Inspiron laptop with a SSD and ZFS 
filesystem.  I have a little time today and plan on git reverting back 
to March 31 to further isolate the problem.


Tom

--
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF



Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-12 Thread Ronald Klop


Van: Dennis Clarke 
Datum: dinsdag, 12 april 2022 10:41
Aan: freebsd-current@freebsd.org
Onderwerp: Re: main-n254654-d4e8207317c results in "no pools available to 
import"


On 4/11/22 14:18, Ronald Klop wrote:
> On 4/11/22 17:17, Dennis Clarke wrote:
>>
>> Did the usual git pull origin main and buildworld/buildkernel but >> after 
installkernel the machine will not boot.
>>
>> The rev seems to be main-n254654-d4e8207317c.
>>
>> I can boot single user mode and get a command prompt but nothing past
>> that. Is there something borked in ZFS in CURRENT ?
>>
>>
>>
>
>
> Up until now you are the only one with this error on the mailinglist > today. 
So I doubt something is borked.
> You could consider to share more details about your setup to help people > to 
think along with you.
>
> Regards,
> Ronald.

I am officially baffled.

I installed latest CURRENT snapshot on another system and then buildworld and 
buildkernel after checkout of d4e8207317c.

At reboot, with a serial console I can get to single user mode no problem :


.
.
.
cd0 at ahcich3 bus 0 scbus3 target 0 lun 0
cd0:  Removable CD-ROM SCSI device
cd0: Serial Number K18C36A0237
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray 
closed
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0:  ACS-4 ATA SATA 3.x device
ada0: Serial Number S5VSNG0NB12944W
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors)
ses0: pass0,ada0 in 'Slot 00', SATA Slot: scbus0 target 0
ses0: pass1,cd0 in 'Slot 03', SATA Slot: scbus3 target 0
GEOM: new disk ada0
Root mount waiting for: usbus0
uhub0: 26 ports with 26 removable, self powered
ugen0.2:  at usbus0
efirtc0: providing initial system time
start_init: trying /sbin/init
Enter root password, or ^D to go multi-user
Password:
Enter full pathname of shell or RETURN for /bin/sh:
root@:/ # uname -apKU
FreeBSD  14.0-CURRENT FreeBSD 14.0-CURRENT #0 d4e8207317c-n254654-d4e8207317c: 
Tue Apr 12 08:10:00 UTC 2022 
root@europa:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 1400056 1400056
root@:/ #


When I go to full multi-user mode I see the same message "no pools available to 
import" but the machine comes up just fine :



root@:/ # exit
Setting hostuuid: 688682c8-76df-3f6f-3af4-b06ebf2eb755.
Setting hostid: 0xc646c1f3.
no pools available to import
Fast boot: skipping disk checks.
Mounting local filesystems:.
Autoloading module: acpi_wmi
AuACPI: Processor \_PR_.CPU2 (ACPI ID 3) ignored
ACPI: Processor \_PR_.CPU3 (ACPI ID 4) ignored
ACPI: Processor \_PR_.CPU4 (ACPI ID 5) ignored
ACPI: Processor \_PR_.CPU5 (ACPI ID 6) ignored
ACPI: Processor \_PR_.CPU6 (ACPI ID 7) ignored
ACPI: Processor \_PR_.CPU7 (ACPI ID 8) ignored
acpi_wmi0:  on acpi0
acpi_wmi0: cannot find EC device
acpi_wmi0: Embedded MOF found
ACPI: \AMW0.WQMO: 1 arguments were passed to a non-method ACPI object (Buffer) 
(20220331/nsarguments-361)
acpi_wmi1:  on acpi0
acpi_wmi1: cannot find EC device
pci0: driver added
found-> vendor=0x8086, dev=0xa2ba, revid=0x00
 domain=0, bus=0, slot=22, func=0
 class=07-80-00, hdrtype=0x00, mfdev=1
 cmdreg=0x0002, statreg=0x0010, cachelnsz=0 (dwords)
 lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 intpin=a, irq=16
 powerspec 3  supports D0 D3  current D0
 MSI supports 1 message, 64 bit
pci0:0:22:0: reprobing on driver added
found-> vendor=0x8086, dev=0xa2a1, revid=0x00
 domain=0, bus=0, slot=31, func=2
 class=05-80-00, hdrtype=0x00, mfdev=1
 cmdreg=0x0002, statreg=0x, cachelnsz=0 (dwords)
 lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pci0:0:31:2: reprobing on driver added
found-> vendor=0x8086, dev=0xa2a3, revid=0x00
 domain=0, bus=0, slot=31, func=4
 class=0c-05-00, hdrtype=0x00, mfdev=0
 cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
 lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 intpin=a, irq=16
pci0:0:31:4: reprobing on driver added
ichsmb0:  port 0xf040-0xf05f mem 
0xf712a000-0xf712a0ff irq 16 at device 31.4 on pci0
ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 2 vector 53
smbus0:  on ichsmb0
pci1: driver added
pci2: driver added
toloading module: ichsmb
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib 
/usr/local/lib/compat/pkg /usr/local/lib/compat/pkg 
/usr/local/lib/perl5/5.32/malo0: link state changed to UP
ch/CORE
32-bit compatibility ldconfig path: /usre0: link state changed to DOWN
r/lib32
Setting hostname: europa.
Setting up harvesting: 
PURE_RDRAND,[CALLOUT],[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
Starting Network: lo0 re0.
lo0: flags=8049 me

Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-12 Thread Dennis Clarke

On 4/11/22 14:18, Ronald Klop wrote:

On 4/11/22 17:17, Dennis Clarke wrote:


Did the usual git pull origin main and buildworld/buildkernel but 
after installkernel the machine will not boot.


The rev seems to be main-n254654-d4e8207317c.

I can boot single user mode and get a command prompt but nothing past
that. Is there something borked in ZFS in CURRENT ?






Up until now you are the only one with this error on the mailinglist 
today. So I doubt something is borked.
You could consider to share more details about your setup to help people 
to think along with you.


Regards,
Ronald.


I am officially baffled.

I installed latest CURRENT snapshot on another system and then 
buildworld and buildkernel after checkout of d4e8207317c.


At reboot, with a serial console I can get to single user mode no problem :


.
.
.
cd0 at ahcich3 bus 0 scbus3 target 0 lun 0
cd0:  Removable CD-ROM SCSI device
cd0: Serial Number K18C36A0237
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: Attempt to query device size failed: NOT READY, Medium not present 
- tray closed

ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0:  ACS-4 ATA SATA 3.x device
ada0: Serial Number S5VSNG0NB12944W
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)
ada0: Command Queueing enabled
ada0: 953869MB (1953525168 512 byte sectors)
ses0: pass0,ada0 in 'Slot 00', SATA Slot: scbus0 target 0
ses0: pass1,cd0 in 'Slot 03', SATA Slot: scbus3 target 0
GEOM: new disk ada0
Root mount waiting for: usbus0
uhub0: 26 ports with 26 removable, self powered
ugen0.2:  at usbus0
efirtc0: providing initial system time
start_init: trying /sbin/init
Enter root password, or ^D to go multi-user
Password:
Enter full pathname of shell or RETURN for /bin/sh:
root@:/ # uname -apKU
FreeBSD  14.0-CURRENT FreeBSD 14.0-CURRENT #0 
d4e8207317c-n254654-d4e8207317c: Tue Apr 12 08:10:00 UTC 2022 
root@europa:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 1400056 
1400056

root@:/ #


When I go to full multi-user mode I see the same message "no pools 
available to import" but the machine comes up just fine :




root@:/ # exit
Setting hostuuid: 688682c8-76df-3f6f-3af4-b06ebf2eb755.
Setting hostid: 0xc646c1f3.
no pools available to import
Fast boot: skipping disk checks.
Mounting local filesystems:.
Autoloading module: acpi_wmi
AuACPI: Processor \_PR_.CPU2 (ACPI ID 3) ignored
ACPI: Processor \_PR_.CPU3 (ACPI ID 4) ignored
ACPI: Processor \_PR_.CPU4 (ACPI ID 5) ignored
ACPI: Processor \_PR_.CPU5 (ACPI ID 6) ignored
ACPI: Processor \_PR_.CPU6 (ACPI ID 7) ignored
ACPI: Processor \_PR_.CPU7 (ACPI ID 8) ignored
acpi_wmi0:  on acpi0
acpi_wmi0: cannot find EC device
acpi_wmi0: Embedded MOF found
ACPI: \AMW0.WQMO: 1 arguments were passed to a non-method ACPI object 
(Buffer) (20220331/nsarguments-361)

acpi_wmi1:  on acpi0
acpi_wmi1: cannot find EC device
pci0: driver added
found-> vendor=0x8086, dev=0xa2ba, revid=0x00
domain=0, bus=0, slot=22, func=0
class=07-80-00, hdrtype=0x00, mfdev=1
cmdreg=0x0002, statreg=0x0010, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=16
powerspec 3  supports D0 D3  current D0
MSI supports 1 message, 64 bit
pci0:0:22:0: reprobing on driver added
found-> vendor=0x8086, dev=0xa2a1, revid=0x00
domain=0, bus=0, slot=31, func=2
class=05-80-00, hdrtype=0x00, mfdev=1
cmdreg=0x0002, statreg=0x, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
pci0:0:31:2: reprobing on driver added
found-> vendor=0x8086, dev=0xa2a3, revid=0x00
domain=0, bus=0, slot=31, func=4
class=0c-05-00, hdrtype=0x00, mfdev=0
cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=16
pci0:0:31:4: reprobing on driver added
ichsmb0:  port 0xf040-0xf05f mem 
0xf712a000-0xf712a0ff irq 16 at device 31.4 on pci0

ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 2 vector 53
smbus0:  on ichsmb0
pci1: driver added
pci2: driver added
toloading module: ichsmb
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib 
/usr/local/lib/compat/pkg /usr/local/lib/compat/pkg 
/usr/local/lib/perl5/5.32/malo0: link state changed to UP

ch/CORE
32-bit compatibility ldconfig path: /usre0: link state changed to DOWN
r/lib32
Setting hostname: europa.
Setting up harvesting: 
PURE_RDRAND,[CALLOUT],[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED

Feeding entropy: .
Starting Network: lo0 re0.
lo0: flags=8049 metric 0 mtu 16384
options=680003
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff00
groups: lo
nd6 options=21
re0: flags=8843 metric 0 mtu 1500

options=8209b
ether b0:6e:bf:2e:b7:55
inet 172.16.35.57 netmask 0xffc0 broadcast 

Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-11 Thread Dennis Clarke

On 4/11/22 17:50, Tomoaki AOKI wrote:

On Mon, 11 Apr 2022 20:18:48 +0200
Ronald Klop  wrote:


On 4/11/22 17:17, Dennis Clarke wrote:


Did the usual git pull origin main and buildworld/buildkernel but after 
installkernel the machine will not boot.

The rev seems to be main-n254654-d4e8207317c.

I can boot single user mode and get a command prompt but nothing past
that. Is there something borked in ZFS in CURRENT ?






Up until now you are the only one with this error on the mailinglist today. So 
I doubt something is borked.
You could consider to share more details about your setup to help people to 
think along with you.

Regards,
Ronald.



I have main at git c79331a42c308139828c1117f49224bb83617a53 booting
fine, and no commits relatd with ZFS exists within git d4e8207317c.


I was just looking at that and there is one :

root@phobos:/usr/src #
root@phobos:/usr/src # /usr/local/bin/git --no-pager log -n 32 
--pretty=oneline --abbrev-commit --graph
* d4e8207317c (HEAD -> main, origin/main, origin/HEAD) 
vmm_instruction_emul.c: fix bhyve build
* be0d16b0b05 bsdinstall: filter out disks that are unavailable from the 
list of options in ZFS

* 5580e5bd716 nfscl: Clean up the code by removing unused arguments
* 5a17f489d58 vmm: fix set but not used warning
* 5241577a223 vmm: fix set but not used warning
* 3587bfa797c vmm: fix set but not used warning
* 5c272efaba2 vmm: fix set but not used warnings
* f877977a034 vmm: fix set but not used warnings
* 893a3dd697e vmm: fix set but not used warning
* f3ef799f564 Only return a mapped address from efi_phys_to_kva
* 57e47ae514b Include the EFI Runtime Code in the DMAP
* bde57090337 UPDATING: Fix a few typos
* c79331a42c3 bhyve: use linker set for ipc commands
* 38c3cf6aede nfscl: Clean up the code by removing unused arguments
* c45d934f6b7 nfscl: Ansify a function header
* bd8701dede1 Document procstat(1) advlock command
* a5229a255ea Implement procstat(1) advlocks command
* e79866ddf1c procstat(1): add ability to specify subcommands not 
requiring pid lists

* 50d3c72558f libprocstat: document procstat_getadvlock(3)
* 039d1496b07 libprocstat: add procstat_getadvlock(3)
* eca39864f70 Add sysctl KERN_LOCKF
* 6ead1379fd4 sys/user.h: Add kinfo_lockf structure to report advisory locks
* 147e4fe3f1f kern_lockf.c: remove no longer neeeded UFS headers
* 59e85819be6 lockf: remove lf_inode from struct lockf_entry
* 5c075d64049 ufs/acl.h: forward-declare struct inode
* 8cc19b1e47d Style.
* a3214fbe7ff mount: use pidfile_signal
* 287451fd019 pidfile: add pidfile_signal
* ecbdfbfd18d netgraph(3): Remove a double word in a source code comment
* d048e8c6196 ofed: Fix a typo in a source code comment
* 299fcf402dc fsck_ffs(8): Fix a typo in a source code comment
* 009727ed577 routed(8): Remove a double word in a source code comment
root@phobos:/usr/src #

I see be0d16b0b05 bsdinstall: filter out disks that are unavailable from 
the list of options in ZFS


Not sure what that does however.

I am looking at :

root@phobos:/usr/src # git pull origin main
remote: Enumerating objects: 100, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 100 (delta 13), reused 13 (delta 13), pack-reused 84
Receiving objects: 100% (100/100), 189.37 KiB | 1.38 MiB/s, done.
Resolving deltas: 100% (57/57), completed with 12 local objects.
From git.freebsd.org:src
 * branchmain   -> FETCH_HEAD
   d4e8207317c..673bce11ced  main   -> origin/main
Updating d4e8207317c..673bce11ced
Fast-forward
 lib/libc/sys/getdirentries.2 |  2 ++
 sbin/ifconfig/ifconfig.8 |  5 +++--
 stand/man/loader_lua.8   | 47 
+++

 sys/compat/linprocfs/linprocfs.c | 20 
 sys/compat/linux/linux_socket.c  | 38 
+-

 sys/compat/linux/linux_socket.h  |  1 +
 sys/dev/axgbe/if_axgbe_pci.c | 65 
-

 sys/kern/vfs_subr.c  |  1 +
 sys/kern/vfs_syscalls.c  |  4 
 sys/netinet/ip_mroute.c  | 26 --
 sys/netinet/ip_output.c  |  2 +-
 sys/netinet6/ip6_output.c|  2 ++
 sys/netpfil/ipfw/ip_fw2.c| 27 ---
 sys/netpfil/ipfw/ip_fw_log.c |  7 +--
 sys/netpfil/pf/pf_ioctl.c|  2 ++
 sys/sys/vnode.h  |  2 +-
 sys/vm/swap_pager.c  |  4 ++--
 17 files changed, 180 insertions(+), 75 deletions(-)
root@phobos:/usr/src # /usr/local/bin/git --no-pager log -n 32 
--pretty=oneline --abbrev-commit --graph
* 673bce11ced (HEAD -> main, origin/main, origin/HEAD) linux(4): Copyout 
actual size of addr to the user space in accept().

* bb0f644cd68 linux(4): Limit user-supplied sockaddr length in recvfrom().
* 68bfaefb3d9 linux(4): Remove unnecessary PTRIN().
* cf312f799a8 linux(4): Handle SO_DOMAIN in getsockopt syscall.
* c6487446d7e getdirentries: 

Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-11 Thread Dennis Clarke





Up until now you are the only one with this error on the mailinglist 
today. So I doubt something is borked.
You could consider to share more details about your setup to help people 
to think along with you.




Nothing remotely interesting.

I managed to boot kernel.old from the boot loader and reverted to :

root@phobos:/usr/src #
root@phobos:/usr/src # uname -apKU
FreeBSD phobos 14.0-CURRENT FreeBSD 14.0-CURRENT #4 
main-n253712-0784121c963: Fri Mar 11 03:59:31 UTC 2022 
root@phobos:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 amd64 1400053 
1400053

root@phobos:/usr/src #

Where the zpool is the lone NVME device in this Lenovo laptop :

root@phobos:/usr/src # zpool status
  pool: c3
 state: ONLINE
status: Some supported and requested features are not enabled on the pool.
The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not 
support

the features. See zpool-features(7) for details.
config:

NAMESTATE READ WRITE CKSUM
c3  ONLINE   0 0 0
  nvd0p4ONLINE   0 0 0

errors: No known data errors
root@phobos:/usr/src #

That is an interesting message about the zpool there.

So zpool upgrade -v says :

root@phobos:/usr/src #
root@phobos:/usr/src # zpool upgrade -v
This system supports ZFS pool feature flags.

The following features are supported:

FEAT DESCRIPTION
-
async_destroy (read-only compatible)
 Destroy filesystems asynchronously.
empty_bpobj   (read-only compatible)
 Snapshots use less space.
lz4_compress
 LZ4 compression algorithm support.
multi_vdev_crash_dump
 Crash dumps to multiple vdev pools.
spacemap_histogram(read-only compatible)
 Spacemaps maintain space histograms.
enabled_txg   (read-only compatible)
 Record txg at which a feature is enabled
hole_birth
 Retain hole birth txg for more precise zfs send
extensible_dataset
 Enhanced dataset functionality, used by other features.
embedded_data
 Blocks which compress very well use even less space.
bookmarks (read-only compatible)
 "zfs bookmark" command
filesystem_limits (read-only compatible)
 Filesystem and snapshot limits.
large_blocks
 Support for blocks larger than 128KB.
large_dnode
 Variable on-disk size of dnodes.
sha512
 SHA-512/256 hash algorithm.
skein
 Skein hash algorithm.
edonr
 Edon-R hash algorithm.
userobj_accounting(read-only compatible)
 User/Group object accounting.
encryption
 Support for dataset level encryption
project_quota (read-only compatible)
 space/object accounting based on project ID.
device_removal
 Top-level vdevs can be removed, reducing logical pool size.
obsolete_counts   (read-only compatible)
 Reduce memory used by removed devices when their blocks are freed 
or remapped.

zpool_checkpoint  (read-only compatible)
 Pool state can be checkpointed, allowing rewind later.
spacemap_v2   (read-only compatible)
 Space maps representing large segments are more efficient.
allocation_classes(read-only compatible)
 Support for separate allocation classes.
resilver_defer(read-only compatible)
 Support for deferring new resilvers when one is already running.
bookmark_v2
 Support for larger bookmarks
redaction_bookmarks
 Support for bookmarks which store redaction lists for zfs redacted 
send/recv.

redacted_datasets
 Support for redacted datasets, produced by receiving a redacted 
zfs send stream.

bookmark_written
 Additional accounting, enabling the written# property 
(space written since a bookmark), and estimates of send stream sizes for 
incrementals from bookmarks.

log_spacemap  (read-only compatible)
 Log metaslab changes on a single spacemap and flush them periodically.
livelist  (read-only compatible)
 Improved clone deletion performance.
device_rebuild(read-only compatible)
 Support for sequential mirror/dRAID device rebuilds
zstd_compress
 zstd compression algorithm support.
draid
 Support for distributed spare RAID
zilsaxattr(read-only compatible)
 Support for xattr=sa extended attribute logging in ZIL.

The following legacy versions are also supported:

VER  DESCRIPTION
---  
 1   Initial ZFS version
 2   Ditto blocks (replicated metadata)
 3   Hot spares and double parity RAID-Z
 4   zpool history
 5   Compression using the 

Re: main-n254654-d4e8207317c results in "no pools available to import"

2022-04-11 Thread Tomoaki AOKI
On Mon, 11 Apr 2022 20:18:48 +0200
Ronald Klop  wrote:

> On 4/11/22 17:17, Dennis Clarke wrote:
> > 
> > Did the usual git pull origin main and buildworld/buildkernel but after 
> > installkernel the machine will not boot.
> > 
> > The rev seems to be main-n254654-d4e8207317c.
> > 
> > I can boot single user mode and get a command prompt but nothing past
> > that. Is there something borked in ZFS in CURRENT ?
> > 
> > 
> > 
> 
> 
> Up until now you are the only one with this error on the mailinglist today. 
> So I doubt something is borked.
> You could consider to share more details about your setup to help people to 
> think along with you.
> 
> Regards,
> Ronald.
> 

I have main at git c79331a42c308139828c1117f49224bb83617a53 booting
fine, and no commits relatd with ZFS exists within git d4e8207317c.

So the info at which commit was running before update would be needed.

I've encountered the situation like that, but it was far before OpenZFS
was introduced into base. If it's the same issue, /sbin/zfs SHALL be
updated in conjunction with kernel.

 *ATM, interface between kernel (or zfs.ko) and /sbin/zfs was changed.

If you can boot with any emergency environment (memstick or another
installation) and import now-non-bootable pool with e.g. `zpool import
-R /mnt -f ZPOOL`,
`cp /mnt/usr/obj/usr/src/[your.arch]/cddl/sbin/zfs/zfs /mnt/sbin/`
then exporting the pool would be worth trying.

Beware! If other updated components are mandatory for /sbin/zfs, the
above procedure is not at all enough. But would crash before actually
the pool is imported.


-- 
Tomoaki AOKI



main-n254654-d4e8207317c results in "no pools available to import"

2022-04-11 Thread Dennis Clarke



Did the usual git pull origin main and buildworld/buildkernel but after 
installkernel the machine will not boot.


The rev seems to be main-n254654-d4e8207317c.

I can boot single user mode and get a command prompt but nothing past
that. Is there something borked in ZFS in CURRENT ?



--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional