Date: Sun, 11 Aug 2024 06:53:19 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 280742] ioctl on /dev/efi returns ENODEV Message-ID: <bug-280742-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280742 Bug ID: 280742 Summary: ioctl on /dev/efi returns ENODEV Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dhs@frame.work CC: lwhsu@FreeBSD.org I'm trying to get the ESRT system table from /dev/efi but sometimes it returns ENODEV. The only case where that's returned is here: https://github.com/freebsd/freebsd-src/blob/7a8d05ba19b7762596c0ff22e668e4d50bac81cf/sys/dev/efidev/efirt.c#L386 lwhsu added a print to that block and found that buf->fw_resource_version sometimes contains garbage. In the UEFI spec it's specified that it must always be 1. So we assume there is some memory corruption happening somewhere. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280742-227>
