-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ZFS Drivers does not seems to work #27
Comments
Please try to access the same file as the kernel accesses from a UEFI shell (e.g. copy from the ZFS partition to a removable FAT drive) after issuing I'm afraid I'm not planning to experiment with Linux kernels (especially as I want to isolate that the issue isn't with the software that loads kernel/initrd), so I will need your help providing enough troubleshooting details from the shell. If this is an issue with EfiFs, then you should be able to replicate it from the shell by simply trying to access the same files. |
@kangco-de did you resolve your issue? I may be having the same or similar issue. |
@pbatard, this is new to me, but I thought I give the EFI shell a go as you asked the OP. I used rEFInd's EFI internal shell and loaded the zfs_x64.efi (1.7), map -r, and walked through the file structure. Using zpool bpool and sys/BOOT/default/@, I get a bunch of the compression algorithm errors when entering or Googling, I found a question that may be related. As described in the link, my bpool and sys/BOOT/default work fine as long as I use grub 2.04-10 from Arch's repo. I am using Artix (Arch) Linux, and the archzfs repo; linux-lts and zfs-dkms. I used OpenZFS Arch installation steps, mostly. I am using Artix with runit, so.. The steps I took to test your zfs drivers from the EFI shell. Using rEFInd, copying zfs_x64.efi 1.7 to the esp, and EFI internal shell, it displays FS0, BLK0, BLK1, BLK3, and BLK4.
Results
Results with the addition of FS1:
Using
Moving to FS1: and using ls.
My boot zpool and dataset are bpool/sys/BOOT/default
then lists the expected files including vmlinux and initramfs. |
My computer broke and I am having problems with some tooling which I had no backup. I will not test this in a month or so because this is also for a personal project I do in my spare time. You have describe exactly the same problem I found that made me open this issue. |
Sorry to hear about your computer. Using the EFI Shell and executing
results with the algorithm and other errors similar but not exactly the same as your own. Unclear if we are having the same problem, but something is wrong be it my implementation or a bug.
|
I have a solution that doesn't use the zfs driver and I am very happy with it. It uses an EFI stub, mkinitcpio, and a hook. I hope to have instructions publish at https://techore.gitlab.io/ in the next week or two. It's really about making time. You can get my attention using "Issues" for the repository if you are looking for it and cannot find it. Again, give me a couple weeks. |
See #38#issuecomment-1236164699 This is basically a kernel issue with the fixed size structure they are using to retrieve the |
Using a Dell Latitude 5285, rEFInd bootloader, Arch Linux and 1.7 efifs drivers I have tried to boot into ZFS in a try to automate some kind of auto snapshotting.
First rEFInd boots, try to boot the entry configured with ZFS and this logs pops:
These logs looks seems to change randomly to some like these
This installation of Arch I have used a Kernel from the arch archive (5.7.12) to avoid bug #26 after finding these error I tryed to update to the lastest version (5.9) and logs looks the same.
I am aware that this projects uses GRUB fs and GRUB fs has limitations with zfs features: https://elixir.bootlin.com/grub/latest/source/grub-core/fs/zfs/zfs.c#L276
I created a pool that grub opens correctly.
The text was updated successfully, but these errors were encountered: