Date: Tue, 12 Apr 2022 12:49:00 +0200 (CEST) From: Ronald Klop <ronald-lists@klop.ws> To: freebsd-current@freebsd.org Subject: Re: main-n254654-d4e8207317c results in "no pools available to import" Message-ID: <1726677380.227.1649760540485@localhost> In-Reply-To: <72bcb8cc-e3d7-77d8-a0b5-4bb351921d24@blastwave.org> References: <778a795c-5413-9c79-5312-e34dd6bb29c1@blastwave.org> <cad68cb5-301a-0c8d-36fa-731b04d1a4eb@klop.ws> <72bcb8cc-e3d7-77d8-a0b5-4bb351921d24@blastwave.org>
next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_226_72080177.1649760540419 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Van: Dennis Clarke <dclarke@blastwave.org> 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: <HL-DT-ST DVDRAM GH70N UGA0> 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: <Samsung SSD 870 QVO 1TB SVQ01B6Q> 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: <PixArt USB Optical Mouse> 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: <ACPI-WMI mapping> 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: <ACPI-WMI mapping> 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=0x0000, 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: <Intel Kaby Lake SMBus controller> 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: <System Management Bus> 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<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 > options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet 127.0.0.1 netmask 0xff000000 > groups: lo > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> > re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > > options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> > ether b0:6e:bf:2e:b7:55 > inet 172.16.35.57 netmask 0xffffffc0 broadcast 172.16.35.63 > media: Ethernet autoselect (none) > status: no carrier > nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > Starting devd. > Autoloading moduums0 on uhub0 > ums0: <PixArt USB Optical Mouse, class 0/0, rev 1.10/1.00, addr 1> on usbus0 > le: uhid > Autoloums0: 3 buttons and [XYZ] coordinates ID=0 > ading module: ums > Autoloading module: usbhid > add host 127.0.0.1: gateway lo0 fib 0: route already in table > add net default: gateway 172.16.35.1 > add host ::1: gateway lo0 fib 0: route already in table > add net fe80::: gateway ::1 > add net ff02::: gateway ::1 > add net ::ffff:0.0.0.0: gateway ::1 > add net ::0.0.0.0: gateway ::1 > Clearing /tmp. > Upda > FreeBSD/amd64 (europa) (ttyu0) > > login: > > FreeBSD/amd64 (europa) (ttyu0) > > login: > > > I am baffled. On another machine, a Lenovo laptop I get to the message about "no pools available to import" and the machine hangs there. > > Not a clue why. > > > > -- > Dennis Clarke > RISC-V/SPARC/PPC/ARM/CISC > UNIX and Linux spoken > GreyBeard and suspenders optional > > > > Hi, Some thoughts to narrow down on possibilities. How do you specify what pool to boot from? There are multiple options: - vfs.root.mountfrom=zfs:... in /boot/loader.conf - zpool get all | grep bootfs - Some cachefile. I think this is legacy. I don't see it on my ZFS anymore. - A definition in /etc/fstab. But I guess the FS must be mounted first before this can be read. - And probably other options I don't know about. And somewhere in the boot messages you should have a line like this. What does it say? "Trying to mount root from zfs:zrpi4/ROOT/14-2022_03_09" And what is the output of "gpart show"? Regards, Ronald. ------=_Part_226_72080177.1649760540419 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <html><head></head><body> <p><strong>Van:</strong> Dennis Clarke <dclarke@blastwave.org><br /> <strong>Datum:</strong> dinsdag, 12 april 2022 10:41<br /> <strong>Aan:</strong> freebsd-current@freebsd.org<br /> <strong>Onderwerp:</strong> Re: main-n254654-d4e8207317c results in "no pools available to import"</p> <blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: #000000 2px solid; margin-right: 0px"> <div class="MessageRFC822Viewer" id="P"> <div class="TextPlainViewer" id="P.P">On 4/11/22 14:18, Ronald Klop wrote:<br /> > On 4/11/22 17:17, Dennis Clarke wrote:<br /> >><br /> >> Did the usual git pull origin main and buildworld/buildkernel but >> after installkernel the machine will not boot.<br /> >><br /> >> The rev seems to be main-n254654-d4e8207317c.<br /> >><br /> >> I can boot single user mode and get a command prompt but nothing past<br /> >> that. Is there something borked in ZFS in CURRENT ?<br /> >><br /> >><br /> >><br /> ><br /> ><br /> > Up until now you are the only one with this error on the mailinglist > today. So I doubt something is borked.<br /> > You could consider to share more details about your setup to help people > to think along with you.<br /> ><br /> > Regards,<br /> > Ronald.<br /> <br /> I am officially baffled.<br /> <br /> I installed latest CURRENT snapshot on another system and then buildworld and buildkernel after checkout of d4e8207317c.<br /> <br /> At reboot, with a serial console I can get to single user mode no problem :<br /> <br /> <br /> .<br /> .<br /> .<br /> cd0 at ahcich3 bus 0 scbus3 target 0 lun 0<br /> cd0: <HL-DT-ST DVDRAM GH70N UGA0> Removable CD-ROM SCSI device<br /> cd0: Serial Number K18C36A0237<br /> cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)<br /> cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed<br /> ada0 at ahcich0 bus 0 scbus0 target 0 lun 0<br /> ada0: <Samsung SSD 870 QVO 1TB SVQ01B6Q> ACS-4 ATA SATA 3.x device<br /> ada0: Serial Number S5VSNG0NB12944W<br /> ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes)<br /> ada0: Command Queueing enabled<br /> ada0: 953869MB (1953525168 512 byte sectors)<br /> ses0: pass0,ada0 in 'Slot 00', SATA Slot: scbus0 target 0<br /> ses0: pass1,cd0 in 'Slot 03', SATA Slot: scbus3 target 0<br /> GEOM: new disk ada0<br /> Root mount waiting for: usbus0<br /> uhub0: 26 ports with 26 removable, self powered<br /> ugen0.2: <PixArt USB Optical Mouse> at usbus0<br /> efirtc0: providing initial system time<br /> start_init: trying /sbin/init<br /> Enter root password, or ^D to go multi-user<br /> Password:<br /> Enter full pathname of shell or RETURN for /bin/sh:<br /> root@:/ # uname -apKU<br /> 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<br /> root@:/ #<br /> <br /> <br /> 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 :<br /> <br /> <br /> <br /> root@:/ # exit<br /> Setting hostuuid: 688682c8-76df-3f6f-3af4-b06ebf2eb755.<br /> Setting hostid: 0xc646c1f3.<br /> no pools available to import<br /> Fast boot: skipping disk checks.<br /> Mounting local filesystems:.<br /> Autoloading module: acpi_wmi<br /> AuACPI: Processor \_PR_.CPU2 (ACPI ID 3) ignored<br /> ACPI: Processor \_PR_.CPU3 (ACPI ID 4) ignored<br /> ACPI: Processor \_PR_.CPU4 (ACPI ID 5) ignored<br /> ACPI: Processor \_PR_.CPU5 (ACPI ID 6) ignored<br /> ACPI: Processor \_PR_.CPU6 (ACPI ID 7) ignored<br /> ACPI: Processor \_PR_.CPU7 (ACPI ID 8) ignored<br /> acpi_wmi0: <ACPI-WMI mapping> on acpi0<br /> acpi_wmi0: cannot find EC device<br /> acpi_wmi0: Embedded MOF found<br /> ACPI: \AMW0.WQMO: 1 arguments were passed to a non-method ACPI object (Buffer) (20220331/nsarguments-361)<br /> acpi_wmi1: <ACPI-WMI mapping> on acpi0<br /> acpi_wmi1: cannot find EC device<br /> pci0: driver added<br /> found-> vendor=0x8086, dev=0xa2ba, revid=0x00<br /> domain=0, bus=0, slot=22, func=0<br /> class=07-80-00, hdrtype=0x00, mfdev=1<br /> cmdreg=0x0002, statreg=0x0010, cachelnsz=0 (dwords)<br /> lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)<br /> intpin=a, irq=16<br /> powerspec 3 supports D0 D3 current D0<br /> MSI supports 1 message, 64 bit<br /> pci0:0:22:0: reprobing on driver added<br /> found-> vendor=0x8086, dev=0xa2a1, revid=0x00<br /> domain=0, bus=0, slot=31, func=2<br /> class=05-80-00, hdrtype=0x00, mfdev=1<br /> cmdreg=0x0002, statreg=0x0000, cachelnsz=0 (dwords)<br /> lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)<br /> pci0:0:31:2: reprobing on driver added<br /> found-> vendor=0x8086, dev=0xa2a3, revid=0x00<br /> domain=0, bus=0, slot=31, func=4<br /> class=0c-05-00, hdrtype=0x00, mfdev=0<br /> cmdreg=0x0003, statreg=0x0280, cachelnsz=0 (dwords)<br /> lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)<br /> intpin=a, irq=16<br /> pci0:0:31:4: reprobing on driver added<br /> ichsmb0: <Intel Kaby Lake SMBus controller> port 0xf040-0xf05f mem 0xf712a000-0xf712a0ff irq 16 at device 31.4 on pci0<br /> ioapic0: routing intpin 16 (PCI IRQ 16) to lapic 2 vector 53<br /> smbus0: <System Management Bus> on ichsmb0<br /> pci1: driver added<br /> pci2: driver added<br /> toloading module: ichsmb<br /> 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<br /> ch/CORE<br /> 32-bit compatibility ldconfig path: /usre0: link state changed to DOWN<br /> r/lib32<br /> Setting hostname: europa.<br /> Setting up harvesting: PURE_RDRAND,[CALLOUT],[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED<br /> Feeding entropy: .<br /> Starting Network: lo0 re0.<br /> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384<br /> options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6><br /> inet6 ::1 prefixlen 128<br /> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2<br /> inet 127.0.0.1 netmask 0xff000000<br /> groups: lo<br /> nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL><br /> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500<br /> <br /> options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE><br /> ether b0:6e:bf:2e:b7:55<br /> inet 172.16.35.57 netmask 0xffffffc0 broadcast 172.16.35.63<br /> media: Ethernet autoselect (none)<br /> status: no carrier<br /> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL><br /> Starting devd.<br /> Autoloading moduums0 on uhub0<br /> ums0: <PixArt USB Optical Mouse, class 0/0, rev 1.10/1.00, addr 1> on usbus0<br /> le: uhid<br /> Autoloums0: 3 buttons and [XYZ] coordinates ID=0<br /> ading module: ums<br /> Autoloading module: usbhid<br /> add host 127.0.0.1: gateway lo0 fib 0: route already in table<br /> add net default: gateway 172.16.35.1<br /> add host ::1: gateway lo0 fib 0: route already in table<br /> add net fe80::: gateway ::1<br /> add net ff02::: gateway ::1<br /> add net ::ffff:0.0.0.0: gateway ::1<br /> add net ::0.0.0.0: gateway ::1<br /> Clearing /tmp.<br /> Upda<br /> FreeBSD/amd64 (europa) (ttyu0)<br /> <br /> login:<br /> <br /> FreeBSD/amd64 (europa) (ttyu0)<br /> <br /> login:<br /> <br /> <br /> I am baffled. On another machine, a Lenovo laptop I get to the message about "no pools available to import" and the machine hangs there.<br /> <br /> Not a clue why.<br /> <br /> <br /> <br /> -- <br /> Dennis Clarke<br /> RISC-V/SPARC/PPC/ARM/CISC<br /> UNIX and Linux spoken<br /> GreyBeard and suspenders optional<br /> </div> <hr /></div> </blockquote> <br /> <br /> Hi,<br /> <br /> Some thoughts to narrow down on possibilities.<br /> <br /> How do you specify what pool to boot from?<br /> There are multiple options:<br /> - vfs.root.mountfrom=zfs:... in /boot/loader.conf<br /> - zpool get all | grep bootfs<br /> - Some cachefile. I think this is legacy. I don't see it on my ZFS anymore.<br /> - A definition in /etc/fstab. But I guess the FS must be mounted first before this can be read.<br /> - And probably other options I don't know about.<br /> <br /> And somewhere in the boot messages you should have a line like this. What does it say?<br /> "Trying to mount root from zfs:zrpi4/ROOT/14-2022_03_09"<br /> <br /> And what is the output of "gpart show"?<br /> <br /> Regards,<br /> Ronald.<br /> </body></html> ------=_Part_226_72080177.1649760540419--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1726677380.227.1649760540485>