Date: Fri, 08 Aug 2014 14:31:03 +0400 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: hiren panchasara <hiren@freebsd.org>, Xin LI <d@delphij.net> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: Where is loader.conf.gz? Message-ID: <53E4A6E7.3080309@yandex.ru> In-Reply-To: <CALCpEUGBMD=qmOF65dv6m%2BGRTenjZZ8BTDF68KQZ2OPs3AnaOA@mail.gmail.com> References: <CALCpEUGuC06iKcOHRkLmJr13ycpP%2Bnmm3fL2QT-iszJP3UiVjA@mail.gmail.com> <53E3C44C.9000500@delphij.net> <CALCpEUGBMD=qmOF65dv6m%2BGRTenjZZ8BTDF68KQZ2OPs3AnaOA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08.08.2014 01:46, hiren panchasara wrote: > /* pass file name to the different filesystem open routines */ > besterror = ENOENT; > for (i = 0; file_system[i] != NULL; i++) { > fs = file_system[i]; > error = (fs->fo_open)(file, f); <-----zf_open() is called > which returns ENOENT > if (error == 0) > goto ok; > if (error != EINVAL) > besterror = error; > } > error = besterror; > > So, the error is ENOENT at this point. But it fails in what happens after this: It looks like loader.efi should first open /boot/loader.conf via devopen() a bit earlier in this code. Did you see this attempt in the tcpdump? Can you stop loader and see what value has currdev environment variable? -- WBR, Andrey V. Elsukov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E4A6E7.3080309>